package o; import android.graphics.Color; import android.net.Uri; import android.os.SystemClock; import android.text.TextUtils; import android.view.View; import android.view.ViewConfiguration; import java.lang.reflect.Method; import java.util.HashMap; import o.C0690Mh; import o.C15715hv; import o.ZI; /* renamed from: o.aaK, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C2208aaK extends ZI { private static char b; private static char c; private static char d; private static char e; private static int i; private final rxl a; private static final byte[] $$a = {85, -17, 4, -90}; private static final int $$b = 35; private static int $10 = 0; private static int $11 = 1; private static int g = 0; /* 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:0x002e). 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 k(int r6, int r7, byte r8, java.lang.Object[] r9) { /* int r7 = r7 * 4 int r0 = 1 - r7 byte[] r1 = o.C2208aaK.$$a int r8 = r8 * 3 int r8 = r8 + 4 int r6 = r6 + 66 byte[] r0 = new byte[r0] r2 = 0 int r7 = 0 - r7 if (r1 != 0) goto L17 r3 = r8 r4 = r2 r8 = r7 goto L2e L17: r3 = r2 L18: byte r4 = (byte) r6 r0[r3] = r4 if (r3 != r7) goto L25 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L25: int r3 = r3 + 1 r4 = r1[r8] r5 = r8 r8 = r6 r6 = r4 r4 = r3 r3 = r5 L2e: int r6 = -r6 int r6 = r6 + r8 int r8 = r3 + 1 r3 = r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.C2208aaK.k(int, int, byte, java.lang.Object[]):void"); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C2208aaK(C16903sI c16903sI, rxl rxlVar) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(rxlVar, ""); this.a = rxlVar; } /* renamed from: o.aaK$IeS */ /* loaded from: classes3.dex */ public static final class IeS { private IeS() { } public /* synthetic */ IeS(byte b) { this(); } } public final void UW_(String str, Uri uri) { int i2 = 2 % 2; String str2 = str; if (str2 != null) { int i3 = i + 51; g = i3 % 128; int i4 = i3 % 2; if (!gdZ.d((CharSequence) str2)) { final HashMap hashMap = new HashMap(); hashMap.put(C15971jzF.e.e, str); gaH queryParameterNames = uri != null ? uri.getQueryParameterNames() : null; if (queryParameterNames == null) { int i5 = g + 37; i = i5 % 128; if (i5 % 2 == 0) { gaH gah = gaH.e; throw null; } queryParameterNames = gaH.e; } for (String str3 : queryParameterNames) { int i6 = g + 89; i = i6 % 128; int i7 = i6 % 2; String queryParameter = uri != null ? uri.getQueryParameter(str3) : null; C14957gcv.c((Object) str3, ""); hashMap.put(str3, queryParameter); } ZI.IeS ieS = new ZI.IeS(hashMap) { // from class: o.aaL private HashMap b; @Override // o.ZI.IeS public final void e(Object obj) { Object[] objArr = {this.b, (InterfaceC9156deR) obj}; C2208aaK.b(objArr); } { this.b = hashMap; } }; if (this.f == 0) { int i8 = g + 9; i = i8 % 128; int i9 = i8 % 2; return; } else { int i10 = i + 13; g = i10 % 128; int i11 = i10 % 2; ieS.e(this.f); return; } } } c(C15715hv.tOB.error_generic, C0690Mh.IeS.NAVIGATE_BACK); } private static final void d(HashMap hashMap, InterfaceC9156deR interfaceC9156deR) { int i2 = 2 % 2; int i3 = g + 61; i = i3 % 128; if (i3 % 2 == 0) { C14957gcv.e(hashMap, ""); interfaceC9156deR.c(hashMap); throw null; } C14957gcv.e(hashMap, ""); interfaceC9156deR.c(hashMap); int i4 = g + 9; i = i4 % 128; if (i4 % 2 == 0) { int i5 = 4 / 0; } } public static boolean e(String str) { int i2 = 2 % 2; int i3 = i + 99; g = i3 % 128; int i4 = i3 % 2; C14957gcv.e(str, ""); Object[] objArr = new Object[1]; h(new char[]{20341, 36510}, TextUtils.getOffsetAfter("", 0) + 1, objArr); boolean z = !C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern()); int i5 = g + 103; i = i5 % 128; if (i5 % 2 == 0) { int i6 = 45 / 0; } return z; } public final boolean b() { int i2 = 2 % 2; int i3 = i + 95; g = i3 % 128; if (i3 % 2 != 0) { this.a.e.d(); OIe oIe = OIe.ETB_WELCOME_ABOARD; Object obj = null; obj.hashCode(); throw null; } if (this.a.e.d() == OIe.ETB_WELCOME_ABOARD) { return false; } int i4 = g + 7; i = i4 % 128; int i5 = i4 % 2; return true; } private static void h(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]; while (jtb.b < cArr.length) { cArr3[i4] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; int i5 = $10 + 3; $11 = i5 % 128; if (i5 % 2 == 0) { int i6 = 4 / 3; } int i7 = 58224; int i8 = i4; while (i8 < 16) { char c2 = cArr3[1]; char c3 = cArr3[i4]; char[] cArr4 = cArr3; try { Object[] objArr2 = {Integer.valueOf(c2), Integer.valueOf((c3 + i7) ^ ((c3 << 4) + ((char) (b ^ 41718355337583039L)))), Integer.valueOf(c3 >>> 5), Integer.valueOf(d)}; Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 412, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getWindowTouchSlop() >> 8)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; k(b2, b3, b3, 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) (e ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(597144044); if (obj2 == null) { Class cls2 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 411, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getTouchSlop() >> 8)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; k(b4, b5, b5, 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 i9 = $10 + 105; $11 = i9 % 128; int i10 = i9 % 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(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 99, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) Color.green(0)); byte b6 = (byte) ($$b & 5); byte b7 = (byte) (b6 - 1); Object[] objArr7 = new Object[1]; k(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); } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object b(Object[] objArr) { HashMap hashMap = (HashMap) objArr[0]; InterfaceC9156deR interfaceC9156deR = (InterfaceC9156deR) objArr[1]; int i2 = 2 % 2; int i3 = i + 69; g = i3 % 128; int i4 = i3 % 2; d(hashMap, interfaceC9156deR); if (i4 != 0) { throw null; } int i5 = g + 79; i = i5 % 128; int i6 = i5 % 2; return null; } static void d() { e = (char) 51155; c = (char) 20519; b = (char) 32708; d = (char) 53253; } static { i = 1; d(); new IeS((byte) 0); int i2 = g + 79; i = i2 % 128; if (i2 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ void a(HashMap hashMap, InterfaceC9156deR interfaceC9156deR) { Object[] objArr = {hashMap, interfaceC9156deR}; b(objArr); } }