package o; import android.graphics.Color; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; /* loaded from: classes3.dex */ public final class wCR extends wRi { private final pQs b; private final String c; private final Xky d; private static final byte[] $$a = {76, ISO7816.INS_UPDATE_RECORD, -78, ISOFileInfo.FCI_EXT}; private static final int $$b = 41; private static int $10 = 0; private static int $11 = 1; private static int e = 0; private static int g = 1; private static long a = -4787099158814736291L; /* 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:0x0028). 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 k(short r6, int r7, int r8, java.lang.Object[] r9) { /* int r7 = r7 * 2 int r7 = 4 - r7 int r6 = r6 * 2 int r6 = 121 - r6 byte[] r0 = o.wCR.$$a int r8 = r8 * 4 int r8 = 1 - r8 byte[] r1 = new byte[r8] r2 = 0 if (r0 != 0) goto L16 r3 = r8 r5 = r2 goto L28 L16: r3 = r2 L17: byte r4 = (byte) r6 int r5 = r3 + 1 r1[r3] = r4 if (r5 != r8) goto L26 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L26: r3 = r0[r7] L28: int r3 = -r3 int r6 = r6 + r3 int r7 = r7 + 1 r3 = r5 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: o.wCR.k(short, int, int, java.lang.Object[]):void"); } @InterfaceC13391fZD public wCR(yRw yrw, yRw yrw2, Xky xky, pQs pqs, String str) { super(yrw, yrw2); this.d = xky; this.b = pqs; this.c = str; } public final AbstractC13163fSk e() { int i = 2 % 2; int i2 = g + 73; e = i2 % 128; if (i2 % 2 == 0) { C7968cyO p = this.d.p(); if (p != null) { return e(e(p, false)); } AbstractC13163fSk e2 = e(this.d.E().flatMap(new fSS(this) { // from class: o.ZLI private wCR b; @Override // o.fSS public final Object a(Object obj) { return wCR.b(this.b, (C7968cyO) obj); } { this.b = this; } })); int i3 = e + 23; g = i3 % 128; if (i3 % 2 == 0) { int i4 = 85 / 0; } return e2; } this.d.p(); throw null; } private /* synthetic */ InterfaceC13169fSq b(C7968cyO c7968cyO) throws Throwable { int i = 2 % 2; int i2 = g + 125; e = i2 % 128; int i3 = i2 % 2; AbstractC13163fSk e2 = e(c7968cyO, false); int i4 = g + 115; e = i4 % 128; int i5 = i4 % 2; return e2; } /* JADX INFO: Access modifiers changed from: private */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0030, code lost: return r4.e(r4.e(r2, true)); */ /* JADX WARN: Code restructure failed: missing block: B:13:0x0025, code lost: if (r2 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost: if (r2 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0031, code lost: r4 = r4.e(r4.d.E().flatMap(new o.GZq(r4))); r2 = o.wCR.g + 75; o.wCR.e = r2 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x004d, code lost: if ((r2 % 2) == 0) goto L14; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x004f, code lost: r1 = 43 / 0; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0052, code lost: return r4; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static /* synthetic */ java.lang.Object a(java.lang.Object[] r4) { /* r0 = 0 r4 = r4[r0] o.wCR r4 = (o.wCR) r4 r1 = 2 int r2 = r1 % r1 int r2 = o.wCR.e int r2 = r2 + 49 int r3 = r2 % 128 o.wCR.g = r3 int r2 = r2 % r1 if (r2 != 0) goto L1f o.Xky r2 = r4.d o.cyO r2 = r2.p() r3 = 32 int r3 = r3 / r0 if (r2 == 0) goto L31 goto L27 L1f: o.Xky r2 = r4.d o.cyO r2 = r2.p() if (r2 == 0) goto L31 L27: r0 = 1 o.fSk r0 = r4.e(r2, r0) o.fSk r4 = r4.e(r0) return r4 L31: o.Xky r2 = r4.d o.fSk r2 = r2.E() o.GZq r3 = new o.GZq r3.(r4) o.fSk r2 = r2.flatMap(r3) o.fSk r4 = r4.e(r2) int r2 = o.wCR.g int r2 = r2 + 75 int r3 = r2 % 128 o.wCR.e = r3 int r2 = r2 % r1 if (r2 == 0) goto L52 r1 = 43 int r1 = r1 / r0 L52: return r4 */ throw new UnsupportedOperationException("Method not decompiled: o.wCR.a(java.lang.Object[]):java.lang.Object"); } private /* synthetic */ InterfaceC13169fSq c(C7968cyO c7968cyO) throws Throwable { int i = 2 % 2; int i2 = g + 5; e = i2 % 128; return e(c7968cyO, i2 % 2 == 0); } private static void j(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a2 = GuL.a(a ^ (-7538262848231253921L), cArr, i); guL.a = 4; int i3 = $10 + 89; $11 = i3 % 128; int i4 = i3 % 2; while (guL.a < a2.length) { int i5 = $10 + 49; $11 = i5 % 128; int i6 = i5 % 2; guL.c = guL.a - 4; int i7 = guL.a; try { Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(a)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 208, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 1706)); byte b = (byte) ($$b & 7); byte b2 = (byte) (b - 1); Object[] objArr3 = new Object[1]; k(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c(392 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) ((-16777216) - Color.rgb(0, 0, 0))); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; k(b3, b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(a2, 4, a2.length - 4); } /* JADX WARN: Code restructure failed: missing block: B:10:0x0076, code lost: r2 = ((java.lang.String) r2).intern(); */ /* JADX WARN: Code restructure failed: missing block: B:11:0x007e, code lost: if (r10.c == null) goto L23; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0080, code lost: r7 = o.wCR.e + 71; o.wCR.g = r7 % 128; r7 = r7 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x008f, code lost: if (r10.c.isEmpty() != false) goto L23; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0091, code lost: r10 = o.wCR.g + 71; o.wCR.e = r10 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x009a, code lost: if ((r10 % 2) == 0) goto L26; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x009c, code lost: r10 = 52 / 0; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x00ce, code lost: return r1.d(new o.Wun(r2, r5, r9.c), r11); */ /* JADX WARN: Code restructure failed: missing block: B:20:0x00a0, code lost: r6 = new java.lang.Object[1]; j(new char[]{32822, 32774, 10837, 60488, 549}, android.view.ViewConfiguration.getKeyRepeatTimeout() >> 16, r6); r5 = ((java.lang.String) r6[0]).intern(); r10 = o.wCR.g + 5; o.wCR.e = r10 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:21:0x00c0, code lost: if ((r10 % 2) == 0) goto L26; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x00c2, code lost: r3 = 5 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:23:0x0066, code lost: r8 = new java.lang.Object[1]; j(new char[]{32822, 32774, 10837, 60488, 549}, android.view.View.resolveSize(0, 0), r8); r2 = r8[0]; */ /* JADX WARN: Code restructure failed: missing block: B:27:0x0029, code lost: if (r10.h.b != false) goto L10; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (r10.c.isEmpty() != false) goto L6; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x002b, code lost: r1 = r9.b; r2 = r10.h; r7 = new java.lang.Object[1]; j(new char[]{46421, 46436, 25198, 10810, 46714}, (android.graphics.PointF.length(com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.graphics.PointF.length(com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), r7); r5 = ((java.lang.String) r7[0]).intern(); */ /* JADX WARN: Code restructure failed: missing block: B:6:0x004b, code lost: if (r2 == null) goto L15; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0051, code lost: if (r10.h.b == false) goto L15; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0053, code lost: r8 = new java.lang.Object[1]; j(new char[]{46421, 46436, 25198, 10810, 46714}, android.view.ViewConfiguration.getFadingEdgeLength() >> 16, r8); r2 = r8[0]; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private o.AbstractC13163fSk e(o.C7968cyO r10, boolean r11) { /* Method dump skipped, instructions count: 257 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.wCR.e(o.cyO, boolean):o.fSk"); } public final AbstractC13163fSk c() { System.identityHashCode(this); return (AbstractC13163fSk) a(new Object[]{this}); } public static /* synthetic */ InterfaceC13169fSq d(wCR wcr, C7968cyO c7968cyO) { int i = 2 % 2; int i2 = g + 85; e = i2 % 128; int i3 = i2 % 2; InterfaceC13169fSq c = wcr.c(c7968cyO); int i4 = g + 105; e = i4 % 128; int i5 = i4 % 2; return c; } public static /* synthetic */ InterfaceC13169fSq b(wCR wcr, C7968cyO c7968cyO) { int i = 2 % 2; int i2 = e + 49; g = i2 % 128; int i3 = i2 % 2; InterfaceC13169fSq b = wcr.b(c7968cyO); if (i3 == 0) { int i4 = 80 / 0; } return b; } }