what-the-bank/sources/o/yhN.java

1162 lines
44 KiB
Java

package o;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.Base64;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
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 java.nio.charset.Charset;
import kotlin.NoWhenBranchMatchedException;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.bouncycastle.pqc.jcajce.spec.McElieceCCA2KeyGenParameterSpec;
@fZH
/* loaded from: classes.dex */
public final class yhN {
private static long a;
private static int d;
private static char[] e;
private static final byte[] $$a = {Ascii.CAN, -103, 8, 6};
private static final int $$b = 65;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 1;
/* 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 f(byte r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 4
int r6 = 3 - r6
int r8 = r8 * 3
int r8 = r8 + 1
byte[] r0 = o.yhN.$$a
int r7 = r7 + 98
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r7 = r6
r3 = r8
r4 = r2
goto L2e
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r6 = r6 + 1
r4 = r0[r6]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = -r6
int r6 = r6 + r3
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.yhN.f(byte, byte, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public yhN() {
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
MRj mRj = (MRj) objArr[0];
String str = (String) objArr[1];
String str2 = (String) objArr[2];
int i = 2 % 2;
int i2 = d + 123;
b = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(mRj, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
LWm d2 = d();
Sts c = c();
Object[] objArr2 = new Object[1];
g((char) (TextUtils.getOffsetBefore("", 0) + 1494), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 8, 6 - TextUtils.indexOf("", "", 0, 0), objArr2);
if (C14957gcv.b((Object) str2, (Object) ((String) objArr2[0]).intern())) {
iHE ihe = new iHE(c(mRj.d, str, c));
int i4 = b + 99;
d = i4 % 128;
int i5 = i4 % 2;
return ihe;
}
String str3 = mRj.d;
String a2 = a(d2, str);
String c2 = d2.c();
StringBuilder sb = new StringBuilder();
sb.append(a2);
sb.append(c2);
return new iHE(d(str3, sb.toString()));
}
private static LWm d() {
int i = 2 % 2;
int i2 = d + 17;
b = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
LWm lWm = (LWm) C14875gap.c(LWm.values(), AbstractC14971gdc.e);
int i3 = d + 27;
b = i3 % 128;
if (i3 % 2 != 0) {
return lWm;
}
obj.hashCode();
throw null;
}
private static Sts c() {
int i = 2 % 2;
int i2 = b + 61;
d = i2 % 128;
int i3 = i2 % 2;
Sts sts = (Sts) C14875gap.c(Sts.values(), AbstractC14971gdc.e);
int i4 = d + 35;
b = i4 % 128;
if (i4 % 2 != 0) {
return sts;
}
throw null;
}
private static String d(String str, String str2) {
int i = 2 % 2;
C14957gcv.e(str2, "");
StringBuilder sb = new StringBuilder();
sb.append(str);
sb.append(str2);
byte[] bytes = sb.toString().getBytes(gdP.a);
C14957gcv.c(bytes, "");
String encodeToString = Base64.encodeToString(bytes, 10);
C14957gcv.c((Object) encodeToString, "");
int i2 = b + 69;
d = i2 % 128;
int i3 = i2 % 2;
return encodeToString;
}
private static String c(String str, String str2, Sts sts) {
int i = 2 % 2;
C14957gcv.e(str2, "");
C14957gcv.e(sts, "");
StringBuilder sb = new StringBuilder();
sb.append(str);
sb.append(str2);
String b2 = b(sts, sb.toString());
String d2 = sts.d();
StringBuilder sb2 = new StringBuilder();
sb2.append(b2);
sb2.append(d2);
byte[] bytes = sb2.toString().getBytes(gdP.a);
C14957gcv.c(bytes, "");
String encodeToString = Base64.encodeToString(bytes, 10);
C14957gcv.c((Object) encodeToString, "");
int i2 = b + 5;
d = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 88 / 0;
}
return encodeToString;
}
private static String a(LWm lWm, String str) {
int i = 2 % 2;
C14957gcv.e(lWm, "");
C14957gcv.e(str, "");
int i2 = RVV.a[lWm.ordinal()];
if (i2 == 1) {
String a2 = C15190gjk.a(C15189gjj.c("MD5").digest(str != null ? str.getBytes(C15192gjm.a) : null));
C14957gcv.c((Object) a2, "");
return a2;
}
int i3 = d + 33;
int i4 = i3 % 128;
b = i4;
if (i3 % 2 != 0 ? i2 == 2 : i2 == 3) {
String a3 = C15190gjk.a(C15189gjj.c(McElieceCCA2KeyGenParameterSpec.SHA1).digest(str != null ? str.getBytes(C15192gjm.a) : null));
C14957gcv.c((Object) a3, "");
return a3;
}
if (i2 == 3) {
String a4 = C15190gjk.a(C15189gjj.c(McElieceCCA2KeyGenParameterSpec.SHA256).digest(str != null ? str.getBytes(C15192gjm.a) : null));
C14957gcv.c((Object) a4, "");
return a4;
}
if (i2 == 4) {
Charset charset = C15192gjm.a;
if (str == null) {
int i5 = b + 113;
d = i5 % 128;
if (i5 % 2 != 0) {
r3.hashCode();
throw null;
}
} else {
r3 = str.getBytes(charset);
}
String a5 = C15190gjk.a(C15189gjj.c(McElieceCCA2KeyGenParameterSpec.SHA384).digest(r3));
C14957gcv.c((Object) a5, "");
return a5;
}
int i6 = i4 + 27;
d = i6 % 128;
int i7 = i6 % 2;
if (i2 != 5) {
throw new NoWhenBranchMatchedException();
}
Charset charset2 = C15192gjm.a;
if (str == null) {
int i8 = d + 81;
b = i8 % 128;
if (i8 % 2 == 0) {
int i9 = 3 / 2;
}
} else {
r3 = str.getBytes(charset2);
}
String a6 = C15190gjk.a(C15189gjj.c(McElieceCCA2KeyGenParameterSpec.SHA512).digest(r3));
C14957gcv.c((Object) a6, "");
return a6;
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0033, code lost:
if (r5 != 2) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0035, code lost:
r5 = o.C15192gjm.a;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0037, code lost:
if (r6 != null) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x003a, code lost:
r2 = r6.getBytes(r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x003e, code lost:
r5 = o.C15190gjk.a(o.C15189gjj.c(org.bouncycastle.pqc.jcajce.spec.McElieceCCA2KeyGenParameterSpec.SHA1).digest(r2));
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0055, code lost:
throw new kotlin.NoWhenBranchMatchedException();
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0031, code lost:
if (r5 != 1) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0020, code lost:
if (r5 != 1) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0056, code lost:
r5 = o.C15192gjm.a;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0058, code lost:
if (r6 != null) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x005b, code lost:
r2 = r6.getBytes(r5);
r5 = o.yhN.b + 115;
o.yhN.d = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0068, code lost:
r5 = o.C15190gjk.a(o.C15189gjj.c("MD5").digest(r2));
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static java.lang.String b(o.yhN.Sts r5, java.lang.String r6) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.yhN.d
int r1 = r1 + 83
int r2 = r1 % 128
o.yhN.b = r2
int r1 = r1 % r0
r2 = 0
r3 = 1
java.lang.String r4 = ""
if (r1 != 0) goto L23
o.C14957gcv.e(r5, r4)
o.C14957gcv.e(r6, r4)
int[] r1 = o.yhN.RVV.e
int r5 = r5.ordinal()
r5 = r1[r5]
if (r5 == r3) goto L56
goto L33
L23:
o.C14957gcv.e(r5, r4)
o.C14957gcv.e(r6, r4)
int[] r1 = o.yhN.RVV.e
int r5 = r5.ordinal()
r5 = r1[r5]
if (r5 == r3) goto L56
L33:
if (r5 != r0) goto L50
java.nio.charset.Charset r5 = o.C15192gjm.a
if (r6 != 0) goto L3a
goto L3e
L3a:
byte[] r2 = r6.getBytes(r5)
L3e:
java.lang.String r5 = "SHA-1"
java.security.MessageDigest r5 = o.C15189gjj.c(r5)
byte[] r5 = r5.digest(r2)
java.lang.String r5 = o.C15190gjk.a(r5)
o.C14957gcv.c(r5, r4)
goto L79
L50:
kotlin.NoWhenBranchMatchedException r5 = new kotlin.NoWhenBranchMatchedException
r5.<init>()
throw r5
L56:
java.nio.charset.Charset r5 = o.C15192gjm.a
if (r6 != 0) goto L5b
goto L68
L5b:
byte[] r2 = r6.getBytes(r5)
int r5 = o.yhN.b
int r5 = r5 + 115
int r6 = r5 % 128
o.yhN.d = r6
int r5 = r5 % r0
L68:
java.lang.String r5 = "MD5"
java.security.MessageDigest r5 = o.C15189gjj.c(r5)
byte[] r5 = r5.digest(r2)
java.lang.String r5 = o.C15190gjk.a(r5)
o.C14957gcv.c(r5, r4)
L79:
int r6 = o.yhN.b
int r6 = r6 + 11
int r1 = r6 % 128
o.yhN.d = r1
int r6 = r6 % r0
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: o.yhN.b(o.yhN$Sts, java.lang.String):java.lang.String");
}
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* loaded from: classes3.dex */
public static final class LWm {
private static final LWm[] $VALUES;
public static final LWm HASH_OPTION_FOUR;
public static final LWm HASH_OPTION_ONE;
public static final LWm HASH_OPTION_THREE;
public static final LWm HASH_OPTION_TWO;
public static final LWm HASH_OPTION_ZERO;
private static int[] b;
private static int c;
private final String number;
private static final byte[] $$a = {90, 40, 10, 105};
private static final int $$b = 20;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 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: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 f(byte r7, byte r8, short r9, java.lang.Object[] r10) {
/*
byte[] r0 = o.yhN.LWm.$$a
int r7 = r7 * 2
int r7 = r7 + 102
int r9 = r9 * 3
int r9 = 4 - r9
int r8 = r8 * 2
int r8 = r8 + 1
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L17
r3 = r8
r7 = r9
r5 = r2
goto L2c
L17:
r3 = r2
L18:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r8) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r9]
r6 = r9
r9 = r7
r7 = r6
L2c:
int r9 = r9 + r3
int r7 = r7 + 1
r3 = r5
r6 = r9
r9 = r7
r7 = r6
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.yhN.LWm.f(byte, byte, short, java.lang.Object[]):void");
}
private LWm(String str, int i, String str2) {
this.number = str2;
}
static {
c = 1;
e();
Object[] objArr = new Object[1];
a(new int[]{499737487, -79991414}, 2 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr);
HASH_OPTION_ZERO = new LWm("HASH_OPTION_ZERO", 0, ((String) objArr[0]).intern());
Object[] objArr2 = new Object[1];
a(new int[]{1889609811, -402823972}, 1 - TextUtils.lastIndexOf("", '0', 0, 0), objArr2);
HASH_OPTION_ONE = new LWm("HASH_OPTION_ONE", 1, ((String) objArr2[0]).intern());
Object[] objArr3 = new Object[1];
a(new int[]{-1413278526, 943259713}, 2 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr3);
HASH_OPTION_TWO = new LWm("HASH_OPTION_TWO", 2, ((String) objArr3[0]).intern());
Object[] objArr4 = new Object[1];
a(new int[]{-1040099448, -452369943}, 2 - (ViewConfiguration.getPressedStateDuration() >> 16), objArr4);
HASH_OPTION_THREE = new LWm("HASH_OPTION_THREE", 3, ((String) objArr4[0]).intern());
Object[] objArr5 = new Object[1];
a(new int[]{2037830281, 647301216}, (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 2, objArr5);
HASH_OPTION_FOUR = new LWm("HASH_OPTION_FOUR", 4, ((String) objArr5[0]).intern());
$VALUES = d();
int i = d + 95;
c = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void a(int[] iArr, int i, Object[] objArr) {
int i2;
int[] iArr2;
char c2;
int length;
int[] iArr3;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = b;
char c3 = '0';
int i4 = 1;
char c4 = 0;
if (iArr4 != null) {
int i5 = $10 + 91;
$11 = i5 % 128;
if (i5 % 2 == 0) {
length = iArr4.length;
iArr3 = new int[length];
} else {
length = iArr4.length;
iArr3 = new int[length];
}
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr4[i6]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(14 - TextUtils.indexOf("", c3), Color.green(0) + 5, (char) (58134 - (ViewConfiguration.getKeyRepeatDelay() >> 16)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
c3 = '0';
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr3;
}
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int[] iArr6 = b;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i7 = 0;
while (i7 < length3) {
int i8 = $11 + 95;
$10 = i8 % 128;
int i9 = i8 % 2;
Object[] objArr3 = new Object[1];
objArr3[c4] = Integer.valueOf(iArr6[i7]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c2 = 55346;
} else {
iArr2 = iArr6;
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 16, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (58134 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)))).getMethod("i", Integer.TYPE);
c2 = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
iArr6 = iArr2;
c4 = 0;
}
int i10 = $10 + 57;
$11 = i10 % 128;
int i11 = i10 % 2;
iArr6 = iArr7;
i2 = 0;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length2);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
cArr[i2] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i12 = $10 + 11;
$11 = i12 % 128;
int i13 = i12 % 2;
for (int i14 = 0; i14 < 16; i14++) {
c4403bZM.e ^= iArr5[i14];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 117, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr5 = new Object[1];
f(b2, b3, b3, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i16 = c4403bZM.e;
int i17 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
try {
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Color.alpha(0) + 98, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (Process.myPid() >> 22));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
f(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i2 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2, 0, i);
}
static void e() {
b = new int[]{-881440187, 307082978, 725101796, 1340796930, -1765462343, -1742845165, -1561467104, 1570696591, -910883603, 1142185237, -1354408328, 814302474, -1700129758, -345309838, 413959410, 2060609576, -1892932028, 757945772};
}
public final String c() {
int i = 2 % 2;
int i2 = c;
int i3 = i2 + 3;
d = i3 % 128;
int i4 = i3 % 2;
String str = this.number;
int i5 = i2 + 111;
d = i5 % 128;
if (i5 % 2 == 0) {
return str;
}
throw null;
}
public static LWm[] values() {
int i = 2 % 2;
int i2 = d + 119;
c = i2 % 128;
int i3 = i2 % 2;
LWm[] lWmArr = (LWm[]) $VALUES.clone();
int i4 = d + 39;
c = i4 % 128;
int i5 = i4 % 2;
return lWmArr;
}
public static LWm valueOf(String str) {
int i = 2 % 2;
int i2 = c + 115;
d = i2 % 128;
int i3 = i2 % 2;
LWm lWm = (LWm) Enum.valueOf(LWm.class, str);
int i4 = c + 61;
d = i4 % 128;
int i5 = i4 % 2;
return lWm;
}
private static final /* synthetic */ LWm[] d() {
int i = 2 % 2;
int i2 = d;
int i3 = i2 + 1;
c = i3 % 128;
int i4 = i3 % 2;
LWm[] lWmArr = {HASH_OPTION_ZERO, HASH_OPTION_ONE, HASH_OPTION_TWO, HASH_OPTION_THREE, HASH_OPTION_FOUR};
int i5 = i2 + 79;
c = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 93 / 0;
}
return lWmArr;
}
}
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* loaded from: classes3.dex */
public static final class Sts {
private static final Sts[] $VALUES;
public static final Sts HASH_OPTION_ONE;
public static final Sts HASH_OPTION_ZERO;
private static int a;
private static char[] b;
private final String number;
private static final byte[] $$a = {59, 92, ISOFileInfo.FCI_BYTE, -78};
private static final int $$b = 5;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). 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 f(int r5, byte r6, int r7, java.lang.Object[] r8) {
/*
byte[] r0 = o.yhN.Sts.$$a
int r5 = r5 * 3
int r5 = r5 + 4
int r7 = r7 * 3
int r1 = r7 + 1
int r6 = r6 * 2
int r6 = r6 + 71
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L16
r3 = r7
r4 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L26:
r3 = r0[r5]
L28:
int r6 = r6 + r3
int r5 = r5 + 1
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.yhN.Sts.f(int, byte, int, java.lang.Object[]):void");
}
private Sts(String str, int i, String str2) {
this.number = str2;
}
static {
a = 1;
a();
Object[] objArr = new Object[1];
e(new byte[]{0, 0}, new int[]{0, 2, 0, 0}, false, objArr);
HASH_OPTION_ZERO = new Sts("HASH_OPTION_ZERO", 0, ((String) objArr[0]).intern());
Object[] objArr2 = new Object[1];
e(new byte[]{1, 1}, new int[]{2, 2, 61, 0}, false, objArr2);
HASH_OPTION_ONE = new Sts("HASH_OPTION_ONE", 1, ((String) objArr2[0]).intern());
$VALUES = b();
int i = c + 75;
a = i % 128;
if (i % 2 == 0) {
int i2 = 5 / 0;
}
}
private static void e(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
int length;
char[] cArr;
int i = 2 % 2;
TVH tvh = new TVH();
int i2 = 0;
int i3 = iArr[0];
int i4 = iArr[1];
int i5 = iArr[2];
int i6 = iArr[3];
char[] cArr2 = b;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int i7 = $11 + 29;
$10 = i7 % 128;
if (i7 % 2 != 0) {
length = cArr2.length;
cArr = new char[length];
} else {
length = cArr2.length;
cArr = new char[length];
}
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i2] = Integer.valueOf(cArr2[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - View.MeasureSpec.makeMeasureSpec(i2, i2), 5 - (AudioTrack.getMinVolume() > f ? 1 : (AudioTrack.getMinVolume() == f ? 0 : -1)), (char) (41977 - (PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1))));
byte b2 = (byte) ($$b - 5);
byte b3 = b2;
Object[] objArr3 = new Object[1];
f(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i2 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr;
}
char[] cArr3 = new char[i4];
System.arraycopy(cArr2, i3, cArr3, 0, i4);
if (bArr != null) {
int i9 = $11 + 11;
$10 = i9 % 128;
int i10 = i9 % 2;
char[] cArr4 = new char[i4];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i4) {
int i11 = $10 + 93;
$11 = i11 % 128;
int i12 = i11 % 2;
if (bArr[tvh.c] == 1) {
int i13 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(503 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (53 - TextUtils.lastIndexOf("", '0', 0, 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i14 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 15, 5 - KeyEvent.getDeadChar(0, 0), (char) ((ViewConfiguration.getTouchSlop() >> 8) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c2 = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 401, AndroidCharacter.getMirror('0') - '+', (char) (21608 - (ViewConfiguration.getLongPressTimeout() >> 16)));
byte b4 = (byte) ($$b - 5);
byte b5 = (byte) (b4 + 1);
Object[] objArr7 = new Object[1];
f(b4, b5, (byte) (b5 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i6 > 0) {
int i15 = $10 + 117;
$11 = i15 % 128;
if (i15 % 2 == 0) {
char[] cArr5 = new char[i4];
System.arraycopy(cArr3, 0, cArr5, 0, i4);
System.arraycopy(cArr5, 1, cArr3, i4 >> i6, i6);
System.arraycopy(cArr5, i6, cArr3, 1, i4 % i6);
} else {
char[] cArr6 = new char[i4];
System.arraycopy(cArr3, 0, cArr6, 0, i4);
int i16 = i4 - i6;
System.arraycopy(cArr6, 0, cArr3, i16, i6);
System.arraycopy(cArr6, i6, cArr3, 0, i16);
}
}
if (z) {
int i17 = $10 + 57;
$11 = i17 % 128;
int i18 = i17 % 2;
char[] cArr7 = new char[i4];
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i4) {
break;
}
cArr7[tvh.c] = cArr3[(i4 - tvh.c) - 1];
i19 = tvh.c + 1;
}
cArr3 = cArr7;
}
if (i5 > 0) {
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i4) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
static void a() {
b = new char[]{39955, 39995, 39997, 40038};
}
public final String d() {
int i = 2 % 2;
int i2 = c + 37;
int i3 = i2 % 128;
a = i3;
int i4 = i2 % 2;
String str = this.number;
int i5 = i3 + 99;
c = i5 % 128;
int i6 = i5 % 2;
return str;
}
public static Sts[] values() {
int i = 2 % 2;
int i2 = c + 65;
a = i2 % 128;
int i3 = i2 % 2;
Sts[] stsArr = $VALUES;
if (i3 != 0) {
return (Sts[]) stsArr.clone();
}
Object obj = null;
obj.hashCode();
throw null;
}
public static Sts valueOf(String str) {
int i = 2 % 2;
int i2 = c + 105;
a = i2 % 128;
int i3 = i2 % 2;
Sts sts = (Sts) Enum.valueOf(Sts.class, str);
if (i3 != 0) {
return sts;
}
throw null;
}
private static final /* synthetic */ Sts[] b() {
int i = 2 % 2;
int i2 = c + 31;
a = i2 % 128;
int i3 = i2 % 2;
Sts sts = HASH_OPTION_ZERO;
if (i3 != 0) {
return new Sts[]{sts, HASH_OPTION_ONE};
}
Sts sts2 = HASH_OPTION_ONE;
Sts[] stsArr = new Sts[3];
stsArr[0] = sts;
stsArr[1] = sts2;
return stsArr;
}
}
private static void g(char c, int i, int i2, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $11 + 31;
$10 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(e[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 307, 5 - KeyEvent.keyCodeFromString(""), (char) (32845 - AndroidCharacter.getMirror('0')));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
f(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(a), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 411, View.getDefaultSize(0, 0) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
f(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (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)) + 5, (char) (Color.alpha(0) + 29234));
byte b6 = (byte) 0;
Object[] objArr7 = new Object[1];
f(b6, $$a[2], b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = $10 + 107;
$11 = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
int i9 = $11 + 125;
$10 = i9 % 128;
int i10 = i9 % 2;
while (dqy.a < i2) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - View.combineMeasuredStates(0, 0), TextUtils.lastIndexOf("", '0', 0) + 6, (char) ((Process.myPid() >> 22) + 29234));
byte b7 = (byte) 0;
Object[] objArr9 = new Object[1];
f(b7, $$a[2], b7, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
int i11 = $10 + 29;
$11 = i11 % 128;
if (i11 % 2 == 0) {
int i12 = 3 % 5;
}
}
objArr[0] = new String(cArr);
}
/* loaded from: classes.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
static void a() {
e = new char[]{36834, 62406, 48842, 49900, 9558, 22899, 52811, 45675, 35404, 63093, 29197, 65087, 31441, 59129};
a = 5171486321689359350L;
}
/* loaded from: classes3.dex */
public final /* synthetic */ class RVV {
public static final int[] a;
public static final int[] e;
static {
int[] iArr = new int[LWm.values().length];
try {
iArr[LWm.HASH_OPTION_ZERO.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[LWm.HASH_OPTION_ONE.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
iArr[LWm.HASH_OPTION_TWO.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
iArr[LWm.HASH_OPTION_THREE.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
try {
iArr[LWm.HASH_OPTION_FOUR.ordinal()] = 5;
} catch (NoSuchFieldError unused5) {
}
a = iArr;
int[] iArr2 = new int[Sts.values().length];
try {
iArr2[Sts.HASH_OPTION_ZERO.ordinal()] = 1;
} catch (NoSuchFieldError unused6) {
}
try {
iArr2[Sts.HASH_OPTION_ONE.ordinal()] = 2;
} catch (NoSuchFieldError unused7) {
}
e = iArr2;
}
}
public static iHE d(MRj mRj, String str, String str2) {
Object[] objArr = {mRj, str, str2};
return (iHE) d(objArr);
}
static {
d = 0;
a();
ViewConfiguration.getTouchSlop();
ViewConfiguration.getMaximumFlingVelocity();
Process.myTid();
SystemClock.elapsedRealtime();
TextUtils.indexOf("", "");
TextUtils.indexOf((CharSequence) "", '0');
ViewConfiguration.getLongPressTimeout();
ViewConfiguration.getFadingEdgeLength();
TextUtils.getOffsetAfter("", 0);
Color.red(0);
TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED);
Color.blue(0);
View.combineMeasuredStates(0, 0);
SystemClock.elapsedRealtimeNanos();
ExpandableListView.getPackedPositionType(0L);
AudioTrack.getMaxVolume();
new HBt((byte) 0);
int i = b + 49;
d = i % 128;
if (i % 2 != 0) {
throw null;
}
}
}