what-the-bank/sources/com/facetec/sdk/bq.java

3017 lines
153 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.facetec.sdk;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.kofax.mobile.sdk.capture.CaptureActivity;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.bouncycastle.i18n.LocalizedMessage;
import org.bouncycastle.math.Primes;
/* loaded from: classes.dex */
public final class bq {
private static final byte[] $$a = null;
private static final int $$b = 0;
private static final byte[] $$d = null;
private static final int $$e = 0;
private static int $10;
private static int $11;
private static int a;
private static boolean b;
private static char[] c;
private static int d;
private static boolean e;
private static final byte[] f = null;
private static int g;
private static boolean h;
private static boolean i;
private static int j;
private static final int k = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0020 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0018 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0020 -> B:4:0x0024). 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 l(short r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r6 = 118 - r6
byte[] r0 = com.facetec.sdk.bq.f
int r5 = 3122 - r5
int r1 = r7 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L10
r4 = r7
r3 = r2
goto L24
L10:
r3 = r2
L11:
int r5 = r5 + 1
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L20
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L20:
r4 = r0[r5]
int r3 = r3 + 1
L24:
int r6 = r6 + r4
int r6 = r6 + (-5)
goto L11
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bq.l(short, short, short, java.lang.Object[]):void");
}
/* 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:0x0027). 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 n(short r5, short r6, int r7, java.lang.Object[] r8) {
/*
int r7 = r7 + 97
int r5 = r5 * 3
int r5 = r5 + 4
int r6 = r6 << 1
int r6 = 1 - r6
byte[] r0 = com.facetec.sdk.bq.$$a
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L15
r7 = r5
r4 = r6
r3 = r2
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L25:
r4 = r0[r5]
L27:
int r5 = r5 + 1
int r7 = r7 - r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bq.n(short, short, int, java.lang.Object[]):void");
}
private static void o(byte b2, int i2, short s, Object[] objArr) {
int i3 = i2 << 1;
int i4 = 121 - b2;
byte[] bArr = $$d;
int i5 = 4 - (s << 1);
byte[] bArr2 = new byte[1 - i3];
int i6 = -1;
if (bArr == null) {
i5++;
i4 += i5;
}
while (true) {
i6++;
bArr2[i6] = (byte) i4;
if (i6 == 0 - i3) {
objArr[0] = new String(bArr2, 0);
return;
} else {
byte b3 = bArr[i5];
i5++;
i4 += b3;
}
}
}
bq() {
}
static {
init$1();
$10 = 0;
$11 = 1;
init$0();
b();
j = 0;
g = 1;
d();
a = 0;
b = false;
e = false;
g = (j + 15) % 128;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public static final class c {
private static final byte[] $$a = null;
private static final int $$b = 0;
private static int $10;
private static int $11;
private static int a;
private static Boolean b;
private static long c;
private static int d;
private static final byte[] e = null;
private static final int j = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002a). 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 r6, int r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.facetec.sdk.bq.c.e
int r7 = r7 + 44
int r8 = r8 + 1
int r6 = 1140 - r6
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L11
r3 = r7
r4 = r2
r7 = r6
goto L2a
L11:
r3 = r2
L12:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
int r6 = r6 + 1
if (r3 != r8) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
r4 = r0[r6]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2a:
int r6 = -r6
int r3 = r3 + r6
int r6 = r3 + (-2)
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L12
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bq.c.f(int, int, int, java.lang.Object[]):void");
}
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> 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 h(byte r7, short r8, byte r9, java.lang.Object[] r10) {
/*
int r9 = r9 << 2
int r9 = 1 - r9
byte[] r0 = com.facetec.sdk.bq.c.$$a
int r7 = r7 + 4
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L11
r8 = r7
r3 = r9
r4 = r2
goto L2c
L11:
int r8 = r8 << 2
int r8 = 108 - r8
r3 = r2
r6 = r8
r8 = r7
r7 = r6
L19:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
int r8 = r8 + 1
if (r4 != r9) goto L2a
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L2a:
r3 = r0[r8]
L2c:
int r7 = r7 + r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bq.c.h(byte, short, byte, java.lang.Object[]):void");
}
private static void g(String str, int i, Object[] objArr) {
int i2 = $10 + 49;
$11 = i2 % 128;
if (i2 % 2 == 0) {
throw new ArithmeticException();
}
char[] charArray = str != null ? str.toCharArray() : str;
gl glVar = new gl();
glVar.a = i;
int length = charArray.length;
long[] jArr = new long[length];
glVar.d = 0;
while (glVar.d < charArray.length) {
int i3 = glVar.d;
try {
Object[] objArr2 = {Integer.valueOf(charArray[glVar.d]), glVar, glVar};
Object obj = bo.s.get(1148652602);
if (obj == null) {
obj = ((Class) bo.e(99 - TextUtils.lastIndexOf("", '0', 0), (char) (ViewConfiguration.getWindowTouchSlop() >> 8), (ViewConfiguration.getTapTimeout() >> 16) + 23)).getMethod("m", Integer.TYPE, Object.class, Object.class);
bo.s.put(1148652602, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (c ^ 7407976259645312022L);
try {
Object[] objArr3 = {glVar, glVar};
Object obj2 = bo.s.get(-1890124950);
if (obj2 == null) {
Class cls = (Class) bo.e(766 - KeyEvent.normalizeMetaState(0), (char) View.MeasureSpec.getMode(0), 32 - ExpandableListView.getPackedPositionGroup(0L));
Object[] objArr4 = new Object[1];
h((byte) -1, (short) 0, (byte) 0, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class, Object.class);
bo.s.put(-1890124950, obj2);
}
((Method) obj2).invoke(null, objArr3);
$10 = ($11 + 25) % 128;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
char[] cArr = new char[length];
glVar.d = 0;
while (glVar.d < charArray.length) {
int i4 = $10 + 103;
$11 = i4 % 128;
if (i4 % 2 == 0) {
cArr[glVar.d] = (char) jArr[glVar.d];
try {
Object[] objArr5 = {glVar, glVar};
Object obj3 = bo.s.get(-1890124950);
if (obj3 == null) {
Class cls2 = (Class) bo.e(765 - MotionEvent.axisFromString(""), (char) Drawable.resolveOpacity(0, 0), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 32);
Object[] objArr6 = new Object[1];
h((byte) -1, (short) 0, (byte) 0, objArr6);
obj3 = cls2.getMethod((String) objArr6[0], Object.class, Object.class);
bo.s.put(-1890124950, obj3);
}
((Method) obj3).invoke(null, objArr5);
throw null;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr[glVar.d] = (char) jArr[glVar.d];
try {
Object[] objArr7 = {glVar, glVar};
Object obj4 = bo.s.get(-1890124950);
if (obj4 == null) {
Class cls3 = (Class) bo.e(Color.rgb(0, 0, 0) + 16777982, (char) TextUtils.getCapsMode("", 0, 0), 33 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)));
Object[] objArr8 = new Object[1];
h((byte) -1, (short) 0, (byte) 0, objArr8);
obj4 = cls3.getMethod((String) objArr8[0], Object.class, Object.class);
bo.s.put(-1890124950, obj4);
}
((Method) obj4).invoke(null, objArr7);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
objArr[0] = new String(cArr);
}
static void init$0() {
$$a = new byte[]{114, -86, 9, -106};
$$b = Primes.SMALL_FACTOR_LIMIT;
}
/* JADX WARN: Failed to find 'out' block for switch in B:36:0x015d. Please report as an issue. */
/* JADX WARN: Removed duplicated region for block: B:100:0x0b4b */
/* JADX WARN: Removed duplicated region for block: B:106:0x0b73 */
/* JADX WARN: Removed duplicated region for block: B:113:0x0b9b */
/* JADX WARN: Removed duplicated region for block: B:121:0x0bae A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:54:0x0a3b */
/* JADX WARN: Removed duplicated region for block: B:64:0x0a64 */
/* JADX WARN: Removed duplicated region for block: B:70:0x0a8c */
/* JADX WARN: Removed duplicated region for block: B:76:0x0ab1 */
/* JADX WARN: Removed duplicated region for block: B:82:0x0ad9 */
/* JADX WARN: Removed duplicated region for block: B:88:0x0afe */
/* JADX WARN: Removed duplicated region for block: B:94:0x0b26 */
/* JADX WARN: Type inference failed for: r2v3, types: [int, boolean] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
static boolean c(android.content.Context r18) {
/*
Method dump skipped, instructions count: 3132
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bq.c.c(android.content.Context):boolean");
}
static void a() {
byte[] bArr = new byte[1159];
System.arraycopy("8\u0006\u009e\u0094\u0000õ\u0007ñ\u000fë\r Üñü\t\u0001û\u0004\u0000ë\r\u0007é\u00131¹\f\u0000ì\u0001\u0007óùIÉüñüDÔ!\u0003õôÜñü\t\u0001û\u0004\u0000ë\r\u0007é\u00131À\\u00057Øêô\u0001ö\u0014ýô\u0005ñ\\u0001\u0004\u00034Éòÿø\rõøDéÒÿø\\u0002\u0000ï\u001fÜ\u0011ö\u0003\u0000í\u001a!\u0003þÞÜ\u0007ù\tø÷\\u0007é\u0013çH¹\f\u0000ì\u0001\u0007óùIËêÿ\n8´A\u0003þ\u0000Ô!\u0003þÞÜ\u0007ù\tø÷\\u0000ï$ëò\u0006\u0007é\u00131¹\f\u0000ì\u0001\u0007óùIÉüñüDéÜñü\t\u0001û\u0004\u0000ë\r\u001dãüí\u0003û÷ñ\\u0001\u0004\u00034Éòÿø\rõøD¼\u0001=Üíüö\\u0000\u0016êñ\u000bø\u0000ññ\\u0001\u0004\u00034Éòÿø\rõøD¼\u0001=Üíüö\\u0000\u0016êñ\u000bø\u0000ñLÔëò\u0006\u0015Ýù,Õø\u0005\b\u001dË\u0013üóú\tøÿú\u0003ýù\u0004ýø\u0005ý÷\u0006ýö\u0007ýù\u0004ýõ\býô\týó\nýò\u000bó\týúÿ\u0002ó\týúþ\u0003ñ\u000býúý\u0004ýúü\u0005ùÿ\u0002ýúû\u0006ýúú\u0007ùþ\u0003ýúù\bùü\u0005ýúø\týú÷\nýúö\u000bùû\u0006ùú\u0007ýù\u0000\u0002ùù\býùÿ\u0003ýùþ\u0004ýùý\u0005ó\tù÷\nùö\u000býùü\u0006ýùû\u0007ø\u0000\u0002øÿ\u0003ýùú\býùù\týùø\nýù÷\u000býø\u0001\u0002øþ\u0004ýø\u0000\u0003øý\u0005ýúø\týú÷\nýøÿ\u0004ýøþ\u0005ýøý\u0006ýøü\u0007ýøû\býò\u000býøú\tøû\u0007ýøù\nýøø\u000bý÷\u0002\u0002ýøú\týù\u0004ýõ\býô\tøú\bøù\tý÷\u0001\u0003øø\nø÷\u000bøù\tý÷\u0000\u0004÷\u0001\u0002÷\u0000\u0003ýøú\\u0001\u0002÷ÿ\u0004øù\tý÷\u0000\u0004ý÷ÿ\u0005÷þ\u0005÷ý\u0006÷ÿ\u0004ý÷þ\u0006øø\n÷ÿ\u0004ý÷ý\u0007ý÷ü\bý÷û\tý÷û\tý÷ú\n÷ü\u0007÷û\b÷ÿ\u0004ý÷ù\u000bøø\n÷ÿ\u0004ýö\u0003\u0002ýö\u0002\u0003ýö\u0001\u0004÷ù\n÷ø\u000bøù\tý÷\u0000\u0004ý÷ú\\u0002\u0002ö\u0001\u0003ö\u0000\u0004ý÷ù\u000bøø\n÷ÿ\u0004ýö\u0000\u0005ýöÿ\u0006ýöþ\u0007ýöþ\u0007ýöý\böþ\u0006ýöü\tùþ\u0003ýöü\týöû\nöý\u0007ýöú\u000böü\býöú\u000býõ\u0004\u0002öû\týõ\u0003\u0003öú\nýõ\u0003\u0007é\u00131À\\u00057ãÙø\\u0000ññ\\u0001\u0004\u00034Éòÿø\rõøD¼\u0001=Üíüö\\u0000\u001aÙ\u0006õ\b\u0000÷\u000bëý\u0001\u000bð\u0001\u0002\u0001ó\u0007é\u00131Ãø?êÇ\u0003\r\"Íþ\u000fæ.Ùüùÿ\u001fÝ\u0000\u000b\u0002ò\u0007é\u00131À\\u00057êÑþ\u0001\u0005\u0002ñ\u0007é\u00131À\\u00057ÙÝ\u0000\u0007ù\u0005\u0000ï\"íüö\\u0000\u001aÙ\u0006õùø\\u0002ó\u000bþõ\u0007é\u00131À\\u00057éÙ\u0005í\u001dìòú\u000eõ\tüü\u0007ùø\u001fÝ\u0011üö\u0015à\u000füü\u0013óõ\u000e\u0014çùø\u001cóóõ\u000e\u0000û\u000eòÿö\u000fñü!Ú\u0012íü\u001fì\u0000\rã)Ý\u0000\u001dÝüó\u000bþð\u0007é\u00131¹\f\u0000ì\u0001\u0007óùIÉüñüDéÜñü\t\u0001û\u0004\u0000ë\r\u001eË\u0013üóú\tøÿñ\\u0001\u0004\u00034Åó\u000fï\u0006ý\u0004îCéÒ\u0001ûûòÿø\u0011öùù\u0003+Ç\u0003\r\"Íþ\u000fæ\u0000ï\"íüö\\u0000\u0016êñ\u000bø\u0000ññþ\u0001\u0005\u0002ñ\u0016óóõ\u000e\u0003ó÷\f\u0000ï\"íüö\\u0000\u0015ëò\u0006\u0000ï)Ùùý\u0011ñ\tüñ\\u0001\u0004\u00034¸\\u0005ó\u0006÷ÿóIÉýõ\n1éÝõ\n\u001cÜ÷þ\u001eÛ\n\u0000ë\tøÿñ\\u0001\u0004\u00034Éòÿø\rõøD¼\u0001=Ùè\u0000÷\u000bëý\u0001\u000b\u0007é\u00131Ãø?ãÙüùÿ\u001fÝ\u0000\u000b\u0002ò".getBytes(LocalizedMessage.DEFAULT_ENCODING), 0, bArr, 0, 1159);
e = bArr;
j = 245;
}
static {
init$0();
$10 = 0;
$11 = 1;
a();
d = 0;
a = 1;
c = -2128038667884798055L;
}
}
private static void m(int i2, String str, int[] iArr, String str2, Object[] objArr) {
String str3 = str2;
byte[] bArr = str3;
if (str3 != null) {
$10 = ($11 + 121) % 128;
bArr = str3.getBytes(LocalizedMessage.DEFAULT_ENCODING);
}
byte[] bArr2 = bArr;
char[] charArray = str != null ? str.toCharArray() : str;
gi giVar = new gi();
char[] cArr = c;
if (cArr != null) {
$11 = ($10 + 85) % 128;
int length = cArr.length;
char[] cArr2 = new char[length];
int i3 = 0;
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr[i3])};
Object obj = bo.s.get(1952646647);
if (obj == null) {
Class cls = (Class) bo.e(1091 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (View.combineMeasuredStates(0, 0) + 2832), View.resolveSize(0, 0) + 23);
Object[] objArr3 = new Object[1];
o((byte) 9, 0, (short) 0, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
bo.s.put(1952646647, obj);
}
cArr2[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
$11 = ($10 + 23) % 128;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
try {
Object[] objArr4 = {Integer.valueOf(d)};
Object obj2 = bo.s.get(-1943762483);
if (obj2 == null) {
Class cls2 = (Class) bo.e((Process.myTid() >> 22) + 1570, (char) (11060 - (ViewConfiguration.getScrollDefaultDelay() >> 16)), View.resolveSize(0, 0) + 23);
byte b2 = (byte) ($$e & 15);
byte b3 = (byte) (b2 - 2);
Object[] objArr5 = new Object[1];
o(b2, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
bo.s.put(-1943762483, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (i) {
giVar.d = bArr2.length;
char[] cArr3 = new char[giVar.d];
giVar.e = 0;
while (giVar.e < giVar.d) {
cArr3[giVar.e] = (char) (cArr[bArr2[(giVar.d - 1) - giVar.e] + i2] - intValue);
try {
Object[] objArr6 = {giVar, giVar};
Object obj3 = bo.s.get(655191618);
if (obj3 == null) {
Class cls3 = (Class) bo.e((ViewConfiguration.getEdgeSlop() >> 16) + 218, (char) (ViewConfiguration.getEdgeSlop() >> 16), KeyEvent.getDeadChar(0, 0) + 24);
Object[] objArr7 = new Object[1];
o((byte) 0, 0, (short) 0, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
bo.s.put(655191618, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr3);
return;
}
if (!h) {
giVar.d = iArr.length;
char[] cArr4 = new char[giVar.d];
giVar.e = 0;
while (giVar.e < giVar.d) {
cArr4[giVar.e] = (char) (cArr[iArr[(giVar.d - 1) - giVar.e] - i2] - intValue);
giVar.e++;
}
objArr[0] = new String(cArr4);
return;
}
giVar.d = charArray.length;
char[] cArr5 = new char[giVar.d];
giVar.e = 0;
while (giVar.e < giVar.d) {
cArr5[giVar.e] = (char) (cArr[charArray[(giVar.d - 1) - giVar.e] - i2] - intValue);
try {
Object[] objArr8 = {giVar, giVar};
Object obj4 = bo.s.get(655191618);
if (obj4 == null) {
Class cls4 = (Class) bo.e(TextUtils.getTrimmedLength("") + 218, (char) KeyEvent.getDeadChar(0, 0), 24 - (ViewConfiguration.getPressedStateDuration() >> 16));
Object[] objArr9 = new Object[1];
o((byte) 0, 0, (short) 0, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
bo.s.put(655191618, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
objArr[0] = new String(cArr5);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
static void init$1() {
$$d = new byte[]{82, ISOFileInfo.FCP_BYTE, 11, -109};
$$e = CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256;
}
static void init$0() {
$$a = new byte[]{77, ISOFileInfo.FILE_IDENTIFIER, ISO7816.INS_DECREASE_STAMPED, 17};
$$b = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256;
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Failed to find 'out' block for switch in B:32:0x0156. Please report as an issue. */
private static void e(Context context, int i2) {
int i3;
int i4;
int intValue;
synchronized (bq.class) {
dh dhVar = new dh(context, i2);
int i5 = 1;
Object[] objArr = new Object[1];
l((short) 999, (short) 73, (short) 393, objArr);
String str = (String) objArr[0];
char c2 = 5;
Object[] objArr2 = new Object[1];
l((short) 579, (byte) (f[2524] - 1), r5[5], objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
char c3 = 22;
Object[] objArr4 = new Object[1];
l((short) 2117, r5[17], r5[22], objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
l((short) 2144, r5[121], r5[40], objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l((short) 2117, r5[17], r5[22], objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i6 = 0;
while (i6 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i6]};
byte[] bArr = f;
Object[] objArr9 = new Object[i5];
l((short) 2283, bArr[17], bArr[24], objArr9);
Class<?> cls2 = Class.forName((String) objArr9[0]);
Object[] objArr10 = new Object[i5];
l((short) 1140, bArr[c2], bArr[8], objArr10);
String str3 = (String) objArr10[0];
Class<?>[] clsArr = new Class[i5];
byte b2 = bArr[17];
short s = bArr[c3];
Object[] objArr11 = new Object[i5];
l((short) 2117, b2, s, objArr11);
clsArr[0] = Class.forName((String) objArr11[0]);
Object invoke = cls2.getMethod(str3, clsArr).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
l((short) 1134, bArr[20], bArr[51], objArr13);
iArr[i6] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i6++;
i5 = 1;
c2 = 5;
c3 = 22;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i7 = 0;
while (true) {
switch (dhVar.d(iArr[i7])) {
case -51:
i7 = 110;
case -50:
dhVar.d(19);
int i8 = dhVar.c;
if (i8 != 0) {
if (i8 == 1) {
i7 = 20;
}
}
case -49:
i7 = 105;
case -48:
dhVar.d(19);
i7 = dhVar.c != 0 ? 13 : 15;
case -47:
i7 = 100;
case -46:
dhVar.d(19);
i7 = dhVar.c != 0 ? 46 : 75;
case -45:
i7 = 33;
case -44:
i7 = 86;
case -43:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 85;
}
i7++;
case CaptureActivity.IMAGE_CAPTURED /* -42 */:
i7 = 51;
case -41:
i7 = 74;
case -40:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 73;
}
i7++;
case -39:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
j = dhVar.c;
i7++;
case -38:
i3 = g;
dhVar.a = i3;
dhVar.d(9);
i7++;
case -37:
i7 = 1;
case -36:
i7 = 65;
case -35:
dhVar.d(47);
if (dhVar.c == 0) {
i7 = 64;
}
i7++;
case -34:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
g = dhVar.c;
i7++;
case -33:
i3 = j;
dhVar.a = i3;
dhVar.d(9);
i7++;
case -32:
i7 = 55;
case -31:
case -30:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Context context2 = (Context) dhVar.f;
dhVar.d(11);
d(context2, dhVar.c != 0);
i7++;
case -29:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
a = dhVar.c;
i7++;
case -28:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
i3 = ((Class) bo.e(KeyEvent.getDeadChar(0, 0) + 26, (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 32560), View.resolveSizeAndState(0, 0, 0) + 26)).getField("i").getInt(dhVar.f);
dhVar.a = i3;
dhVar.d(9);
i7++;
case -27:
dhVar.h = ((Class) bo.e(26 - Color.red(0), (char) (View.resolveSize(0, 0) + 32560), 26 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getField("h").get(null);
dhVar.d(4);
i7++;
case -26:
i4 = a;
dhVar.a = i4;
dhVar.d(9);
i7++;
case -25:
try {
byte[] bArr2 = f;
Object[] objArr14 = new Object[1];
l((short) 2206, bArr2[898], bArr2[874], objArr14);
Class<?> cls4 = Class.forName((String) objArr14[0]);
Object[] objArr15 = new Object[1];
l((short) k, bArr2[22], bArr2[1974], objArr15);
i4 = ((Integer) cls4.getMethod((String) objArr15[0], null).invoke(null, null)).intValue();
dhVar.a = i4;
dhVar.d(9);
i7++;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
case -24:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
try {
Object[] objArr16 = {Integer.valueOf(dhVar.c)};
byte[] bArr3 = f;
Object[] objArr17 = new Object[1];
l((short) 2267, bArr3[898], bArr3[1136], objArr17);
Class<?> cls5 = Class.forName((String) objArr17[0]);
Object[] objArr18 = new Object[1];
l((short) 2084, bArr3[22], bArr3[8], objArr18);
intValue = ((Integer) cls5.getMethod((String) objArr18[0], Integer.TYPE).invoke(null, objArr16)).intValue();
dhVar.a = intValue;
dhVar.d(9);
i7++;
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
case IpLibUtil.KIPP_BAD_HANDLE /* -23 */:
i7 = 101;
case IpLibUtil.KIPP_FILE_METADATA_ERROR /* -22 */:
i7 = 103;
case IpLibUtil.KIPP_READING_USER_NETWORK_ERROR /* -21 */:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 32;
}
i7++;
case IpLibUtil.KIPP_BAD_SPEED_ACCURACY_ERROR /* -20 */:
i7 = 66;
case IpLibUtil.KIPP_PDF_TOO_LARGE_TO_APPEND /* -19 */:
i7 = 30;
case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */:
i7 = 28;
case IpLibUtil.KIPP_BAD_PDF /* -17 */:
i7 = 26;
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
dhVar.d(84);
if (dhVar.c == 0) {
i7 = 25;
}
i7++;
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
try {
Object[] objArr19 = {Integer.valueOf(dhVar.c)};
Object obj = bo.s.get(555095220);
if (obj == null) {
Class cls6 = (Class) bo.e((ViewConfiguration.getKeyRepeatDelay() >> 16) + CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 23 - Color.blue(0));
Object[] objArr20 = new Object[1];
n((short) 0, (short) 0, 0, objArr20);
obj = cls6.getMethod((String) objArr20[0], Integer.TYPE);
bo.s.put(555095220, obj);
}
intValue = ((Integer) ((Method) obj).invoke(null, objArr19)).intValue();
dhVar.a = intValue;
dhVar.d(9);
i7++;
} catch (Throwable th5) {
Throwable cause5 = th5.getCause();
if (cause5 == null) {
throw th5;
}
throw cause5;
}
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
i7 = 111;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
i7 = 113;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 19;
}
i7++;
case -11:
i7 = 17;
case -10:
i7 = 106;
case -9:
i7 = 108;
case -8:
dhVar.d(84);
if (dhVar.c == 0) {
i7 = 12;
}
i7++;
case -7:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Context context3 = (Context) dhVar.f;
dhVar.d(11);
try {
Object[] objArr21 = {context3, Integer.valueOf(dhVar.c)};
Object obj2 = bo.s.get(-1728543431);
if (obj2 == null) {
Class cls7 = (Class) bo.e(195 - View.MeasureSpec.getMode(0), (char) ((Process.getThreadPriority(0) + 20) >> 6), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 23);
Object[] objArr22 = new Object[1];
n((short) 0, (short) 0, 3, objArr22);
obj2 = cls7.getMethod((String) objArr22[0], Context.class, Integer.TYPE);
bo.s.put(-1728543431, obj2);
}
intValue = ((Integer) ((Method) obj2).invoke(null, objArr21)).intValue();
dhVar.a = intValue;
dhVar.d(9);
i7++;
} catch (Throwable th6) {
Throwable cause6 = th6.getCause();
if (cause6 == null) {
throw th6;
}
throw cause6;
}
case -6:
break;
case -5:
i7 = 7;
case -4:
i7 = 6;
case -3:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 5;
}
i7++;
case -2:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
dhVar.a = c.c((Context) dhVar.f) ? 1 : 0;
dhVar.d(9);
i7++;
case -1:
i7 = 47;
default:
i7++;
}
}
} catch (Throwable th7) {
Throwable cause7 = th7.getCause();
if (cause7 == null) {
throw th7;
}
throw cause7;
}
}
}
/* JADX INFO: Access modifiers changed from: private */
/* JADX WARN: Failed to find 'out' block for switch in B:31:0x0146. Please report as an issue. */
public static /* synthetic */ void e(Context context) {
dh dhVar = new dh(context);
Object[] objArr = new Object[1];
l((short) 1127, (short) 73, (short) 118, objArr);
String str = (String) objArr[0];
char c2 = 5;
Object[] objArr2 = new Object[1];
l((short) 579, (byte) (f[2524] - 1), r4[5], objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
char c3 = 22;
Object[] objArr4 = new Object[1];
l((short) 2117, r4[17], r4[22], objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
l((short) 2144, r4[121], r4[40], objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l((short) 2117, r4[17], r4[22], objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i2 = 0;
while (i2 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i2]};
byte[] bArr = f;
Object[] objArr9 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr9);
Class<?> cls2 = Class.forName((String) objArr9[0]);
Object[] objArr10 = new Object[1];
l((short) 1140, bArr[c2], bArr[8], objArr10);
String str3 = (String) objArr10[0];
byte b2 = bArr[17];
short s = bArr[c3];
Object[] objArr11 = new Object[1];
l((short) 2117, b2, s, objArr11);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr11[0])).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
l((short) 1134, bArr[20], bArr[51], objArr13);
iArr[i2] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i2++;
c2 = 5;
c3 = 22;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i3 = 0;
while (true) {
int i4 = i3 + 1;
try {
} catch (Throwable th3) {
if (i4 < 30 || i4 > 33) {
throw th3;
}
dhVar.h = th3;
dhVar.d(97);
i3 = 28;
}
switch (dhVar.d(iArr[i3])) {
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
i3 = 33;
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
dhVar.d(19);
int i5 = dhVar.c;
i3 = (i5 == 0 || i5 != 1) ? 9 : 29;
break;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
dhVar.d(94);
throw ((Throwable) dhVar.f);
break;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
i3 = 34;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
i3 = 36;
case -11:
dhVar.d(14);
i3 = dhVar.c == 0 ? 27 : i4;
case -10:
i3 = 1;
case -9:
i3 = 19;
case -8:
dhVar.d(14);
if (dhVar.c == 0) {
i3 = 18;
}
case -7:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
j = dhVar.c;
case -6:
dhVar.a = g;
dhVar.d(9);
case -5:
return;
case -4:
i3 = 11;
case -3:
i3 = 20;
case -2:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Context context2 = (Context) dhVar.f;
dhVar.d(11);
d(context2, dhVar.c != 0);
case -1:
i3 = 4;
default:
}
}
} catch (Throwable th4) {
Throwable cause3 = th4.getCause();
if (cause3 == null) {
throw th4;
}
throw cause3;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Failed to find 'out' block for switch in B:32:0x0155. Please report as an issue. */
/* JADX WARN: Multi-variable type inference failed */
public static void d(String str) {
int i2;
int i3;
Object obj;
int i4;
int i5;
String str2;
Object obj2;
int i6;
String str3;
synchronized (bq.class) {
dh dhVar = new dh(str);
int i7 = 1;
Object[] objArr = new Object[1];
l((short) 3019, (short) 73, (short) 687, objArr);
String str4 = (String) objArr[0];
char c2 = 5;
Object[] objArr2 = new Object[1];
l((short) 579, (byte) (f[2524] - 1), r5[5], objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
char c3 = 22;
Object[] objArr4 = new Object[1];
l((short) 2117, r5[17], r5[22], objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
l((short) 2144, r5[121], r5[40], objArr5);
String str5 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l((short) 2117, r5[17], r5[22], objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str5, Class.forName((String) objArr6[0])).invoke(str4, objArr3);
int[] iArr = new int[objArr7.length];
int i8 = 0;
while (i8 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i8]};
byte[] bArr = f;
Object[] objArr9 = new Object[i7];
l((short) 2283, bArr[17], bArr[24], objArr9);
Class<?> cls2 = Class.forName((String) objArr9[0]);
Object[] objArr10 = new Object[i7];
l((short) 1140, bArr[c2], bArr[8], objArr10);
String str6 = (String) objArr10[0];
Class<?>[] clsArr = new Class[i7];
byte b2 = bArr[17];
short s = bArr[c3];
Object[] objArr11 = new Object[i7];
l((short) 2117, b2, s, objArr11);
clsArr[0] = Class.forName((String) objArr11[0]);
Object invoke = cls2.getMethod(str6, clsArr).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
l((short) 1134, bArr[20], bArr[51], objArr13);
iArr[i8] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i8++;
i7 = 1;
c2 = 5;
c3 = 22;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i9 = 0;
while (true) {
int i10 = i9 + 1;
switch (dhVar.d(iArr[i9])) {
case -69:
i9 = 198;
case -68:
dhVar.d(19);
i9 = dhVar.c != 0 ? 101 : 49;
case -67:
i9 = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256;
case IpLibUtil.KIPP_INCONSISTENT_BW_TRANSITIONS_ERROR /* -66 */:
dhVar.d(19);
int i11 = dhVar.c;
i9 = (i11 == 0 || i11 != 1) ? CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256 : CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA;
break;
case -65:
i9 = 188;
case -64:
dhVar.d(19);
if (dhVar.c != 0) {
i9 = CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256;
}
case -63:
i9 = CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384;
case -62:
dhVar.d(19);
if (dhVar.c != 67) {
i9 = 80;
}
case -61:
i9 = 64;
case -60:
i9 = CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384;
case -59:
dhVar.d(14);
i9 = dhVar.c == 0 ? CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256 : i10;
case -58:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
j = dhVar.c;
i9 = i10;
case -57:
i2 = 9;
i3 = g;
dhVar.a = i3;
dhVar.d(i2);
i9 = i10;
case -56:
i9 = CipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256;
case -55:
i9 = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256;
case -54:
dhVar.d(47);
if (dhVar.c == 0) {
i9 = CipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384;
}
case -53:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
g = dhVar.c;
i9 = i10;
case -52:
i2 = 9;
i3 = j;
dhVar.a = i3;
dhVar.d(i2);
i9 = i10;
case -51:
i9 = 1;
case -50:
case -49:
dhVar.h = ((Class) bo.e(26 - View.MeasureSpec.getMode(0), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 32559), TextUtils.lastIndexOf("", '0') + 27)).getField("a").get(null);
i2 = 4;
dhVar.d(i2);
i9 = i10;
case -48:
i9 = CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA;
case -47:
obj = ((Class) bo.e(Color.green(0) + 26, (char) (32560 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))), TextUtils.getOffsetAfter("", 0) + 26)).getField("b").get(null);
dhVar.h = obj;
dhVar.d(4);
i9 = i10;
case -46:
obj = ((Class) bo.e(View.MeasureSpec.getMode(0) + 26, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 32559), View.MeasureSpec.getMode(0) + 26)).getField("e").get(null);
dhVar.h = obj;
dhVar.d(4);
i9 = i10;
case -45:
obj = ((Class) bo.e(TextUtils.getTrimmedLength("") + 26, (char) (Drawable.resolveOpacity(0, 0) + 32560), View.combineMeasuredStates(0, 0) + 26)).getField("c").get(null);
dhVar.h = obj;
dhVar.d(4);
i9 = i10;
case -44:
obj = ((Class) bo.e(TextUtils.lastIndexOf("", '0', 0, 0) + 27, (char) (TextUtils.getOffsetBefore("", 0) + 32560), 26 - TextUtils.indexOf("", ""))).getField("h").get(null);
dhVar.h = obj;
dhVar.d(4);
i9 = i10;
case -43:
break;
case CaptureActivity.IMAGE_CAPTURED /* -42 */:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
a = dhVar.c;
i9 = i10;
case -41:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
i4 = ((Class) bo.e(27 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (32560 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), (ViewConfiguration.getTapTimeout() >> 16) + 26)).getDeclaredField("i").getInt(dhVar.f);
dhVar.a = i4;
dhVar.d(9);
i9 = i10;
case -40:
obj = ((Class) bo.e(25 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (32560 - (ViewConfiguration.getFadingEdgeLength() >> 16)), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 26)).getField("j").get(null);
dhVar.h = obj;
dhVar.d(4);
i9 = i10;
case -39:
i4 = a;
dhVar.a = i4;
dhVar.d(9);
i9 = i10;
case -38:
dhVar.d(19);
int i12 = dhVar.c;
i9 = i12 != 0 ? i12 != 1 ? i12 != 2 ? i12 != 3 ? i12 != 4 ? i12 != 5 ? CipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA : 133 : 127 : 121 : 115 : 109 : 103;
case -37:
i9 = 98;
case -36:
dhVar.d(14);
if (dhVar.c == 0) {
i9 = 97;
}
case -35:
dhVar.h = "\u0086";
dhVar.d(4);
i9 = i10;
case -34:
dhVar.a = 3;
dhVar.d(2);
dhVar.d(3);
Object obj3 = dhVar.f;
dhVar.d(11);
char c4 = (char) dhVar.c;
dhVar.d(11);
try {
Object[] objArr14 = {obj3, Character.valueOf(c4), Integer.valueOf(dhVar.c)};
byte[] bArr2 = f;
byte b3 = bArr2[898];
Object[] objArr15 = new Object[1];
l((short) 606, b3, b3, objArr15);
Class<?> cls4 = Class.forName((String) objArr15[0]);
byte b4 = bArr2[6];
Object[] objArr16 = new Object[1];
l((short) 159, b4, b4, objArr16);
String str7 = (String) objArr16[0];
Object[] objArr17 = new Object[1];
l((short) 1161, bArr2[17], bArr2[898], objArr17);
dhVar.a = ((Integer) cls4.getMethod(str7, Class.forName((String) objArr17[0]), Character.TYPE, Integer.TYPE).invoke(null, objArr14)).intValue();
i5 = 9;
dhVar.d(i5);
i9 = i10;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
case -33:
i9 = CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256;
case -32:
i9 = CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256;
case -31:
dhVar.d(14);
if (dhVar.c == 0) {
i9 = 79;
}
case -30:
dhVar.h = "\u0085";
dhVar.d(4);
i9 = i10;
case -29:
dhVar.a = 3;
dhVar.d(2);
dhVar.d(3);
Object obj4 = dhVar.f;
dhVar.d(3);
Object obj5 = dhVar.f;
dhVar.d(11);
try {
Object[] objArr18 = {obj4, obj5, Integer.valueOf(dhVar.c)};
byte b5 = f[898];
Object[] objArr19 = new Object[1];
l((short) 606, b5, b5, objArr19);
Class<?> cls5 = Class.forName((String) objArr19[0]);
Object[] objArr20 = new Object[1];
l((short) 1992, r9[20], r9[8], objArr20);
String str8 = (String) objArr20[0];
Object[] objArr21 = new Object[1];
l((short) 1161, r9[17], r9[898], objArr21);
Object[] objArr22 = new Object[1];
l((short) 1161, r9[17], r9[898], objArr22);
dhVar.a = ((Integer) cls5.getMethod(str8, Class.forName((String) objArr21[0]), Class.forName((String) objArr22[0]), Integer.TYPE).invoke(null, objArr18)).intValue();
i5 = 9;
dhVar.d(i5);
i9 = i10;
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
case -28:
str2 = "";
dhVar.h = str2;
dhVar.d(4);
i9 = i10;
case -27:
i10 = CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256;
i9 = i10;
case -26:
i10 = CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256;
i9 = i10;
case -25:
dhVar.d(14);
if (dhVar.c == 0) {
i10 = 63;
i9 = i10;
}
case -24:
str2 = "\u0084";
dhVar.h = str2;
dhVar.d(4);
i9 = i10;
case IpLibUtil.KIPP_BAD_HANDLE /* -23 */:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
try {
Object[] objArr23 = {Integer.valueOf(dhVar.c)};
byte[] bArr3 = f;
Object[] objArr24 = new Object[1];
l((short) 2267, bArr3[898], bArr3[1136], objArr24);
Class<?> cls6 = Class.forName((String) objArr24[0]);
Object[] objArr25 = new Object[1];
l((short) 2084, bArr3[22], bArr3[8], objArr25);
dhVar.a = ((Integer) cls6.getMethod((String) objArr25[0], Integer.TYPE).invoke(null, objArr23)).intValue();
dhVar.d(9);
i9 = i10;
} catch (Throwable th5) {
Throwable cause5 = th5.getCause();
if (cause5 == null) {
throw th5;
}
throw cause5;
}
case IpLibUtil.KIPP_FILE_METADATA_ERROR /* -22 */:
i9 = 199;
case IpLibUtil.KIPP_READING_USER_NETWORK_ERROR /* -21 */:
i9 = 201;
case IpLibUtil.KIPP_BAD_SPEED_ACCURACY_ERROR /* -20 */:
dhVar.d(14);
if (dhVar.c == 0) {
i9 = 48;
}
case IpLibUtil.KIPP_PDF_TOO_LARGE_TO_APPEND /* -19 */:
obj2 = "\u0083";
dhVar.h = obj2;
dhVar.d(4);
i9 = i10;
case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */:
try {
byte b6 = f[898];
Object[] objArr26 = new Object[1];
l((short) 2319, b6, b6, objArr26);
Class<?> cls7 = Class.forName((String) objArr26[0]);
Object[] objArr27 = new Object[1];
l((short) 2171, r2[31], r2[14], objArr27);
dhVar.b = ((Long) cls7.getMethod((String) objArr27[0], null).invoke(null, null)).longValue();
dhVar.d(21);
i9 = i10;
} catch (Throwable th6) {
Throwable cause6 = th6.getCause();
if (cause6 == null) {
throw th6;
}
throw cause6;
}
case IpLibUtil.KIPP_BAD_PDF /* -17 */:
i9 = 151;
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
i9 = 34;
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
dhVar.d(14);
if (dhVar.c == 0) {
i9 = 33;
}
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
obj2 = "\u0082";
dhVar.h = obj2;
dhVar.d(4);
i9 = i10;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
try {
byte[] bArr4 = f;
Object[] objArr28 = new Object[1];
l((short) 2206, bArr4[898], bArr4[874], objArr28);
Class<?> cls8 = Class.forName((String) objArr28[0]);
Object[] objArr29 = new Object[1];
l((short) 2102, bArr4[22], bArr4[804], objArr29);
i6 = ((Integer) cls8.getMethod((String) objArr29[0], null).invoke(null, null)).intValue();
dhVar.a = i6;
dhVar.d(9);
i9 = i10;
} catch (Throwable th7) {
Throwable cause7 = th7.getCause();
if (cause7 == null) {
throw th7;
}
throw cause7;
}
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
i9 = CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA;
case -11:
case -10:
i9 = 18;
case -9:
dhVar.d(14);
if (dhVar.c == 0) {
i9 = 17;
}
case -8:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Object obj6 = dhVar.f;
dhVar.d(3);
i6 = obj6.equals(dhVar.f);
dhVar.a = i6;
dhVar.d(9);
i9 = i10;
case -7:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
Object obj7 = dhVar.f;
try {
byte[] bArr5 = f;
Object[] objArr30 = new Object[1];
l((short) 2117, bArr5[17], bArr5[22], objArr30);
Class<?> cls9 = Class.forName((String) objArr30[0]);
Object[] objArr31 = new Object[1];
l((short) 1187, bArr5[20], bArr5[59], objArr31);
obj2 = cls9.getMethod((String) objArr31[0], null).invoke(obj7, null);
dhVar.h = obj2;
dhVar.d(4);
i9 = i10;
} catch (Throwable th8) {
Throwable cause8 = th8.getCause();
if (cause8 == null) {
throw th8;
}
throw cause8;
}
case -6:
dhVar.a = 4;
dhVar.d(2);
dhVar.d(11);
int i13 = dhVar.c;
dhVar.d(3);
String str9 = (String) dhVar.f;
dhVar.d(3);
int[] iArr2 = (int[]) dhVar.f;
dhVar.d(3);
Object[] objArr32 = new Object[1];
m(i13, str9, iArr2, (String) dhVar.f, objArr32);
str3 = (String) objArr32[0];
dhVar.h = str3;
dhVar.d(4);
i9 = i10;
case -5:
str3 = "\u0081";
dhVar.h = str3;
dhVar.d(4);
i9 = i10;
case -4:
try {
byte[] bArr6 = f;
Object[] objArr33 = new Object[1];
l((short) 2206, bArr6[898], bArr6[874], objArr33);
Class<?> cls10 = Class.forName((String) objArr33[0]);
Object[] objArr34 = new Object[1];
l((short) 1182, bArr6[22], bArr6[898], objArr34);
dhVar.b = ((Long) cls10.getMethod((String) objArr34[0], null).invoke(null, null)).longValue();
dhVar.d(21);
i9 = i10;
} catch (Throwable th9) {
Throwable cause9 = th9.getCause();
if (cause9 == null) {
throw th9;
}
throw cause9;
}
case -3:
dhVar.d(19);
int i14 = dhVar.c;
if (i14 == 97) {
i9 = 6;
} else if (i14 == 104) {
i9 = 51;
} else if (i14 == 114) {
i9 = 66;
} else if (i14 == 118) {
i9 = 83;
} else if (i14 == 100) {
i9 = 20;
} else if (i14 == 101) {
i9 = 37;
}
case -2:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
dhVar.a = dhVar.f.hashCode();
dhVar.d(9);
i9 = i10;
case -1:
i9 = CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA;
default:
i9 = i10;
}
}
} catch (Throwable th10) {
Throwable cause10 = th10.getCause();
if (cause10 == null) {
throw th10;
}
throw cause10;
}
}
}
/* JADX WARN: Failed to find 'out' block for switch in B:32:0x0153. Please report as an issue. */
/* JADX WARN: Multi-variable type inference failed */
private static void d(Context context, boolean z) {
int i2;
char c2;
int i3;
String str;
Object invoke;
int i4;
synchronized (bq.class) {
dh dhVar = new dh(context, z ? 1 : 0);
int i5 = 1;
Object[] objArr = new Object[1];
l((short) 1986, (short) 73, (short) 655, objArr);
String str2 = (String) objArr[0];
char c3 = 5;
Object[] objArr2 = new Object[1];
l((short) 579, (byte) (f[2524] - 1), r5[5], objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
char c4 = 22;
Object[] objArr4 = new Object[1];
l((short) 2117, r5[17], r5[22], objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
l((short) 2144, r5[121], r5[40], objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l((short) 2117, r5[17], r5[22], objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str3, Class.forName((String) objArr6[0])).invoke(str2, objArr3);
int[] iArr = new int[objArr7.length];
int i6 = 0;
while (i6 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i6]};
byte[] bArr = f;
Object[] objArr9 = new Object[i5];
l((short) 2283, bArr[17], bArr[24], objArr9);
Class<?> cls2 = Class.forName((String) objArr9[0]);
Object[] objArr10 = new Object[i5];
l((short) 1140, bArr[c3], bArr[8], objArr10);
String str4 = (String) objArr10[0];
Class<?>[] clsArr = new Class[i5];
byte b2 = bArr[17];
short s = bArr[c4];
Object[] objArr11 = new Object[i5];
l((short) 2117, b2, s, objArr11);
clsArr[0] = Class.forName((String) objArr11[0]);
Object invoke2 = cls2.getMethod(str4, clsArr).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
l((short) 1134, bArr[20], bArr[51], objArr13);
iArr[i6] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke2, null)).intValue();
i6++;
i5 = 1;
c3 = 5;
c4 = 22;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i7 = 0;
while (true) {
switch (dhVar.d(iArr[i7])) {
case -85:
i7 = CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256;
case -84:
dhVar.d(19);
int i8 = dhVar.c;
if (i8 != 0 && i8 == 1) {
i7 = 86;
}
i7 = 124;
break;
case -83:
i7 = CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384;
case -82:
dhVar.d(19);
i7 = dhVar.c != 38 ? 63 : 103;
case -81:
i7 = CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256;
case -80:
dhVar.d(19);
if (dhVar.c == 28) {
i7 = 136;
}
case -79:
i7 = CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384;
case -78:
dhVar.d(19);
i7 = dhVar.c != 3 ? 46 : 21;
case -77:
i7 = 100;
case -76:
i7 = CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256;
case -75:
dhVar.d(14);
i7 = dhVar.c == 0 ? CipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384 : i7 + 1;
case -74:
i7 = 96;
case -73:
i7 = CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA;
case -72:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 153;
}
case -71:
i7 = 60;
case -70:
i7 = CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA;
case -69:
dhVar.d(47);
if (dhVar.c == 0) {
i7 = CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA;
}
case -68:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
g = dhVar.c;
case -67:
i2 = j;
dhVar.a = i2;
dhVar.d(9);
case IpLibUtil.KIPP_INCONSISTENT_BW_TRANSITIONS_ERROR /* -66 */:
i7 = 83;
case -65:
i7 = 135;
case -64:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 134;
}
case -63:
i7 = 74;
case -62:
i7 = 123;
case -61:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 122;
}
case -60:
i7 = 55;
case -59:
i7 = 112;
case -58:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 111;
}
case -57:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
j = dhVar.c;
case -56:
i2 = g;
dhVar.a = i2;
dhVar.d(9);
case -55:
case -54:
break;
case -53:
i7 = 1;
case -52:
i7 = 94;
case -51:
i7 = CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA;
case -50:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
e = dhVar.c != 0;
case -49:
i7 = CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384;
case -48:
i7 = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256;
case -47:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 82;
}
case -46:
i7 = 86;
case -45:
dhVar.d(47);
if (dhVar.c == 0) {
i7 = 77;
}
case -44:
i2 = e;
dhVar.a = i2;
dhVar.d(9);
case -43:
i7 = 78;
case CaptureActivity.IMAGE_CAPTURED /* -42 */:
i7 = 113;
case -41:
dhVar.d(47);
if (dhVar.c == 0) {
i7 = 73;
}
case -40:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
d((Context) dhVar.f);
case -39:
i7 = 70;
case -38:
i7 = 67;
case -37:
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 66;
}
case -36:
i7 = 91;
case -35:
i7 = CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384;
case -34:
i7 = CipherSuite.TLS_PSK_WITH_NULL_SHA384;
case -33:
dhVar.d(47);
if (dhVar.c == 0) {
i7 = 59;
}
case -32:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
i2 = cg.b(dhVar.c);
dhVar.a = i2;
dhVar.d(9);
case -31:
i7 = CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256;
case -30:
i7 = CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256;
case -29:
dhVar.d(67);
if (dhVar.c == 0) {
i7 = 54;
}
case -28:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
b = dhVar.c != 0;
case -27:
i7 = CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA;
case -26:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
a = dhVar.c;
case -25:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
i2 = ((Class) bo.e(25 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (32559 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), 26 - View.MeasureSpec.makeMeasureSpec(0, 0))).getField("i").getInt(dhVar.f);
dhVar.a = i2;
dhVar.d(9);
case -24:
dhVar.h = ((Class) bo.e(26 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (32560 - (Process.myTid() >> 22)), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 26)).getField(KtaJsonExactionHelper.OBJECT).get(null);
dhVar.d(4);
case IpLibUtil.KIPP_BAD_HANDLE /* -23 */:
c2 = 2117;
i3 = a;
dhVar.a = i3;
dhVar.d(9);
case IpLibUtil.KIPP_FILE_METADATA_ERROR /* -22 */:
i7 = 44;
case IpLibUtil.KIPP_READING_USER_NETWORK_ERROR /* -21 */:
i7 = 38;
case IpLibUtil.KIPP_BAD_SPEED_ACCURACY_ERROR /* -20 */:
c2 = 2117;
dhVar.d(14);
if (dhVar.c == 0) {
i7 = 37;
}
case IpLibUtil.KIPP_PDF_TOO_LARGE_TO_APPEND /* -19 */:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Object obj = dhVar.f;
dhVar.d(3);
try {
Object[] objArr14 = {dhVar.f};
byte[] bArr2 = f;
Object[] objArr15 = new Object[1];
l((short) 2117, bArr2[17], bArr2[22], objArr15);
Class<?> cls4 = Class.forName((String) objArr15[0]);
Object[] objArr16 = new Object[1];
l(bArr2[5], bArr2[121], bArr2[4], objArr16);
String str5 = (String) objArr16[0];
Object[] objArr17 = new Object[1];
c2 = 2117;
l((short) 2117, bArr2[17], bArr2[22], objArr17);
i3 = ((Boolean) cls4.getMethod(str5, Class.forName((String) objArr17[0])).invoke(obj, objArr14)).booleanValue();
dhVar.a = i3;
dhVar.d(9);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
Object obj2 = dhVar.f;
try {
byte[] bArr3 = f;
Object[] objArr18 = new Object[1];
l((short) 2117, bArr3[17], bArr3[22], objArr18);
Class<?> cls5 = Class.forName((String) objArr18[0]);
Object[] objArr19 = new Object[1];
l((short) 1187, bArr3[20], bArr3[59], objArr19);
dhVar.h = cls5.getMethod((String) objArr19[0], null).invoke(obj2, null);
dhVar.d(4);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
case IpLibUtil.KIPP_BAD_PDF /* -17 */:
dhVar.a = 4;
dhVar.d(2);
dhVar.d(11);
int i9 = dhVar.c;
dhVar.d(3);
String str6 = (String) dhVar.f;
dhVar.d(3);
int[] iArr2 = (int[]) dhVar.f;
dhVar.d(3);
Object[] objArr20 = new Object[1];
m(i9, str6, iArr2, (String) dhVar.f, objArr20);
str = (String) objArr20[0];
dhVar.h = str;
dhVar.d(4);
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
str = "\u0089\u0088\u0087";
dhVar.h = str;
dhVar.d(4);
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(11);
int i10 = dhVar.c;
dhVar.d(11);
try {
Object[] objArr21 = {Integer.valueOf(i10), Integer.valueOf(dhVar.c)};
int i11 = k;
byte[] bArr4 = f;
Object[] objArr22 = new Object[1];
l((short) (i11 | 2058), bArr4[898], (short) (i11 & 107), objArr22);
Class<?> cls6 = Class.forName((String) objArr22[0]);
Object[] objArr23 = new Object[1];
l((short) 2332, bArr4[40], bArr4[20], objArr23);
dhVar.a = ((Integer) cls6.getMethod((String) objArr23[0], Integer.TYPE, Integer.TYPE).invoke(null, objArr21)).intValue();
dhVar.d(9);
} catch (Throwable th5) {
Throwable cause5 = th5.getCause();
if (cause5 == null) {
throw th5;
}
throw cause5;
}
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
Object obj3 = dhVar.f;
try {
byte[] bArr5 = f;
Object[] objArr24 = new Object[1];
l((short) 2117, bArr5[17], bArr5[22], objArr24);
Class<?> cls7 = Class.forName((String) objArr24[0]);
Object[] objArr25 = new Object[1];
l((short) 1009, bArr5[224], bArr5[6], objArr25);
invoke = cls7.getMethod((String) objArr25[0], null).invoke(obj3, null);
dhVar.h = invoke;
dhVar.d(4);
} catch (Throwable th6) {
Throwable cause6 = th6.getCause();
if (cause6 == null) {
throw th6;
}
throw cause6;
}
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
i7 = CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
i7 = CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256;
case -11:
dhVar.d(59);
if (dhVar.c == 0) {
i7 = 20;
}
case -10:
i7 = 17;
case -9:
byte[] bArr6 = f;
Object[] objArr26 = new Object[1];
l((short) 2078, bArr6[898], bArr6[22], objArr26);
Class<?> cls8 = Class.forName((String) objArr26[0]);
Object[] objArr27 = new Object[1];
l((short) 2157, bArr6[2121], bArr6[20], objArr27);
invoke = cls8.getField((String) objArr27[0]).get(null);
dhVar.h = invoke;
dhVar.d(4);
case -8:
i7 = 10;
case -7:
dhVar.d(54);
if (dhVar.c == 0) {
i7 = 9;
}
case -6:
byte[] bArr7 = f;
Object[] objArr28 = new Object[1];
l((short) 2140, bArr7[898], bArr7[866], objArr28);
Class<?> cls9 = Class.forName((String) objArr28[0]);
Object[] objArr29 = new Object[1];
l((short) 2177, bArr7[2121], bArr7[8], objArr29);
i4 = cls9.getField((String) objArr29[0]).getInt(null);
dhVar.a = i4;
dhVar.d(9);
case -5:
case -4:
i7 = 5;
case -3:
dhVar.d(47);
if (dhVar.c == 0) {
i7 = 4;
}
case -2:
i4 = b;
dhVar.a = i4;
dhVar.d(9);
case -1:
i7 = 87;
default:
}
}
} catch (Throwable th7) {
Throwable cause7 = th7.getCause();
if (cause7 == null) {
throw th7;
}
throw cause7;
}
}
}
/* JADX WARN: Failed to find 'out' block for switch in B:33:0x014d. Please report as an issue. */
private static void d(Context context) {
int i2;
Object b2;
Object obj;
int intValue;
synchronized (bq.class) {
dh dhVar = new dh(context);
int i3 = 1;
Object[] objArr = new Object[1];
l((short) 579, (short) 73, (short) 398, objArr);
String str = (String) objArr[0];
Object[] objArr2 = new Object[1];
l((short) 579, (byte) (f[2524] - 1), r7[5], objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
char c2 = 22;
Object[] objArr4 = new Object[1];
l((short) 2117, r7[17], r7[22], objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
l((short) 2144, r7[121], r7[40], objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l((short) 2117, r7[17], r7[22], objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i4 = 0;
while (i4 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i4]};
byte[] bArr = f;
Object[] objArr9 = new Object[i3];
l((short) 2283, bArr[17], bArr[24], objArr9);
Class<?> cls2 = Class.forName((String) objArr9[0]);
Object[] objArr10 = new Object[i3];
l((short) 1140, bArr[5], bArr[8], objArr10);
String str3 = (String) objArr10[0];
Class<?>[] clsArr = new Class[i3];
byte b3 = bArr[17];
short s = bArr[c2];
Object[] objArr11 = new Object[i3];
l((short) 2117, b3, s, objArr11);
clsArr[0] = Class.forName((String) objArr11[0]);
Object invoke = cls2.getMethod(str3, clsArr).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
l((short) 1134, bArr[20], bArr[51], objArr13);
iArr[i4] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i4++;
i3 = 1;
c2 = 22;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i5 = 0;
while (true) {
switch (dhVar.d(iArr[i5])) {
case -50:
i5 = 112;
case -49:
dhVar.d(19);
int i6 = dhVar.c;
if (i6 != 0 && i6 == 1) {
i5 = 11;
}
i5 = 17;
break;
case -48:
i5 = 107;
case -47:
dhVar.d(19);
i5 = dhVar.c != 0 ? 30 : 24;
case -46:
i5 = 102;
case -45:
dhVar.d(19);
int i7 = dhVar.c;
if (i7 != 12 && i7 == 26) {
i5 = 37;
}
i5 = 43;
break;
case -44:
i5 = 70;
case -43:
i5 = 99;
case CaptureActivity.IMAGE_CAPTURED /* -42 */:
dhVar.d(14);
i5 = dhVar.c == 0 ? 98 : i5 + 1;
case -41:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
j = dhVar.c;
case -40:
i2 = g;
dhVar.a = i2;
dhVar.d(9);
case -39:
i5 = 50;
case -38:
i5 = 82;
case -37:
dhVar.d(47);
if (dhVar.c == 0) {
i5 = 81;
}
case -36:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
g = dhVar.c;
case -35:
i2 = j;
dhVar.a = i2;
dhVar.d(9);
case -34:
case -33:
i5 = 1;
case -32:
break;
case -31:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
b2 = cy.b((Runnable) dhVar.f);
dhVar.h = b2;
dhVar.d(4);
case -30:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
final Context context2 = (Context) dhVar.f;
dhVar.d(11);
final int i8 = dhVar.c;
dhVar.h = new Runnable(context2, i8) { // from class: com.facetec.sdk.bq$$ExternalSyntheticLambda0
public final Context f$0;
public final int f$1;
@Override // java.lang.Runnable
public final void run() {
bq.b(this.f$0, this.f$1);
}
{
this.f$0 = context2;
this.f$1 = i8;
}
};
dhVar.d(4);
case -29:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Context context3 = (Context) dhVar.f;
dhVar.d(11);
c(context3, dhVar.c);
case -28:
i5 = 67;
case -27:
i5 = 56;
case -26:
i5 = 73;
case -25:
dhVar.d(84);
if (dhVar.c == 0) {
i5 = 49;
}
case -24:
i5 = 43;
case IpLibUtil.KIPP_BAD_HANDLE /* -23 */:
b2 = ((Class) bo.e((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 25, (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 32560), 26 - Drawable.resolveOpacity(0, 0))).getField("e").get(null);
dhVar.h = b2;
dhVar.d(4);
case IpLibUtil.KIPP_FILE_METADATA_ERROR /* -22 */:
i5 = 103;
case IpLibUtil.KIPP_READING_USER_NETWORK_ERROR /* -21 */:
i5 = 105;
case IpLibUtil.KIPP_BAD_SPEED_ACCURACY_ERROR /* -20 */:
dhVar.d(84);
if (dhVar.c == 0) {
i5 = 36;
}
case IpLibUtil.KIPP_PDF_TOO_LARGE_TO_APPEND /* -19 */:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Context context4 = (Context) dhVar.f;
dhVar.d(11);
try {
Object[] objArr14 = {context4, Integer.valueOf(dhVar.c)};
Object obj2 = bo.s.get(-1927641128);
if (obj2 == null) {
Class cls4 = (Class) bo.e(242 - TextUtils.getOffsetBefore("", 0), (char) (KeyEvent.normalizeMetaState(0) + 62663), 24 - (ViewConfiguration.getTapTimeout() >> 16));
Object[] objArr15 = new Object[1];
n((short) 0, (short) 0, 1, objArr15);
obj2 = cls4.getMethod((String) objArr15[0], Context.class, Integer.TYPE);
bo.s.put(-1927641128, obj2);
}
dhVar.a = ((Integer) ((Method) obj2).invoke(null, objArr14)).intValue();
dhVar.d(9);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
case IpLibUtil.KIPP_ENCRYPTED_APPEND_ERROR /* -18 */:
i5 = 88;
case IpLibUtil.KIPP_BAD_PDF /* -17 */:
obj = ((Class) bo.e(26 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (32560 - TextUtils.getCapsMode("", 0, 0)), MotionEvent.axisFromString("") + 27)).getField("a").get(null);
dhVar.h = obj;
dhVar.d(4);
case IpLibUtil.KIPP_CANNOT_APPEND_TO_FILETYPE /* -16 */:
i5 = 108;
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
i5 = 110;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
dhVar.d(84);
if (dhVar.c == 0) {
i5 = 23;
}
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Context context5 = (Context) dhVar.f;
dhVar.d(11);
try {
Object[] objArr16 = {context5, Integer.valueOf(dhVar.c)};
Object obj3 = bo.s.get(543085507);
if (obj3 == null) {
Class cls5 = (Class) bo.e((ViewConfiguration.getEdgeSlop() >> 16) + 614, (char) Color.argb(0, 0, 0, 0), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 24);
Object[] objArr17 = new Object[1];
n((short) 0, (short) 0, 3, objArr17);
obj3 = cls5.getMethod((String) objArr17[0], Context.class, Integer.TYPE);
bo.s.put(543085507, obj3);
}
intValue = ((Integer) ((Method) obj3).invoke(null, objArr16)).intValue();
dhVar.a = intValue;
dhVar.d(9);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
i5 = 17;
case -11:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
a = dhVar.c;
case -10:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
intValue = ((Class) bo.e(KeyEvent.keyCodeFromString("") + 26, (char) (32560 - (ViewConfiguration.getFadingEdgeLength() >> 16)), 25 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)))).getField("i").getInt(dhVar.f);
dhVar.a = intValue;
dhVar.d(9);
case -9:
obj = ((Class) bo.e(26 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) ((ViewConfiguration.getScrollBarSize() >> 8) + 32560), 26 - (ViewConfiguration.getJumpTapTimeout() >> 16))).getField("c").get(null);
dhVar.h = obj;
dhVar.d(4);
case -8:
intValue = a;
dhVar.a = intValue;
dhVar.d(9);
case -7:
i5 = 113;
case -6:
i5 = 115;
case -5:
dhVar.d(84);
if (dhVar.c == 0) {
i5 = 10;
}
case -4:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Context context6 = (Context) dhVar.f;
dhVar.d(11);
try {
Object[] objArr18 = {context6, Integer.valueOf(dhVar.c)};
Object obj4 = bo.s.get(-441935504);
if (obj4 == null) {
Class cls6 = (Class) bo.e(TextUtils.indexOf((CharSequence) "", '0', 0) + 219, (char) (ViewConfiguration.getFadingEdgeLength() >> 16), MotionEvent.axisFromString("") + 25);
Object[] objArr19 = new Object[1];
n((short) 0, (short) 0, 1, objArr19);
obj4 = cls6.getMethod((String) objArr19[0], Context.class, Integer.TYPE);
bo.s.put(-441935504, obj4);
}
intValue = ((Integer) ((Method) obj4).invoke(null, objArr18)).intValue();
dhVar.a = intValue;
dhVar.d(9);
} catch (Throwable th5) {
Throwable cause5 = th5.getCause();
if (cause5 == null) {
throw th5;
}
throw cause5;
}
case -3:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
Object obj5 = dhVar.f;
try {
byte[] bArr2 = f;
Object[] objArr20 = new Object[1];
l((short) 2298, bArr2[17], bArr2[22], objArr20);
Class<?> cls7 = Class.forName((String) objArr20[0]);
Object[] objArr21 = new Object[1];
l((short) 585, bArr2[95], bArr2[8], objArr21);
intValue = ((Integer) cls7.getMethod((String) objArr21[0], null).invoke(obj5, null)).intValue();
dhVar.a = intValue;
dhVar.d(9);
} catch (Throwable th6) {
Throwable cause6 = th6.getCause();
if (cause6 == null) {
throw th6;
}
throw cause6;
}
case -2:
try {
byte[] bArr3 = f;
Object[] objArr22 = new Object[1];
l((short) 2298, bArr3[17], bArr3[22], objArr22);
dhVar.h = Class.forName((String) objArr22[0]).getDeclaredConstructor(null).newInstance(null);
dhVar.d(4);
} catch (Throwable th7) {
Throwable cause7 = th7.getCause();
if (cause7 == null) {
throw th7;
}
throw cause7;
}
case -1:
i5 = 63;
default:
}
}
} catch (Throwable th8) {
Throwable cause8 = th8.getCause();
if (cause8 == null) {
throw th8;
}
throw cause8;
}
}
}
static void d() {
d = -2056768687;
h = true;
c = new char[]{13238, 13237, 13258, 13257, 13255, 13275, 13273, 13209, 13211, 13227, 13236, 13221, 13220, 13205, 13228, 13239, 13274, 13256, 13169, 13253, 13272, 13251, 13248, 13261, 13174};
i = true;
}
/* JADX WARN: Failed to find 'out' block for switch in B:29:0x014a. Please report as an issue. */
private static void c(Context context, int i2) {
dh dhVar = new dh(context, i2);
int i3 = 1;
Object[] objArr = new Object[1];
l((short) 2063, (short) 73, (short) 71, objArr);
String str = (String) objArr[0];
char c2 = 5;
Object[] objArr2 = new Object[1];
l((short) 579, (byte) (f[2524] - 1), r5[5], objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
char c3 = 22;
Object[] objArr4 = new Object[1];
l((short) 2117, r5[17], r5[22], objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
l((short) 2144, r5[121], r5[40], objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l((short) 2117, r5[17], r5[22], objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i4 = 0;
while (i4 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i4]};
byte[] bArr = f;
Object[] objArr9 = new Object[i3];
l((short) 2283, bArr[17], bArr[24], objArr9);
Class<?> cls2 = Class.forName((String) objArr9[0]);
Object[] objArr10 = new Object[i3];
l((short) 1140, bArr[c2], bArr[8], objArr10);
String str3 = (String) objArr10[0];
Class<?>[] clsArr = new Class[i3];
byte b2 = bArr[17];
short s = bArr[c3];
Object[] objArr11 = new Object[i3];
l((short) 2117, b2, s, objArr11);
clsArr[0] = Class.forName((String) objArr11[0]);
Object invoke = cls2.getMethod(str3, clsArr).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
l((short) 1134, bArr[20], bArr[51], objArr13);
iArr[i4] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i4++;
i3 = 1;
c2 = 5;
c3 = 22;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i5 = 0;
while (true) {
int i6 = i5 + 1;
switch (dhVar.d(iArr[i5])) {
case -11:
i6 = 13;
i5 = i6;
case -10:
i5 = 24;
case -9:
dhVar.d(47);
if (dhVar.c == 0) {
i6 = 23;
}
i5 = i6;
case -8:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
g = dhVar.c;
i5 = i6;
case -7:
dhVar.a = j;
dhVar.d(9);
i5 = i6;
case -6:
return;
case -5:
i5 = 1;
case -4:
i5 = 15;
case -3:
dhVar.a = 3;
dhVar.d(2);
dhVar.d(3);
Context context2 = (Context) dhVar.f;
dhVar.d(11);
int i7 = dhVar.c;
dhVar.d(3);
try {
Object[] objArr14 = {context2, Integer.valueOf(i7), dhVar.f};
Object obj = bo.s.get(-55251180);
if (obj == null) {
Class cls4 = (Class) bo.e(290 - ((Process.getThreadPriority(0) + 20) >> 6), (char) TextUtils.getOffsetBefore("", 0), 24 - Color.red(0));
Object[] objArr15 = new Object[1];
n((short) 0, (short) 0, 3, objArr15);
obj = cls4.getMethod((String) objArr15[0], Context.class, Integer.TYPE, (Class) bo.e(409 - TextUtils.indexOf("", "", 0, 0), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16), TextUtils.indexOf("", "", 0) + 32));
bo.s.put(-55251180, obj);
}
((Method) obj).invoke(null, objArr14);
i5 = i6;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
case -2:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Context context3 = (Context) dhVar.f;
dhVar.d(11);
try {
Object[] objArr16 = {context3, Integer.valueOf(dhVar.c)};
Object obj2 = bo.s.get(663401756);
if (obj2 == null) {
obj2 = ((Class) bo.e(1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (9661 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), 26 - (KeyEvent.getMaxKeyCode() >> 16))).getDeclaredConstructor(Context.class, Integer.TYPE);
bo.s.put(663401756, obj2);
}
dhVar.h = ((Constructor) obj2).newInstance(objArr16);
dhVar.d(4);
i5 = i6;
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
case -1:
i5 = 9;
default:
i5 = i6;
}
}
} catch (Throwable th5) {
Throwable cause5 = th5.getCause();
if (cause5 == null) {
throw th5;
}
throw cause5;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Failed to find 'out' block for switch in B:28:0x013c. Please report as an issue. */
public static void c(Context context) throws dt {
int i2;
Object b2;
dh dhVar = new dh(context);
Object[] objArr = new Object[1];
l((short) 3119, (short) 73, (short) 100, objArr);
int i3 = 0;
String str = (String) objArr[0];
char c2 = 5;
Object[] objArr2 = new Object[1];
l((short) 579, (byte) (f[2524] - 1), r4[5], objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
char c3 = 22;
Object[] objArr4 = new Object[1];
l((short) 2117, r4[17], r4[22], objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
l((short) 2144, r4[121], r4[40], objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l((short) 2117, r4[17], r4[22], objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i4 = 0;
while (i4 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i4]};
byte[] bArr = f;
Object[] objArr9 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr9);
Class<?> cls2 = Class.forName((String) objArr9[0]);
Object[] objArr10 = new Object[1];
l((short) 1140, bArr[c2], bArr[8], objArr10);
String str3 = (String) objArr10[0];
byte b3 = bArr[17];
short s = bArr[c3];
Object[] objArr11 = new Object[1];
l((short) 2117, b3, s, objArr11);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr11[0])).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
l((short) 1134, bArr[20], bArr[51], objArr13);
iArr[i4] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i4++;
c2 = 5;
c3 = 22;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
while (true) {
switch (dhVar.d(iArr[i3])) {
case IpLibUtil.KIPP_BAD_FILE_TO_APPEND_TO /* -15 */:
i3 = 11;
case IpLibUtil.KIPP_BAD_FILE_FORMAT_INTERNALS /* -14 */:
i3 = 33;
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
dhVar.d(14);
i3 = dhVar.c == 0 ? 32 : i3 + 1;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
i3 = 1;
case -11:
i3 = 22;
case -10:
dhVar.d(14);
if (dhVar.c == 0) {
i3 = 21;
}
case -9:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
j = dhVar.c;
case -8:
dhVar.a = g;
i2 = 9;
dhVar.d(i2);
case -7:
break;
case -6:
i3 = 13;
case -5:
i3 = 23;
case -4:
c();
case -3:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
b2 = cy.b((Runnable) dhVar.f);
dhVar.h = b2;
i2 = 4;
dhVar.d(i2);
case -2:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(3);
final Context context2 = (Context) dhVar.f;
b2 = new Runnable(context2) { // from class: com.facetec.sdk.bq$$ExternalSyntheticLambda1
public final Context f$0;
@Override // java.lang.Runnable
public final void run() {
bq.e(this.f$0);
}
{
this.f$0 = context2;
}
};
dhVar.h = b2;
i2 = 4;
dhVar.d(i2);
case -1:
i3 = 7;
default:
}
return;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Failed to find 'out' block for switch in B:29:0x013c. Please report as an issue. */
public static void c() throws dt {
dh dhVar = new dh();
byte[] bArr = f;
short s = bArr[994];
Object[] objArr = new Object[1];
l(s, (short) 73, s, objArr);
int i2 = 0;
String str = (String) objArr[0];
char c2 = 5;
Object[] objArr2 = new Object[1];
l((short) 579, (byte) (bArr[2524] - 1), bArr[5], objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
char c3 = 22;
Object[] objArr4 = new Object[1];
l((short) 2117, bArr[17], bArr[22], objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
l((short) 2144, bArr[121], bArr[40], objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l((short) 2117, bArr[17], bArr[22], objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i3 = 0;
while (i3 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i3]};
byte[] bArr2 = f;
Object[] objArr9 = new Object[1];
l((short) 2283, bArr2[17], bArr2[24], objArr9);
Class<?> cls2 = Class.forName((String) objArr9[0]);
Object[] objArr10 = new Object[1];
l((short) 1140, bArr2[c2], bArr2[8], objArr10);
String str3 = (String) objArr10[0];
byte b2 = bArr2[17];
short s2 = bArr2[c3];
Object[] objArr11 = new Object[1];
l((short) 2117, b2, s2, objArr11);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr11[0])).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
l((short) 2283, bArr2[17], bArr2[24], objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
l((short) 1134, bArr2[20], bArr2[51], objArr13);
iArr[i3] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i3++;
c2 = 5;
c3 = 22;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
while (true) {
int i4 = i2 + 1;
switch (dhVar.d(iArr[i2])) {
case -9:
i2 = 7;
case -8:
i2 = 20;
case -7:
dhVar.d(47);
i2 = dhVar.c == 0 ? 19 : i4;
case -6:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
g = dhVar.c;
case -5:
dhVar.a = j;
dhVar.d(9);
case -4:
break;
case -3:
i2 = 1;
case -2:
i2 = 9;
case -1:
i2 = 2;
default:
}
return;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
/* JADX INFO: Access modifiers changed from: private */
/* JADX WARN: Failed to find 'out' block for switch in B:30:0x0144. Please report as an issue. */
public static /* synthetic */ void b(Context context, int i2) {
dh dhVar = new dh(context, i2);
Object[] objArr = new Object[1];
l((short) (k & 991), (short) 73, (short) 93, objArr);
int i3 = 0;
String str = (String) objArr[0];
char c2 = 5;
Object[] objArr2 = new Object[1];
l((short) 579, (byte) (f[2524] - 1), r4[5], objArr2);
try {
Object[] objArr3 = {(String) objArr2[0]};
char c3 = 22;
Object[] objArr4 = new Object[1];
l((short) 2117, r4[17], r4[22], objArr4);
Class<?> cls = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
l((short) 2144, r4[121], r4[40], objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l((short) 2117, r4[17], r4[22], objArr6);
Object[] objArr7 = (Object[]) cls.getMethod(str2, Class.forName((String) objArr6[0])).invoke(str, objArr3);
int[] iArr = new int[objArr7.length];
int i4 = 0;
while (i4 < objArr7.length) {
try {
Object[] objArr8 = {objArr7[i4]};
byte[] bArr = f;
Object[] objArr9 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr9);
Class<?> cls2 = Class.forName((String) objArr9[0]);
Object[] objArr10 = new Object[1];
l((short) 1140, bArr[c2], bArr[8], objArr10);
String str3 = (String) objArr10[0];
byte b2 = bArr[17];
short s = bArr[c3];
Object[] objArr11 = new Object[1];
l((short) 2117, b2, s, objArr11);
Object invoke = cls2.getMethod(str3, Class.forName((String) objArr11[0])).invoke(null, objArr8);
try {
Object[] objArr12 = new Object[1];
l((short) 2283, bArr[17], bArr[24], objArr12);
Class<?> cls3 = Class.forName((String) objArr12[0]);
Object[] objArr13 = new Object[1];
l((short) 1134, bArr[20], bArr[51], objArr13);
iArr[i4] = ((Integer) cls3.getMethod((String) objArr13[0], null).invoke(invoke, null)).intValue();
i4++;
c2 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
while (true) {
int i5 = i3 + 1;
try {
} finally {
if (i5 >= 22 && i5 <= 26) {
dhVar.h = th;
dhVar.d(97);
i3 = 18;
}
}
switch (dhVar.d(iArr[i3])) {
case IpLibUtil.KIPP_IMAGE_DOES_NOT_EXIST /* -13 */:
i3 = 26;
case IpLibUtil.KIPP_UNKNOWN_FILETYPE /* -12 */:
i3 = 19;
dhVar.d(19);
int i6 = dhVar.c;
if (i6 == 0 || i6 != 1) {
i3 = 1;
}
break;
case -11:
dhVar.d(94);
throw ((Throwable) dhVar.f);
break;
case -10:
i3 = 27;
case -9:
i3 = 29;
case -8:
dhVar.d(14);
i3 = dhVar.c == 0 ? 17 : i5;
case -7:
dhVar.a = 1;
dhVar.d(2);
dhVar.d(11);
j = dhVar.c;
case -6:
dhVar.a = g;
dhVar.d(9);
case -5:
return;
case -4:
i3 = 9;
case -3:
i3 = 7;
case -2:
dhVar.a = 2;
dhVar.d(2);
dhVar.d(3);
Context context2 = (Context) dhVar.f;
dhVar.d(11);
e(context2, dhVar.c);
case -1:
i3 = 4;
default:
}
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Failed to find 'out' block for switch in B:34:0x0157. Please report as an issue. */
/* JADX WARN: Removed duplicated region for block: B:66:0x029b A[ADDED_TO_REGION] */
/* JADX WARN: Removed duplicated region for block: B:71:0x02a4 A[ADDED_TO_REGION, SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static void b(android.content.Context r18) {
/*
Method dump skipped, instructions count: 738
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bq.b(android.content.Context):void");
}
static void b() {
byte[] bArr = new byte[3132];
System.arraycopy("\u0089®\t\u0000\n\u0000\u0006\nÿ\u0006\u000bþ\u000eü\u0006\\u0006\\u000fû\u0010ú\u000eü\u0006\u000eû\u0011ù\u0006\u000fú\u0006\u0010ù\n\u0004\u0001\n\u0006ÿ\u0006\u0011ø\u000fû\n\u0007þ\u0006\t\u0004\u0001\u0006\t\u0005\u0000\u0006\t\u0006ÿ\u0006\t\u0006ÿ\u0006\u0010ù\n\\n\\n\u0007þ\u0006\u0011ø\u000fû\n\u0007þ\u0006\t\u0007þ\u0006\t\\u0006\t\\u0006\t\t\t\u0000\n\u000bú\n\\n\u0000\u0006\nÿ\u0006\u000bþ\u000b\u0003\u0001\u0006\\u000b\u0005ÿ\u000b\u0006þ\u000b\u0006þ\u0006\\u0006\u000eû\u0006\u000fú\u0006\u0010ù\u0006\u0011ø\u0006\t\u0004\u0001\u0006\t\u0005\u0000\u000b\u0007ý\u0006\t\u0006ÿ\n\u0000\u000b\\u0006\t\u0007þ\u000b\\u000b\\u000b\u000bù\u000b\u0006þ\u0006\t\\u0006\u000eû\u0006\u000fú\u0006\u0010ù\u0006\t\\u0006\t\\u0006\t\u0005\u0000\u000b\\n\\u0006\t\u000bú\n\u0000\f\u0002\u0001\u0006\t\\f\u0003\u0000\f\u0004ÿ\u0006\t\\u0006\u000eû\u0006\u000fú\u0006\u0010ù\u0006\n\u0003\u0001\u0006\n\u0004\u0000\u0006\n\u0005ÿ\f\u0005þ\u0006\t\u0005\u0000\n\u0000\u000b\\f\u0006ý\u0006\n\u0006þ\u000b\u000bù\u000b\u0006þ\u0006\n\u0007ý\u0006\u000eû\u0006\u000fú\u0006\u0010ù\u0006\n\\u0006\n\\u0006\n\\f\u0007ü\u0006\t\u0005\u0000\n\u0000\u000b\\u0006\n\u000bù\u0006\n\u000bù\f\u0006ý\u0006\n\\f\\u0006\u000b\u0002\u0001\u0006\u000eû\u0006\u000fú\u0006\u0010ù\u0006\u000b\u0003\u0000\u0006\u000b\u0004ÿ\u0006\u000b\u0005þ\f\\n\\u0006\t\u0005\u0000\n\u0000\f\u0002\u0001\u0006\n\u000bù\f\\u0006\u000b\u0006ý\f\u000bø\u000b\u0006þ\u000b\u0006þ\u0006\u000b\u0007ü\u0006\u000eû\u0006\u000fú\u0006\u0010ù\u0006\u000b\\u0006\u000b\\u0006\t\u0005\u0000\r\u0001\u0001\n\\u0006\t\u0005\u0000\r\u0002\u0000\u0006\u000b\\u0006\u000b\u000bø\u0006\f\u0001\u0001\u0006\f\u0002\u0000\r\u0003ÿ\u0006\f\u0003ÿ\u0006\f\u0004þ\u0006\u000b\u000bø\u0006\f\u0005ý\u0006\f\u0002\u0000\r\u0003ÿ\u0006\f\u0003ÿ\u0006\f\u0004þ\u0006\u000b\u000bø\u0006\f\u0006ü\u0006\f\u0002\u0000\r\u0003ÿ\u0006\f\u0003ÿ\u0006\f\u0004þ\u0006\u000b\u000bø\u0006\f\u0007û\u0006\f\u0002\u0000\r\u0003ÿ\u0006\f\u0003ÿ\u0006\f\u0004þ\u0006\u000b\u000bø\u0006\f\\u0006\f\u0002\u0000\r\u0003ÿ\u0006\f\u0003ÿ\u0006\f\\u0006\u000b\u000bø\u0006\f\\u0006\f\u0002\u0000\r\u0003ÿ\u0006\f\u0003ÿ\u0006\r\u0000\u0001\u0006\f\u0004þ\u000fû\u000fû\n\u0007þ\u000eü\u0006\r\u0001\u0000\r\u0004þ\n\u0007þ\u000eü\u0006\t\u0005\u0000\u0011ù\u0006\f\u0004þ\r\u0004þ\n\u0007þ\u000eü\u0006\t\u0005\u0000\u0006\r\u0002ÿ\r\u0005ý\r\u0006ü\r\u0007û\n\\n\u0007þ\u0006\r\u0003þ\u0010ú\u0006\r\u0004ý\u0006\r\u0005ü\u0006\r\u0006û\u000fû\r\\u000eü\u0006\t\u0005\u0000\u0006\r\u0007ú\r\\u000e\u0000\u0001\n\\n\u0007þ\u0006\r\\u000fû\n\u0007þ\u0006\r\\u0006\u000eÿ\u0001\u0006\u000e\u0000\u0000\u000e\u0001\u0000\u0006\t\u0005\u0000\u0006\u000e\u0001ÿ\u000e\u0002ÿ\u0006\u000e\u0002þ\u000e\u0003þ\u0006\u000e\u0002þ\u0006\u000e\u0003ý\f\u0006ý\u0006\u000e\u0004ü\u000b\\u0006\u000e\u0004ü\u0006\u000e\u0005û\u000b\\u0006\u000e\u0006ú\f\u0006ý\u0006\u000e\u0006ú\u0006\u000e\u0007ù\u000b\\u0006\u000e\\f\u0006ý\u0006\u000e\\u0013\u0001\u0002\u000fôï&ö\u0007\u000b\u0010\n\u0012û\u0013\u0002ÿ\u0000ÏF\tÀ*+ÿ\u0006ö\rÛ.\\\u001aðÒL\u0004ú\bÇ)\u0014\u0012û\u0010\u0003ü\u001aðÒCú\u0012þÌ *\u000bö\u0007\u0003\u0012\u0012û\u0013\u0002ÿ\u0000ÏMø\u0001\u0017¼-\u0018\u0001\u0017².\u001d\u0001\u0017\u0007\u0002øó\"ú\u0003\u0012û\u0013\u0002ÿ\u0000Ï>\u0010ô\u0014ý\u0006ÿ\u0015À;\u0013ô\u001bï\u0006\u000fþÎ\u001b3ô\u001bï\u0006\u000fþ\u0012û\u0013\u0002ÿ\u0000ÏMø\u0001\u0017¼-\u0018\u0001\u0017Ñ1\u0004ý\b\u0003\u0013\u0002ô\u0018ú\u000b\u0004ö\f\u0019ï\n\u000b\\u0014\\u0004ó\u0018\u0001\u0010\\\u0007\u0000\u0005\u0004\b\u0007ö\u0004 ç\u0006\f\u000f\u0002\u0001\u0002\u0010\u0012û\u0013\u0002ÿ\u0000ÏF\\u00198ù\býÅ7ô\u0012\u0006û\u000b\u0004ü\u001aðÒCú\u0012þÌ
f = bArr;
k = CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384;
}
}