package o; import android.graphics.Color; import android.os.Process; import android.os.SystemClock; 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 com.google.common.base.Ascii; import com.google.gson.annotations.SerializedName; import java.lang.reflect.Method; import java.util.List; import net.sf.scuba.smartcards.ISO7816; /* renamed from: o.zQu, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C17742zQu { @SerializedName("enablingFlag") private final String a; @SerializedName("storeUrl") private final List c; @SerializedName("productUrl") private final List d; private static final byte[] $$a = {69, ISO7816.INS_CHANGE_CHV, 67, Ascii.CAN}; private static final int $$b = 73; private static int $10 = 0; private static int $11 = 1; private static int f = 0; private static int i = 1; private static long e = 9051040786702654117L; private static int b = 452713125; private static char j = 23471; /* JADX WARN: Removed duplicated region for block: B:10:0x0028 */ /* JADX WARN: Removed duplicated region for block: B:7:0x0020 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002f). 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 h(int r6, byte r7, int r8, java.lang.Object[] r9) { /* int r6 = r6 * 2 int r6 = r6 + 4 int r8 = r8 + 114 byte[] r0 = o.C17742zQu.$$a int r7 = r7 * 3 int r1 = 1 - r7 byte[] r1 = new byte[r1] r2 = 0 int r7 = 0 - r7 if (r0 != 0) goto L17 r8 = r6 r4 = r7 r3 = r2 goto L2f L17: r3 = r2 L18: r5 = r8 r8 = r6 r6 = r5 byte r4 = (byte) r6 r1[r3] = r4 if (r3 != r7) goto L28 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L28: int r3 = r3 + 1 r4 = r0[r8] r5 = r8 r8 = r6 r6 = r5 L2f: int r6 = r6 + 1 int r8 = r8 + r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.C17742zQu.h(int, byte, int, java.lang.Object[]):void"); } public final UQs e() { int i2 = 2 % 2; String str = this.a; Object[] objArr = new Object[1]; g((char) (TextUtils.indexOf("", "") + 49438), 2050710110 - TextUtils.getCapsMode("", 0, 0), new char[]{24169, 15194, 7802, 4545}, new char[]{34182}, new char[]{0, 0, 0, 0}, objArr); UQs uQs = new UQs(C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern()), this.c, this.d); int i3 = i + 57; f = i3 % 128; int i4 = i3 % 2; return uQs; } private static void g(char c, int i2, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) { int i3 = 2; int i4 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; System.arraycopy(cArr, 0, cArr4, 0, length); System.arraycopy(cArr3, 0, cArr5, 0, length2); cArr4[0] = (char) (cArr4[0] ^ c); cArr5[2] = (char) (cArr5[2] + ((char) i2)); int length3 = cArr2.length; char[] cArr6 = new char[length3]; nhs.a = 0; while (nhs.a < length3) { int i5 = $10 + 75; $11 = i5 % 128; int i6 = i5 % i3; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c(45 - KeyEvent.normalizeMetaState(0), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) Color.alpha(0))).getMethod("t", Object.class); xzZ.y.put(263693715, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); Object[] objArr3 = {nhs}; Object obj2 = xzZ.y.get(-484664112); if (obj2 == null) { Class cls = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 352, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 52129)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr4 = new Object[1]; h(b2, b3, (byte) (b3 + 1), objArr4); obj2 = cls.getMethod((String) objArr4[0], Object.class); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { obj3 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 747, 5 - TextUtils.getCapsMode("", 0, 0), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj4 = xzZ.y.get(1019894806); if (obj4 == null) { Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 402, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Process.getGidForName("") + 21609)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr7 = new Object[1]; h(b4, b5, b5, objArr7); obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (e ^ 9051040786702654117L)) ^ ((int) (b ^ 9051040786702654117L))) ^ ((char) (j ^ 9051040786702654117L))); nhs.a++; i3 = 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } String str = new String(cArr6); int i7 = $10 + 7; $11 = i7 % 128; if (i7 % 2 == 0) { throw null; } objArr[0] = str; } public final String toString() { int i2 = 2 % 2; String str = this.a; List list = this.c; List list2 = this.d; StringBuilder sb = new StringBuilder("HmlBusinessInfoMarketURLEntity(enablingFlag="); sb.append(str); sb.append(", storeUrl="); sb.append(list); sb.append(", productUrl="); sb.append(list2); sb.append(")"); String obj = sb.toString(); int i3 = f + 99; i = i3 % 128; if (i3 % 2 != 0) { return obj; } throw null; } public final int hashCode() { int hashCode; int i2 = 2 % 2; int i3 = i + 33; f = i3 % 128; int i4 = i3 % 2; int hashCode2 = this.a.hashCode(); List list = this.c; if (list == null) { int i5 = i + 93; f = i5 % 128; int i6 = i5 % 2; hashCode = 0; } else { hashCode = list.hashCode(); } List list2 = this.d; return (((hashCode2 * 31) + hashCode) * 31) + (list2 != null ? list2.hashCode() : 0); } public final boolean equals(Object obj) { int i2 = 2 % 2; int i3 = f + 3; i = i3 % 128; int i4 = i3 % 2; if (this == obj) { return true; } if (!(obj instanceof C17742zQu)) { return false; } C17742zQu c17742zQu = (C17742zQu) obj; if (C14957gcv.b((Object) this.a, (Object) c17742zQu.a)) { return C14957gcv.b(this.c, c17742zQu.c) && C14957gcv.b(this.d, c17742zQu.d); } int i5 = i + 3; f = i5 % 128; int i6 = i5 % 2; return false; } }