package o; import android.graphics.Color; import android.os.Process; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import org.bouncycastle.crypto.tls.CipherSuite; /* renamed from: o.qoQ, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C16736qoQ { public static final Sts a; private static int f; private static long g; private static char h; private static int j; private String b; private String c; private boolean d; private String e; private final int i; private static final byte[] $$a = {69, ISO7816.INS_CHANGE_CHV, 67, Ascii.CAN}; private static final int $$b = 26; private static int $10 = 0; private static int $11 = 1; private static int n = 1; public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) { int i4 = ~i; int i5 = ~(i4 | i2); int i6 = ~i3; int i7 = (i * 55) + (i2 * (-107)) + ((i5 | (~(i6 | i2))) * (-108)); int i8 = ~(i4 | i3); int i9 = ~((~i2) | i); return (i7 + (((~(i | i6)) | (i8 | i9)) * 54)) + ((i3 | i9) * 54) != 1 ? e(objArr) : c(objArr); } private static void l(int i, int i2, byte b, Object[] objArr) { int i3 = i * 3; byte[] bArr = $$a; int i4 = i2 + 4; int i5 = 115 - b; byte[] bArr2 = new byte[1 - i3]; int i6 = 0 - i3; int i7 = -1; if (bArr == null) { i5 = (-i5) + i6; i7 = -1; } while (true) { int i8 = i7 + 1; bArr2[i8] = (byte) i5; i4++; if (i8 == i6) { objArr[0] = new String(bArr2, 0); return; } else { i5 = (-bArr[i4]) + i5; i7 = i8; } } } public C16736qoQ(int i) { this.i = i; } public final boolean e() { int i = 2 % 2; int i2 = f + 117; n = i2 % 128; int i3 = i2 % 2; String str = this.e; Object[] objArr = new Object[1]; k((char) (181 - TextUtils.lastIndexOf("", '0', 0, 0)), (Process.myPid() >> 22) - 1350200226, new char[]{24149, 34196, 46767, 17152}, new char[]{44190}, new char[]{38466, 60570, 32646, 57430}, objArr); boolean b = C14957gcv.b((Object) ((String) objArr[0]).intern(), (Object) str); int i4 = n + 87; f = i4 % 128; int i5 = i4 % 2; return b; } public final boolean a() { int i = 2 % 2; int i2 = f + 97; n = i2 % 128; int i3 = i2 % 2; String str = this.b; Object[] objArr = new Object[1]; k((char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256), (-1350200226) + (ViewConfiguration.getFadingEdgeLength() >> 16), new char[]{24149, 34196, 46767, 17152}, new char[]{44190}, new char[]{38466, 60570, 32646, 57430}, objArr); boolean b = C14957gcv.b((Object) ((String) objArr[0]).intern(), (Object) str); int i4 = n + 119; f = i4 % 128; int i5 = i4 % 2; return b; } /* renamed from: o.qoQ$Sts */ /* loaded from: classes3.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } private static void k(char c, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) { int i2; 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) i)); int length3 = cArr2.length; char[] cArr6 = new char[length3]; nhs.a = 0; int i5 = $10 + 17; $11 = i5 % 128; int i6 = i5 % 2; while (nhs.a < length3) { int i7 = $11 + 7; $10 = i7 % 128; int i8 = i7 % i3; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c(45 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) KeyEvent.normalizeMetaState(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(352 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (Color.argb(0, 0, 0, 0) + 52128)); byte b = (byte) 0; byte b2 = (byte) (b - 1); Object[] objArr4 = new Object[1]; l(b, b2, (byte) (b2 + 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(748 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), TextUtils.getCapsMode("", 0, 0) + 5, (char) ExpandableListView.getPackedPositionType(0L))).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) { i2 = 2; } else { Class cls2 = (Class) xzZ.c(MotionEvent.axisFromString("") + 403, Color.argb(0, 0, 0, 0) + 5, (char) (21608 - Color.blue(0))); byte b3 = (byte) 0; byte b4 = (byte) (b3 - 1); Object[] objArr7 = new Object[1]; l(b3, b4, (byte) (-b4), objArr7); i2 = 2; 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]) ^ (g ^ 9051040786702654117L)) ^ ((int) (j ^ 9051040786702654117L))) ^ ((char) (h ^ 9051040786702654117L))); nhs.a++; i3 = i2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(cArr6); } private static /* synthetic */ Object c(Object[] objArr) { C16736qoQ c16736qoQ = (C16736qoQ) objArr[0]; String str = (String) objArr[1]; int i = 2 % 2; int i2 = f; int i3 = i2 + 105; n = i3 % 128; int i4 = i3 % 2; Object obj = null; c16736qoQ.c = str; if (i4 == 0) { obj.hashCode(); throw null; } int i5 = i2 + 19; n = i5 % 128; int i6 = i5 % 2; return null; } private static /* synthetic */ Object e(Object[] objArr) { C16736qoQ c16736qoQ = (C16736qoQ) objArr[0]; String str = (String) objArr[1]; int i = 2 % 2; int i2 = n; int i3 = i2 + 47; f = i3 % 128; int i4 = i3 % 2; Object obj = null; c16736qoQ.b = str; if (i4 != 0) { obj.hashCode(); throw null; } int i5 = i2 + 111; f = i5 % 128; int i6 = i5 % 2; return null; } static void f() { g = -7075790382157443865L; j = 452713125; h = (char) 55973; } public final void e(boolean z) { int i = 2 % 2; int i2 = n + 25; f = i2 % 128; int i3 = i2 % 2; this.d = z; if (i3 != 0) { int i4 = 79 / 0; } } public final void e(String str) { d(new Object[]{this, str}, 634912158, -634912158, System.identityHashCode(this)); } public final void b(String str) { int i = 2 % 2; int i2 = f + 121; n = i2 % 128; int i3 = i2 % 2; this.e = str; if (i3 == 0) { int i4 = 57 / 0; } } public final void c(String str) { d(new Object[]{this, str}, 740309823, -740309822, System.identityHashCode(this)); } public final boolean i() { int i = 2 % 2; int i2 = n + 101; int i3 = i2 % 128; f = i3; if (i2 % 2 != 0) { int i4 = 96 / 0; if (this.i != 0) { return false; } } else if (this.i != 0) { return false; } int i5 = i3 + 13; n = i5 % 128; if (i5 % 2 == 0) { int i6 = 5 / 5; } return true; } public final boolean b() { int i = 2 % 2; int i2 = n + 87; int i3 = i2 % 128; f = i3; int i4 = i2 % 2; boolean z = this.d; int i5 = i3 + 95; n = i5 % 128; if (i5 % 2 != 0) { return z; } throw null; } public final int c() { int i = 2 % 2; int i2 = n + 99; f = i2 % 128; if (i2 % 2 == 0) { return this.i; } Object obj = null; obj.hashCode(); throw null; } public final String d() { int i = 2 % 2; int i2 = f + 91; n = i2 % 128; if (i2 % 2 != 0) { return this.c; } throw null; } static { f = 0; f(); a = new Sts((byte) 0); int i = n + 101; f = i % 128; int i2 = i % 2; } }