package o; import android.graphics.Color; 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 com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.lang.reflect.Method; import org.bouncycastle.crypto.tls.CipherSuite; /* renamed from: o.eeL, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C11382eeL extends ZTC { private static char a; private static char b; private static char c; private static char d; private static int j; private final xJw e; private static final byte[] $$d = {85, -17, 4, -90}; private static final int $$e = CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256; private static int $10 = 0; private static int $11 = 1; private static int i = 1; /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001e */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0029). 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 r5, byte r6, byte r7, java.lang.Object[] r8) { /* int r6 = r6 * 4 int r6 = r6 + 4 int r7 = 67 - r7 byte[] r0 = o.C11382eeL.$$d int r5 = r5 * 2 int r1 = r5 + 1 byte[] r1 = new byte[r1] r2 = -1 if (r0 != 0) goto L14 r3 = r5 r7 = r6 goto L29 L14: r4 = r7 r7 = r6 r6 = r4 L17: int r2 = r2 + 1 byte r3 = (byte) r6 r1[r2] = r3 if (r2 != r5) goto L27 java.lang.String r5 = new java.lang.String r6 = 0 r5.(r1, r6) r8[r6] = r5 return L27: r3 = r0[r7] L29: int r6 = r6 + r3 int r7 = r7 + 1 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: o.C11382eeL.g(short, byte, byte, java.lang.Object[]):void"); } @InterfaceC13391fZD public C11382eeL(xJw xjw) { C14957gcv.e(xjw, ""); this.e = xjw; } /* JADX WARN: Removed duplicated region for block: B:18:0x005a */ /* JADX WARN: Removed duplicated region for block: B:25:0x00b2 */ /* JADX WARN: Removed duplicated region for block: B:28:0x00f6 */ /* JADX WARN: Removed duplicated region for block: B:33:0x012e */ /* JADX WARN: Removed duplicated region for block: B:38:0x0164 */ /* JADX WARN: Removed duplicated region for block: B:41:0x0171 */ /* JADX WARN: Removed duplicated region for block: B:45:0x0178 */ /* JADX WARN: Removed duplicated region for block: B:46:0x016b */ /* JADX WARN: Removed duplicated region for block: B:48:0x0156 */ /* JADX WARN: Removed duplicated region for block: B:50:0x0123 */ /* JADX WARN: Removed duplicated region for block: B:51:0x00bf */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static o.hqm b(o.C15642hPS r38) { /* Method dump skipped, instructions count: 462 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C11382eeL.b(o.hPS):o.hqm"); } private static oKV e(mWD mwd) { int i2 = 2 % 2; int i3 = i + 39; j = i3 % 128; int i4 = i3 % 2; if (mwd == null) { return null; } String str = mwd.f; String str2 = mwd.a; String str3 = mwd.b; String str4 = mwd.j; String str5 = mwd.c; String str6 = mwd.d; Object[] objArr = {mwd.e}; xMJ xmj = (xMJ) b(objArr); boolean z = false; if (mwd.i != null) { String str7 = mwd.i; Object[] objArr2 = new Object[1]; f(new char[]{5207, 35779}, 1 - (ViewConfiguration.getScrollBarSize() >> 8), objArr2); if (C14957gcv.b((Object) str7, (Object) ((String) objArr2[0]).intern())) { int i5 = i + 115; j = i5 % 128; if (i5 % 2 == 0) { z = true; } } } return new oKV(str, str2, str3, str4, str5, str6, xmj, Boolean.valueOf(z)); } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object b(Object[] objArr) { xMJ xmj; zKN zkn = (zKN) objArr[0]; int i2 = 2 % 2; int i3 = i + 51; j = i3 % 128; int i4 = i3 % 2; if (zkn != null) { xmj = new xMJ(zkn.d); int i5 = i + 123; j = i5 % 128; int i6 = i5 % 2; } else { xmj = null; } int i7 = i + 3; j = i7 % 128; int i8 = i7 % 2; return xmj; } /* JADX WARN: Code restructure failed: missing block: B:11:0x001f, code lost: if (r3 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost: if (r3 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x003f, code lost: r1 = null; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0021, code lost: r1 = new o.KEo(); r1.b = r3.g; r1.d = r3.c; r1.e = r3.b; r1.a = r3.j; r1.c = r3.a; r1.h = r3.f; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static o.KEo e(o.hqm r3) { /* r0 = 2 int r1 = r0 % r0 int r1 = o.C11382eeL.j int r1 = r1 + 39 int r2 = r1 % 128 o.C11382eeL.i = r2 int r1 = r1 % r0 java.lang.String r2 = "" if (r1 != 0) goto L1a o.C14957gcv.e(r3, r2) o.oKV r3 = r3.s r1 = 0 int r1 = r1 / r1 if (r3 == 0) goto L3f goto L21 L1a: o.C14957gcv.e(r3, r2) o.oKV r3 = r3.s if (r3 == 0) goto L3f L21: o.KEo r1 = new o.KEo r1.() java.lang.String r2 = r3.g r1.b = r2 java.lang.String r2 = r3.c r1.d = r2 java.lang.String r2 = r3.b r1.e = r2 java.lang.String r2 = r3.j r1.a = r2 java.lang.String r2 = r3.a r1.c = r2 java.lang.Boolean r3 = r3.f r1.h = r3 goto L40 L3f: r1 = 0 L40: int r3 = o.C11382eeL.i int r3 = r3 + 15 int r2 = r3 % 128 o.C11382eeL.j = r2 int r3 = r3 % r0 return r1 */ throw new UnsupportedOperationException("Method not decompiled: o.C11382eeL.e(o.hqm):o.KEo"); } public final C4644be a(C4644be c4644be) { int i2 = 2 % 2; int i3 = j + 91; i = i3 % 128; if (i3 % 2 == 0) { C14957gcv.e(c4644be, ""); c4644be.e(c(c4644be)); throw null; } C14957gcv.e(c4644be, ""); c4644be.e(c(c4644be)); int i4 = i + 3; j = i4 % 128; if (i4 % 2 == 0) { return c4644be; } throw null; } private static void f(char[] cArr, int i2, Object[] objArr) { int i3 = 2 % 2; jTb jtb = new jTb(); char[] cArr2 = new char[cArr.length]; int i4 = 0; jtb.b = 0; char[] cArr3 = new char[2]; int i5 = $11 + 3; $10 = i5 % 128; int i6 = i5 % 2; while (jtb.b < cArr.length) { cArr3[i4] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; int i7 = 58224; int i8 = i4; while (i8 < 16) { int i9 = $10 + 81; $11 = i9 % 128; int i10 = i9 % 2; char c2 = cArr3[1]; char c3 = cArr3[i4]; char[] cArr4 = cArr3; try { Object[] objArr2 = {Integer.valueOf(c2), Integer.valueOf((c3 + i7) ^ ((c3 << 4) + ((char) (a ^ 41718355337583039L)))), Integer.valueOf(c3 >>> 5), Integer.valueOf(b)}; Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c(412 - (ViewConfiguration.getTapTimeout() >> 16), (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)) + 5, (char) Color.green(0)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; g(b2, b3, (byte) (b3 + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj); } char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); cArr4[1] = charValue; Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (c ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(d)}; Object obj2 = xzZ.y.get(597144044); if (obj2 == null) { Class cls2 = (Class) xzZ.c(413 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask()))); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; g(b4, b5, (byte) (b5 + 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj2); } cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i7 -= 40503; i8++; int i11 = $11 + 89; $10 = i11 % 128; int i12 = i11 % 2; cArr3 = cArr4; i4 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr5 = cArr3; cArr2[jtb.b] = cArr5[0]; cArr2[jtb.b + 1] = cArr5[1]; Object[] objArr6 = {jtb, jtb}; Object obj3 = xzZ.y.get(943004485); if (obj3 == null) { Class cls3 = (Class) xzZ.c(98 - View.MeasureSpec.getSize(0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (ViewConfiguration.getTapTimeout() >> 16)); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr7 = new Object[1]; g(b6, b7, b7, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(943004485, obj3); } ((Method) obj3).invoke(null, objArr6); cArr3 = cArr5; i4 = 0; } objArr[0] = new String(cArr2, 0, i2); } private final String c(C4644be c4644be) { int i2 = 2 % 2; StringBuilder sb = new StringBuilder(); sb.append(c4644be.e()); sb.append(b(c4644be.a())); sb.append(c4644be.d()); sb.append((String) C4644be.e(new Object[]{c4644be}, -411188585, 411188585, System.identityHashCode(c4644be))); sb.append(c4644be.b()); sb.append((String) C4644be.e(new Object[]{c4644be}, 845598403, -845598402, System.identityHashCode(c4644be))); sb.append(c4644be.c()); String obj = sb.toString(); C14957gcv.c((Object) obj, ""); String d2 = this.e.d(obj); int i3 = j + 51; i = i3 % 128; if (i3 % 2 == 0) { int i4 = 24 / 0; } return d2; } /* renamed from: o.eeL$RVV */ /* loaded from: classes.dex */ public static final class RVV { private RVV() { } public /* synthetic */ RVV(byte b) { this(); } } static void c() { c = (char) 53117; d = (char) 49506; a = (char) 7094; b = (char) 25999; } private static xMJ c(zKN zkn) { return (xMJ) b(new Object[]{zkn}); } static { j = 0; c(); new RVV((byte) 0); int i2 = i + 87; j = i2 % 128; if (i2 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } }