package o; import android.graphics.Color; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.lang.reflect.Method; import java.util.List; import o.PRA; import org.bouncycastle.crypto.tls.CipherSuite; /* renamed from: o.fYc, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C13364fYc extends ZTC { private static final byte[] $$d = {101, -49, 33, 116}; private static final int $$e = CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384; private static int $10 = 0; private static int $11 = 1; private static int d = 0; private static int a = 1; private static char[] c = {36008}; private static long e = 6165954689748174523L; /* JADX WARN: Removed duplicated region for block: B:10:0x002a */ /* JADX WARN: Removed duplicated region for block: B:7:0x0022 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002c). 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, int r7, int r8, java.lang.Object[] r9) { /* int r8 = r8 * 2 int r0 = 1 - r8 int r7 = r7 * 2 int r7 = r7 + 4 byte[] r1 = o.C13364fYc.$$d int r6 = r6 + 98 byte[] r0 = new byte[r0] r2 = 0 int r8 = 0 - r8 if (r1 != 0) goto L17 r6 = r7 r3 = r8 r4 = r2 goto L2c L17: r3 = r2 r5 = r7 r7 = r6 r6 = r5 L1b: byte r4 = (byte) r7 r0[r3] = r4 int r4 = r3 + 1 if (r3 != r8) goto L2a java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L2a: r3 = r1[r6] L2c: int r7 = r7 + r3 int r6 = r6 + 1 r3 = r4 goto L1b */ throw new UnsupportedOperationException("Method not decompiled: o.C13364fYc.g(short, int, int, java.lang.Object[]):void"); } @InterfaceC13391fZD public C13364fYc() { } public final List e(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.YTT private C13364fYc c; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return C13364fYc.c((Orj) obj); } { this.c = this; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); int i2 = d + 103; a = i2 % 128; int i3 = i2 % 2; return list2; } public static C1019Twi c(Orj orj) { int i = 2 % 2; int i2 = d + 125; a = i2 % 128; if (i2 % 2 == 0) { int i3 = 18 / 0; if (orj == null) { return null; } } else if (orj == null) { return null; } C1019Twi d2 = C1019Twi.d(); d2.a = orj.c; d2.d = orj.e; d2.b = orj.d; d2.h = orj.f; d2.i = orj.h; d2.q = orj.n; d2.s = orj.l; d2.u = orj.p; d2.x = orj.r; d2.w = orj.q; d2.q = orj.n; d2.C = orj.w; d2.D = orj.u; d2.B = orj.x; d2.t = orj.k; d2.z = orj.C; Object[] objArr = new Object[1]; f((char) (View.resolveSize(0, 0) + 843), Process.myTid() >> 22, 1 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr); d2.f8382o = ((String) objArr[0]).intern().equals(orj.f8311o); d2.p = orj.t; d2.y = orj.s; d2.A = orj.v; d2.r = orj.m; d2.k = orj.j; d2.g = orj.g; d2.j = orj.b; d2.n = orj.i; d2.c = b(orj.a); int i4 = a + 67; d = i4 % 128; int i5 = i4 % 2; return d2; } private static KnO b(C8484dMl c8484dMl) { int i = 2 % 2; if (c8484dMl != null) { return new KnO(c8484dMl.s, c8484dMl.e, c8484dMl.a, c8484dMl.d, c8484dMl.w, c8484dMl.v, c8484dMl.h, c8484dMl.k, c8484dMl.f8767o, c8484dMl.l, c8484dMl.m, c8484dMl.b, c8484dMl.j, c8484dMl.r, c8484dMl.q, c8484dMl.f, c8484dMl.t, c8484dMl.i, c8484dMl.p, c8484dMl.g, c8484dMl.n, c8484dMl.c); } int i2 = d + 61; int i3 = i2 % 128; a = i3; int i4 = i2 % 2; int i5 = i3 + 55; d = i5 % 128; if (i5 % 2 != 0) { int i6 = 73 / 0; } return null; } private static void f(char c2, int i, int i2, Object[] objArr) { int i3 = 2; int i4 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; while (dqy.a < i2) { int i5 = $11 + 21; $10 = i5 % 128; if (i5 % i3 != 0) { int i6 = 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(308 - (ViewConfiguration.getDoubleTapTimeout() >> 16), Color.alpha(0) + 5, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 32797)); 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(e), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 412, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) TextUtils.getCapsMode("", 0, 0)); byte b3 = (byte) ($$e & 5); 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[i6] = ((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 - ExpandableListView.getPackedPositionType(0L), 5 - Color.argb(0, 0, 0, 0), (char) (29234 - Color.alpha(0))); 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); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { int i7 = dqy.a; Object[] objArr8 = {Integer.valueOf(c[i + dqy.a])}; Object obj4 = xzZ.y.get(1095064095); if (obj4 == null) { Class cls4 = (Class) xzZ.c(308 - (ViewConfiguration.getTapTimeout() >> 16), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (32797 - Color.red(0))); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr9 = new Object[1]; g(b6, b7, b7, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE); xzZ.y.put(1095064095, obj4); } Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(e), Integer.valueOf(c2)}; Object obj5 = xzZ.y.get(-548438098); if (obj5 == null) { Class cls5 = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 412, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) Color.alpha(0)); byte b8 = (byte) ($$e & 5); byte b9 = (byte) (b8 - 1); Object[] objArr11 = new Object[1]; g(b8, b9, b9, objArr11); obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj5); } jArr[i7] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue(); Object[] objArr12 = {dqy, dqy}; Object obj6 = xzZ.y.get(1071125919); if (obj6 == null) { Class cls6 = (Class) xzZ.c((TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 407, 5 - KeyEvent.keyCodeFromString(""), (char) (29234 - TextUtils.getOffsetAfter("", 0))); byte b10 = (byte) 0; Object[] objArr13 = new Object[1]; g((byte) 8, b10, b10, objArr13); obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class); xzZ.y.put(1071125919, obj6); } ((Method) obj6).invoke(null, objArr12); } i3 = 2; } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { int i8 = $10 + 5; $11 = i8 % 128; if (i8 % 2 == 0) { cArr[dqy.a] = (char) jArr[dqy.a]; Object[] objArr14 = {dqy, dqy}; Object obj7 = xzZ.y.get(1071125919); if (obj7 == null) { Class cls7 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 408, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 29234)); byte b11 = (byte) 0; Object[] objArr15 = new Object[1]; g((byte) 8, b11, b11, objArr15); obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class); xzZ.y.put(1071125919, obj7); } ((Method) obj7).invoke(null, objArr14); throw null; } cArr[dqy.a] = (char) jArr[dqy.a]; try { Object[] objArr16 = {dqy, dqy}; Object obj8 = xzZ.y.get(1071125919); if (obj8 == null) { Class cls8 = (Class) xzZ.c(407 - TextUtils.indexOf("", "", 0, 0), TextUtils.indexOf("", "", 0, 0) + 5, (char) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 29234)); byte b12 = (byte) 0; Object[] objArr17 = new Object[1]; g((byte) 8, b12, b12, objArr17); obj8 = cls8.getMethod((String) objArr17[0], Object.class, Object.class); xzZ.y.put(1071125919, obj8); } ((Method) obj8).invoke(null, objArr16); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(cArr); } }