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

572 lines
20 KiB
Java

package com.google.android.gms.internal.firebase_ml;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.widget.ExpandableListView;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.common.base.Ascii;
import java.io.EOFException;
import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
/* loaded from: classes2.dex */
final class zzgq extends zzgi {
private static short[] a;
private final zzgn zzxb;
private final zzqn zzxc;
private List<String> zzxd = new ArrayList();
private zzgm zzxe;
private String zzxf;
private static final byte[] $$a = {Ascii.SYN, 77, -47, -12};
private static final int $$b = 67;
private static int $10 = 0;
private static int $11 = 1;
private static int g = 0;
private static int h = 1;
private static int c = -2046054768;
private static int b = 1406017124;
private static int d = -1390967404;
private static byte[] e = {-122, 67, ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_REHABILITATE_CHV};
/* JADX INFO: Access modifiers changed from: package-private */
public zzgq(zzgn zzgnVar, zzqn zzqnVar) {
this.zzxb = zzgnVar;
this.zzxc = zzqnVar;
zzqnVar.setLenient(true);
}
/* 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:0x002e). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void i(byte r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r7 = 3 - r7
int r8 = r8 * 2
int r8 = r8 + 1
byte[] r0 = com.google.android.gms.internal.firebase_ml.zzgq.$$a
int r6 = r6 * 2
int r6 = 110 - r6
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L17
r6 = r7
r4 = r8
r3 = r2
goto L2e
L17:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L1b:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r8) goto L2a
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L2a:
int r6 = r6 + 1
r4 = r0[r6]
L2e:
int r7 = r7 + r4
goto L1b
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzgq.i(byte, int, short, java.lang.Object[]):void");
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final void close() throws IOException {
int i = 2 % 2;
int i2 = g + 1;
h = i2 % 128;
int i3 = i2 % 2;
this.zzxc.close();
int i4 = g + 55;
h = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 18 / 0;
}
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final String zzgj() {
int i = 2 % 2;
int i2 = g + 83;
h = i2 % 128;
int i3 = i2 % 2;
if (!this.zzxd.isEmpty()) {
List<String> list = this.zzxd;
return list.get(list.size() - 1);
}
int i4 = h + 71;
g = i4 % 128;
int i5 = i4 % 2;
return null;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final byte zzgl() {
int i = 2 % 2;
int i2 = h + 1;
g = i2 % 128;
int i3 = i2 % 2;
zzgy();
byte parseByte = Byte.parseByte(this.zzxf);
int i4 = g + 81;
h = i4 % 128;
int i5 = i4 % 2;
return parseByte;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final short zzgm() {
int i = 2 % 2;
int i2 = h + 93;
g = i2 % 128;
int i3 = i2 % 2;
zzgy();
short parseShort = Short.parseShort(this.zzxf);
int i4 = g + 103;
h = i4 % 128;
if (i4 % 2 != 0) {
return parseShort;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final int getIntValue() {
int i = 2 % 2;
int i2 = g + 37;
h = i2 % 128;
int i3 = i2 % 2;
zzgy();
int parseInt = Integer.parseInt(this.zzxf);
int i4 = g + 47;
h = i4 % 128;
int i5 = i4 % 2;
return parseInt;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final float zzgn() {
int i = 2 % 2;
int i2 = h + 75;
g = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
zzgy();
float parseFloat = Float.parseFloat(this.zzxf);
int i3 = g + 27;
h = i3 % 128;
if (i3 % 2 != 0) {
return parseFloat;
}
obj.hashCode();
throw null;
}
zzgy();
Float.parseFloat(this.zzxf);
obj.hashCode();
throw null;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final BigInteger zzgq() {
int i = 2 % 2;
zzgy();
BigInteger bigInteger = new BigInteger(this.zzxf);
int i2 = h + 19;
g = i2 % 128;
if (i2 % 2 == 0) {
return bigInteger;
}
throw null;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final BigDecimal zzgr() {
int i = 2 % 2;
zzgy();
BigDecimal bigDecimal = new BigDecimal(this.zzxf);
int i2 = g + 91;
h = i2 % 128;
if (i2 % 2 != 0) {
return bigDecimal;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final double zzgp() {
int i = 2 % 2;
int i2 = h + 53;
g = i2 % 128;
int i3 = i2 % 2;
zzgy();
double parseDouble = Double.parseDouble(this.zzxf);
int i4 = g + 35;
h = i4 % 128;
if (i4 % 2 != 0) {
return parseDouble;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final long zzgo() {
int i = 2 % 2;
int i2 = g + 27;
h = i2 % 128;
int i3 = i2 % 2;
zzgy();
long parseLong = Long.parseLong(this.zzxf);
int i4 = g + 21;
h = i4 % 128;
int i5 = i4 % 2;
return parseLong;
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0033 A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:12:0x0034 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final void zzgy() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
com.google.android.gms.internal.firebase_ml.zzgm r1 = r4.zzxe
com.google.android.gms.internal.firebase_ml.zzgm r2 = com.google.android.gms.internal.firebase_ml.zzgm.VALUE_NUMBER_INT
r3 = 0
if (r1 == r2) goto L24
int r1 = com.google.android.gms.internal.firebase_ml.zzgq.h
int r1 = r1 + 59
int r2 = r1 % 128
com.google.android.gms.internal.firebase_ml.zzgq.g = r2
int r1 = r1 % r0
if (r1 != 0) goto L1e
com.google.android.gms.internal.firebase_ml.zzgm r1 = r4.zzxe
com.google.android.gms.internal.firebase_ml.zzgm r2 = com.google.android.gms.internal.firebase_ml.zzgm.VALUE_NUMBER_FLOAT
if (r1 != r2) goto L1c
goto L24
L1c:
r1 = 0
goto L25
L1e:
com.google.android.gms.internal.firebase_ml.zzgm r0 = com.google.android.gms.internal.firebase_ml.zzgm.VALUE_NUMBER_FLOAT
r3.hashCode()
throw r3
L24:
r1 = 1
L25:
com.google.android.gms.internal.firebase_ml.zzks.checkArgument(r1)
int r1 = com.google.android.gms.internal.firebase_ml.zzgq.h
int r1 = r1 + 81
int r2 = r1 % 128
com.google.android.gms.internal.firebase_ml.zzgq.g = r2
int r1 = r1 % r0
if (r1 != 0) goto L34
return
L34:
throw r3
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzgq.zzgy():void");
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final zzgm zzgh() throws IOException {
zzqp zzqpVar;
zzgm zzgmVar;
int i = 2 % 2;
if (this.zzxe != null) {
int i2 = zzgr.zzwl[this.zzxe.ordinal()];
if (i2 != 1) {
int i3 = h + 65;
g = i3 % 128;
int i4 = i3 % 2;
if (i2 == 2) {
this.zzxc.beginObject();
this.zzxd.add(null);
}
} else {
this.zzxc.beginArray();
this.zzxd.add(null);
}
}
try {
zzqpVar = this.zzxc.zznq();
} catch (EOFException unused) {
zzqpVar = zzqp.END_DOCUMENT;
}
switch (zzgr.zzxg[zzqpVar.ordinal()]) {
case 1:
this.zzxf = "[";
this.zzxe = zzgm.START_ARRAY;
break;
case 2:
this.zzxf = "]";
this.zzxe = zzgm.END_ARRAY;
List<String> list = this.zzxd;
list.remove(list.size() - 1);
this.zzxc.endArray();
break;
case 3:
this.zzxf = UrlTreeKt.componentParamPrefix;
this.zzxe = zzgm.START_OBJECT;
break;
case 4:
this.zzxf = UrlTreeKt.componentParamSuffix;
this.zzxe = zzgm.END_OBJECT;
List<String> list2 = this.zzxd;
list2.remove(list2.size() - 1);
this.zzxc.endObject();
break;
case 5:
if (!this.zzxc.nextBoolean()) {
this.zzxf = "false";
this.zzxe = zzgm.VALUE_FALSE;
break;
} else {
int i5 = g + 41;
h = i5 % 128;
int i6 = i5 % 2;
this.zzxf = "true";
this.zzxe = zzgm.VALUE_TRUE;
break;
}
case 6:
Object[] objArr = new Object[1];
f((short) ExpandableListView.getPackedPositionGroup(0L), (byte) (ExpandableListView.getPackedPositionGroup(0L) + 86), (-114) - ExpandableListView.getPackedPositionType(0L), ImageFormat.getBitsPerPixel(0) + 708464508, Color.blue(0) + 19293421, objArr);
this.zzxf = ((String) objArr[0]).intern();
this.zzxe = zzgm.VALUE_NULL;
this.zzxc.nextNull();
break;
case 7:
this.zzxf = this.zzxc.nextString();
this.zzxe = zzgm.VALUE_STRING;
break;
case 8:
String nextString = this.zzxc.nextString();
this.zzxf = nextString;
if (nextString.indexOf(46) == -1) {
zzgmVar = zzgm.VALUE_NUMBER_INT;
} else {
zzgmVar = zzgm.VALUE_NUMBER_FLOAT;
int i7 = g + 119;
h = i7 % 128;
int i8 = i7 % 2;
}
this.zzxe = zzgmVar;
int i9 = h + 5;
g = i9 % 128;
int i10 = i9 % 2;
break;
case 9:
this.zzxf = this.zzxc.nextName();
this.zzxe = zzgm.FIELD_NAME;
List<String> list3 = this.zzxd;
list3.set(list3.size() - 1, this.zzxf);
break;
default:
this.zzxf = null;
this.zzxe = null;
break;
}
return this.zzxe;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final zzgi zzgk() throws IOException {
int i;
int i2 = 2 % 2;
if (this.zzxe != null) {
int i3 = h + 63;
g = i3 % 128;
if (i3 % 2 == 0 ? (i = zzgr.zzwl[this.zzxe.ordinal()]) == 1 : (i = zzgr.zzwl[this.zzxe.ordinal()]) == 0) {
this.zzxc.skipValue();
this.zzxf = "]";
this.zzxe = zzgm.END_ARRAY;
} else {
int i4 = h;
int i5 = i4 + 53;
g = i5 % 128;
if (i5 % 2 == 0 ? i == 2 : i == 5) {
this.zzxc.skipValue();
this.zzxf = UrlTreeKt.componentParamSuffix;
this.zzxe = zzgm.END_OBJECT;
} else {
int i6 = i4 + 119;
g = i6 % 128;
int i7 = i6 % 2;
}
}
}
return this;
}
/* JADX WARN: Code restructure failed: missing block: B:16:0x0094, code lost:
if (r3 != null) goto L22;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0112, code lost:
if (r3 == null) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0114, code lost:
r0 = com.google.android.gms.internal.firebase_ml.zzgq.e;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0119, code lost:
r9 = new java.lang.Object[]{java.lang.Integer.valueOf(r19), java.lang.Integer.valueOf(com.google.android.gms.internal.firebase_ml.zzgq.c)};
r3 = o.xzZ.y.get(-2092856797);
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0134, code lost:
if (r3 == null) goto L37;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0186, code lost:
r3 = (byte) (((byte) (r0[((java.lang.Integer) ((java.lang.reflect.Method) r3).invoke(null, r9)).intValue()] ^ (-7303220121662775787L))) + ((int) (com.google.android.gms.internal.firebase_ml.zzgq.b ^ (-7303220121662775787L))));
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0137, code lost:
r3 = (java.lang.Class) o.xzZ.c(android.widget.ExpandableListView.getPackedPositionChild(0) + 338, 5 - (android.view.ViewConfiguration.getFadingEdgeLength() >> 16), (char) android.text.TextUtils.indexOf("", "", 0, 0));
r7 = (byte) 0;
r10 = r7;
r12 = new java.lang.Object[1];
i(r7, r10, r10, r12);
r3 = r3.getMethod((java.lang.String) r12[0], java.lang.Integer.TYPE, java.lang.Integer.TYPE);
o.xzZ.y.put(-2092856797, r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0199, code lost:
r3 = (short) (((short) (com.google.android.gms.internal.firebase_ml.zzgq.a[r19 + ((int) (com.google.android.gms.internal.firebase_ml.zzgq.c ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (com.google.android.gms.internal.firebase_ml.zzgq.b ^ (-7303220121662775787L))));
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x009b, code lost:
r10 = r3.length;
r13 = new byte[r10];
r14 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x009f, code lost:
if (r14 >= r10) goto L83;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x00a3, code lost:
r11 = new java.lang.Object[]{java.lang.Integer.valueOf(r3[r14])};
r7 = o.xzZ.y.get(-1648115392);
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x00b8, code lost:
if (r7 == null) goto L28;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x0107, code lost:
r13[r14] = ((java.lang.Byte) ((java.lang.reflect.Method) r7).invoke(null, r11)).byteValue();
r14 = r14 + 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x00bb, code lost:
r0 = (java.lang.Class) o.xzZ.c(android.graphics.Color.blue(0) + 60, 5 - android.text.TextUtils.indexOf("", ""), (char) android.view.KeyEvent.normalizeMetaState(0));
r7 = (byte) (com.google.android.gms.internal.firebase_ml.zzgq.$$b & 5);
r12 = (byte) (r7 - 1);
r15 = new java.lang.Object[1];
i(r7, r12, r12, r15);
r7 = r0.getMethod((java.lang.String) r15[0], java.lang.Integer.TYPE);
o.xzZ.y.put(-1648115392, r7);
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x0111, code lost:
r3 = r13;
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x0099, code lost:
if (r3 != null) goto L22;
*/
/* JADX WARN: Removed duplicated region for block: B:48:0x0201 */
/* JADX WARN: Removed duplicated region for block: B:52:0x0253 */
/* JADX WARN: Removed duplicated region for block: B:58:0x026c */
/* JADX WARN: Removed duplicated region for block: B:64:0x0282 */
/* JADX WARN: Removed duplicated region for block: B:73:0x0202 A[Catch: all -> 0x02e7, TryCatch #0 {all -> 0x02e7, blocks: (B:3:0x000f, B:6:0x0031, B:7:0x006d, B:19:0x0119, B:22:0x0179, B:24:0x0137, B:29:0x00a3, B:32:0x00fa, B:34:0x00bb, B:46:0x01de, B:49:0x023d, B:73:0x0202), top: B:2:0x000f }] */
/* JADX WARN: Removed duplicated region for block: B:82:0x02ee */
/* JADX WARN: Removed duplicated region for block: B:83:0x02ef */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void f(short r16, byte r17, int r18, int r19, int r20, java.lang.Object[] r21) {
/*
Method dump skipped, instructions count: 752
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzgq.f(short, byte, int, int, int, java.lang.Object[]):void");
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final zzgm zzgi() {
int i = 2 % 2;
int i2 = g;
int i3 = i2 + 21;
h = i3 % 128;
int i4 = i3 % 2;
zzgm zzgmVar = this.zzxe;
int i5 = i2 + 3;
h = i5 % 128;
int i6 = i5 % 2;
return zzgmVar;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final zzge zzgg() {
int i = 2 % 2;
int i2 = g + 19;
int i3 = i2 % 128;
h = i3;
int i4 = i2 % 2;
zzgn zzgnVar = this.zzxb;
int i5 = i3 + 35;
g = i5 % 128;
int i6 = i5 % 2;
return zzgnVar;
}
@Override // com.google.android.gms.internal.firebase_ml.zzgi
public final String getText() {
int i = 2 % 2;
int i2 = h + 19;
int i3 = i2 % 128;
g = i3;
int i4 = i2 % 2;
String str = this.zzxf;
int i5 = i3 + 25;
h = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 34 / 0;
}
return str;
}
}