package o; import android.net.Uri; import android.os.SystemClock; import android.text.TextUtils; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.common.base.Ascii; import java.net.URLDecoder; import java.util.List; import net.sf.scuba.smartcards.ISO7816; import o.InterfaceC9218dfa; import o.ZI; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes4.dex */ public final class aLC extends ZI { private static int a; private static int b; private static short[] c; private static byte[] d; private static int e; private static int h; private static final byte[] $$a = {95, -10, ISO7816.INS_CREATE_FILE, 95}; private static final int $$b = CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA; private static int $10 = 0; private static int $11 = 1; private static int i = 0; /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* 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 k(byte r6, short r7, byte r8, java.lang.Object[] r9) { /* byte[] r0 = o.aLC.$$a int r7 = r7 * 2 int r7 = 110 - r7 int r8 = r8 * 3 int r8 = r8 + 4 int r6 = r6 * 2 int r6 = 1 - r6 byte[] r1 = new byte[r6] r2 = 0 if (r0 != 0) goto L17 r3 = r7 r4 = r2 r7 = r6 goto L29 L17: r3 = r2 L18: int r4 = r3 + 1 byte r5 = (byte) r7 r1[r3] = r5 if (r4 != r6) goto L27 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L27: r3 = r0[r8] L29: int r7 = r7 + r3 int r8 = r8 + 1 r3 = r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.aLC.k(byte, short, byte, java.lang.Object[]):void"); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public aLC(C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c16903sI, ""); } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object d(Object[] objArr) { final String str; final aLC alc = (aLC) objArr[0]; final String str2 = (String) objArr[1]; Uri uri = (Uri) objArr[2]; final boolean booleanValue = ((Boolean) objArr[3]).booleanValue(); int i2 = 2 % 2; int i3 = i + 87; h = i3 % 128; int i4 = i3 % 2; C14957gcv.e(str2, ""); String queryParameter = uri != null ? uri.getQueryParameter("isShowNavbar") : null; if (queryParameter == null) { int i5 = h + 9; i = i5 % 128; int i6 = i5 % 2; str = ""; } else { str = queryParameter; } final String e2 = e(gdZ.e(String.valueOf(uri), new String[]{"url="})); ZI.IeS ieS = new ZI.IeS(e2, booleanValue, str2, alc, str) { // from class: o.aLD private String a; private boolean b; private String c; private aLC d; private String e; @Override // o.ZI.IeS public final void e(Object obj) { aLC.a(this.c, this.b, this.a, this.d, this.e, (InterfaceC9218dfa.HBt) obj); } { this.c = e2; this.b = booleanValue; this.a = str2; this.d = alc; this.e = str; } }; if (alc.f != 0) { ieS.e(alc.f); } int i7 = h + 97; i = i7 % 128; int i8 = i7 % 2; return null; } /* JADX WARN: Code restructure failed: missing block: B:10:0x002e, code lost: r8.b(r5, r3); */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0031, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x002c, code lost: if (r4 != false) goto L10; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0029, code lost: if (r4 != false) goto L10; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0032, code lost: r4 = o.C0915Rl.d(); r4.j = r3; r4.i = r5; r4.a = false; r4.e = 1; r4.c = false; o.C14957gcv.c(r4, ""); r8.b(r5, r3, r4, c(r7)); r3 = o.aLC.i + 65; o.aLC.h = r3 % 128; r3 = r3 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0054, code lost: return; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static final void c(java.lang.String r3, boolean r4, java.lang.String r5, o.aLC r6, java.lang.String r7, o.InterfaceC9218dfa.HBt r8) { /* r0 = 2 int r1 = r0 % r0 java.lang.String r1 = "" o.C14957gcv.e(r3, r1) o.C14957gcv.e(r5, r1) o.C14957gcv.e(r6, r1) o.C14957gcv.e(r7, r1) r2 = r3 java.lang.CharSequence r2 = (java.lang.CharSequence) r2 int r2 = r2.length() if (r2 <= 0) goto L55 int r6 = o.aLC.i int r6 = r6 + 111 int r2 = r6 % 128 o.aLC.h = r2 int r6 = r6 % r0 r2 = 0 if (r6 != 0) goto L2c r6 = 49 int r6 = r6 / r2 if (r4 == 0) goto L32 goto L2e L2c: if (r4 == 0) goto L32 L2e: r8.b(r5, r3) return L32: o.Rl r4 = o.C0915Rl.d() r4.j = r3 r4.i = r5 r4.a = r2 r6 = 1 r4.e = r6 r4.c = r2 o.C14957gcv.c(r4, r1) boolean r6 = c(r7) r8.b(r5, r3, r4, r6) int r3 = o.aLC.i int r3 = r3 + 65 int r4 = r3 % 128 o.aLC.h = r4 int r3 = r3 % r0 return L55: int r3 = o.C15715hv.tOB.error_generic_resource o.Mh$IeS r4 = o.C0690Mh.IeS.NAVIGATE_BACK r6.c(r3, r4) return */ throw new UnsupportedOperationException("Method not decompiled: o.aLC.c(java.lang.String, boolean, java.lang.String, o.aLC, java.lang.String, o.dfa$HBt):void"); } private static boolean c(String str) { int i2 = 2 % 2; int i3 = i + 15; h = i3 % 128; int i4 = i3 % 2; C14957gcv.e(str, ""); Object[] objArr = new Object[1]; g((short) (57 - TextUtils.getTrimmedLength("")), (byte) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 59), (ViewConfiguration.getDoubleTapTimeout() >> 16) - 55, (-307314050) - ExpandableListView.getPackedPositionGroup(0L), (-1923220635) - View.MeasureSpec.getMode(0), objArr); boolean z = !(C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern()) ^ true) || str.length() == 0; int i5 = h + 37; i = i5 % 128; if (i5 % 2 == 0) { return z; } Object obj = null; obj.hashCode(); throw null; } private static String e(List list) { int i2 = 2 % 2; int i3 = h + 29; i = i3 % 128; int i4 = i3 % 2; String str = ""; if (list.size() == 2) { String decode = URLDecoder.decode(list.get(1), gdP.a.toString()); C14957gcv.c((Object) decode, ""); str = decode; } int i5 = h + 3; i = i5 % 128; if (i5 % 2 == 0) { return str; } Object obj = null; obj.hashCode(); throw null; } /* loaded from: classes4.dex */ public static final class IeS { private IeS() { } public /* synthetic */ IeS(byte b) { this(); } } /* JADX WARN: Removed duplicated region for block: B:37:0x01cb */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void g(short r17, byte r18, int r19, int r20, int r21, java.lang.Object[] r22) { /* Method dump skipped, instructions count: 740 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.aLC.g(short, byte, int, int, int, java.lang.Object[]):void"); } static void d() { e = 1100948375; a = 1406017069; b = 560732889; d = new byte[]{Ascii.NAK}; } public final void Vp_(String str, Uri uri, boolean z) { Object[] objArr = {this, str, uri, Boolean.valueOf(z)}; System.identityHashCode(this); d(objArr); } static { h = 1; d(); new IeS((byte) 0); int i2 = i + 95; h = i2 % 128; if (i2 % 2 == 0) { throw null; } } public static /* synthetic */ void a(String str, boolean z, String str2, aLC alc, String str3, InterfaceC9218dfa.HBt hBt) { int i2 = 2 % 2; int i3 = i + 105; h = i3 % 128; int i4 = i3 % 2; c(str, z, str2, alc, str3, hBt); if (i4 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } }