package o; import android.graphics.Color; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.lang.reflect.Method; import java.math.BigDecimal; import o.ZI; import org.bouncycastle.crypto.tls.CipherSuite; /* renamed from: o.clW, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C7290clW extends ZI { private static int a; private static int b; private static final byte[] $$a = {45, 6, -13, -19}; private static final int $$b = CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA; private static int $10 = 0; private static int $11 = 1; private static int c = 0; public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) { int i4 = (i * (-375)) + (i2 * (-375)); int i5 = ~i; int i6 = (~((~i2) | i5)) | i3; int i7 = ~(i | i2); return ((i4 + ((i6 | i7) * 376)) + (((~(i | (~i3))) | i7) * (-376))) + (((~(i5 | i3)) | i2) * 376) != 1 ? c(objArr) : d(objArr); } /* JADX WARN: Removed duplicated region for block: B:10:0x0025 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001d */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002d). 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(int r6, byte r7, byte r8, java.lang.Object[] r9) { /* byte[] r0 = o.C7290clW.$$a int r7 = r7 * 3 int r1 = r7 + 1 int r6 = r6 * 7 int r6 = r6 + 69 int r8 = r8 * 4 int r8 = 4 - r8 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L17 r6 = r7 r3 = r8 r4 = r2 goto L2d L17: r3 = r2 L18: byte r4 = (byte) r6 r1[r3] = r4 if (r3 != r7) goto L25 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L25: r4 = r0[r8] int r3 = r3 + 1 r5 = r3 r3 = r8 r8 = r4 r4 = r5 L2d: int r6 = r6 + r8 int r8 = r3 + 1 r3 = r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.C7290clW.g(int, byte, byte, java.lang.Object[]):void"); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C7290clW(C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c16903sI, ""); } /* renamed from: o.clW$HBt */ /* loaded from: classes4.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } public final void e(final String str) { int i = 2 % 2; C14957gcv.e(str, ""); ZI.IeS ieS = new ZI.IeS(str) { // from class: o.cmb private String d; @Override // o.ZI.IeS public final void e(Object obj) { C7290clW.c(this.d, (InterfaceC9541dlg) obj); } { this.d = str; } }; if (this.f != 0) { int i2 = a + 53; c = i2 % 128; int i3 = i2 % 2; ieS.e(this.f); } int i4 = c + 67; a = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private static final void e(String str, InterfaceC9541dlg interfaceC9541dlg) { int i = 2 % 2; int i2 = a + 109; c = i2 % 128; if (i2 % 2 != 0) { C14957gcv.e(str, ""); str.length(); Object obj = null; obj.hashCode(); throw null; } C14957gcv.e(str, ""); if (str.length() == 0) { int i3 = a + 9; c = i3 % 128; if (i3 % 2 == 0) { interfaceC9541dlg.e(); return; } else { interfaceC9541dlg.e(); int i4 = 6 / 0; return; } } if (new BigDecimal(str).compareTo(new BigDecimal("2000000000")) >= 0) { int i5 = a + 45; int i6 = i5 % 128; c = i6; int i7 = i5 % 2; int i8 = i6 + 65; a = i8 % 128; int i9 = i8 % 2; str = "2000000000"; } Double c2 = C6583cXR.c(str); C14957gcv.c(c2, ""); String b2 = C6583cXR.b(c2.doubleValue()); C14957gcv.c((Object) b2, ""); interfaceC9541dlg.e(b2); } public final void c(final String str) { int i = 2 % 2; ZI.IeS ieS = new ZI.IeS(str) { // from class: o.clY private String d; @Override // o.ZI.IeS public final void e(Object obj) { C7290clW.b(this.d, (InterfaceC9541dlg) obj); } { this.d = str; } }; if (this.f != 0) { int i2 = c + 83; int i3 = i2 % 128; a = i3; int i4 = i2 % 2; int i5 = i3 + 101; c = i5 % 128; if (i5 % 2 == 0) { ieS.e(this.f); } else { ieS.e(this.f); throw null; } } } /* JADX WARN: Code restructure failed: missing block: B:10:0x0058, code lost: if (o.C14957gcv.b((java.lang.Object) r1, (java.lang.Object) ((java.lang.String) r4[0]).intern()) == false) goto L16; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x008b, code lost: r4 = o.C7290clW.a + 123; o.C7290clW.c = r4 % 128; r4 = r4 % 2; r2 = new java.lang.Object[1]; h((android.view.ViewConfiguration.getJumpTapTimeout() >> 16) + 4, (android.view.ViewConfiguration.getKeyRepeatDelay() >> 16) + 3, 175 - (android.view.ViewConfiguration.getDoubleTapTimeout() >> 16), new char[]{65534, 7, 0, 65534}, true, r2); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x00c5, code lost: if (o.C14957gcv.b((java.lang.Object) r1, (java.lang.Object) ((java.lang.String) r2[0]).intern()) != false) goto L19; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x00c7, code lost: r13.a(java.lang.Integer.parseInt(o.gdZ.a(r1.toString(), ",", ""))); */ /* JADX WARN: Code restructure failed: missing block: B:21:0x0088, code lost: if (o.C14957gcv.b((java.lang.Object) r1, (java.lang.Object) ((java.lang.String) r4[0]).intern()) != false) goto L19; */ /* JADX WARN: Removed duplicated region for block: B:16:0x00ec A[RETURN] */ /* JADX WARN: Removed duplicated region for block: B:18:0x00ed */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object d(java.lang.Object[] r13) { /* Method dump skipped, instructions count: 256 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C7290clW.d(java.lang.Object[]):java.lang.Object"); } public final void a(final boolean z) { int i = 2 % 2; ZI.IeS ieS = new ZI.IeS(z) { // from class: o.cma private boolean a; @Override // o.ZI.IeS public final void e(Object obj) { C7290clW.c(this.a, (InterfaceC9541dlg) obj); } { this.a = z; } }; if (this.f != 0) { int i2 = a + 41; int i3 = i2 % 128; c = i3; int i4 = i2 % 2; int i5 = i3 + 61; a = i5 % 128; int i6 = i5 % 2; ieS.e(this.f); int i7 = a + 69; c = i7 % 128; int i8 = i7 % 2; } } private static final void e(boolean z, InterfaceC9541dlg interfaceC9541dlg) { int i = 2 % 2; int i2 = c + 93; a = i2 % 128; int i3 = i2 % 2; if (!z) { interfaceC9541dlg.b(); return; } interfaceC9541dlg.c(); int i4 = a + 109; c = i4 % 128; int i5 = i4 % 2; } public final void b(final boolean z, final boolean z2, final double d, final int i, final double d2, final double d3, final boolean z3, final WW ww, final C0367Fb c0367Fb, final boolean z4, final boolean z5, final double d4, final String str) { int i2 = 2 % 2; C14957gcv.e(str, ""); ZI.IeS ieS = new ZI.IeS(z, z2, d, i, d2, d3, d4, str, z3, ww, c0367Fb, z4, z5) { // from class: o.clX private C0367Fb a; private boolean b; private boolean c; private boolean d; private boolean e; private int f; private double g; private double h; private double i; private double j; private String m; private WW n; /* renamed from: o, reason: collision with root package name */ private boolean f8653o; @Override // o.ZI.IeS public final void e(Object obj) { C7290clW.d(this.b, this.c, this.h, this.f, this.g, this.i, this.j, this.m, this.f8653o, this.n, this.a, this.d, this.e, (InterfaceC9541dlg) obj); } { this.b = z; this.c = z2; this.h = d; this.f = i; this.g = d2; this.i = d3; this.j = d4; this.m = str; this.f8653o = z3; this.n = ww; this.a = c0367Fb; this.d = z4; this.e = z5; } }; if (this.f == 0) { int i3 = c + 17; a = i3 % 128; int i4 = i3 % 2; } else { int i5 = a + 105; c = i5 % 128; if (i5 % 2 == 0) { ieS.e(this.f); } else { ieS.e(this.f); throw null; } } } private static void h(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) { int i4 = 2 % 2; zUI zui = new zUI(); char[] cArr2 = new char[i]; zui.d = 0; while (zui.d < i) { zui.c = cArr[zui.d]; cArr2[zui.d] = (char) (i3 + zui.c); int i5 = zui.d; try { Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(b)}; Object obj = xzZ.y.get(880493502); if (obj == null) { Class cls = (Class) xzZ.c(143 - (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)), (-16777209) - Color.rgb(0, 0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; g(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(880493502, obj); } cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); try { Object[] objArr4 = {zui, zui}; Object obj2 = xzZ.y.get(1294990079); if (obj2 == null) { Class cls2 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 342, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) Color.green(0)); byte b4 = (byte) 1; byte b5 = (byte) (b4 - 1); Object[] objArr5 = new Object[1]; g(b4, b5, b5, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(1294990079, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } if (i2 > 0) { zui.a = i2; char[] cArr3 = new char[i]; System.arraycopy(cArr2, 0, cArr3, 0, i); System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a); System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a); } if (z) { int i6 = $10 + 41; $11 = i6 % 128; int i7 = i6 % 2; char[] cArr4 = new char[i]; zui.d = 0; while (zui.d < i) { cArr4[zui.d] = cArr2[(i - zui.d) - 1]; try { Object[] objArr6 = {zui, zui}; Object obj3 = xzZ.y.get(1294990079); if (obj3 == null) { Class cls3 = (Class) xzZ.c(342 - ExpandableListView.getPackedPositionType(0L), TextUtils.getOffsetAfter("", 0) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16)); byte b6 = (byte) 1; byte b7 = (byte) (b6 - 1); Object[] objArr7 = new Object[1]; g(b6, b7, b7, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1294990079, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } int i8 = $10 + 53; $11 = i8 % 128; int i9 = i8 % 2; cArr2 = cArr4; } objArr[0] = new String(cArr2); } private static /* synthetic */ Object c(Object[] objArr) { String str; String str2; boolean booleanValue = ((Boolean) objArr[0]).booleanValue(); boolean booleanValue2 = ((Boolean) objArr[1]).booleanValue(); double doubleValue = ((Number) objArr[2]).doubleValue(); int intValue = ((Number) objArr[3]).intValue(); double doubleValue2 = ((Number) objArr[4]).doubleValue(); double doubleValue3 = ((Number) objArr[5]).doubleValue(); double doubleValue4 = ((Number) objArr[6]).doubleValue(); String str3 = (String) objArr[7]; boolean booleanValue3 = ((Boolean) objArr[8]).booleanValue(); WW ww = (WW) objArr[9]; C0367Fb c0367Fb = (C0367Fb) objArr[10]; boolean booleanValue4 = ((Boolean) objArr[11]).booleanValue(); boolean booleanValue5 = ((Boolean) objArr[12]).booleanValue(); InterfaceC9541dlg interfaceC9541dlg = (InterfaceC9541dlg) objArr[13]; int i = 2 % 2; C14957gcv.e(str3, ""); Object obj = null; if (!booleanValue || (!booleanValue2)) { if (!booleanValue4 || !booleanValue5) { interfaceC9541dlg.a(); return null; } String e = C15602gz.e(doubleValue3); C14957gcv.c((Object) e, ""); interfaceC9541dlg.b(new TZ(doubleValue, intValue, doubleValue2, e, doubleValue4, str3, booleanValue3, true, new TT("", "", "", "", ""))); return null; } String e2 = C15602gz.e(doubleValue3); C14957gcv.c((Object) e2, ""); String str4 = ww != null ? ww.t : null; String str5 = str4 == null ? "" : str4; String str6 = ww != null ? ww.h : null; if (str6 == null) { int i2 = c + 73; a = i2 % 128; if (i2 % 2 == 0) { obj.hashCode(); throw null; } str = ""; } else { str = str6; } String str7 = c0367Fb != null ? c0367Fb.g : null; if (str7 == null) { int i3 = c + 95; a = i3 % 128; int i4 = i3 % 2; str2 = ""; } else { str2 = str7; } String str8 = c0367Fb != null ? c0367Fb.W : null; String str9 = str8 == null ? "" : str8; String str10 = c0367Fb != null ? c0367Fb.q : null; interfaceC9541dlg.b(new TZ(doubleValue, intValue, doubleValue2, e2, doubleValue4, str3, booleanValue3, false, new TT(str5, str, str2, str9, str10 == null ? "" : str10))); return null; } static void c() { b = 2015661670; } private static final void a(String str, InterfaceC9541dlg interfaceC9541dlg) { c(new Object[]{str, interfaceC9541dlg}, 274033558, -274033557, (int) System.currentTimeMillis()); } private static final void e(boolean z, boolean z2, double d, int i, double d2, double d3, double d4, String str, boolean z3, WW ww, C0367Fb c0367Fb, boolean z4, boolean z5, InterfaceC9541dlg interfaceC9541dlg) { c(new Object[]{Boolean.valueOf(z), Boolean.valueOf(z2), Double.valueOf(d), Integer.valueOf(i), Double.valueOf(d2), Double.valueOf(d3), Double.valueOf(d4), str, Boolean.valueOf(z3), ww, c0367Fb, Boolean.valueOf(z4), Boolean.valueOf(z5), interfaceC9541dlg}, -1301417766, 1301417766, i); } static { a = 1; c(); new HBt((byte) 0); int i = c + 89; a = i % 128; int i2 = i % 2; } public static /* synthetic */ void b(String str, InterfaceC9541dlg interfaceC9541dlg) { int i = 2 % 2; int i2 = c + 83; a = i2 % 128; int i3 = i2 % 2; Object[] objArr = {str, interfaceC9541dlg}; int currentTimeMillis = (int) System.currentTimeMillis(); if (i3 != 0) { c(objArr, 274033558, -274033557, currentTimeMillis); return; } c(objArr, 274033558, -274033557, currentTimeMillis); Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ void d(boolean z, boolean z2, double d, int i, double d2, double d3, double d4, String str, boolean z3, WW ww, C0367Fb c0367Fb, boolean z4, boolean z5, InterfaceC9541dlg interfaceC9541dlg) { int i2 = 2 % 2; int i3 = c + 49; a = i3 % 128; int i4 = i3 % 2; c(new Object[]{Boolean.valueOf(z), Boolean.valueOf(z2), Double.valueOf(d), Integer.valueOf(i), Double.valueOf(d2), Double.valueOf(d3), Double.valueOf(d4), str, Boolean.valueOf(z3), ww, c0367Fb, Boolean.valueOf(z4), Boolean.valueOf(z5), interfaceC9541dlg}, -1301417766, 1301417766, i); int i5 = c + 65; a = i5 % 128; int i6 = i5 % 2; } public static /* synthetic */ void c(boolean z, InterfaceC9541dlg interfaceC9541dlg) { int i = 2 % 2; int i2 = c + 7; a = i2 % 128; int i3 = i2 % 2; e(z, interfaceC9541dlg); int i4 = c + 5; a = i4 % 128; if (i4 % 2 == 0) { throw null; } } public static /* synthetic */ void c(String str, InterfaceC9541dlg interfaceC9541dlg) { int i = 2 % 2; int i2 = a + 69; c = i2 % 128; int i3 = i2 % 2; e(str, interfaceC9541dlg); int i4 = a + 15; c = i4 % 128; if (i4 % 2 != 0) { throw null; } } }