package o; import android.content.SharedPreferences; import android.content.res.Resources; /* renamed from: o.Bi, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C0207Bi extends C16157lj { /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C0207Bi(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); C14957gcv.e(resources, ""); C14957gcv.e(sharedPreferences, ""); } private static XQ a(EnumC16172lsC enumC16172lsC) { if (enumC16172lsC == null) { return null; } try { return XQ.valueOf(enumC16172lsC.toString()); } catch (IllegalArgumentException unused) { return null; } } private static XV d(C17549xiq c17549xiq) { String obj; XR xr = null; if (c17549xiq == null) { return null; } try { WAr wAr = c17549xiq.h; if (wAr != null && (obj = wAr.toString()) != null) { xr = XR.valueOf(obj); } } catch (IllegalArgumentException unused) { } return new XV(c17549xiq.a, c17549xiq.c, a(c17549xiq.b), c17549xiq.e, xr, c17549xiq.d); } /* JADX WARN: Removed duplicated region for block: B:14:0x0030 */ /* JADX WARN: Removed duplicated region for block: B:17:0x0032 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final o.XO a(o.WvL r14) { /* r13 = this; java.lang.String r0 = "" o.C14957gcv.e(r14, r0) o.PJZ r14 = r14.s r1 = 0 if (r14 != 0) goto Lb return r1 Lb: o.NAH r2 = r14.b // Catch: java.lang.IllegalArgumentException -> L1b if (r2 == 0) goto L1b java.lang.String r2 = r2.toString() // Catch: java.lang.IllegalArgumentException -> L1b if (r2 == 0) goto L1b o.XS r2 = o.XS.valueOf(r2) // Catch: java.lang.IllegalArgumentException -> L1b r10 = r2 goto L1c L1b: r10 = r1 L1c: org.threeten.bp.OffsetDateTime r2 = r14.d java.lang.String r4 = r13.d(r2) java.lang.String r5 = r14.i java.lang.String r6 = r14.e java.lang.String r7 = r14.j java.lang.String r8 = r14.f java.lang.Double r9 = r14.a o.NNi r2 = r14.h if (r2 != 0) goto L32 r11 = r1 goto L47 L32: java.lang.String r1 = r2.c java.lang.String r3 = r2.e if (r3 != 0) goto L39 goto L3a L39: r0 = r3 L3a: o.lsC r3 = r2.a o.XQ r3 = a(r3) java.lang.String r2 = r2.b o.XT r11 = new o.XT r11.(r1, r0, r3, r2) L47: o.xiq r14 = r14.c o.XV r12 = d(r14) o.XO r14 = new o.XO r3 = r14 r3.(r4, r5, r6, r7, r8, r9, r10, r11, r12) return r14 */ throw new UnsupportedOperationException("Method not decompiled: o.C0207Bi.a(o.WvL):o.XO"); } }