package o; import android.content.SharedPreferences; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import o.C0671Lw; import o.LF; /* renamed from: o.sz */ /* loaded from: classes3.dex */ public final class C16998sz extends C16157lj { private static final byte[] $$d = {90, 40, 10, 105}; private static final int $$e = 17; private static int $10 = 0; private static int $11 = 1; private static int i = 0; private static int j = 1; private static long b = 9051040786702654117L; private static int a = 452713125; private static char d = 9635; /* JADX WARN: Code restructure failed: missing block: B:11:0x010c, code lost: r5 = new o.IV(r1.e.getString(o.C15715hv.tOB.easycash_mhmc_feature_information_choose_method), "", o.kVs.nX_(r1.e, o.C15715hv.LWm.fake_black, null), o.C15715hv.IeS.ic_dark_chevron_up); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0089, code lost: r5 = new o.IV(r1.e.getString(o.C15715hv.tOB.easycash_mhmc_feature_information_update_proof_of_income), r1.e.getString(o.C15715hv.tOB.easycash_mhmc_feature_information_selected), o.kVs.nX_(r1.e, o.C15715hv.LWm.detect_document_green, null), o.C15715hv.IeS.ic_dark_chevron_up); r0 = o.C16998sz.i + 71; o.C16998sz.j = r0 % 128; r0 = r0 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0087, code lost: if (o.C14957gcv.b((java.lang.Object) r3, (java.lang.Object) ((java.lang.String) r5[0]).intern()) != false) goto L25; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0054, code lost: if (o.C14957gcv.b((java.lang.Object) r3, (java.lang.Object) ((java.lang.String) r5[0]).intern()) != false) goto L25; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x00b2, code lost: r2 = new java.lang.Object[1]; s((char) ((android.view.ViewConfiguration.getFadingEdgeLength() >> 16) + 41144), android.graphics.drawable.Drawable.resolveOpacity(0, 0) + 958237277, new char[]{23959, 7562, 47161, 14240}, new char[]{60066}, new char[]{0, 0, 0, 0}, r2); */ /* JADX WARN: Code restructure failed: missing block: B:6:0x00ea, code lost: if (o.C14957gcv.b((java.lang.Object) r3, (java.lang.Object) ((java.lang.String) r2[0]).intern()) == false) goto L29; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x00ec, code lost: r5 = new o.IV(r1.e.getString(o.C15715hv.tOB.easycash_mhmc_feature_information_add_guarantors), r1.e.getString(o.C15715hv.tOB.easycash_mhmc_feature_information_selected), o.kVs.nX_(r1.e, o.C15715hv.LWm.detect_document_green, null), o.C15715hv.IeS.ic_dark_chevron_up); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static /* synthetic */ java.lang.Object b(java.lang.Object[] r17, int r18, int r19, int r20) { /* Method dump skipped, instructions count: 348 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C16998sz.b(java.lang.Object[], int, int, int):java.lang.Object"); } /* JADX WARN: Removed duplicated region for block: B:10:0x0025 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001d */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002a). Please report as a decompilation issue!!! */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void q(int r7, byte r8, int r9, java.lang.Object[] r10) { /* int r9 = r9 * 2 int r9 = 1 - r9 byte[] r0 = o.C16998sz.$$d int r8 = 115 - r8 int r7 = r7 * 4 int r7 = 4 - r7 byte[] r1 = new byte[r9] r2 = 0 if (r0 != 0) goto L15 r8 = r7 r3 = r9 r5 = r2 goto L2a L15: r3 = r2 L16: byte r4 = (byte) r8 int r5 = r3 + 1 r1[r3] = r4 if (r5 != r9) goto L25 java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L25: r3 = r0[r7] r6 = r8 r8 = r7 r7 = r6 L2a: int r3 = -r3 int r7 = r7 + r3 int r8 = r8 + 1 r3 = r5 r6 = r8 r8 = r7 r7 = r6 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: o.C16998sz.q(int, byte, int, java.lang.Object[]):void"); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C16998sz(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); C14957gcv.e(resources, ""); C14957gcv.e(sharedPreferences, ""); } public final C0670Lv c(Ufn ufn, List list, String str) { int i2 = 2 % 2; C14957gcv.e(ufn, ""); C14957gcv.e(list, ""); List singletonList = Collections.singletonList(c(ufn)); C14957gcv.c(singletonList, ""); C0670Lv c0670Lv = new C0670Lv(singletonList, e(list, str)); int i3 = i + 47; j = i3 % 128; if (i3 % 2 != 0) { return c0670Lv; } throw null; } private static C0671Lw c(Ufn ufn) { int i2; int i3 = 2 % 2; C0671Lw.Sts e = C0671Lw.e(); e.q = ufn.i; e.s = ufn.j; e.t = ufn.d; e.u = ufn.f; List list = ufn.g; C14957gcv.e(list, ""); if (list instanceof Collection) { i2 = list.size(); int i4 = i + 75; j = i4 % 128; int i5 = i4 % 2; } else { i2 = 10; } ArrayList arrayList = new ArrayList(i2); Iterator it = list.iterator(); while (it.hasNext()) { arrayList.add(Integer.valueOf(Integer.parseInt((String) it.next()))); } e.p = arrayList; LF.HBt hBt = new LF.HBt(); hBt.e = ufn.i; hBt.a = ufn.j; List list2 = ufn.g; C14957gcv.e(list2, ""); ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10); Iterator it2 = list2.iterator(); while (!(!it2.hasNext())) { int i6 = i + 23; j = i6 % 128; if (i6 % 2 == 0) { arrayList2.add(Integer.valueOf(Integer.parseInt((String) it2.next()))); throw null; } arrayList2.add(Integer.valueOf(Integer.parseInt((String) it2.next()))); } hBt.b = arrayList2; List singletonList = Collections.singletonList(new LF(hBt, (byte) 0)); C14957gcv.c(singletonList, ""); e.v = singletonList; LB a2 = e.a(); C14957gcv.d(a2, ""); C0671Lw c0671Lw = (C0671Lw) a2; int i7 = i + 7; j = i7 % 128; int i8 = i7 % 2; return c0671Lw; } private final C0686Me e(List list, String str) { int i2 = 2 % 2; List list2 = list; ArrayList arrayList = new ArrayList(); Iterator it = list2.iterator(); while (true) { Object obj = null; if (!it.hasNext()) { List a2 = C14881gav.a((Iterable) arrayList, (Comparator) new LWm()); C14957gcv.e(a2, ""); ArrayList arrayList2 = new ArrayList(a2 instanceof Collection ? a2.size() : 10); Iterator it2 = a2.iterator(); while (it2.hasNext()) { arrayList2.add(c((C17180ucA) it2.next())); } List d2 = C14881gav.d((Iterable) arrayList2); ArrayList arrayList3 = new ArrayList(); for (Object obj2 : list2) { int i3 = j + 51; i = i3 % 128; int i4 = i3 % 2; C17180ucA c17180ucA = (C17180ucA) obj2; if (C14957gcv.b((Object) "COLLATERAL", (Object) c17180ucA.c)) { int i5 = j + 117; i = i5 % 128; if (i5 % 2 != 0) { String str2 = c17180ucA.g; obj.hashCode(); throw null; } if (c17180ucA.g != null && c17180ucA.e != null) { arrayList3.add(obj2); } } } List a3 = C14881gav.a((Iterable) arrayList3, (Comparator) new Sts()); C14957gcv.e(a3, ""); ArrayList arrayList4 = new ArrayList(a3 instanceof Collection ? a3.size() : 10); Iterator it3 = a3.iterator(); while (it3.hasNext()) { arrayList4.add(c((C17180ucA) it3.next())); } List d3 = C14881gav.d((Iterable) arrayList4); ArrayList arrayList5 = new ArrayList(); for (Object obj3 : list2) { C17180ucA c17180ucA2 = (C17180ucA) obj3; if (C14957gcv.b((Object) "INSURANCE", (Object) c17180ucA2.c) && c17180ucA2.g != null && c17180ucA2.e != null) { arrayList5.add(obj3); } } List a4 = C14881gav.a((Iterable) arrayList5, (Comparator) new IeS()); C14957gcv.e(a4, ""); ArrayList arrayList6 = new ArrayList(a4 instanceof Collection ? a4.size() : 10); Iterator it4 = a4.iterator(); while (it4.hasNext()) { arrayList6.add(c((C17180ucA) it4.next())); } return new C0686Me(d2, (List) b(new Object[]{this, str}, 2022377764, -2022377764, System.identityHashCode(this)), d3, C14881gav.d((Iterable) arrayList6)); } int i6 = i + 65; j = i6 % 128; if (i6 % 2 == 0) { C14957gcv.b((Object) "LOAN_INFORMATION", (Object) ((C17180ucA) it.next()).c); throw null; } Object next = it.next(); C17180ucA c17180ucA3 = (C17180ucA) next; if (C14957gcv.b((Object) "LOAN_INFORMATION", (Object) c17180ucA3.c) && c17180ucA3.g != null && c17180ucA3.e != null) { arrayList.add(next); } } } /* renamed from: o.sz$HBt */ /* loaded from: classes3.dex */ public static final class HBt implements Comparator { /* JADX WARN: Multi-variable type inference failed */ @Override // java.util.Comparator public final int compare(T t, T t2) { Integer valueOf = Integer.valueOf(((C17180ucA) t).d); Integer valueOf2 = Integer.valueOf(((C17180ucA) t2).d); if (valueOf == valueOf2) { return 0; } if (valueOf == null) { return -1; } if (valueOf2 == null) { return 1; } return valueOf.compareTo(valueOf2); } } /* renamed from: o.sz$IeS */ /* loaded from: classes3.dex */ public static final class IeS implements Comparator { /* JADX WARN: Multi-variable type inference failed */ @Override // java.util.Comparator public final int compare(T t, T t2) { Integer valueOf = Integer.valueOf(((C17180ucA) t).d); Integer valueOf2 = Integer.valueOf(((C17180ucA) t2).d); if (valueOf == valueOf2) { return 0; } if (valueOf == null) { return -1; } if (valueOf2 == null) { return 1; } return valueOf.compareTo(valueOf2); } } /* renamed from: o.sz$LWm */ /* loaded from: classes3.dex */ public static final class LWm implements Comparator { /* JADX WARN: Multi-variable type inference failed */ @Override // java.util.Comparator public final int compare(T t, T t2) { Integer valueOf = Integer.valueOf(((C17180ucA) t).d); Integer valueOf2 = Integer.valueOf(((C17180ucA) t2).d); if (valueOf == valueOf2) { return 0; } if (valueOf == null) { return -1; } if (valueOf2 == null) { return 1; } return valueOf.compareTo(valueOf2); } } /* renamed from: o.sz$Sts */ /* loaded from: classes3.dex */ public static final class Sts implements Comparator { /* JADX WARN: Multi-variable type inference failed */ @Override // java.util.Comparator public final int compare(T t, T t2) { Integer valueOf = Integer.valueOf(((C17180ucA) t).d); Integer valueOf2 = Integer.valueOf(((C17180ucA) t2).d); if (valueOf == valueOf2) { return 0; } if (valueOf == null) { return -1; } if (valueOf2 == null) { return 1; } return valueOf.compareTo(valueOf2); } } /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */ /* JADX WARN: Code restructure failed: missing block: B:16:0x003f, code lost: if (r1.equals("ESTIMATED_PRICE") != false) goto L82; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x0048, code lost: if (r1.equals("CAR_MODEL") == false) goto L83; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x0051, code lost: if (r1.equals("CAR_BRAND") == false) goto L83; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x005a, code lost: if (r1.equals("YEAR_OF_MANUFACTURE") == false) goto L83; */ /* JADX WARN: Code restructure failed: missing block: B:24:0x0063, code lost: if (r1.equals("YEAR_OF_REGISTRATION") == false) goto L83; */ /* JADX WARN: Code restructure failed: missing block: B:26:0x006c, code lost: if (r1.equals("CAR_SUB_MODEL") == false) goto L83; */ /* JADX WARN: Code restructure failed: missing block: B:31:0x0087, code lost: if (r1.equals("ANNUAL_INTEREST") != false) goto L82; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0022, code lost: if (r1.equals("REGISTRATION_NO") == false) goto L83; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private final o.IV c(o.C17180ucA r5) { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.C16998sz.j int r1 = r1 + 11 int r2 = r1 % 128 o.C16998sz.i = r2 int r1 = r1 % r0 r2 = 0 if (r1 != 0) goto Lb3 java.lang.String r1 = r5.a if (r1 == 0) goto La9 int r3 = r1.hashCode() switch(r3) { case -2045047414: goto L81; case -1881294976: goto L6f; case -1833599649: goto L66; case -1537088993: goto L5d; case -1177931141: goto L54; case -977722596: goto L4b; case -967650626: goto L42; case 286861126: goto L39; case 416036626: goto L26; case 704689927: goto L1c; default: goto L1a; } L1a: goto La9 L1c: java.lang.String r0 = "REGISTRATION_NO" boolean r0 = r1.equals(r0) if (r0 != 0) goto L89 goto La9 L26: java.lang.String r3 = "PROVINCE_OF_REGISTRATION" boolean r1 = r1.equals(r3) if (r1 != 0) goto L89 int r1 = o.C16998sz.i int r1 = r1 + 81 int r2 = r1 % 128 o.C16998sz.j = r2 int r1 = r1 % r0 goto La9 L39: java.lang.String r0 = "ESTIMATED_PRICE" boolean r0 = r1.equals(r0) if (r0 == 0) goto La9 goto L89 L42: java.lang.String r0 = "CAR_MODEL" boolean r0 = r1.equals(r0) if (r0 != 0) goto L89 goto La9 L4b: java.lang.String r0 = "CAR_BRAND" boolean r0 = r1.equals(r0) if (r0 != 0) goto L89 goto La9 L54: java.lang.String r0 = "YEAR_OF_MANUFACTURE" boolean r0 = r1.equals(r0) if (r0 != 0) goto L89 goto La9 L5d: java.lang.String r0 = "YEAR_OF_REGISTRATION" boolean r0 = r1.equals(r0) if (r0 != 0) goto L89 goto La9 L66: java.lang.String r0 = "CAR_SUB_MODEL" boolean r0 = r1.equals(r0) if (r0 != 0) goto L89 goto La9 L6f: java.lang.String r3 = "REMARK" boolean r1 = r1.equals(r3) if (r1 != 0) goto L89 int r1 = o.C16998sz.j int r1 = r1 + 37 int r2 = r1 % 128 o.C16998sz.i = r2 int r1 = r1 % r0 goto La9 L81: java.lang.String r0 = "ANNUAL_INTEREST" boolean r0 = r1.equals(r0) if (r0 == 0) goto La9 L89: java.lang.String r0 = r5.b java.lang.String r5 = r5.g android.content.res.Resources r1 = r4.e int r3 = o.C15715hv.LWm.dark_gray int r1 = o.kVs.nX_(r1, r3, r2) o.IV$Sts r2 = new o.IV$Sts r2.(r5, r1) java.util.List r5 = java.util.Collections.singletonList(r2) java.lang.String r1 = "" o.C14957gcv.c(r5, r1) o.IV r1 = new o.IV r1.(r0, r5) goto Lb2 La9: o.IV r1 = new o.IV java.lang.String r0 = r5.b java.lang.String r5 = r5.g r1.(r0, r5) Lb2: return r1 Lb3: java.lang.String r5 = r5.a r2.hashCode() throw r2 */ throw new UnsupportedOperationException("Method not decompiled: o.C16998sz.c(o.ucA):o.IV"); } private static void s(char c, int i2, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) { int i3; int i4 = 2; int i5 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; int i6 = 0; System.arraycopy(cArr, 0, cArr4, 0, length); System.arraycopy(cArr3, 0, cArr5, 0, length2); cArr4[0] = (char) (cArr4[0] ^ c); cArr5[2] = (char) (cArr5[2] + ((char) i2)); int length3 = cArr2.length; char[] cArr6 = new char[length3]; nhs.a = 0; while (nhs.a < length3) { int i7 = $10 + 73; $11 = i7 % 128; int i8 = i7 % i4; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 45, TextUtils.getTrimmedLength("") + 5, (char) Drawable.resolveOpacity(i6, i6)); Class[] clsArr = new Class[1]; clsArr[i6] = Object.class; obj = cls.getMethod("t", clsArr); xzZ.y.put(263693715, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); Object[] objArr3 = {nhs}; Object obj2 = xzZ.y.get(-484664112); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 351, 4 - Process.getGidForName(""), (char) (View.resolveSizeAndState(i6, i6, i6) + 52128)); byte b2 = (byte) i6; byte b3 = b2; Object[] objArr4 = new Object[1]; q(b2, b3, b3, objArr4); String str = (String) objArr4[i6]; Class[] clsArr2 = new Class[1]; clsArr2[i6] = Object.class; obj2 = cls2.getMethod(str, clsArr2); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); int i9 = cArr4[nhs.a % 4] * 32718; Object[] objArr5 = new Object[3]; objArr5[2] = Integer.valueOf(cArr5[intValue]); objArr5[1] = Integer.valueOf(i9); objArr5[i6] = nhs; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { Class cls3 = (Class) xzZ.c(747 - TextUtils.indexOf((CharSequence) "", '0', i6), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (ViewConfiguration.getFadingEdgeLength() >> 16)); Class[] clsArr3 = new Class[3]; clsArr3[i6] = Object.class; clsArr3[1] = Integer.TYPE; clsArr3[2] = Integer.TYPE; obj3 = cls3.getMethod(com.pingan.ai.p.a, clsArr3); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); int i10 = cArr4[intValue2] * 32718; Object[] objArr6 = new Object[2]; objArr6[1] = Integer.valueOf(cArr5[intValue]); objArr6[i6] = Integer.valueOf(i10); Object obj4 = xzZ.y.get(1019894806); if (obj4 != null) { i3 = 2; } else { Class cls4 = (Class) xzZ.c(402 - TextUtils.indexOf("", ""), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (21608 - ((Process.getThreadPriority(i6) + 20) >> 6))); byte b4 = (byte) i6; byte b5 = (byte) (b4 + 1); Object[] objArr7 = new Object[1]; q(b4, b5, (byte) (b5 - 1), objArr7); String str2 = (String) objArr7[i6]; i3 = 2; Class[] clsArr4 = new Class[2]; clsArr4[i6] = Integer.TYPE; clsArr4[1] = Integer.TYPE; obj4 = cls4.getMethod(str2, clsArr4); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((int) (a ^ 9051040786702654117L)) ^ ((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (b ^ 9051040786702654117L))) ^ ((char) (d ^ 9051040786702654117L))); nhs.a++; int i11 = $10 + 81; $11 = i11 % 128; int i12 = i11 % 2; i4 = i3; i6 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(cArr6); } public final List e(List list, List list2) { Object obj; Object obj2; int i2 = 2 % 2; C14957gcv.e(list, ""); C14957gcv.e(list2, ""); List list3 = list; C14957gcv.e(list3, ""); ArrayList arrayList = new ArrayList(list3); Iterator it = list2.iterator(); while (true) { obj = null; if (!it.hasNext()) { obj2 = null; break; } obj2 = it.next(); if (C14957gcv.b((Object) "REMARK", (Object) ((C17180ucA) obj2).a)) { break; } } C17180ucA c17180ucA = (C17180ucA) obj2; if (c17180ucA != null) { int i3 = i + 71; j = i3 % 128; if (i3 % 2 == 0) { arrayList.add(c17180ucA); throw null; } arrayList.add(c17180ucA); } ArrayList arrayList2 = new ArrayList(); int i4 = i + 91; j = i4 % 128; int i5 = i4 % 2; for (Object obj3 : arrayList) { C17180ucA c17180ucA2 = (C17180ucA) obj3; if (C14957gcv.b((Object) "LOAN_INFORMATION", (Object) c17180ucA2.c)) { int i6 = j + 97; i = i6 % 128; int i7 = i6 % 2; if (c17180ucA2.g != null) { int i8 = j + 19; i = i8 % 128; if (i8 % 2 != 0) { String str = c17180ucA2.e; obj.hashCode(); throw null; } if (c17180ucA2.e != null) { arrayList2.add(obj3); } } else { continue; } } } List a2 = C14881gav.a((Iterable) arrayList2, (Comparator) new HBt()); C14957gcv.e(a2, ""); ArrayList arrayList3 = new ArrayList(a2 instanceof Collection ? a2.size() : 10); Iterator it2 = a2.iterator(); while (it2.hasNext()) { arrayList3.add(c((C17180ucA) it2.next())); } List d2 = C14881gav.d((Iterable) arrayList3); int i9 = j + 83; i = i9 % 128; if (i9 % 2 == 0) { return d2; } throw null; } public final List n(String str) { return (List) b(new Object[]{this, str}, 2022377764, -2022377764, System.identityHashCode(this)); } }