package o; import android.graphics.Color; import android.media.AudioTrack; import android.os.Process; import android.text.AndroidCharacter; 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 net.sf.scuba.smartcards.ISO7816; import o.InterfaceC6621cYR; /* renamed from: o.bdC, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C4594bdC extends C4619bdb { private String g; private String h; private static final byte[] $$a = {78, ISO7816.INS_DELETE_FILE, 113, -27}; private static final int $$b = 126; private static int $10 = 0; private static int $11 = 1; private static int k = 0; private static int l = 1; private static long m = 9051040786702654117L; /* renamed from: o, reason: collision with root package name */ private static int f8565o = 452713125; private static char n = 9774; public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) { int i4 = ~i3; int i5 = (i * 522) + (i2 * (-520)) + (((~(i4 | i2)) | i) * (-1042)) + ((i2 | i3) * 521); int i6 = ~i; return i5 + (((~((i | i4) | i2)) | ((~(i3 | i6)) | (~((~i2) | i6)))) * 521) != 1 ? c(objArr) : a(objArr); } /* JADX WARN: Removed duplicated region for block: B:10:0x0026 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001e */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002c). 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 r6, byte r7, int r8, java.lang.Object[] r9) { /* int r7 = r7 * 4 int r0 = 1 - r7 byte[] r1 = o.C4594bdC.$$a int r6 = r6 + 114 int r8 = r8 + 4 byte[] r0 = new byte[r0] r2 = 0 int r7 = 0 - r7 if (r1 != 0) goto L14 r3 = r8 r4 = r2 goto L2c L14: r3 = r2 L15: byte r4 = (byte) r6 int r8 = r8 + 1 r0[r3] = r4 int r4 = r3 + 1 if (r3 != r7) goto L26 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L26: r3 = r1[r8] r5 = r8 r8 = r6 r6 = r3 r3 = r5 L2c: int r6 = -r6 int r6 = r6 + r8 r8 = r3 r3 = r4 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: o.C4594bdC.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 C4594bdC(C16903sI c16903sI, C16706qX c16706qX, fKT fkt, Wqj wqj, CQ cq, C15829iu c15829iu, iRT irt, String str) { super(c16903sI, c16706qX, fkt, wqj, cq, c15829iu, irt, str); C14957gcv.e(c16706qX, ""); C14957gcv.e(fkt, ""); C14957gcv.e(wqj, ""); C14957gcv.e(cq, ""); C14957gcv.e(c15829iu, ""); C14957gcv.e(irt, ""); C14957gcv.e(str, ""); } /* JADX WARN: Code restructure failed: missing block: B:10:0x0018, code lost: if (r1 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0013, code lost: if (r1 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x001b, code lost: o.C14957gcv.a(""); r1 = o.C4594bdC.l + 51; o.C4594bdC.k = r1 % 128; r1 = r1 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x002a, code lost: return null; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x001a, code lost: return r1; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private java.lang.String h() { /* r3 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.C4594bdC.l int r1 = r1 + 25 int r2 = r1 % 128 o.C4594bdC.k = r2 int r1 = r1 % r0 if (r1 == 0) goto L16 java.lang.String r1 = r3.g r2 = 6 int r2 = r2 / 0 if (r1 == 0) goto L1b goto L1a L16: java.lang.String r1 = r3.g if (r1 == 0) goto L1b L1a: return r1 L1b: java.lang.String r1 = "" o.C14957gcv.a(r1) int r1 = o.C4594bdC.l int r1 = r1 + 51 int r2 = r1 % 128 o.C4594bdC.k = r2 int r1 = r1 % r0 r0 = 0 return r0 */ throw new UnsupportedOperationException("Method not decompiled: o.C4594bdC.h():java.lang.String"); } private static /* synthetic */ Object a(Object[] objArr) { C4594bdC c4594bdC = (C4594bdC) objArr[0]; int i = 2 % 2; int i2 = l; int i3 = i2 + 65; k = i3 % 128; int i4 = i3 % 2; String str = c4594bdC.h; Object obj = null; if (str == null) { C14957gcv.a(""); int i5 = k + 43; l = i5 % 128; int i6 = i5 % 2; return null; } int i7 = i2 + 125; k = i7 % 128; if (i7 % 2 == 0) { return str; } obj.hashCode(); throw null; } public final void b(String str, String str2) { int i = 2 % 2; int i2 = k + 81; l = i2 % 128; if (i2 % 2 != 0) { C14957gcv.e(str, ""); C14957gcv.e(str2, ""); e(str); b(str2); return; } C14957gcv.e(str, ""); C14957gcv.e(str2, ""); e(str); b(str2); Object obj = null; obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:11:0x0048, code lost: if (o.C14957gcv.b((java.lang.Object) "CARDS", (java.lang.Object) h()) == false) goto L17; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x007b, code lost: if (o.C14957gcv.b((java.lang.Object) "NON_REFERRAL", d(new java.lang.Object[]{r6}, 1112639778, -1112639777, java.lang.System.identityHashCode(r6))) == false) goto L30; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x007d, code lost: r1 = new o.C4599bdH(r6); */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0084, code lost: if (r6.f == 0) goto L27; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x0086, code lost: r2 = o.C4594bdC.k + 69; o.C4594bdC.l = r2 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x008f, code lost: if ((r2 % 2) != 0) goto L26; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x0092, code lost: r3 = true; */ /* JADX WARN: Code restructure failed: missing block: B:19:0x0093, code lost: if (r3 == false) goto L43; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x0095, code lost: r1.e(r6.f); */ /* JADX WARN: Code restructure failed: missing block: B:21:0x009a, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:23:?, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:24:0x009b, code lost: super.a(); */ /* JADX WARN: Code restructure failed: missing block: B:25:0x009e, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:27:0x005f, code lost: if (o.C14957gcv.b((java.lang.Object) "LOANS", (java.lang.Object) h()) == false) goto L30; */ /* JADX WARN: Code restructure failed: missing block: B:29:0x0053, code lost: if (o.C14957gcv.b((java.lang.Object) "CARDS", (java.lang.Object) h()) == false) goto L17; */ @Override // o.C4619bdb /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void a() { /* r6 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.C4594bdC.l int r1 = r1 + 107 int r2 = r1 % 128 o.C4594bdC.k = r2 int r1 = r1 % r0 boolean r1 = r6.b() r2 = 0 if (r1 != 0) goto L9f int r1 = o.C4594bdC.l int r1 = r1 + 11 int r3 = r1 % 128 o.C4594bdC.k = r3 int r1 = r1 % r0 java.lang.String r1 = r6.i if (r1 == 0) goto L21 goto L27 L21: java.lang.String r1 = "" o.C14957gcv.a(r1) r1 = r2 L27: java.lang.String r3 = "AUTO_TOP_UP" boolean r1 = o.C14957gcv.b(r3, r1) if (r1 != 0) goto L9f int r1 = o.C4594bdC.l int r1 = r1 + 65 int r2 = r1 % 128 o.C4594bdC.k = r2 int r1 = r1 % r0 java.lang.String r2 = "CARDS" r3 = 0 if (r1 == 0) goto L4b java.lang.String r1 = r6.h() boolean r1 = o.C14957gcv.b(r2, r1) r2 = 65 int r2 = r2 / r3 if (r1 != 0) goto L61 goto L55 L4b: java.lang.String r1 = r6.h() boolean r1 = o.C14957gcv.b(r2, r1) if (r1 != 0) goto L61 L55: java.lang.String r1 = "LOANS" java.lang.String r2 = r6.h() boolean r1 = o.C14957gcv.b(r1, r2) if (r1 == 0) goto L9b L61: java.lang.Object[] r1 = new java.lang.Object[]{r6} int r2 = java.lang.System.identityHashCode(r6) r4 = 1112639778(0x42518922, float:52.38392) r5 = -1112639777(0xffffffffbdae76df, float:-0.085187666) java.lang.Object r1 = d(r1, r4, r5, r2) java.lang.String r1 = (java.lang.String) r1 java.lang.String r2 = "NON_REFERRAL" boolean r1 = o.C14957gcv.b(r2, r1) if (r1 == 0) goto L9b o.bdH r1 = new o.bdH r1.(r6) T extends o.cYp r2 = r6.f if (r2 == 0) goto L93 int r2 = o.C4594bdC.k int r2 = r2 + 69 int r4 = r2 % 128 o.C4594bdC.l = r4 int r2 = r2 % r0 if (r2 != 0) goto L92 goto L93 L92: r3 = 1 L93: if (r3 == 0) goto L9a T extends o.cYp r0 = r6.f r1.e(r0) L9a: return L9b: super.a() return L9f: o.bdE r1 = new o.bdE r1.(r6) T extends o.cYp r3 = r6.f if (r3 == 0) goto Lc9 int r3 = o.C4594bdC.l int r4 = r3 + 1 int r5 = r4 % 128 o.C4594bdC.k = r5 int r4 = r4 % r0 if (r4 == 0) goto Lb4 goto Lc9 Lb4: int r3 = r3 + 69 int r4 = r3 % 128 o.C4594bdC.k = r4 int r3 = r3 % r0 if (r3 != 0) goto Lc3 T extends o.cYp r0 = r6.f r1.e(r0) goto Lc9 Lc3: T extends o.cYp r0 = r6.f r1.e(r0) throw r2 Lc9: return */ throw new UnsupportedOperationException("Method not decompiled: o.C4594bdC.a():void"); } private static final void b(C4594bdC c4594bdC, InterfaceC6621cYR.ZqN zqN) { int i = 2 % 2; C14957gcv.e(c4594bdC, ""); Object[] objArr = new Object[1]; p((char) (227 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (-450006924) + (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), new char[]{29979, 11632, 58085, 37888}, new char[]{56322}, new char[]{0, 0, 0, 0}, objArr); String intern = ((String) objArr[0]).intern(); String str = c4594bdC.e; Object obj = null; if (str == null) { C14957gcv.a(""); int i2 = k + 23; l = i2 % 128; if (i2 % 2 == 0) { int i3 = 5 / 3; } str = null; } if (!C14957gcv.b((Object) intern, (Object) str)) { zqN.e(true); return; } int i4 = k + 45; l = i4 % 128; if (i4 % 2 != 0) { zqN.d(); } else { zqN.d(); obj.hashCode(); throw null; } } /* JADX WARN: Code restructure failed: missing block: B:13:0x0081, code lost: if (r0 != null) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x004e, code lost: if (r0 != null) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0084, code lost: o.C14957gcv.a(""); r0 = null; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static final void a(o.C4594bdC r17, o.InterfaceC6621cYR.ZqN r18) { /* r0 = r17 r1 = 2 int r2 = r1 % r1 int r2 = o.C4594bdC.l int r2 = r2 + 87 int r3 = r2 % 128 o.C4594bdC.k = r3 int r2 = r2 % r1 r3 = 3152(0xc50, float:4.417E-42) r4 = -336697241(0xffffffffebee6867, float:-5.7643474E26) r5 = 40428(0x9dec, float:5.6652E-41) r6 = 0 java.lang.String r7 = "" r8 = 4 r9 = 1 r10 = 0 if (r2 == 0) goto L51 o.C14957gcv.e(r0, r7) int r2 = android.view.View.resolveSize(r10, r9) int r5 = r5 % r2 char r11 = (char) r5 r2 = 15 char r2 = android.text.AndroidCharacter.getMirror(r2) int r12 = r2 * r4 char[] r13 = new char[r8] r13 = {x00a2: FILL_ARRAY_DATA , data: [14225, -4504, -4885, 9629} // fill-array char[] r14 = new char[r9] r14[r10] = r3 char[] r15 = new char[r8] r15 = {x00aa: FILL_ARRAY_DATA , data: [0, 0, 0, 0} // fill-array java.lang.Object[] r2 = new java.lang.Object[r9] r16 = r2 p(r11, r12, r13, r14, r15, r16) r2 = r2[r10] java.lang.String r2 = (java.lang.String) r2 java.lang.String r2 = r2.intern() java.lang.String r0 = r0.e if (r0 == 0) goto L84 goto L88 L51: o.C14957gcv.e(r0, r7) int r2 = android.view.View.resolveSize(r10, r10) int r5 = r5 - r2 char r11 = (char) r5 r2 = 48 char r2 = android.text.AndroidCharacter.getMirror(r2) int r12 = r4 - r2 char[] r13 = new char[r8] r13 = {x00b2: FILL_ARRAY_DATA , data: [14225, -4504, -4885, 9629} // fill-array char[] r14 = new char[r9] r14[r10] = r3 char[] r15 = new char[r8] r15 = {x00ba: FILL_ARRAY_DATA , data: [0, 0, 0, 0} // fill-array java.lang.Object[] r2 = new java.lang.Object[r9] r16 = r2 p(r11, r12, r13, r14, r15, r16) r2 = r2[r10] java.lang.String r2 = (java.lang.String) r2 java.lang.String r2 = r2.intern() java.lang.String r0 = r0.e if (r0 == 0) goto L84 goto L88 L84: o.C14957gcv.a(r7) r0 = r6 L88: boolean r0 = o.C14957gcv.b(r2, r0) r2 = r18 r2.e(r0) int r0 = o.C4594bdC.k int r0 = r0 + 71 int r2 = r0 % 128 o.C4594bdC.l = r2 int r0 = r0 % r1 if (r0 == 0) goto L9d return L9d: r6.hashCode() throw r6 */ throw new UnsupportedOperationException("Method not decompiled: o.C4594bdC.a(o.bdC, o.cYR$ZqN):void"); } private static void p(char c, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) { int i2 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; 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) i)); int length3 = cArr2.length; char[] cArr6 = new char[length3]; nhs.a = 0; while (nhs.a < length3) { int i3 = $11 + 55; $10 = i3 % 128; int i4 = i3 % 2; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c(Color.red(0) + 45, View.resolveSizeAndState(0, 0, 0) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("t", Object.class); 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 cls = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 352, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (52129 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)))); byte b = (byte) 1; byte b2 = (byte) (b - 1); Object[] objArr4 = new Object[1]; q(b, b2, (byte) (b2 - 1), objArr4); obj2 = cls.getMethod((String) objArr4[0], Object.class); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { obj3 = ((Class) xzZ.c(748 - View.MeasureSpec.getMode(0), AndroidCharacter.getMirror('0') - '+', (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj4 = xzZ.y.get(1019894806); if (obj4 == null) { Class cls2 = (Class) xzZ.c(Color.green(0) + 402, 5 - TextUtils.indexOf("", ""), (char) (21608 - ExpandableListView.getPackedPositionGroup(0L))); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr7 = new Object[1]; q(b3, b4, (byte) (b4 - 1), objArr7); obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((cArr2[nhs.a] ^ cArr4[intValue2]) ^ (m ^ 9051040786702654117L)) ^ ((int) (f8565o ^ 9051040786702654117L))) ^ ((char) (n ^ 9051040786702654117L))); nhs.a++; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } String str = new String(cArr6); int i5 = $11 + 125; $10 = i5 % 128; if (i5 % 2 == 0) { objArr[0] = str; } else { int i6 = 94 / 0; objArr[0] = str; } } private static /* synthetic */ Object c(Object[] objArr) { C4594bdC c4594bdC = (C4594bdC) objArr[0]; InterfaceC6621cYR.ZqN zqN = (InterfaceC6621cYR.ZqN) objArr[1]; int i = 2 % 2; int i2 = l + 103; k = i2 % 128; int i3 = i2 % 2; a(c4594bdC, zqN); int i4 = l + 71; k = i4 % 128; Object obj = null; if (i4 % 2 == 0) { return null; } obj.hashCode(); throw null; } private void e(String str) { int i = 2 % 2; int i2 = k + 111; l = i2 % 128; int i3 = i2 % 2; C14957gcv.e(str, ""); this.g = str; int i4 = l + 31; k = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } private void b(String str) { int i = 2 % 2; int i2 = k + 51; l = i2 % 128; int i3 = i2 % 2; C14957gcv.e(str, ""); this.h = str; int i4 = l + 67; k = i4 % 128; int i5 = i4 % 2; } private String d() { return (String) d(new Object[]{this}, 1112639778, -1112639777, System.identityHashCode(this)); } public static /* synthetic */ void d(C4594bdC c4594bdC, InterfaceC6621cYR.ZqN zqN) { int i = 2 % 2; int i2 = l + 59; k = i2 % 128; int i3 = i2 % 2; b(c4594bdC, zqN); if (i3 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } }