package o; import android.graphics.Color; 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 java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collections; import java.util.List; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.PRA; /* loaded from: classes.dex */ public final class yBv extends NhM { private static final byte[] $$d = {45, 3, ISO7816.INS_READ_RECORD2, ISO7816.INS_PSO}; private static final int $$e = 97; private static int $10 = 0; private static int $11 = 1; private static int a = 0; private static int h = 1; private static char[] d = {16072}; private static int e = 1934311047; private static boolean c = true; private static boolean b = true; public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) { int i4 = ~i3; int i5 = ~i2; int i6 = (i * 758) + (i2 * (-756)) + ((i | i4) * (-757)) + ((~(i5 | i | i3)) * 1514) + (((~(i | i2 | i3)) | (~(i4 | i5)) | (~((~i) | i5))) * 757); return i6 != 1 ? i6 != 2 ? i6 != 3 ? i6 != 4 ? c(objArr) : a(objArr) : e(objArr) : b(objArr) : d(objArr); } /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0030). 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 g(int r6, int r7, int r8, java.lang.Object[] r9) { /* byte[] r0 = o.yBv.$$d int r6 = r6 + 4 int r8 = r8 * 57 int r8 = r8 + 65 int r7 = r7 * 3 int r1 = 1 - r7 byte[] r1 = new byte[r1] r2 = 0 int r7 = 0 - r7 if (r0 != 0) goto L17 r8 = r6 r3 = r7 r4 = r2 goto L30 L17: r3 = r2 L18: int r6 = r6 + 1 byte r4 = (byte) r8 r1[r3] = r4 if (r3 != r7) goto L27 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L27: r4 = r0[r6] int r3 = r3 + 1 r5 = r8 r8 = r6 r6 = r4 r4 = r3 r3 = r5 L30: int r6 = r6 + r3 r3 = r4 r5 = r8 r8 = r6 r6 = r5 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.yBv.g(int, int, int, java.lang.Object[]):void"); } @InterfaceC13391fZD public yBv() { } public static boolean b(C16562pOe c16562pOe) { int i = 2 % 2; int i2 = h + 111; a = i2 % 128; int i3 = i2 % 2; yzb status = c16562pOe.getStatus(); if (i3 != 0) { status.e.equals(BET.SUCCESS.status); throw null; } boolean equals = status.e.equals(BET.SUCCESS.status); int i4 = h + 103; a = i4 % 128; int i5 = i4 % 2; return equals; } public static Ogo c(C3624bBo c3624bBo) { int i = 2 % 2; Ogo ogo = new Ogo(c3624bBo.a, c3624bBo.e, c3624bBo.c, c3624bBo.b, c3624bBo.d); int i2 = a + 49; h = i2 % 128; if (i2 % 2 != 0) { return ogo; } throw null; } private static /* synthetic */ Object e(Object[] objArr) { yBv ybv = (yBv) objArr[0]; LGd lGd = (LGd) objArr[1]; int i = 2 % 2; C7968cyO c7968cyO = new C7968cyO(); c7968cyO.e = ybv.i(lGd.b); c7968cyO.a = ybv.c(lGd.d); c7968cyO.f = ybv.e(lGd.g); c7968cyO.c = ybv.d(lGd.a); c7968cyO.g = ybv.j(lGd.i); if (lGd.j != null) { c7968cyO.h = (Gdg) d(new Object[]{lGd.j}, -1287859461, 1287859465, (int) System.currentTimeMillis()); } if (lGd.f != null) { c7968cyO.j = ybv.e(lGd.f); } if (lGd.h != null) { c7968cyO.i = ybv.f(lGd.h); int i2 = a + 31; h = i2 % 128; int i3 = i2 % 2; } if (lGd.c != null) { c7968cyO.b = (C15377goq) d(new Object[]{lGd.c}, 147756787, -147756785, (int) System.currentTimeMillis()); } if (lGd.e != null) { int i4 = h + 91; a = i4 % 128; int i5 = i4 % 2; c7968cyO.d = ybv.b(lGd.e); } return c7968cyO; } private static /* synthetic */ Object b(Object[] objArr) { C16714qcP c16714qcP = (C16714qcP) objArr[0]; int i = 2 % 2; C15377goq c15377goq = new C15377goq(); c15377goq.d = c16714qcP.d; c15377goq.b = c16714qcP.c; int i2 = a + 31; h = i2 % 128; if (i2 % 2 == 0) { int i3 = 74 / 0; } return c15377goq; } private static /* synthetic */ Object a(Object[] objArr) { C9779dqN c9779dqN = (C9779dqN) objArr[0]; int i = 2 % 2; Object[] objArr2 = new Object[1]; k(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, View.MeasureSpec.makeMeasureSpec(0, 0) + 127, objArr2); Gdg gdg = new Gdg(((String) objArr2[0]).intern().equals(c9779dqN.b), "Y".equals(c9779dqN.e)); int i2 = a + 13; h = i2 % 128; if (i2 % 2 != 0) { return gdg; } throw null; } private List d(List list) { int i = 2 % 2; YKU yku = new YKU(list); List list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.LCT private yBv d; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return yBv.e((C15783iaG) obj); } { this.d = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); int i2 = a + 125; h = i2 % 128; if (i2 % 2 == 0) { int i3 = 53 / 0; } return list2; } private List j(List list) { int i = 2 % 2; int i2 = h + 49; a = i2 % 128; if (i2 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } if (list == null) { ArrayList arrayList = new ArrayList(); int i3 = a + 107; h = i3 % 128; if (i3 % 2 == 0) { int i4 = 86 / 0; } return arrayList; } YKU yku = new YKU(list); return (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.jFW private yBv d; @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { return yBv.b((FDG) obj2); } { this.d = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); } private List b(List list) { int i = 2 % 2; int i2 = a + 43; h = i2 % 128; Object obj = null; if (i2 % 2 == 0) { obj.hashCode(); throw null; } if (list == null) { ArrayList arrayList = new ArrayList(); int i3 = a + 93; h = i3 % 128; if (i3 % 2 != 0) { return arrayList; } throw null; } YKU yku = new YKU(list); List list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.Fnm private yBv c; @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { return yBv.a((Qxk) obj2); } { this.c = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); int i4 = h + 37; a = i4 % 128; if (i4 % 2 != 0) { int i5 = 53 / 0; } return list2; } private static /* synthetic */ Object c(Object[] objArr) { C15783iaG c15783iaG = (C15783iaG) objArr[0]; int i = 2 % 2; AeX aeX = new AeX(c15783iaG.e, c15783iaG.a, c15783iaG.c, new JZY(c15783iaG.d.b, c15783iaG.d.c, c15783iaG.d.e, "")); int i2 = a + 115; h = i2 % 128; if (i2 % 2 != 0) { return aeX; } Object obj = null; obj.hashCode(); throw null; } private static idH d(FDG fdg) { int i = 2 % 2; idH idh = new idH(fdg.e, fdg.b, fdg.d, fdg.a, new FHJ(fdg.c.e, fdg.c.a)); int i2 = h + 103; a = i2 % 128; int i3 = i2 % 2; return idh; } private static /* synthetic */ Object d(Object[] objArr) { Qxk qxk = (Qxk) objArr[0]; int i = 2 % 2; Yms yms = new Yms(qxk.c, qxk.e, qxk.d, qxk.b); int i2 = a + 23; h = i2 % 128; if (i2 % 2 != 0) { return yms; } throw null; } private List e(List list) { int i = 2 % 2; if (list != null) { YKU yku = new YKU(list); List list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.Woz private yBv d; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return yBv.b((Iok) obj); } { this.d = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); int i2 = a + 1; h = i2 % 128; int i3 = i2 % 2; return list2; } int i4 = h + 105; a = i4 % 128; if (i4 % 2 == 0) { return Collections.emptyList(); } Collections.emptyList(); Object obj = null; obj.hashCode(); throw null; } private static QBA e(Iok iok) { int i = 2 % 2; int i2 = iok.e; String str = iok.a; String str2 = iok.c; yzb yzbVar = iok.b; QBA qba = new QBA(i2, str, str2, new JZY(yzbVar.h, yzbVar.e, yzbVar.c, yzbVar.g)); int i3 = h + 115; a = i3 % 128; int i4 = i3 % 2; return qba; } private static void k(char[] cArr, byte[] bArr, int[] iArr, int i, Object[] objArr) { int i2 = 2 % 2; C3614bBe c3614bBe = new C3614bBe(); char[] cArr2 = d; int i3 = -1; int i4 = 1; if (cArr2 != null) { int i5 = $11 + 125; $10 = i5 % 128; int i6 = i5 % 2; int length = cArr2.length; char[] cArr3 = new char[length]; int i7 = 0; while (i7 < length) { try { Object[] objArr2 = {Integer.valueOf(cArr2[i7])}; Object obj = xzZ.y.get(-950481649); if (obj == null) { Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16)); byte b2 = (byte) i3; byte b3 = (byte) (b2 + 1); Object[] objArr3 = new Object[1]; g(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-950481649, obj); } cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i7++; i3 = -1; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } try { Object[] objArr4 = {Integer.valueOf(e)}; Object obj2 = xzZ.y.get(-1521625011); if (obj2 == null) { Class cls2 = (Class) xzZ.c(283 - View.MeasureSpec.getSize(0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (39814 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)))); byte b4 = (byte) (-1); byte b5 = (byte) (b4 + 1); Object[] objArr5 = new Object[1]; g(b4, b5, (byte) (b5 + 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1521625011, obj2); } int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue(); if (b) { c3614bBe.c = bArr.length; char[] cArr4 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue); Object[] objArr6 = {c3614bBe, c3614bBe}; Object obj3 = xzZ.y.get(1779759091); if (obj3 == null) { obj3 = ((Class) xzZ.c(39 - TextUtils.lastIndexOf("", '0'), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj3); } ((Method) obj3).invoke(null, objArr6); } objArr[0] = new String(cArr4); return; } if (!c) { c3614bBe.c = iArr.length; char[] cArr5 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); c3614bBe.a++; } String str = new String(cArr5); int i8 = $10 + 79; $11 = i8 % 128; int i9 = i8 % 2; objArr[0] = str; return; } c3614bBe.c = cArr.length; char[] cArr6 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - i4) - c3614bBe.a] - i] - intValue); Object[] objArr7 = {c3614bBe, c3614bBe}; Object obj4 = xzZ.y.get(1779759091); if (obj4 == null) { Class cls3 = (Class) xzZ.c(40 - ExpandableListView.getPackedPositionType(0L), AndroidCharacter.getMirror('0') - '+', (char) Color.blue(0)); Class[] clsArr = new Class[2]; clsArr[0] = Object.class; clsArr[i4] = Object.class; obj4 = cls3.getMethod("D", clsArr); xzZ.y.put(1779759091, obj4); } ((Method) obj4).invoke(null, objArr7); i4 = 1; } objArr[0] = new String(cArr6); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } private List c(List list) { int i = 2 % 2; YKU yku = new YKU(list); List list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.vJc private yBv c; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return yBv.a((JKJ) obj); } { this.c = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); int i2 = a + 71; h = i2 % 128; if (i2 % 2 == 0) { int i3 = 59 / 0; } return list2; } private static JNE e(JKJ jkj) { int i = 2 % 2; int i2 = jkj.e; String str = jkj.a; yzb yzbVar = jkj.d; JNE jne = new JNE(i2, str, new JZY(yzbVar.h, yzbVar.e, yzbVar.c, yzbVar.g), jkj.b); int i3 = h + 89; a = i3 % 128; if (i3 % 2 != 0) { int i4 = 41 / 0; } return jne; } private List i(List list) { int i = 2 % 2; int i2 = h + 85; a = i2 % 128; int i3 = i2 % 2; if (list == null) { return Collections.emptyList(); } YKU yku = new YKU(list); List list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.niY private yBv e; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return yBv.d((kFs) obj); } { this.e = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); int i4 = h + 29; a = i4 % 128; if (i4 % 2 != 0) { int i5 = 61 / 0; } return list2; } private static hAo c(kFs kfs) { String str; String str2; String str3; int i = 2 % 2; int i2 = kfs.e; String str4 = kfs.a; yzb yzbVar = kfs.i; JZY jzy = new JZY(yzbVar.h, yzbVar.e, yzbVar.c, yzbVar.g); String str5 = kfs.b != null ? kfs.b : ""; Object obj = null; if (kfs.c != null) { int i3 = h + 69; a = i3 % 128; if (i3 % 2 != 0) { String str6 = kfs.c; throw null; } str = kfs.c; } else { str = ""; } if (kfs.d == null || kfs.d.e == null) { str2 = ""; } else { int i4 = h + 63; a = i4 % 128; int i5 = i4 % 2; str2 = kfs.d.e; } String str7 = kfs.j != null ? kfs.j : ""; if (kfs.f != null) { int i6 = a + 51; h = i6 % 128; if (i6 % 2 == 0) { String str8 = kfs.f; obj.hashCode(); throw null; } String str9 = kfs.f; int i7 = a + 79; h = i7 % 128; int i8 = i7 % 2; str3 = str9; } else { str3 = ""; } return new hAo(i2, str4, jzy, str5, str, str2, str7, str3, kfs.g != null ? kfs.g : ""); } public static Pag c(C16562pOe c16562pOe) { int i = 2 % 2; Pag a2 = new Pag().a(e(c16562pOe)); int i2 = h + 119; a = i2 % 128; if (i2 % 2 != 0) { int i3 = 43 / 0; } return a2; } private List f(List list) { int i = 2 % 2; YKU yku = new YKU(list); List list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.Uqg private yBv b; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return yBv.e((vfl) obj); } { this.b = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); int i2 = a + 101; h = i2 % 128; if (i2 % 2 != 0) { return list2; } throw null; } private static Wqa d(vfl vflVar) { int i = 2 % 2; int i2 = h + 17; a = i2 % 128; int i3 = i2 % 2; if (vflVar == null) { return null; } int i4 = vflVar.e; String str = vflVar.a; yzb yzbVar = vflVar.c; Wqa wqa = new Wqa(i4, str, new JZY(yzbVar.h, yzbVar.e, yzbVar.c, yzbVar.g), vflVar.f, vflVar.d, vflVar.i, vflVar.b, vflVar.g); int i5 = h + 85; a = i5 % 128; if (i5 % 2 == 0) { return wqa; } throw null; } private static C15377goq b(C16714qcP c16714qcP) { return (C15377goq) d(new Object[]{c16714qcP}, 147756787, -147756785, (int) System.currentTimeMillis()); } public final C7968cyO b(LGd lGd) { return (C7968cyO) d(new Object[]{this, lGd}, -1940103725, 1940103728, System.identityHashCode(this)); } private static Gdg a(C9779dqN c9779dqN) { return (Gdg) d(new Object[]{c9779dqN}, -1287859461, 1287859465, (int) System.currentTimeMillis()); } private static AeX b(C15783iaG c15783iaG) { return (AeX) d(new Object[]{c15783iaG}, 1335969601, -1335969601, (int) System.currentTimeMillis()); } private static Yms d(Qxk qxk) { return (Yms) d(new Object[]{qxk}, 1666670820, -1666670819, (int) System.currentTimeMillis()); } public static /* synthetic */ Wqa e(vfl vflVar) { int i = 2 % 2; int i2 = a + 17; h = i2 % 128; int i3 = i2 % 2; Wqa d2 = d(vflVar); if (i3 == 0) { int i4 = 66 / 0; } int i5 = h + 97; a = i5 % 128; if (i5 % 2 == 0) { return d2; } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ AeX e(C15783iaG c15783iaG) { int i = 2 % 2; int i2 = h + 87; a = i2 % 128; int i3 = i2 % 2; Object[] objArr = {c15783iaG}; long currentTimeMillis = System.currentTimeMillis(); if (i3 == 0) { return (AeX) d(objArr, 1335969601, -1335969601, (int) currentTimeMillis); } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ JNE a(JKJ jkj) { int i = 2 % 2; int i2 = h + 79; a = i2 % 128; int i3 = i2 % 2; JNE e2 = e(jkj); if (i3 != 0) { int i4 = 90 / 0; } return e2; } public static /* synthetic */ Yms a(Qxk qxk) { int i = 2 % 2; int i2 = a + 23; h = i2 % 128; int i3 = i2 % 2; Yms yms = (Yms) d(new Object[]{qxk}, 1666670820, -1666670819, (int) System.currentTimeMillis()); int i4 = a + 57; h = i4 % 128; int i5 = i4 % 2; return yms; } public static /* synthetic */ hAo d(kFs kfs) { int i = 2 % 2; int i2 = h + 47; a = i2 % 128; int i3 = i2 % 2; hAo c2 = c(kfs); int i4 = h + 115; a = i4 % 128; int i5 = i4 % 2; return c2; } public static /* synthetic */ QBA b(Iok iok) { int i = 2 % 2; int i2 = h + 9; a = i2 % 128; if (i2 % 2 == 0) { return e(iok); } e(iok); throw null; } public static /* synthetic */ idH b(FDG fdg) { int i = 2 % 2; int i2 = h + 111; a = i2 % 128; int i3 = i2 % 2; idH d2 = d(fdg); if (i3 != 0) { int i4 = 65 / 0; } int i5 = a + 123; h = i5 % 128; if (i5 % 2 != 0) { return d2; } throw null; } }