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.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import java.lang.reflect.Method; import java.util.List; /* loaded from: classes.dex */ public final class Zrk extends ZTC { private static final byte[] $$d = {45, 6, -13, -19}; private static final int $$e = 101; private static int $10 = 0; private static int $11 = 1; private static int a = 0; private static char[] c; private static long d; private static int e; private static void g(int i, byte b, short s, Object[] objArr) { int i2 = b * 3; byte[] bArr = $$d; int i3 = (s * 2) + 4; int i4 = i + 98; byte[] bArr2 = new byte[1 - i2]; int i5 = 0 - i2; int i6 = -1; if (bArr == null) { i3++; i4 = (-i4) + i3; i6 = -1; } while (true) { int i7 = i3; int i8 = i4; int i9 = i6 + 1; bArr2[i9] = (byte) i8; if (i9 == i5) { objArr[0] = new String(bArr2, 0); return; } else { i3 = i7 + 1; i4 = (-bArr[i7]) + i8; i6 = i9; } } } @InterfaceC13391fZD public Zrk() { } public final List d(List list) { int i = 2 % 2; List b = b(list, new InterfaceC1244Ytw(this) { // from class: o.Ead private Zrk e; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return Zrk.e(this.e, (qwc) obj); } { this.e = this; } }); C14957gcv.c(b, ""); int i2 = e + 55; a = i2 % 128; if (i2 % 2 != 0) { int i3 = 23 / 0; } return b; } private static final C8409dKa a(Zrk zrk, qwc qwcVar) { int i = 2 % 2; int i2 = a + 95; e = i2 % 128; if (i2 % 2 != 0) { C14957gcv.e(zrk, ""); C14957gcv.e(qwcVar, ""); return a(qwcVar); } C14957gcv.e(zrk, ""); C14957gcv.e(qwcVar, ""); a(qwcVar); throw null; } /* JADX WARN: Removed duplicated region for block: B:11:0x005c */ /* JADX WARN: Removed duplicated region for block: B:18:0x00a9 */ /* JADX WARN: Removed duplicated region for block: B:23:0x00c0 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static o.C8409dKa a(o.qwc r13) { /* Method dump skipped, instructions count: 221 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.Zrk.a(o.qwc):o.dKa"); } /* loaded from: classes.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } private static void f(char c2, int i, int i2, Object[] objArr) { int i3 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; while (dqy.a < i2) { int i4 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(c[i + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777524, 5 - ExpandableListView.getPackedPositionType(0L), (char) (32797 - KeyEvent.keyCodeFromString(""))); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; g(b, b2, b2, 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(d), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(412 - (Process.myPid() >> 22), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1)); byte b3 = (byte) ($$e & 3); byte b4 = (byte) (b3 - 1); Object[] objArr5 = new Object[1]; g(b3, b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i4] = ((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.getScrollDefaultDelay() >> 16), TextUtils.getOffsetBefore("", 0) + 5, (char) (29234 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))); byte b5 = (byte) 0; Object[] objArr7 = new Object[1]; g((byte) 8, b5, b5, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); int i5 = $11 + 45; $10 = i5 % 128; int i6 = i5 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { int i7 = $10 + 89; $11 = i7 % 128; if (i7 % 2 == 0) { 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 - KeyEvent.keyCodeFromString(""), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 29234)); byte b6 = (byte) 0; Object[] objArr9 = new Object[1]; g((byte) 8, b6, b6, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1071125919, obj4); } Object obj5 = null; ((Method) obj4).invoke(null, objArr8); obj5.hashCode(); throw null; } cArr[dqy.a] = (char) jArr[dqy.a]; Object[] objArr10 = {dqy, dqy}; Object obj6 = xzZ.y.get(1071125919); if (obj6 == null) { Class cls5 = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 407, TextUtils.lastIndexOf("", '0') + 6, (char) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 29234)); byte b7 = (byte) 0; Object[] objArr11 = new Object[1]; g((byte) 8, b7, b7, objArr11); obj6 = cls5.getMethod((String) objArr11[0], Object.class, Object.class); xzZ.y.put(1071125919, obj6); } ((Method) obj6).invoke(null, objArr10); } objArr[0] = new String(cArr); } static void b() { c = new char[]{36835}; d = -7932133962876561693L; } static { e = 1; b(); new Sts((byte) 0); int i = a + 113; e = i % 128; int i2 = i % 2; } public static /* synthetic */ C8409dKa e(Zrk zrk, qwc qwcVar) { int i = 2 % 2; int i2 = e + 33; a = i2 % 128; int i3 = i2 % 2; C8409dKa a2 = a(zrk, qwcVar); if (i3 != 0) { int i4 = 41 / 0; } return a2; } }