package o; import android.graphics.Color; 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; /* loaded from: classes3.dex */ public final class uQE { private final int a; private final String b; private final int c; private final int d; private final int e; private final int f; private final int h; private final int j; private static final byte[] $$a = {104, 69, 71, -100}; private static final int $$b = 121; private static int $10 = 0; private static int $11 = 1; private static int n = 0; private static int k = 1; private static char[] g = {49026}; private static char i = 35368; public static /* synthetic */ Object e(Object[] objArr, int i2, int i3, int i4) { int i5 = (i2 * (-391)) + (i3 * (-195)); int i6 = ~i3; int i7 = ~(i6 | i2); int i8 = ~(i4 | i3); return ((i5 + ((i7 | i8) * (-196))) + ((i3 | i2) * 392)) + (((~((~i2) | i6)) | i8) * CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256) != 1 ? b(objArr) : c(objArr); } /* JADX WARN: Removed duplicated region for block: B:10:0x0024 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001c */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> 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 m(int r6, byte r7, int r8, java.lang.Object[] r9) { /* int r6 = 120 - r6 byte[] r0 = o.uQE.$$a int r7 = r7 * 3 int r1 = 1 - r7 int r8 = r8 * 2 int r8 = r8 + 4 byte[] r1 = new byte[r1] r2 = 0 int r7 = 0 - r7 if (r0 != 0) goto L16 r3 = r8 r4 = r2 goto L2c L16: r3 = r2 L17: byte r4 = (byte) r6 r1[r3] = r4 if (r3 != r7) goto L24 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L24: int r3 = r3 + 1 r4 = r0[r8] r5 = r3 r3 = r8 r8 = r4 r4 = r5 L2c: int r8 = -r8 int r6 = r6 + r8 int r8 = r3 + 1 r3 = r4 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: o.uQE.m(int, byte, int, java.lang.Object[]):void"); } /* JADX WARN: Illegal instructions before constructor call */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private /* synthetic */ uQE(byte r10) { /* r9 = this; r10 = 0 int r0 = android.view.View.resolveSize(r10, r10) r1 = 1 int r0 = 1 - r0 char[] r2 = new char[r1] r3 = 13757(0x35bd, float:1.9278E-41) r2[r10] = r3 r3 = 0 int r3 = android.widget.ExpandableListView.getPackedPositionChild(r3) int r3 = r3 + 19 byte r3 = (byte) r3 java.lang.Object[] r1 = new java.lang.Object[r1] l(r0, r2, r3, r1) r10 = r1[r10] java.lang.String r10 = (java.lang.String) r10 java.lang.String r8 = r10.intern() r1 = 0 r2 = 0 r3 = 0 r4 = 0 r5 = 0 r6 = 0 r7 = 0 r0 = r9 r0.(r1, r2, r3, r4, r5, r6, r7, r8) return */ throw new UnsupportedOperationException("Method not decompiled: o.uQE.(byte):void"); } public uQE(int i2, int i3, int i4, int i5, int i6, int i7, int i8, String str) { C14957gcv.e(str, ""); this.c = i2; this.a = i3; this.d = i4; this.h = i5; this.e = i6; this.j = i7; this.f = i8; this.b = str; } private static void l(int i2, char[] cArr, byte b, Object[] objArr) { int i3; char c; int i4 = 2 % 2; IRS irs = new IRS(); char[] cArr2 = g; char c2 = '0'; float f = BitmapDescriptorFactory.HUE_RED; int i5 = 3; int i6 = 1; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i7 = 0; while (i7 < length) { try { Object[] objArr2 = new Object[i6]; objArr2[0] = Integer.valueOf(cArr2[i7]); Object obj = xzZ.y.get(-1987398494); if (obj == null) { Class cls = (Class) xzZ.c(TextUtils.indexOf("", c2, 0, 0) + 299, 5 - Color.alpha(0), (char) ((ViewConfiguration.getScrollFriction() > f ? 1 : (ViewConfiguration.getScrollFriction() == f ? 0 : -1)) - 1)); byte b2 = (byte) i5; byte b3 = (byte) (b2 - 3); Object[] objArr3 = new Object[1]; m(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-1987398494, obj); } cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i7++; c2 = '0'; f = BitmapDescriptorFactory.HUE_RED; i5 = 3; i6 = 1; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } try { Object[] objArr4 = {Integer.valueOf(i)}; Object obj2 = xzZ.y.get(-1987398494); if (obj2 == null) { Class cls2 = (Class) xzZ.c(297 - TextUtils.indexOf((CharSequence) "", '0'), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (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))); byte b4 = (byte) 3; byte b5 = (byte) (b4 - 3); Object[] objArr5 = new Object[1]; m(b4, b5, b5, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1987398494, obj2); } char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); char[] cArr4 = new char[i2]; char c3 = '\t'; if (i2 % 2 != 0) { int i8 = $10 + 9; $11 = i8 % 128; if (i8 % 2 == 0) { i3 = i2 + 16; cArr4[i3] = (char) (cArr[i3] + b); } else { i3 = i2 - 1; cArr4[i3] = (char) (cArr[i3] - b); } } else { i3 = i2; } if (i3 > 1) { int i9 = $10 + 51; $11 = i9 % 128; int i10 = i9 % 2; irs.e = 0; while (irs.e < i3) { irs.b = cArr[irs.e]; irs.c = cArr[irs.e + 1]; if (irs.b == irs.c) { cArr4[irs.e] = (char) (irs.b - b); cArr4[irs.e + 1] = (char) (irs.c - b); c = c3; } else { try { Object[] objArr6 = new Object[13]; objArr6[12] = irs; objArr6[11] = Integer.valueOf(charValue); objArr6[10] = irs; objArr6[c3] = irs; objArr6[8] = Integer.valueOf(charValue); objArr6[7] = irs; objArr6[6] = irs; objArr6[5] = Integer.valueOf(charValue); objArr6[4] = irs; objArr6[3] = irs; objArr6[2] = Integer.valueOf(charValue); objArr6[1] = irs; objArr6[0] = irs; Object obj3 = xzZ.y.get(822107368); if (obj3 == null) { Class cls3 = (Class) xzZ.c(233 - TextUtils.getCapsMode("", 0, 0), KeyEvent.normalizeMetaState(0) + 5, (char) (22024 - Color.red(0))); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr7 = new Object[1]; m(b6, b7, b7, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class); xzZ.y.put(822107368, obj3); } if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) { Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs}; Object obj4 = xzZ.y.get(-1152873385); if (obj4 != null) { c = '\t'; } else { Class cls4 = (Class) xzZ.c(327 - TextUtils.getOffsetBefore("", 0), KeyEvent.normalizeMetaState(0) + 5, (char) TextUtils.getOffsetBefore("", 0)); byte b8 = (byte) 2; byte b9 = (byte) (b8 - 2); Object[] objArr9 = new Object[1]; m(b8, b9, b9, objArr9); c = '\t'; obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class); xzZ.y.put(-1152873385, obj4); } int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue(); int i11 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr2[intValue]; cArr4[irs.e + 1] = cArr2[i11]; } else { c = '\t'; if (irs.a == irs.d) { int i12 = $11 + 125; $10 = i12 % 128; int i13 = i12 % 2; irs.f = ((irs.f + charValue) - 1) % charValue; irs.j = ((irs.j + charValue) - 1) % charValue; int i14 = (irs.a * charValue) + irs.f; int i15 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr2[i14]; cArr4[irs.e + 1] = cArr2[i15]; } else { int i16 = (irs.a * charValue) + irs.j; int i17 = (irs.d * charValue) + irs.f; cArr4[irs.e] = cArr2[i16]; cArr4[irs.e + 1] = cArr2[i17]; } } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } irs.e += 2; c3 = c; } } for (int i18 = 0; i18 < i2; i18++) { cArr4[i18] = (char) (cArr4[i18] ^ 13722); } objArr[0] = new String(cArr4); } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } private static /* synthetic */ Object c(Object[] objArr) { uQE uqe = (uQE) objArr[0]; int i2 = 2 % 2; int i3 = uqe.c; int i4 = uqe.a; int i5 = uqe.d; int i6 = uqe.h; int i7 = uqe.e; int i8 = uqe.j; int i9 = uqe.f; String str = uqe.b; StringBuilder sb = new StringBuilder("TilesFlags(deletableFlag="); sb.append(i3); sb.append(", draggableFlag="); sb.append(i4); sb.append(", disclaimerFlag="); sb.append(i5); sb.append(", requireLoginFlag="); sb.append(i6); sb.append(", disclaimerFreezeFlag="); sb.append(i7); sb.append(", newFlag="); sb.append(i8); sb.append(", requirePopupFlag="); sb.append(i9); sb.append(", fontColor="); sb.append(str); sb.append(")"); String obj = sb.toString(); int i10 = k + 65; n = i10 % 128; int i11 = i10 % 2; return obj; } private static /* synthetic */ Object b(Object[] objArr) { uQE uqe = (uQE) objArr[0]; int i2 = 2 % 2; int i3 = n + 15; int i4 = i3 % 128; k = i4; int i5 = i3 % 2; int i6 = uqe.c; int i7 = i4 + 55; n = i7 % 128; if (i7 % 2 == 0) { return Integer.valueOf(i6); } throw null; } public final String toString() { return (String) e(new Object[]{this}, -1211379812, 1211379813, System.identityHashCode(this)); } public final int hashCode() { int i2 = 2 % 2; int i3 = n + 93; k = i3 % 128; int i4 = i3 % 2; int hashCode = (((((((((((((Integer.hashCode(this.c) * 31) + Integer.hashCode(this.a)) * 31) + Integer.hashCode(this.d)) * 31) + Integer.hashCode(this.h)) * 31) + Integer.hashCode(this.e)) * 31) + Integer.hashCode(this.j)) * 31) + Integer.hashCode(this.f)) * 31) + this.b.hashCode(); int i5 = n + 75; k = i5 % 128; if (i5 % 2 != 0) { return hashCode; } throw null; } public final int i() { int i2 = 2 % 2; int i3 = n; int i4 = i3 + 99; k = i4 % 128; int i5 = i4 % 2; int i6 = this.f; int i7 = i3 + 123; k = i7 % 128; if (i7 % 2 != 0) { return i6; } Object obj = null; obj.hashCode(); throw null; } public final int g() { int i2 = 2 % 2; int i3 = k; int i4 = i3 + 79; n = i4 % 128; Object obj = null; if (i4 % 2 != 0) { throw null; } int i5 = this.h; int i6 = i3 + 61; n = i6 % 128; if (i6 % 2 == 0) { return i5; } obj.hashCode(); throw null; } public final int f() { int i2 = 2 % 2; int i3 = n; int i4 = i3 + 39; k = i4 % 128; if (i4 % 2 == 0) { throw null; } int i5 = this.j; int i6 = i3 + 97; k = i6 % 128; if (i6 % 2 != 0) { return i5; } throw null; } public final String c() { int i2 = 2 % 2; int i3 = n + 31; int i4 = i3 % 128; k = i4; if (i3 % 2 == 0) { Object obj = null; obj.hashCode(); throw null; } String str = this.b; int i5 = i4 + 79; n = i5 % 128; int i6 = i5 % 2; return str; } public final int e() { int i2 = 2 % 2; int i3 = k + 55; n = i3 % 128; if (i3 % 2 == 0) { return this.a; } Object obj = null; obj.hashCode(); throw null; } public final int b() { int i2 = 2 % 2; int i3 = n + 101; int i4 = i3 % 128; k = i4; int i5 = i3 % 2; int i6 = this.e; int i7 = i4 + 113; n = i7 % 128; if (i7 % 2 == 0) { return i6; } Object obj = null; obj.hashCode(); throw null; } public final int a() { int i2; int i3 = 2 % 2; int i4 = k; int i5 = i4 + 17; n = i5 % 128; if (i5 % 2 != 0) { i2 = this.d; int i6 = 93 / 0; } else { i2 = this.d; } int i7 = i4 + 125; n = i7 % 128; int i8 = i7 % 2; return i2; } public final int d() { return ((Integer) e(new Object[]{this}, 183110155, -183110155, System.identityHashCode(this))).intValue(); } public final boolean equals(Object obj) { int i2 = 2 % 2; if (this == obj) { return true; } if (!(obj instanceof uQE)) { return false; } uQE uqe = (uQE) obj; if (this.c != uqe.c) { return false; } if (this.a != uqe.a) { int i3 = k + 101; n = i3 % 128; int i4 = i3 % 2; return false; } if (this.d != uqe.d || this.h != uqe.h) { return false; } if (this.e != uqe.e) { int i5 = k + 59; n = i5 % 128; int i6 = i5 % 2; return false; } if (this.j != uqe.j) { return false; } if (this.f != uqe.f) { int i7 = n + 125; k = i7 % 128; int i8 = i7 % 2; return false; } if (C14957gcv.b((Object) this.b, (Object) uqe.b)) { return true; } int i9 = k + 37; n = i9 % 128; int i10 = i9 % 2; return false; } public uQE() { this((byte) 0); } }