package o; import android.graphics.Color; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import java.lang.reflect.Method; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes2.dex */ public final class uTj { private final int[] c; private final Ayo d; private static final byte[] $$a = {63, -89, -19, -14}; private static final int $$b = 31; private static int $10 = 0; private static int $11 = 1; private static int a = 0; private static int i = 1; private static char[] b = {36834}; private static long e = 1470022145370673642L; public static /* synthetic */ Object e(Object[] objArr, int i2, int i3, int i4) { int i5 = ~i3; int i6 = ~(i5 | i2); int i7 = ~(i2 | i4); int i8 = (i2 * (-813)) + (i3 * 408) + ((i6 | i7) * (-814)); int i9 = ~(i5 | (~i4)); int i10 = ~i2; int i11 = ~(i10 | i3); return (i8 + (((i9 | i11) | i7) * 407)) + ((((~(i10 | i4)) | i11) | (~(i3 | i4))) * 407) != 1 ? e(objArr) : d(objArr); } /* JADX WARN: Removed duplicated region for block: B:10:0x0023 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001b */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> 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 g(short r6, byte r7, byte r8, java.lang.Object[] r9) { /* int r7 = r7 + 4 int r8 = 106 - r8 int r6 = r6 * 2 int r0 = r6 + 1 byte[] r1 = o.uTj.$$a byte[] r0 = new byte[r0] r2 = 0 if (r1 != 0) goto L13 r4 = r6 r8 = r7 r3 = r2 goto L2a L13: r3 = r2 L14: int r7 = r7 + 1 byte r4 = (byte) r8 r0[r3] = r4 if (r3 != r6) goto L23 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L23: int r3 = r3 + 1 r4 = r1[r7] r5 = r8 r8 = r7 r7 = r5 L2a: int r7 = r7 + r4 r5 = r8 r8 = r7 r7 = r5 goto L14 */ throw new UnsupportedOperationException("Method not decompiled: o.uTj.g(short, byte, byte, java.lang.Object[]):void"); } /* JADX INFO: Access modifiers changed from: package-private */ public uTj(Ayo ayo, int[] iArr) { if (iArr.length == 0) { throw new IllegalArgumentException(); } this.d = ayo; int length = iArr.length; int i2 = 1; if (length > 1) { int i3 = i + 107; a = i3 % 128; int i4 = i3 % 2; if (iArr[0] == 0) { while (i2 < length && iArr[i2] == 0) { int i5 = i + 87; a = i5 % 128; int i6 = i5 % 2; i2++; int i7 = 2 % 2; } if (i2 == length) { this.c = new int[]{0}; return; } int i8 = length - i2; int[] iArr2 = new int[i8]; this.c = iArr2; System.arraycopy(iArr, i2, iArr2, 0, i8); return; } } this.c = iArr; int i9 = i + 117; a = i9 % 128; if (i9 % 2 != 0) { int i10 = 19 / 0; } } /* JADX INFO: Access modifiers changed from: package-private */ public final int a() { int i2 = 2 % 2; int i3 = a + 95; int i4 = i3 % 128; i = i4; int i5 = i3 % 2; int length = this.c.length - 1; int i6 = i4 + 37; a = i6 % 128; int i7 = i6 % 2; return length; } private static /* synthetic */ Object d(Object[] objArr) { boolean z = false; uTj utj = (uTj) objArr[0]; int i2 = 2 % 2; int i3 = i + 11; int i4 = i3 % 128; a = i4; if (i3 % 2 == 0 ? utj.c[0] == 0 : utj.c[1] == 0) { z = true; } int i5 = i4 + 65; i = i5 % 128; if (i5 % 2 != 0) { return Boolean.valueOf(z); } Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ public final int d(int i2) { int i3 = 2 % 2; int i4 = i + 41; int i5 = i4 % 128; a = i5; int i6 = i4 % 2; int i7 = this.c[(r1.length - 1) - i2]; int i8 = i5 + 19; i = i8 % 128; if (i8 % 2 != 0) { return i7; } throw null; } private static void f(char c, int i2, int i3, Object[] objArr) { int i4 = 2; int i5 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i3]; dqy.a = 0; int i6 = $11 + 13; $10 = i6 % 128; if (i6 % 2 != 0) { int i7 = 2 % 3; } while (dqy.a < i3) { int i8 = $11 + 81; $10 = i8 % 128; int i9 = i8 % i4; int i10 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(b[i2 + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(309 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (-16777211) - Color.rgb(0, 0, 0), (char) (32797 - KeyEvent.keyCodeFromString(""))); byte b2 = (byte) 0; byte b3 = (byte) (b2 - 1); Object[] objArr3 = new Object[1]; g(b2, b3, (byte) (b3 & 8), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1095064095, obj); } Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(e), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 412, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (Process.myTid() >> 22)); byte b4 = (byte) 0; byte b5 = (byte) (b4 - 1); Object[] objArr5 = new Object[1]; g(b4, b5, (byte) (b5 & 7), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i10] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue(); Object[] objArr6 = {dqy, dqy}; Object obj3 = xzZ.y.get(1071125919); if (obj3 == null) { Class cls3 = (Class) xzZ.c(407 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 29235)); byte b6 = (byte) 0; byte b7 = (byte) (b6 - 1); Object[] objArr7 = new Object[1]; g(b6, b7, (byte) (b7 + 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); i4 = 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr = new char[i3]; dqy.a = 0; while (dqy.a < i3) { cArr[dqy.a] = (char) jArr[dqy.a]; Object[] objArr8 = {dqy, dqy}; Object obj4 = xzZ.y.get(1071125919); if (obj4 == null) { Class cls4 = (Class) xzZ.c(407 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 5 - (Process.myTid() >> 22), (char) (TextUtils.lastIndexOf("", '0') + 29235)); byte b8 = (byte) 0; byte b9 = (byte) (b8 - 1); Object[] objArr9 = new Object[1]; g(b8, b9, (byte) (b9 + 1), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1071125919, obj4); } ((Method) obj4).invoke(null, objArr8); } objArr[0] = new String(cArr); } /* JADX INFO: Access modifiers changed from: package-private */ public final int b(int i2) { int i3 = 2 % 2; int i4 = i + 97; int i5 = i4 % 128; a = i5; int i6 = i4 % 2; int i7 = 0; if (i2 == 0) { return d(0); } if (i2 != 1) { int[] iArr = this.c; int i8 = iArr[0]; int length = iArr.length; for (int i9 = 1; i9 < length; i9++) { i8 = Ayo.a(this.d.e(i2, i8), this.c[i9]); } return i8; } int i10 = i5 + 21; i = i10 % 128; int i11 = i10 % 2; int[] iArr2 = this.c; int length2 = iArr2.length; int i12 = 0; while (i7 < length2) { int i13 = a + 117; i = i13 % 128; if (i13 % 2 == 0) { i12 = Ayo.a(i12, iArr2[i7]); i7 += 75; } else { i12 = Ayo.a(i12, iArr2[i7]); i7++; } } return i12; } /* JADX INFO: Access modifiers changed from: package-private */ public final uTj e(uTj utj) { int i2 = 2 % 2; int i3 = i + 117; a = i3 % 128; Object obj = null; if (i3 % 2 != 0) { this.d.equals(utj.d); throw null; } if (!this.d.equals(utj.d)) { throw new IllegalArgumentException("GenericGFPolys do not have same GenericGF field"); } int i4 = i + 13; a = i4 % 128; if (i4 % 2 != 0) { ((Boolean) e(new Object[]{this}, 587912493, -587912492, System.identityHashCode(this))).booleanValue(); obj.hashCode(); throw null; } if (((Boolean) e(new Object[]{this}, 587912493, -587912492, System.identityHashCode(this))).booleanValue()) { return utj; } if (((Boolean) e(new Object[]{utj}, 587912493, -587912492, System.identityHashCode(utj))).booleanValue()) { return this; } int[] iArr = this.c; int[] iArr2 = utj.c; if (iArr.length <= iArr2.length) { iArr = iArr2; iArr2 = iArr; } int[] iArr3 = new int[iArr.length]; int length = iArr.length - iArr2.length; System.arraycopy(iArr, 0, iArr3, 0, length); int i5 = length; while (i5 < iArr.length) { int i6 = i + 61; a = i6 % 128; if (i6 % 2 != 0) { iArr3[i5] = Ayo.a(iArr2[i5 * length], iArr[i5]); i5 += 2; } else { iArr3[i5] = Ayo.a(iArr2[i5 - length], iArr[i5]); i5++; } } uTj utj2 = new uTj(this.d, iArr3); int i7 = a + 11; i = i7 % 128; if (i7 % 2 != 0) { return utj2; } obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ public final uTj c(uTj utj) { int i2 = 2 % 2; int i3 = a + 33; i = i3 % 128; int i4 = i3 % 2; if (!this.d.equals(utj.d)) { throw new IllegalArgumentException("GenericGFPolys do not have same GenericGF field"); } if (!((Boolean) e(new Object[]{this}, 587912493, -587912492, System.identityHashCode(this))).booleanValue() && !((Boolean) e(new Object[]{utj}, 587912493, -587912492, System.identityHashCode(utj))).booleanValue()) { int[] iArr = this.c; int length = iArr.length; int[] iArr2 = utj.c; int length2 = iArr2.length; int[] iArr3 = new int[(length + length2) - 1]; for (int i5 = 0; i5 < length; i5++) { int i6 = iArr[i5]; for (int i7 = 0; i7 < length2; i7++) { int i8 = i5 + i7; iArr3[i8] = Ayo.a(iArr3[i8], this.d.e(i6, iArr2[i7])); } } uTj utj2 = new uTj(this.d, iArr3); int i9 = a + 45; i = i9 % 128; if (i9 % 2 == 0) { int i10 = 94 / 0; } return utj2; } return this.d.l; } /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: Code restructure failed: missing block: B:10:0x0025, code lost: if (r0 >= r1) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0027, code lost: r3 = o.uTj.i + 33; o.uTj.a = r3 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0031, code lost: if ((r3 % 2) == 0) goto L21; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0042, code lost: r2[r0] = r5.d.e(r5.c[r0], r6); r0 = r0 + 1; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x0033, code lost: r2[r0] = r5.d.e(r5.c[r0], r6); r0 = r0 + 27; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x0058, code lost: return new o.uTj(r5.d, r2); */ /* JADX WARN: Code restructure failed: missing block: B:24:0x001b, code lost: return r5.d.l; */ /* JADX WARN: Code restructure failed: missing block: B:25:0x0015, code lost: if (r6 == 0) goto L8; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0012, code lost: if (r6 == 0) goto L8; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x001d, code lost: if (r6 != 1) goto L13; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x001f, code lost: return r5; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0020, code lost: r1 = r5.c.length; r2 = new int[r1]; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final o.uTj c(int r6) { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.uTj.a int r1 = r1 + 77 int r2 = r1 % 128 o.uTj.i = r2 int r1 = r1 % r0 r0 = 0 if (r1 != 0) goto L15 r1 = 40 int r1 = r1 / r0 if (r6 != 0) goto L1c goto L17 L15: if (r6 != 0) goto L1c L17: o.Ayo r6 = r5.d o.uTj r6 = r6.l return r6 L1c: r1 = 1 if (r6 != r1) goto L20 return r5 L20: int[] r1 = r5.c int r1 = r1.length int[] r2 = new int[r1] L25: if (r0 >= r1) goto L51 int r3 = o.uTj.i int r3 = r3 + 33 int r4 = r3 % 128 o.uTj.a = r4 int r3 = r3 % 2 if (r3 == 0) goto L42 o.Ayo r3 = r5.d int[] r4 = r5.c r4 = r4[r0] int r3 = r3.e(r4, r6) r2[r0] = r3 int r0 = r0 + 27 goto L25 L42: o.Ayo r3 = r5.d int[] r4 = r5.c r4 = r4[r0] int r3 = r3.e(r4, r6) r2[r0] = r3 int r0 = r0 + 1 goto L25 L51: o.uTj r6 = new o.uTj o.Ayo r0 = r5.d r6.(r0, r2) return r6 */ throw new UnsupportedOperationException("Method not decompiled: o.uTj.c(int):o.uTj"); } /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: Code restructure failed: missing block: B:10:0x001d, code lost: return r5.d.l; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x001e, code lost: r1 = r5.c.length; r6 = new int[r6 + r1]; r2 = r2 + 71; o.uTj.i = r2 % 128; r2 = r2 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x002b, code lost: if (r3 >= r1) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x002d, code lost: r2 = o.uTj.a + 15; o.uTj.i = r2 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0036, code lost: if ((r2 % 2) != 0) goto L21; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x0047, code lost: r6[r3] = r5.d.e(r5.c[r3], r7); r3 = r3 + 1; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x0038, code lost: r6[r3] = r5.d.e(r5.c[r3], r7); r3 = r3 + 118; */ /* JADX WARN: Code restructure failed: missing block: B:24:0x005d, code lost: return new o.uTj(r5.d, r6); */ /* JADX WARN: Code restructure failed: missing block: B:25:0x0015, code lost: if (r6 >= 0) goto L8; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0012, code lost: if (r6 >= 0) goto L8; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0063, code lost: throw new java.lang.IllegalArgumentException(); */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0017, code lost: if (r7 != 0) goto L11; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final o.uTj e(int r6, int r7) { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.uTj.i int r1 = r1 + 9 int r2 = r1 % 128 o.uTj.a = r2 int r1 = r1 % r0 r3 = 0 if (r1 == 0) goto L15 r1 = 67 int r1 = r1 / r3 if (r6 < 0) goto L5e goto L17 L15: if (r6 < 0) goto L5e L17: if (r7 != 0) goto L1e o.Ayo r6 = r5.d o.uTj r6 = r6.l return r6 L1e: int[] r1 = r5.c int r1 = r1.length int r6 = r6 + r1 int[] r6 = new int[r6] int r2 = r2 + 71 int r4 = r2 % 128 o.uTj.i = r4 int r2 = r2 % r0 L2b: if (r3 >= r1) goto L56 int r2 = o.uTj.a int r2 = r2 + 15 int r4 = r2 % 128 o.uTj.i = r4 int r2 = r2 % r0 if (r2 != 0) goto L47 o.Ayo r2 = r5.d int[] r4 = r5.c r4 = r4[r3] int r2 = r2.e(r4, r7) r6[r3] = r2 int r3 = r3 + 118 goto L2b L47: o.Ayo r2 = r5.d int[] r4 = r5.c r4 = r4[r3] int r2 = r2.e(r4, r7) r6[r3] = r2 int r3 = r3 + 1 goto L2b L56: o.uTj r7 = new o.uTj o.Ayo r0 = r5.d r7.(r0, r6) return r7 L5e: java.lang.IllegalArgumentException r6 = new java.lang.IllegalArgumentException r6.() throw r6 */ throw new UnsupportedOperationException("Method not decompiled: o.uTj.e(int, int):o.uTj"); } /* JADX INFO: Access modifiers changed from: package-private */ public final uTj[] d(uTj utj) { int i2 = 2 % 2; if (!this.d.equals(utj.d)) { throw new IllegalArgumentException("GenericGFPolys do not have same GenericGF field"); } if (((Boolean) e(new Object[]{utj}, 587912493, -587912492, System.identityHashCode(utj))).booleanValue()) { throw new IllegalArgumentException("Divide by 0"); } uTj utj2 = this.d.l; int c = this.d.c(utj.d(utj.a())); uTj utj3 = this; while (utj3.a() >= utj.a() && !((Boolean) e(new Object[]{utj3}, 587912493, -587912492, System.identityHashCode(utj3))).booleanValue()) { int a2 = utj3.a() - utj.a(); int e2 = this.d.e(utj3.d(utj3.a()), c); uTj e3 = utj.e(a2, e2); utj2 = utj2.e(this.d.b(a2, e2)); utj3 = utj3.e(e3); int i3 = i + 33; a = i3 % 128; int i4 = i3 % 2; } uTj[] utjArr = {utj2, utj3}; int i5 = i + 23; a = i5 % 128; if (i5 % 2 == 0) { return utjArr; } throw null; } /* JADX WARN: Removed duplicated region for block: B:24:0x00fc */ /* JADX WARN: Removed duplicated region for block: B:33:0x0121 A[SYNTHETIC] */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final java.lang.String toString() { /* Method dump skipped, instructions count: 298 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.uTj.toString():java.lang.String"); } private static /* synthetic */ Object e(Object[] objArr) { uTj utj = (uTj) objArr[0]; int i2 = 2 % 2; int i3 = a + 41; int i4 = i3 % 128; i = i4; int i5 = i3 % 2; int[] iArr = utj.c; if (i5 == 0) { int i6 = 37 / 0; } int i7 = i4 + 85; a = i7 % 128; if (i7 % 2 != 0) { int i8 = 39 / 0; } return iArr; } final boolean b() { return ((Boolean) e(new Object[]{this}, 587912493, -587912492, System.identityHashCode(this))).booleanValue(); } final int[] c() { return (int[]) e(new Object[]{this}, -1108299668, 1108299668, System.identityHashCode(this)); } }