package o; import android.graphics.Color; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.view.Gravity; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import java.lang.reflect.Method; import java.util.List; import net.sf.scuba.smartcards.ISOFileInfo; import o.C0690Mh; import o.InterfaceC6617cYF; import o.PRA; import o.ZI; import o.wRi; /* renamed from: o.axN, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C3426axN extends ZI { private final BVc b; private final C16519ox d; private static final byte[] $$a = {9, -71, 104, 33}; private static final int $$b = 188; private static int $10 = 0; private static int $11 = 1; private static int h = 0; private static int i = 1; private static char[] e = {16114}; private static int a = 1934311073; private static boolean c = true; private static boolean g = true; /* JADX WARN: Removed duplicated region for block: B:10:0x002b */ /* JADX WARN: Removed duplicated region for block: B:7:0x0023 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002b -> B:4:0x0031). 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 l(byte r6, int r7, int r8, java.lang.Object[] r9) { /* int r7 = r7 * 2 int r7 = 4 - r7 int r8 = r8 * 4 int r0 = 1 - r8 int r6 = r6 * 57 int r6 = 122 - r6 byte[] r1 = o.C3426axN.$$a byte[] r0 = new byte[r0] r2 = 0 int r8 = 0 - r8 if (r1 != 0) goto L18 r3 = r7 r4 = r2 goto L31 L18: r3 = r2 L19: r5 = r7 r7 = r6 r6 = r5 byte r4 = (byte) r7 r0[r3] = r4 int r4 = r3 + 1 if (r3 != r8) goto L2b java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L2b: r3 = r1[r6] r5 = r7 r7 = r6 r6 = r3 r3 = r5 L31: int r7 = r7 + 1 int r6 = r6 + r3 r3 = r4 goto L19 */ throw new UnsupportedOperationException("Method not decompiled: o.C3426axN.l(byte, int, int, java.lang.Object[]):void"); } static /* synthetic */ void d(C3426axN c3426axN) { int i2 = 2 % 2; int i3 = h + 11; i = i3 % 128; int i4 = i3 % 2; if (c3426axN.f != 0) { int i5 = i + 3; h = i5 % 128; if (i5 % 2 != 0) { c3426axN.f.v(); int i6 = 84 / 0; } else { c3426axN.f.v(); } int i7 = i + 35; h = i7 % 128; if (i7 % 2 != 0) { int i8 = 5 / 2; } } } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object e(Object[] objArr) { C3426axN c3426axN = (C3426axN) objArr[0]; int i2 = 2 % 2; if (c3426axN.f == 0) { return null; } int i3 = i + 95; int i4 = i3 % 128; h = i4; if (i3 % 2 != 0) { return null; } int i5 = i4 + 87; i = i5 % 128; if (i5 % 2 == 0) { c3426axN.f.aq_(); int i6 = 64 / 0; return null; } c3426axN.f.aq_(); return null; } static /* synthetic */ void e(C3426axN c3426axN, Throwable th, C0690Mh.IeS ieS) { int i2 = 2 % 2; int i3 = h + 31; i = i3 % 128; int i4 = i3 % 2; if (c3426axN.b(th)) { c3426axN.d(c3426axN.j.d(th, ieS)); } int i5 = h + 7; i = i5 % 128; if (i5 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } @InterfaceC13391fZD public C3426axN(C16903sI c16903sI, C16519ox c16519ox, BVc bVc) { super(c16903sI); this.d = c16519ox; this.b = bVc; } /* JADX WARN: Code restructure failed: missing block: B:10:0x0029, code lost: r6 = o.C3426axN.h + 85; o.C3426axN.i = r6 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0032, code lost: if ((r6 % 2) != 0) goto L14; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0035, code lost: r2 = true; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0038, code lost: if ((!r2) == true) goto L21; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x003a, code lost: r5.e(r4.f); */ /* JADX WARN: Code restructure failed: missing block: B:16:0x003f, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:17:?, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:19:0x001d, code lost: if (android.text.TextUtils.isEmpty(r5) != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (android.text.TextUtils.isEmpty(r5) != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0040, code lost: r4.b.c(new o.C13222fUa(r5, r6)); r5 = r4.b; r5.d(r5.i, new o.C3426axN.LWm(r4, r7)); */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0056, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x001f, code lost: r5 = new o.C3429axQ(); */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0027, code lost: if (r4.f == 0) goto L15; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void b(java.lang.String r5, java.lang.String r6, boolean r7) { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.C3426axN.h int r1 = r1 + 111 int r2 = r1 % 128 o.C3426axN.i = r2 int r1 = r1 % r0 r2 = 0 if (r1 != 0) goto L19 boolean r1 = android.text.TextUtils.isEmpty(r5) r3 = 46 int r3 = r3 / r2 if (r1 == 0) goto L40 goto L1f L19: boolean r1 = android.text.TextUtils.isEmpty(r5) if (r1 == 0) goto L40 L1f: o.axQ r5 = new o.axQ r5.() T extends o.cYp r6 = r4.f r7 = 1 if (r6 == 0) goto L36 int r6 = o.C3426axN.h int r6 = r6 + 85 int r1 = r6 % 128 o.C3426axN.i = r1 int r6 = r6 % r0 if (r6 != 0) goto L35 goto L36 L35: r2 = r7 L36: r6 = r2 ^ 1 if (r6 == r7) goto L3f T extends o.cYp r6 = r4.f r5.e(r6) L3f: return L40: o.fUa r0 = new o.fUa r0.(r5, r6) o.BVc r5 = r4.b r5.c(r0) o.BVc r5 = r4.b o.axN$LWm r6 = new o.axN$LWm r6.(r4, r7) o.fSk r7 = r5.i r5.d(r7, r6) return */ throw new UnsupportedOperationException("Method not decompiled: o.C3426axN.b(java.lang.String, java.lang.String, boolean):void"); } public static boolean e(String str) { Object obj; int i2 = 2 % 2; int i3 = h + 17; i = i3 % 128; if (i3 % 2 == 0) { Object[] objArr = new Object[1]; k(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, 35 << (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr); obj = objArr[0]; } else { Object[] objArr2 = new Object[1]; k(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, 127 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr2); obj = objArr2[0]; } boolean equals = ((String) obj).intern().equals(str); int i4 = h + 121; i = i4 % 128; int i5 = i4 % 2; return equals; } /* renamed from: o.axN$LWm */ /* loaded from: classes4.dex */ class LWm extends wRi.LWm { private boolean b; private C3426axN d; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C17262vMT c17262vMT = (C17262vMT) obj; super.onNext(c17262vMT); final C16519ox c = C3426axN.c(this.d); final C0502Ib c0502Ib = new C0502Ib(); YKU yku = new YKU(c17262vMT.c); c0502Ib.c = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(c) { // from class: o.ov private C16519ox e; @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { return C16519ox.a(this.e, (QJV) obj2); } { this.e = c; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); c0502Ib.a = c17262vMT.e; c0502Ib.d = c17262vMT.b; if (c0502Ib.c.isEmpty()) { C3426axN c3426axN = this.d; C3429axQ c3429axQ = new C3429axQ(); if (c3426axN.f != 0) { c3429axQ.e(c3426axN.f); return; } return; } if (!this.b) { C3426axN c3426axN2 = this.d; ZI.IeS ieS = new ZI.IeS(c0502Ib) { // from class: o.axO private C0502Ib c; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6617cYF.LWm) obj2).b(this.c); } { this.c = c0502Ib; } }; if (c3426axN2.f != 0) { ieS.e(c3426axN2.f); return; } return; } C3426axN c3426axN3 = this.d; ZI.IeS ieS2 = new ZI.IeS(c0502Ib) { // from class: o.axU private C0502Ib d; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6617cYF.LWm) obj2).e(this.d); } { this.d = c0502Ib; } }; if (c3426axN3.f != 0) { ieS2.e(c3426axN3.f); } } public LWm(C3426axN c3426axN, boolean z) { this.d = c3426axN; this.b = z; } @Override // o.AbstractC13403fZf public final void c() { super.c(); C3426axN.d(this.d); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { super.onError(th); C3426axN.e(this.d, th, C0690Mh.IeS.JUST_DISMISS); C3426axN c3426axN = this.d; ZI.IeS ieS = new ZI.IeS() { // from class: o.axR @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6617cYF.LWm) obj).a(); } }; if (c3426axN.f != 0) { ieS.e(c3426axN.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { super.onComplete(); Object[] objArr = {this.d}; C3426axN.e(objArr); } } private static void k(char[] cArr, byte[] bArr, int[] iArr, int i2, Object[] objArr) { int i3 = 2 % 2; C3614bBe c3614bBe = new C3614bBe(); char[] cArr2 = e; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; for (int i4 = 0; i4 < length; i4++) { try { Object[] objArr2 = {Integer.valueOf(cArr2[i4])}; Object obj = xzZ.y.get(-950481649); if (obj == null) { Class cls = (Class) xzZ.c(337 - View.MeasureSpec.makeMeasureSpec(0, 0), Color.argb(0, 0, 0, 0) + 5, (char) View.MeasureSpec.getMode(0)); byte b = (byte) 1; byte b2 = (byte) (b - 1); Object[] objArr3 = new Object[1]; l(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-950481649, obj); } cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } Object[] objArr4 = {Integer.valueOf(a)}; Object obj2 = xzZ.y.get(-1521625011); if (obj2 == null) { Class cls2 = (Class) xzZ.c(284 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), Gravity.getAbsoluteGravity(0, 0) + 5, (char) (39814 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)))); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; l(b3, b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1521625011, obj2); } int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue(); if (g) { c3614bBe.c = bArr.length; char[] cArr4 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i5 = $11 + 23; $10 = i5 % 128; if (i5 % 2 != 0) { cArr4[c3614bBe.a] = (char) (cArr2[bArr[c3614bBe.c + c3614bBe.a] % i2] - intValue); Object[] objArr6 = {c3614bBe, c3614bBe}; Object obj3 = xzZ.y.get(1779759091); if (obj3 == null) { obj3 = ((Class) xzZ.c((Process.myPid() >> 22) + 40, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj3); } ((Method) obj3).invoke(null, objArr6); } else { cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue); Object[] objArr7 = {c3614bBe, c3614bBe}; Object obj4 = xzZ.y.get(1779759091); if (obj4 == null) { obj4 = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 40, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj4); } ((Method) obj4).invoke(null, objArr7); } } String str = new String(cArr4); int i6 = $11 + 77; $10 = i6 % 128; int i7 = i6 % 2; objArr[0] = str; return; } if (!c) { c3614bBe.c = iArr.length; char[] cArr5 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i8 = $11 + 33; $10 = i8 % 128; int i9 = i8 % 2; cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue); c3614bBe.a++; } objArr[0] = new String(cArr5); return; } c3614bBe.c = cArr.length; char[] cArr6 = new char[c3614bBe.c]; c3614bBe.a = 0; int i10 = $11 + 109; $10 = i10 % 128; int i11 = i10 % 2; while (c3614bBe.a < c3614bBe.c) { cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue); Object[] objArr8 = {c3614bBe, c3614bBe}; Object obj5 = xzZ.y.get(1779759091); if (obj5 == null) { obj5 = ((Class) xzZ.c(40 - (Process.myTid() >> 22), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) KeyEvent.getDeadChar(0, 0))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj5); } ((Method) obj5).invoke(null, objArr8); } objArr[0] = new String(cArr6); } static /* synthetic */ void b(C3426axN c3426axN) { e(new Object[]{c3426axN}); } static /* bridge */ /* synthetic */ C16519ox c(C3426axN c3426axN) { int i2 = 2 % 2; int i3 = h; int i4 = i3 + 95; i = i4 % 128; int i5 = i4 % 2; C16519ox c16519ox = c3426axN.d; int i6 = i3 + 87; i = i6 % 128; if (i6 % 2 == 0) { int i7 = 53 / 0; } return c16519ox; } }