what-the-bank/sources/com/google/android/gms/internal/firebase_ml/zzqn.java

1287 lines
42 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.firebase_ml;
import android.graphics.PointF;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.gson.Gson;
import com.pingan.ai.p;
import java.io.Closeable;
import java.io.IOException;
import java.io.Reader;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.Nhs;
import o.xzZ;
/* loaded from: classes2.dex */
public final class zzqn implements Closeable {
private static final byte[] $$a = {30, 115, ISOFileInfo.A1, -33};
private static final int $$b = 206;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 1;
private static long b;
private static int c;
private static int d;
private static char e;
private static final char[] zzazx;
private final Reader in;
private long zzbad;
private int zzbae;
private String zzbaf;
private int[] zzbag;
private String[] zzbai;
private int[] zzbaj;
private boolean zzazy = false;
private final char[] zzazz = new char[1024];
private int pos = 0;
private int limit = 0;
private int zzbaa = 0;
private int zzbab = 0;
private int zzbac = 0;
private int zzbah = 1;
public zzqn(Reader reader) {
int[] iArr = new int[32];
this.zzbag = iArr;
iArr[0] = 6;
this.zzbai = new String[32];
this.zzbaj = new int[32];
if (reader == null) {
throw new NullPointerException("in == null");
}
this.in = reader;
int i = d + 23;
a = i % 128;
int i2 = i % 2;
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4: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 g(int r7, int r8, int r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.google.android.gms.internal.firebase_ml.zzqn.$$a
int r7 = r7 + 114
int r8 = r8 * 4
int r8 = 4 - r8
int r9 = r9 * 3
int r9 = 1 - r9
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L2a
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r9) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r8]
r6 = r8
r8 = r7
r7 = r3
r3 = r6
L2a:
int r7 = -r7
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqn.g(int, int, int, java.lang.Object[]):void");
}
public final void beginArray() throws IOException {
int i = 2 % 2;
int i2 = this.zzbac;
if (i2 == 0) {
int i3 = a + 39;
d = i3 % 128;
int i4 = i3 % 2;
i2 = zznr();
int i5 = a + 121;
d = i5 % 128;
int i6 = i5 % 2;
}
if (i2 != 3) {
throw new IllegalStateException("Expected BEGIN_ARRAY but was " + zznq() + zznv());
}
int i7 = a + 7;
d = i7 % 128;
int i8 = i7 % 2;
zzbs(1);
this.zzbaj[this.zzbah - 1] = 0;
this.zzbac = 0;
int i9 = a + 13;
d = i9 % 128;
int i10 = i9 % 2;
}
public final void endArray() throws IOException {
int i = 2 % 2;
int i2 = d + 73;
a = i2 % 128;
int i3 = i2 % 2;
int i4 = this.zzbac;
if (i4 == 0) {
i4 = zznr();
}
if (i4 != 4) {
throw new IllegalStateException("Expected END_ARRAY but was " + zznq() + zznv());
}
int i5 = this.zzbah;
this.zzbah = i5 - 1;
int[] iArr = this.zzbaj;
int i6 = i5 - 2;
iArr[i6] = iArr[i6] + 1;
this.zzbac = 0;
int i7 = a + 93;
d = i7 % 128;
if (i7 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final void beginObject() throws IOException {
int i = 2 % 2;
int i2 = this.zzbac;
if (i2 == 0) {
i2 = zznr();
}
if (i2 != 1) {
throw new IllegalStateException("Expected BEGIN_OBJECT but was " + zznq() + zznv());
}
int i3 = d + 109;
a = i3 % 128;
int i4 = i3 % 2;
zzbs(3);
this.zzbac = 0;
int i5 = d + 55;
a = i5 % 128;
int i6 = i5 % 2;
}
public final void endObject() throws IOException {
int i = 2 % 2;
int i2 = d;
int i3 = i2 + 37;
a = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
int i4 = this.zzbac;
if (i4 == 0) {
int i5 = i2 + 41;
a = i5 % 128;
int i6 = i5 % 2;
i4 = zznr();
}
if (i4 != 2) {
throw new IllegalStateException("Expected END_OBJECT but was " + zznq() + zznv());
}
int i7 = d + 107;
a = i7 % 128;
if (i7 % 2 == 0) {
int i8 = this.zzbah;
this.zzbah = i8;
this.zzbai[i8] = null;
int[] iArr = this.zzbaj;
int i9 = i8 % 4;
iArr[i9] = iArr[i9];
} else {
int i10 = this.zzbah;
int i11 = i10 - 1;
this.zzbah = i11;
this.zzbai[i11] = null;
int[] iArr2 = this.zzbaj;
int i12 = i10 - 2;
iArr2[i12] = iArr2[i12] + 1;
}
this.zzbac = 0;
}
public final zzqp zznq() throws IOException {
int i = 2 % 2;
int i2 = a + 37;
d = i2 % 128;
if (i2 % 2 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i3 = this.zzbac;
if (i3 == 0) {
i3 = zznr();
}
switch (i3) {
case 1:
return zzqp.BEGIN_OBJECT;
case 2:
return zzqp.END_OBJECT;
case 3:
return zzqp.BEGIN_ARRAY;
case 4:
return zzqp.END_ARRAY;
case 5:
case 6:
zzqp zzqpVar = zzqp.BOOLEAN;
int i4 = a + 63;
d = i4 % 128;
int i5 = i4 % 2;
return zzqpVar;
case 7:
zzqp zzqpVar2 = zzqp.NULL;
int i6 = d + 83;
a = i6 % 128;
int i7 = i6 % 2;
return zzqpVar2;
case 8:
case 9:
case 10:
case 11:
return zzqp.STRING;
case 12:
case 13:
case 14:
return zzqp.NAME;
case 15:
case 16:
return zzqp.NUMBER;
case 17:
return zzqp.END_DOCUMENT;
default:
throw new AssertionError();
}
}
/* JADX WARN: Code restructure failed: missing block: B:121:0x029a, code lost:
if (r7 != 6) goto L181;
*/
/* JADX WARN: Code restructure failed: missing block: B:127:0x02b0, code lost:
if (zze(r12) == false) goto L185;
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x02b4, code lost:
if (r7 != 2) goto L194;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x02b6, code lost:
if (r8 == false) goto L194;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x02bc, code lost:
if (r10 != Long.MIN_VALUE) goto L190;
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x02be, code lost:
if (r9 == false) goto L194;
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x02c0, code lost:
if (r9 == false) goto L192;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x02c3, code lost:
r10 = -r10;
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x02c4, code lost:
r22.zzbad = r10;
r22.pos += r5;
r22.zzbac = 15;
r9 = 15;
*/
/* JADX WARN: Code restructure failed: missing block: B:63:0x02d1, code lost:
if (r7 == 2) goto L199;
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x02d4, code lost:
if (r7 == 4) goto L199;
*/
/* JADX WARN: Code restructure failed: missing block: B:67:0x02d7, code lost:
if (r7 != 7) goto L217;
*/
/* JADX WARN: Code restructure failed: missing block: B:69:0x02d9, code lost:
r22.zzbae = r5;
r22.zzbac = 16;
r9 = 16;
*/
/* JADX WARN: Removed duplicated region for block: B:56:0x030d A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:57:0x030e */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final int zznr() throws java.io.IOException {
/*
Method dump skipped, instructions count: 996
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqn.zznr():int");
}
private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c2);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 37;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - View.combineMeasuredStates(0, 0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 352, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (52128 - View.MeasureSpec.getSize(0)));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr4 = new Object[1];
g(b2, b3, b3, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "") + 748, 5 - (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)), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getWindowTouchSlop() >> 8), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (21608 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
g(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (b ^ 9051040786702654117L)) ^ ((int) (c ^ 9051040786702654117L))) ^ ((char) (e ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i6 = $11 + 35;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
private final boolean zze(char c2) throws IOException {
int i = 2 % 2;
if (c2 == '\t' || c2 == '\n' || c2 == '\f' || c2 == '\r' || c2 == ' ') {
return false;
}
int i2 = d + 79;
int i3 = i2 % 128;
a = i3;
if (i2 % 2 != 0 ? c2 != '#' : c2 != 'E') {
int i4 = i3 + 91;
int i5 = i4 % 128;
d = i5;
int i6 = i4 % 2;
if (c2 == ',') {
return false;
}
int i7 = i5 + 83;
a = i7 % 128;
int i8 = i7 % 2;
if (c2 != '/' && c2 != '=') {
if (c2 == '{') {
return false;
}
int i9 = i5 + 89;
int i10 = i9 % 128;
a = i10;
if (i9 % 2 == 0) {
if (c2 == '{') {
return false;
}
} else if (c2 == '}') {
return false;
}
int i11 = i10 + 109;
d = i11 % 128;
int i12 = i11 % 2;
if (c2 == ':') {
return false;
}
if (c2 != ';') {
switch (c2) {
case '[':
case ']':
return false;
case '\\':
break;
default:
return true;
}
}
}
}
zznt();
return false;
}
/* JADX WARN: Code restructure failed: missing block: B:22:0x001b, code lost:
r1 = zznr();
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0019, code lost:
if (r1 == 0) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r1 == 0) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.lang.String nextName() throws java.io.IOException {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.google.android.gms.internal.firebase_ml.zzqn.a
int r1 = r1 + 109
int r2 = r1 % 128
com.google.android.gms.internal.firebase_ml.zzqn.d = r2
int r1 = r1 % r0
r2 = 0
if (r1 == 0) goto L17
int r1 = r5.zzbac
r3 = 91
int r3 = r3 / r2
if (r1 != 0) goto L1f
goto L1b
L17:
int r1 = r5.zzbac
if (r1 != 0) goto L1f
L1b:
int r1 = r5.zznr()
L1f:
r3 = 14
if (r1 != r3) goto L3b
int r1 = com.google.android.gms.internal.firebase_ml.zzqn.d
int r1 = r1 + 75
int r3 = r1 % 128
com.google.android.gms.internal.firebase_ml.zzqn.a = r3
int r1 = r1 % r0
if (r1 != 0) goto L36
java.lang.String r0 = r5.zzns()
r1 = 77
int r1 = r1 / r2
goto L5a
L36:
java.lang.String r0 = r5.zzns()
goto L5a
L3b:
r3 = 12
if (r1 != r3) goto L46
r0 = 39
java.lang.String r0 = r5.zzf(r0)
goto L5a
L46:
r3 = 13
if (r1 != r3) goto L65
r1 = 34
java.lang.String r1 = r5.zzf(r1)
int r3 = com.google.android.gms.internal.firebase_ml.zzqn.a
int r3 = r3 + 71
int r4 = r3 % 128
com.google.android.gms.internal.firebase_ml.zzqn.d = r4
int r3 = r3 % r0
r0 = r1
L5a:
r5.zzbac = r2
java.lang.String[] r1 = r5.zzbai
int r2 = r5.zzbah
int r2 = r2 + (-1)
r1[r2] = r0
return r0
L65:
java.lang.IllegalStateException r0 = new java.lang.IllegalStateException
java.lang.StringBuilder r1 = new java.lang.StringBuilder
java.lang.String r2 = "Expected a name but was "
r1.<init>(r2)
com.google.android.gms.internal.firebase_ml.zzqp r2 = r5.zznq()
r1.append(r2)
java.lang.String r2 = r5.zznv()
r1.append(r2)
java.lang.String r1 = r1.toString()
r0.<init>(r1)
throw r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqn.nextName():java.lang.String");
}
public final String nextString() throws IOException {
int i = 2 % 2;
int i2 = a + 7;
d = i2 % 128;
String str = null;
if (i2 % 2 != 0) {
throw null;
}
int i3 = this.zzbac;
if (i3 == 0) {
i3 = zznr();
}
if (i3 == 10) {
int i4 = d + 123;
a = i4 % 128;
if (i4 % 2 == 0) {
zzns();
str.hashCode();
throw null;
}
str = zzns();
} else if (i3 == 8) {
str = zzf('\'');
int i5 = a + 105;
d = i5 % 128;
int i6 = i5 % 2;
} else if (i3 == 9) {
int i7 = d + 47;
a = i7 % 128;
str = zzf(i7 % 2 == 0 ? 'V' : '\"');
} else if (i3 == 11) {
int i8 = d + 13;
a = i8 % 128;
int i9 = i8 % 2;
this.zzbaf = null;
} else if (i3 == 15) {
int i10 = d + 25;
a = i10 % 128;
if (i10 % 2 == 0) {
Long.toString(this.zzbad);
throw null;
}
str = Long.toString(this.zzbad);
} else {
if (i3 != 16) {
throw new IllegalStateException("Expected a string but was " + zznq() + zznv());
}
str = new String(this.zzazz, this.pos, this.zzbae);
this.pos += this.zzbae;
int i11 = d + 31;
a = i11 % 128;
int i12 = i11 % 2;
}
this.zzbac = 0;
int[] iArr = this.zzbaj;
int i13 = this.zzbah - 1;
iArr[i13] = iArr[i13] + 1;
return str;
}
public final boolean nextBoolean() throws IOException {
int i = 2 % 2;
int i2 = d + 25;
a = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
int i3 = this.zzbac;
if (i3 == 0) {
i3 = zznr();
}
if (i3 == 5) {
int i4 = a + 93;
int i5 = i4 % 128;
d = i5;
int i6 = i4 % 2;
this.zzbac = 0;
int[] iArr = this.zzbaj;
int i7 = this.zzbah - 1;
iArr[i7] = iArr[i7] + 1;
int i8 = i5 + 85;
a = i8 % 128;
if (i8 % 2 != 0) {
return true;
}
throw null;
}
if (i3 != 6) {
throw new IllegalStateException("Expected a boolean but was " + zznq() + zznv());
}
int i9 = d + 67;
a = i9 % 128;
int i10 = i9 % 2;
this.zzbac = 0;
int[] iArr2 = this.zzbaj;
int i11 = this.zzbah - 1;
iArr2[i11] = iArr2[i11] + 1;
return false;
}
public final void nextNull() throws IOException {
int i = 2 % 2;
int i2 = d + 17;
a = i2 % 128;
int i3 = i2 % 2;
int i4 = this.zzbac;
if (i4 == 0) {
i4 = zznr();
int i5 = a + 17;
d = i5 % 128;
int i6 = i5 % 2;
}
if (i4 == 7) {
int i7 = a + 29;
d = i7 % 128;
int i8 = i7 % 2;
this.zzbac = 0;
int[] iArr = this.zzbaj;
int i9 = this.zzbah - 1;
iArr[i9] = iArr[i9] + 1;
return;
}
throw new IllegalStateException("Expected null but was " + zznq() + zznv());
}
private final String zzf(char c2) throws IOException {
int i = 2 % 2;
char[] cArr = this.zzazz;
StringBuilder sb = new StringBuilder();
while (true) {
int i2 = this.pos;
int i3 = this.limit;
int i4 = i2;
while (true) {
if (i4 < i3) {
int i5 = i4 + 1;
char c3 = cArr[i4];
if (c3 == c2) {
int i6 = a + 1;
d = i6 % 128;
int i7 = i6 % 2;
this.pos = i5;
sb.append(cArr, i2, (i5 - i2) - 1);
return sb.toString();
}
if (c3 == '\\') {
int i8 = d + 51;
a = i8 % 128;
if (i8 % 2 != 0) {
this.pos = i5;
sb.append(cArr, i2, (i5 - i2) - 1);
} else {
this.pos = i5;
sb.append(cArr, i2, (i5 % i2) % 1);
}
sb.append(zznw());
} else {
if (c3 == '\n') {
int i9 = d + 9;
a = i9 % 128;
this.zzbaa = i9 % 2 == 0 ? this.zzbaa << 1 : this.zzbaa + 1;
this.zzbab = i5;
}
i4 = i5;
}
} else {
sb.append(cArr, i2, i4 - i2);
this.pos = i4;
if (!zzbt(1)) {
throw zzci("Unterminated string");
}
}
}
}
}
/* JADX WARN: Code restructure failed: missing block: B:65:0x0093, code lost:
zznt();
*/
/* JADX WARN: Failed to find 'out' block for switch in B:61:0x008c. Please report as an issue. */
/* JADX WARN: Removed duplicated region for block: B:16:0x00c3 */
/* JADX WARN: Removed duplicated region for block: B:20:0x00d6 */
/* JADX WARN: Removed duplicated region for block: B:49:0x0060 */
/* JADX WARN: Removed duplicated region for block: B:74:0x0093 A[SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final java.lang.String zzns() throws java.io.IOException {
/*
Method dump skipped, instructions count: 242
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqn.zzns():java.lang.String");
}
private final void zzg(char c2) throws IOException {
int i = 2 % 2;
char[] cArr = this.zzazz;
while (true) {
int i2 = this.pos;
int i3 = this.limit;
while (true) {
if (i2 < i3) {
int i4 = i2 + 1;
char c3 = cArr[i2];
if (c3 == c2) {
this.pos = i4;
return;
}
if (c3 == '\\') {
this.pos = i4;
zznw();
break;
}
if (c3 == '\n') {
int i5 = a + 69;
d = i5 % 128;
int i6 = i5 % 2;
this.zzbaa++;
this.zzbab = i4;
}
int i7 = d + 115;
a = i7 % 128;
int i8 = i7 % 2;
i2 = i4;
} else {
this.pos = i2;
if (!zzbt(1)) {
throw zzci("Unterminated string");
}
int i9 = d + 77;
a = i9 % 128;
int i10 = i9 % 2;
}
}
}
}
@Override // java.io.Closeable, java.lang.AutoCloseable
public final void close() throws IOException {
int i = 2 % 2;
int i2 = a + 63;
d = i2 % 128;
int i3 = i2 % 2;
this.zzbac = 0;
this.zzbag[0] = 8;
this.zzbah = 1;
this.in.close();
int i4 = d + 17;
a = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:79:0x010c, code lost:
zznt();
*/
/* JADX WARN: Failed to find 'out' block for switch in B:76:0x0106. Please report as an issue. */
/* JADX WARN: Removed duplicated region for block: B:61:0x00ce */
/* JADX WARN: Removed duplicated region for block: B:65:0x00e2 */
/* JADX WARN: Removed duplicated region for block: B:88:0x010f A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:90:0x00d3 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void skipValue() throws java.io.IOException {
/*
Method dump skipped, instructions count: 382
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqn.skipValue():void");
}
private final void zzbs(int i) {
int i2 = 2 % 2;
int i3 = a + 97;
d = i3 % 128;
int i4 = i3 % 2;
int i5 = this.zzbah;
int[] iArr = this.zzbag;
if (i5 == iArr.length) {
int i6 = i5 << 1;
int[] iArr2 = new int[i6];
int[] iArr3 = new int[i6];
String[] strArr = new String[i6];
System.arraycopy(iArr, 0, iArr2, 0, i5);
System.arraycopy(this.zzbaj, 0, iArr3, 0, this.zzbah);
System.arraycopy(this.zzbai, 0, strArr, 0, this.zzbah);
this.zzbag = iArr2;
this.zzbaj = iArr3;
this.zzbai = strArr;
}
int[] iArr4 = this.zzbag;
int i7 = this.zzbah;
this.zzbah = i7 + 1;
iArr4[i7] = i;
int i8 = a + 11;
d = i8 % 128;
if (i8 % 2 != 0) {
throw null;
}
}
/* JADX WARN: Removed duplicated region for block: B:20:0x0060 */
/* JADX WARN: Removed duplicated region for block: B:27:0x006b A[SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final boolean zzbt(int r9) throws java.io.IOException {
/*
r8 = this;
r0 = 2
int r1 = r0 % r0
char[] r1 = r8.zzazz
int r2 = r8.zzbab
int r3 = r8.pos
int r2 = r2 - r3
r8.zzbab = r2
int r2 = r8.limit
r4 = 0
if (r2 == r3) goto L27
int r5 = com.google.android.gms.internal.firebase_ml.zzqn.d
int r5 = r5 + 9
int r6 = r5 % 128
com.google.android.gms.internal.firebase_ml.zzqn.a = r6
int r5 = r5 % r0
if (r5 != 0) goto L23
int r2 = r2 * r3
r8.limit = r2
L1f:
java.lang.System.arraycopy(r1, r3, r1, r4, r2)
goto L29
L23:
int r2 = r2 - r3
r8.limit = r2
goto L1f
L27:
r8.limit = r4
L29:
r8.pos = r4
L2b:
java.io.Reader r2 = r8.in
int r3 = r8.limit
int r5 = r1.length
int r5 = r5 - r3
int r2 = r2.read(r1, r3, r5)
r3 = -1
if (r2 == r3) goto L6e
int r3 = r8.limit
int r3 = r3 + r2
r8.limit = r3
int r2 = r8.zzbaa
r5 = 1
if (r2 != 0) goto L6b
int r2 = r8.zzbab
if (r2 != 0) goto L6b
int r6 = com.google.android.gms.internal.firebase_ml.zzqn.a
int r6 = r6 + 33
int r7 = r6 % 128
com.google.android.gms.internal.firebase_ml.zzqn.d = r7
int r6 = r6 % r0
if (r6 == 0) goto L57
r6 = 69
int r6 = r6 / r4
if (r3 <= 0) goto L6b
goto L59
L57:
if (r3 <= 0) goto L6b
L59:
char r6 = r1[r4]
r7 = 65279(0xfeff, float:9.1475E-41)
if (r6 != r7) goto L6b
int r6 = r8.pos
int r6 = r6 + r5
r8.pos = r6
int r2 = r2 + 1
r8.zzbab = r2
int r9 = r9 + 1
L6b:
if (r3 < r9) goto L2b
return r5
L6e:
return r4
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqn.zzbt(int):boolean");
}
/* JADX WARN: Code restructure failed: missing block: B:14:0x0045, code lost:
if ((!r12) == false) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0047, code lost:
return -1;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0060, code lost:
throw new java.io.EOFException("End of input" + zznv());
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final int zzaf(boolean r12) throws java.io.IOException {
/*
Method dump skipped, instructions count: 322
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqn.zzaf(boolean):int");
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0019, code lost:
if (r4.zzazy != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r4.zzazy != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0029, code lost:
throw zzci("Use JsonReader.setLenient(true) to accept malformed JSON");
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001b, code lost:
r2 = r2 + 31;
com.google.android.gms.internal.firebase_ml.zzqn.d = r2 % 128;
r2 = r2 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0022, code lost:
return;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final void zznt() throws java.io.IOException {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.google.android.gms.internal.firebase_ml.zzqn.d
int r1 = r1 + 23
int r2 = r1 % 128
com.google.android.gms.internal.firebase_ml.zzqn.a = r2
int r1 = r1 % r0
if (r1 != 0) goto L17
boolean r1 = r4.zzazy
r3 = 37
int r3 = r3 / 0
if (r1 == 0) goto L23
goto L1b
L17:
boolean r1 = r4.zzazy
if (r1 == 0) goto L23
L1b:
int r2 = r2 + 31
int r1 = r2 % 128
com.google.android.gms.internal.firebase_ml.zzqn.d = r1
int r2 = r2 % r0
return
L23:
java.lang.String r0 = "Use JsonReader.setLenient(true) to accept malformed JSON"
java.io.IOException r0 = r4.zzci(r0)
throw r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqn.zznt():void");
}
private final void zznu() throws IOException {
char c2;
int i = 2 % 2;
do {
if (this.pos >= this.limit) {
int i2 = d + 93;
a = i2 % 128;
int i3 = i2 % 2;
if (!zzbt(1)) {
break;
}
}
char[] cArr = this.zzazz;
int i4 = this.pos;
int i5 = i4 + 1;
this.pos = i5;
c2 = cArr[i4];
if (c2 == '\n') {
this.zzbaa++;
this.zzbab = i5;
return;
}
} while (c2 != '\r');
int i6 = d + 53;
a = i6 % 128;
if (i6 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final String toString() {
int i = 2 % 2;
String str = getClass().getSimpleName() + zznv();
int i2 = a + 89;
d = i2 % 128;
if (i2 % 2 == 0) {
return str;
}
throw null;
}
private final String zznv() {
int i = 2 % 2;
int i2 = this.zzbaa;
int i3 = this.pos;
int i4 = this.zzbab;
StringBuilder sb = new StringBuilder(" at line ");
sb.append(i2 + 1);
sb.append(" column ");
sb.append((i3 - i4) + 1);
sb.append(" path ");
StringBuilder sb2 = new StringBuilder("$");
int i5 = this.zzbah;
int i6 = d + 109;
a = i6 % 128;
int i7 = i6 % 2;
int i8 = 0;
while (i8 < i5) {
int i9 = a + 57;
d = i9 % 128;
int i10 = i9 % 2;
int i11 = this.zzbag[i8];
if (i11 == 1 || i11 == 2) {
sb2.append('[');
sb2.append(this.zzbaj[i8]);
sb2.append(']');
int i12 = d + 111;
a = i12 % 128;
int i13 = i12 % 2;
} else if (i11 == 3 || i11 == 4 || i11 == 5) {
sb2.append('.');
String str = this.zzbai[i8];
if (str != null) {
sb2.append(str);
}
}
i8++;
int i14 = d + 25;
a = i14 % 128;
int i15 = i14 % 2;
}
sb.append(sb2.toString());
return sb.toString();
}
private final char zznw() throws IOException {
int i;
int i2 = 2 % 2;
int i3 = a + 19;
d = i3 % 128;
int i4 = i3 % 2;
if (this.pos == this.limit && !zzbt(1)) {
throw zzci("Unterminated escape sequence");
}
char[] cArr = this.zzazz;
int i5 = this.pos;
int i6 = i5 + 1;
this.pos = i6;
char c2 = cArr[i5];
if (c2 != '\n') {
int i7 = a;
int i8 = i7 + 121;
d = i8 % 128;
if (i8 % 2 == 0 ? c2 != '\"' : c2 != '8') {
if (c2 != '\'') {
int i9 = i7 + 123;
d = i9 % 128;
int i10 = i9 % 2;
if (c2 != '/') {
int i11 = i7 + 21;
int i12 = i11 % 128;
d = i12;
if (i11 % 2 == 0 ? c2 != '\\' : c2 != 'K') {
if (c2 == 'b') {
return '\b';
}
int i13 = i12 + 101;
a = i13 % 128;
int i14 = i13 % 2;
if (c2 == 'f') {
return '\f';
}
if (c2 == 'n') {
return '\n';
}
if (c2 == 'r') {
return '\r';
}
if (c2 == 't') {
return '\t';
}
if (c2 != 'u') {
throw zzci("Invalid escape sequence");
}
if (i5 + 5 > this.limit && !zzbt(4)) {
throw zzci("Unterminated escape sequence");
}
int i15 = this.pos;
char c3 = 0;
int i16 = i15;
while (i16 < i15 + 4) {
char c4 = this.zzazz[i16];
char c5 = (char) (c3 << 4);
if (c4 >= '0' && c4 <= '9') {
i = c4 - '0';
} else {
if (c4 < 'a' || c4 > 'f') {
if (c4 >= 'A') {
int i17 = d;
int i18 = i17 + 73;
a = i18 % 128;
if (i18 % 2 == 0) {
if (c4 > 'A') {
}
int i19 = i17 + 17;
a = i19 % 128;
int i20 = i19 % 2;
i = c4 - '7';
} else {
if (c4 > 'F') {
}
int i192 = i17 + 17;
a = i192 % 128;
int i202 = i192 % 2;
i = c4 - '7';
}
}
throw new NumberFormatException("\\u".concat(new String(this.zzazz, this.pos, 4)));
}
i = c4 - 'W';
}
c3 = (char) (c5 + i);
int i21 = a + 39;
d = i21 % 128;
if (i21 % 2 == 0) {
i16++;
}
}
this.pos += 4;
return c3;
}
}
}
}
} else {
this.zzbaa++;
this.zzbab = i6;
}
return c2;
}
private final IOException zzci(String str) throws IOException {
int i = 2 % 2;
throw new zzqr(str + zznv());
}
static {
d = 0;
d();
zzazx = Gson.JSON_NON_EXECUTABLE_PREFIX.toCharArray();
zzqm.zzazw = new zzqo();
int i = a + 13;
d = i % 128;
if (i % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
static void d() {
b = -6991995161779089429L;
c = 452713125;
e = (char) 55973;
}
public final void setLenient(boolean z) {
int i = 2 % 2;
int i2 = d;
int i3 = i2 + 57;
a = i3 % 128;
int i4 = i3 % 2;
this.zzazy = true;
int i5 = i2 + 101;
a = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 99 / 0;
}
}
}