1070 lines
33 KiB
Java
1070 lines
33 KiB
Java
|
package com.google.android.gms.internal.firebase_ml;
|
||
|
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.MotionEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import android.widget.ExpandableListView;
|
||
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
||
|
import java.io.Closeable;
|
||
|
import java.io.Flushable;
|
||
|
import java.io.IOException;
|
||
|
import java.io.Writer;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
||
|
import o.TVH;
|
||
|
import o.xzZ;
|
||
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzqq implements Closeable, Flushable {
|
||
|
private static final byte[] $$a = {59, 92, ISOFileInfo.FCI_BYTE, -78};
|
||
|
private static final int $$b = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int a;
|
||
|
private static int c;
|
||
|
private static char[] e;
|
||
|
private static final String[] zzbav;
|
||
|
private static final String[] zzbaw;
|
||
|
private final Writer out;
|
||
|
private String separator;
|
||
|
private boolean zzazy;
|
||
|
private int[] zzbag = new int[32];
|
||
|
private int zzbah = 0;
|
||
|
private String zzbax;
|
||
|
private String zzbay;
|
||
|
private boolean zzbaz;
|
||
|
|
||
|
public zzqq(Writer writer) {
|
||
|
zzbs(6);
|
||
|
this.separator = ":";
|
||
|
this.zzbaz = true;
|
||
|
this.out = writer;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002f). 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 d(int r6, byte r7, int r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
int r7 = r7 * 2
|
||
|
int r7 = r7 + 4
|
||
|
byte[] r0 = com.google.android.gms.internal.firebase_ml.zzqq.$$a
|
||
|
int r6 = r6 * 3
|
||
|
int r1 = r6 + 1
|
||
|
int r8 = r8 * 2
|
||
|
int r8 = r8 + 71
|
||
|
byte[] r1 = new byte[r1]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L17
|
||
|
r4 = r8
|
||
|
r3 = r2
|
||
|
r8 = r7
|
||
|
goto L2f
|
||
|
L17:
|
||
|
r3 = r2
|
||
|
L18:
|
||
|
r5 = r8
|
||
|
r8 = r7
|
||
|
r7 = r5
|
||
|
byte r4 = (byte) r7
|
||
|
r1[r3] = r4
|
||
|
if (r3 != r6) goto L28
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r1, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L28:
|
||
|
int r3 = r3 + 1
|
||
|
r4 = r0[r8]
|
||
|
r5 = r8
|
||
|
r8 = r7
|
||
|
r7 = r5
|
||
|
L2f:
|
||
|
int r7 = r7 + 1
|
||
|
int r8 = r8 + r4
|
||
|
goto L18
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqq.d(int, byte, int, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
public final void setIndent(String str) {
|
||
|
int i = 2 % 2;
|
||
|
if (str.length() != 0) {
|
||
|
this.zzbax = str;
|
||
|
this.separator = ": ";
|
||
|
return;
|
||
|
}
|
||
|
int i2 = a + 93;
|
||
|
int i3 = i2 % 128;
|
||
|
c = i3;
|
||
|
int i4 = i2 % 2;
|
||
|
this.zzbax = null;
|
||
|
this.separator = ":";
|
||
|
int i5 = i3 + 9;
|
||
|
a = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final zzqq zznx() throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 97;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
zzob();
|
||
|
zzqq zza = zza(1, "[");
|
||
|
int i4 = a + 125;
|
||
|
c = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
return zza;
|
||
|
}
|
||
|
|
||
|
public final zzqq zzny() throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = a + 29;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
zzqq zzc = zzc(1, 2, "]");
|
||
|
int i4 = c + 29;
|
||
|
a = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
return zzc;
|
||
|
}
|
||
|
|
||
|
public final zzqq zznz() throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 71;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
zzob();
|
||
|
return zza(3, UrlTreeKt.componentParamPrefix);
|
||
|
}
|
||
|
|
||
|
public final zzqq zzoa() throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 53;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
zzqq zzc = zzc(3, 5, UrlTreeKt.componentParamSuffix);
|
||
|
int i4 = a + 9;
|
||
|
c = i4 % 128;
|
||
|
if (i4 % 2 != 0) {
|
||
|
return zzc;
|
||
|
}
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
private final zzqq zza(int i, String str) throws IOException {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = a + 119;
|
||
|
c = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
zzoe();
|
||
|
zzbs(i);
|
||
|
this.out.write(str);
|
||
|
int i5 = c + 105;
|
||
|
a = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:16:0x0034, code lost:
|
||
|
|
||
|
if (r1 == r6) goto L21;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:19:0x003f, code lost:
|
||
|
|
||
|
r5 = r5 + 113;
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r5 % 128;
|
||
|
r5 = r5 % 2;
|
||
|
zzod();
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:21:0x003d, code lost:
|
||
|
|
||
|
if (r1 == r6) goto L21;
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private final com.google.android.gms.internal.firebase_ml.zzqq zzc(int r5, int r6, java.lang.String r7) throws java.io.IOException {
|
||
|
/*
|
||
|
r4 = this;
|
||
|
r0 = 2
|
||
|
int r1 = r0 % r0
|
||
|
int r1 = r4.peek()
|
||
|
if (r1 == r6) goto L21
|
||
|
int r2 = com.google.android.gms.internal.firebase_ml.zzqq.a
|
||
|
int r2 = r2 + 59
|
||
|
int r3 = r2 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.c = r3
|
||
|
int r2 = r2 % r0
|
||
|
if (r2 == 0) goto L1f
|
||
|
if (r1 != r5) goto L17
|
||
|
goto L21
|
||
|
L17:
|
||
|
java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
|
||
|
java.lang.String r6 = "Nesting problem."
|
||
|
r5.<init>(r6)
|
||
|
throw r5
|
||
|
L1f:
|
||
|
r5 = 0
|
||
|
throw r5
|
||
|
L21:
|
||
|
java.lang.String r5 = r4.zzbay
|
||
|
if (r5 != 0) goto L4f
|
||
|
int r5 = com.google.android.gms.internal.firebase_ml.zzqq.c
|
||
|
int r2 = r5 + 59
|
||
|
int r3 = r2 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r3
|
||
|
int r2 = r2 % r0
|
||
|
if (r2 == 0) goto L37
|
||
|
int r2 = r4.zzbah
|
||
|
r4.zzbah = r2
|
||
|
if (r1 != r6) goto L49
|
||
|
goto L3f
|
||
|
L37:
|
||
|
int r2 = r4.zzbah
|
||
|
int r2 = r2 + (-1)
|
||
|
r4.zzbah = r2
|
||
|
if (r1 != r6) goto L49
|
||
|
L3f:
|
||
|
int r5 = r5 + 113
|
||
|
int r6 = r5 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r6
|
||
|
int r5 = r5 % r0
|
||
|
r4.zzod()
|
||
|
L49:
|
||
|
java.io.Writer r5 = r4.out
|
||
|
r5.write(r7)
|
||
|
return r4
|
||
|
L4f:
|
||
|
java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
|
||
|
java.lang.StringBuilder r6 = new java.lang.StringBuilder
|
||
|
java.lang.String r7 = "Dangling name: "
|
||
|
r6.<init>(r7)
|
||
|
java.lang.String r7 = r4.zzbay
|
||
|
r6.append(r7)
|
||
|
java.lang.String r6 = r6.toString()
|
||
|
r5.<init>(r6)
|
||
|
throw r5
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqq.zzc(int, int, java.lang.String):com.google.android.gms.internal.firebase_ml.zzqq");
|
||
|
}
|
||
|
|
||
|
private final void zzbs(int i) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = a + 53;
|
||
|
c = i3 % 128;
|
||
|
if (i3 % 2 != 0) {
|
||
|
int i4 = this.zzbah;
|
||
|
int[] iArr = this.zzbag;
|
||
|
if (i4 == iArr.length) {
|
||
|
int[] iArr2 = new int[i4 << 1];
|
||
|
System.arraycopy(iArr, 0, iArr2, 0, i4);
|
||
|
this.zzbag = iArr2;
|
||
|
int i5 = a + 25;
|
||
|
c = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
}
|
||
|
int[] iArr3 = this.zzbag;
|
||
|
int i7 = this.zzbah;
|
||
|
this.zzbah = i7 + 1;
|
||
|
iArr3[i7] = i;
|
||
|
return;
|
||
|
}
|
||
|
int length = this.zzbag.length;
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:11: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;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:6:0x0030, code lost:
|
||
|
|
||
|
throw new java.lang.IllegalStateException("JsonWriter is closed.");
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:8:0x001b, code lost:
|
||
|
|
||
|
r1 = r4.zzbag[r1 - 1];
|
||
|
r2 = r2 + 57;
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.c = r2 % 128;
|
||
|
r2 = r2 % 2;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:9:0x0028, code lost:
|
||
|
|
||
|
return r1;
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private final int peek() {
|
||
|
/*
|
||
|
r4 = this;
|
||
|
r0 = 2
|
||
|
int r1 = r0 % r0
|
||
|
int r1 = com.google.android.gms.internal.firebase_ml.zzqq.c
|
||
|
int r1 = r1 + 69
|
||
|
int r2 = r1 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r2
|
||
|
int r1 = r1 % r0
|
||
|
if (r1 == 0) goto L17
|
||
|
int r1 = r4.zzbah
|
||
|
r3 = 98
|
||
|
int r3 = r3 / 0
|
||
|
if (r1 == 0) goto L29
|
||
|
goto L1b
|
||
|
L17:
|
||
|
int r1 = r4.zzbah
|
||
|
if (r1 == 0) goto L29
|
||
|
L1b:
|
||
|
int[] r3 = r4.zzbag
|
||
|
int r1 = r1 + (-1)
|
||
|
r1 = r3[r1]
|
||
|
int r2 = r2 + 57
|
||
|
int r3 = r2 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.c = r3
|
||
|
int r2 = r2 % r0
|
||
|
return r1
|
||
|
L29:
|
||
|
java.lang.IllegalStateException r0 = new java.lang.IllegalStateException
|
||
|
java.lang.String r1 = "JsonWriter is closed."
|
||
|
r0.<init>(r1)
|
||
|
throw r0
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqq.peek():int");
|
||
|
}
|
||
|
|
||
|
private final void zzbu(int i) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = a + 109;
|
||
|
int i4 = i3 % 128;
|
||
|
c = i4;
|
||
|
int i5 = i3 % 2;
|
||
|
this.zzbag[this.zzbah - 1] = i;
|
||
|
int i6 = i4 + 111;
|
||
|
a = i6 % 128;
|
||
|
if (i6 % 2 == 0) {
|
||
|
return;
|
||
|
}
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
public final zzqq zzcj(String str) throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c;
|
||
|
int i3 = i2 + 7;
|
||
|
a = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
if (str == null) {
|
||
|
throw new NullPointerException("name == null");
|
||
|
}
|
||
|
int i5 = i2 + 79;
|
||
|
int i6 = i5 % 128;
|
||
|
a = i6;
|
||
|
int i7 = i5 % 2;
|
||
|
if (this.zzbay != null) {
|
||
|
throw new IllegalStateException();
|
||
|
}
|
||
|
if (this.zzbah != 0) {
|
||
|
this.zzbay = str;
|
||
|
int i8 = i6 + 103;
|
||
|
c = i8 % 128;
|
||
|
if (i8 % 2 != 0) {
|
||
|
return this;
|
||
|
}
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
throw new IllegalStateException("JsonWriter is closed.");
|
||
|
}
|
||
|
|
||
|
private final void zzob() throws IOException {
|
||
|
Writer writer;
|
||
|
int i;
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = c + 87;
|
||
|
a = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
if (this.zzbay != null) {
|
||
|
int peek = peek();
|
||
|
if (peek == 5) {
|
||
|
int i5 = c + 1;
|
||
|
a = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
writer = this.out;
|
||
|
i = 111;
|
||
|
} else {
|
||
|
writer = this.out;
|
||
|
i = 44;
|
||
|
}
|
||
|
writer.write(i);
|
||
|
} else if (peek != 3) {
|
||
|
throw new IllegalStateException("Nesting problem.");
|
||
|
}
|
||
|
zzod();
|
||
|
zzbu(4);
|
||
|
zzcl(this.zzbay);
|
||
|
this.zzbay = null;
|
||
|
int i6 = c + 39;
|
||
|
a = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final zzqq zzck(String str) throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = a + 97;
|
||
|
c = i2 % 128;
|
||
|
Object obj = null;
|
||
|
if (i2 % 2 == 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
if (str == null) {
|
||
|
zzqq zzoc = zzoc();
|
||
|
int i3 = c + 63;
|
||
|
a = i3 % 128;
|
||
|
if (i3 % 2 == 0) {
|
||
|
return zzoc;
|
||
|
}
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
zzob();
|
||
|
zzoe();
|
||
|
zzcl(str);
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public final zzqq zzoc() throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = a;
|
||
|
int i3 = i2 + 83;
|
||
|
int i4 = i3 % 128;
|
||
|
c = i4;
|
||
|
Object obj = null;
|
||
|
if (i3 % 2 == 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
if (this.zzbay != null) {
|
||
|
if (!this.zzbaz) {
|
||
|
this.zzbay = null;
|
||
|
int i5 = i4 + 103;
|
||
|
a = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
int i6 = 6 / 0;
|
||
|
}
|
||
|
return this;
|
||
|
}
|
||
|
int i7 = i2 + 87;
|
||
|
c = i7 % 128;
|
||
|
if (i7 % 2 == 0) {
|
||
|
zzob();
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
zzob();
|
||
|
}
|
||
|
zzoe();
|
||
|
Writer writer = this.out;
|
||
|
Object[] objArr = new Object[1];
|
||
|
b(new byte[]{1, 1, 1, 0}, new int[]{0, 4, 81, 4}, false, objArr);
|
||
|
writer.write(((String) objArr[0]).intern());
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public final zzqq zzag(boolean z) throws IOException {
|
||
|
String str;
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 37;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
zzob();
|
||
|
zzoe();
|
||
|
Writer writer = this.out;
|
||
|
if (!(!z)) {
|
||
|
int i4 = a + 35;
|
||
|
c = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
str = "true";
|
||
|
} else {
|
||
|
str = "false";
|
||
|
}
|
||
|
writer.write(str);
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public final zzqq zzb(double d) throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
if (!Double.isNaN(d)) {
|
||
|
int i2 = c + 21;
|
||
|
a = i2 % 128;
|
||
|
if (i2 % 2 != 0) {
|
||
|
Double.isInfinite(d);
|
||
|
throw null;
|
||
|
}
|
||
|
if (!Double.isInfinite(d)) {
|
||
|
int i3 = c + 47;
|
||
|
a = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
zzob();
|
||
|
zzoe();
|
||
|
this.out.append((CharSequence) Double.toString(d));
|
||
|
int i5 = c + 49;
|
||
|
a = i5 % 128;
|
||
|
if (i5 % 2 == 0) {
|
||
|
return this;
|
||
|
}
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
throw new IllegalArgumentException("Numeric values must be finite, but was " + d);
|
||
|
}
|
||
|
|
||
|
public final zzqq zzo(long j) throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = a + 53;
|
||
|
c = i2 % 128;
|
||
|
if (i2 % 2 != 0) {
|
||
|
zzob();
|
||
|
zzoe();
|
||
|
this.out.write(Long.toString(j));
|
||
|
return this;
|
||
|
}
|
||
|
zzob();
|
||
|
zzoe();
|
||
|
this.out.write(Long.toString(j));
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:15:0x0048, code lost:
|
||
|
|
||
|
if (r1.equals("NaN") == false) goto L21;
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final com.google.android.gms.internal.firebase_ml.zzqq zza(java.lang.Number r5) throws java.io.IOException {
|
||
|
/*
|
||
|
r4 = this;
|
||
|
r0 = 2
|
||
|
int r1 = r0 % r0
|
||
|
if (r5 != 0) goto L13
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq r5 = r4.zzoc()
|
||
|
int r1 = com.google.android.gms.internal.firebase_ml.zzqq.c
|
||
|
int r1 = r1 + 19
|
||
|
int r2 = r1 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r2
|
||
|
int r1 = r1 % r0
|
||
|
return r5
|
||
|
L13:
|
||
|
r4.zzob()
|
||
|
java.lang.String r1 = r5.toString()
|
||
|
boolean r2 = r4.zzazy
|
||
|
if (r2 != 0) goto L64
|
||
|
int r2 = com.google.android.gms.internal.firebase_ml.zzqq.c
|
||
|
int r2 = r2 + 73
|
||
|
int r3 = r2 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r3
|
||
|
int r2 = r2 % r0
|
||
|
java.lang.String r3 = "-Infinity"
|
||
|
if (r2 != 0) goto L5f
|
||
|
boolean r2 = r1.equals(r3)
|
||
|
if (r2 != 0) goto L4b
|
||
|
java.lang.String r2 = "Infinity"
|
||
|
boolean r2 = r1.equals(r2)
|
||
|
if (r2 != 0) goto L4b
|
||
|
int r2 = com.google.android.gms.internal.firebase_ml.zzqq.c
|
||
|
int r2 = r2 + 69
|
||
|
int r3 = r2 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r3
|
||
|
int r2 = r2 % r0
|
||
|
java.lang.String r0 = "NaN"
|
||
|
boolean r0 = r1.equals(r0)
|
||
|
if (r0 != 0) goto L4b
|
||
|
goto L64
|
||
|
L4b:
|
||
|
java.lang.IllegalArgumentException r0 = new java.lang.IllegalArgumentException
|
||
|
java.lang.StringBuilder r1 = new java.lang.StringBuilder
|
||
|
java.lang.String r2 = "Numeric values must be finite, but was "
|
||
|
r1.<init>(r2)
|
||
|
r1.append(r5)
|
||
|
java.lang.String r5 = r1.toString()
|
||
|
r0.<init>(r5)
|
||
|
throw r0
|
||
|
L5f:
|
||
|
r1.equals(r3)
|
||
|
r5 = 0
|
||
|
throw r5
|
||
|
L64:
|
||
|
r4.zzoe()
|
||
|
java.io.Writer r5 = r4.out
|
||
|
r5.append(r1)
|
||
|
return r4
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqq.zza(java.lang.Number):com.google.android.gms.internal.firebase_ml.zzqq");
|
||
|
}
|
||
|
|
||
|
@Override // java.io.Flushable
|
||
|
public final void flush() throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 63;
|
||
|
a = i2 % 128;
|
||
|
Object obj = null;
|
||
|
if (i2 % 2 != 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
if (this.zzbah == 0) {
|
||
|
throw new IllegalStateException("JsonWriter is closed.");
|
||
|
}
|
||
|
this.out.flush();
|
||
|
int i3 = a + 43;
|
||
|
c = i3 % 128;
|
||
|
if (i3 % 2 != 0) {
|
||
|
return;
|
||
|
}
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:13:0x0023, code lost:
|
||
|
|
||
|
if (r6.zzbag[r1 - 1] == 7) goto L11;
|
||
|
*/
|
||
|
@Override // java.io.Closeable, java.lang.AutoCloseable
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final void close() throws java.io.IOException {
|
||
|
/*
|
||
|
r6 = this;
|
||
|
r0 = 2
|
||
|
int r1 = r0 % r0
|
||
|
java.io.Writer r1 = r6.out
|
||
|
r1.close()
|
||
|
int r1 = r6.zzbah
|
||
|
r2 = 1
|
||
|
if (r1 > r2) goto L35
|
||
|
int r3 = com.google.android.gms.internal.firebase_ml.zzqq.c
|
||
|
int r4 = r3 + 73
|
||
|
int r5 = r4 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r5
|
||
|
int r4 = r4 % r0
|
||
|
if (r4 == 0) goto L1b
|
||
|
if (r1 != r2) goto L25
|
||
|
goto L1d
|
||
|
L1b:
|
||
|
if (r1 != r2) goto L25
|
||
|
L1d:
|
||
|
int[] r4 = r6.zzbag
|
||
|
int r1 = r1 - r2
|
||
|
r1 = r4[r1]
|
||
|
r2 = 7
|
||
|
if (r1 != r2) goto L35
|
||
|
L25:
|
||
|
r1 = 0
|
||
|
r6.zzbah = r1
|
||
|
int r3 = r3 + 17
|
||
|
int r2 = r3 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r2
|
||
|
int r3 = r3 % r0
|
||
|
if (r3 == 0) goto L34
|
||
|
r0 = 79
|
||
|
int r0 = r0 / r1
|
||
|
L34:
|
||
|
return
|
||
|
L35:
|
||
|
java.io.IOException r0 = new java.io.IOException
|
||
|
java.lang.String r1 = "Incomplete document"
|
||
|
r0.<init>(r1)
|
||
|
throw r0
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqq.close():void");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:16:0x0052 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:19:0x006b */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:21:0x006e A[SYNTHETIC] */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private final void zzcl(java.lang.String r10) throws java.io.IOException {
|
||
|
/*
|
||
|
r9 = this;
|
||
|
r0 = 2
|
||
|
int r1 = r0 % r0
|
||
|
java.lang.String[] r1 = com.google.android.gms.internal.firebase_ml.zzqq.zzbav
|
||
|
java.io.Writer r2 = r9.out
|
||
|
java.lang.String r3 = "\""
|
||
|
r2.write(r3)
|
||
|
int r2 = r10.length()
|
||
|
r4 = 0
|
||
|
r5 = r4
|
||
|
L12:
|
||
|
if (r4 >= r2) goto L71
|
||
|
int r6 = com.google.android.gms.internal.firebase_ml.zzqq.c
|
||
|
int r6 = r6 + 85
|
||
|
int r7 = r6 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r7
|
||
|
int r6 = r6 % r0
|
||
|
char r6 = r10.charAt(r4)
|
||
|
r7 = 128(0x80, float:1.8E-43)
|
||
|
if (r6 >= r7) goto L3a
|
||
|
r6 = r1[r6]
|
||
|
if (r6 != 0) goto L50
|
||
|
int r6 = com.google.android.gms.internal.firebase_ml.zzqq.a
|
||
|
int r6 = r6 + 45
|
||
|
int r7 = r6 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.c = r7
|
||
|
int r6 = r6 % r0
|
||
|
if (r6 == 0) goto L35
|
||
|
goto L6e
|
||
|
L35:
|
||
|
r10 = 0
|
||
|
r10.hashCode()
|
||
|
throw r10
|
||
|
L3a:
|
||
|
r7 = 8232(0x2028, float:1.1535E-41)
|
||
|
if (r6 != r7) goto L41
|
||
|
java.lang.String r6 = "\\u2028"
|
||
|
goto L50
|
||
|
L41:
|
||
|
r7 = 8233(0x2029, float:1.1537E-41)
|
||
|
if (r6 != r7) goto L6e
|
||
|
int r6 = com.google.android.gms.internal.firebase_ml.zzqq.c
|
||
|
int r6 = r6 + 37
|
||
|
int r7 = r6 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r7
|
||
|
int r6 = r6 % r0
|
||
|
java.lang.String r6 = "\\u2029"
|
||
|
L50:
|
||
|
if (r5 >= r4) goto L59
|
||
|
java.io.Writer r7 = r9.out
|
||
|
int r8 = r4 - r5
|
||
|
r7.write(r10, r5, r8)
|
||
|
L59:
|
||
|
java.io.Writer r5 = r9.out
|
||
|
r5.write(r6)
|
||
|
int r5 = r4 + 1
|
||
|
int r6 = com.google.android.gms.internal.firebase_ml.zzqq.c
|
||
|
int r6 = r6 + 89
|
||
|
int r7 = r6 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.a = r7
|
||
|
int r6 = r6 % r0
|
||
|
if (r6 == 0) goto L6e
|
||
|
r6 = 4
|
||
|
int r6 = r6 / 5
|
||
|
L6e:
|
||
|
int r4 = r4 + 1
|
||
|
goto L12
|
||
|
L71:
|
||
|
if (r5 >= r2) goto L88
|
||
|
int r1 = com.google.android.gms.internal.firebase_ml.zzqq.a
|
||
|
int r1 = r1 + 69
|
||
|
int r4 = r1 % 128
|
||
|
com.google.android.gms.internal.firebase_ml.zzqq.c = r4
|
||
|
int r1 = r1 % r0
|
||
|
if (r1 != 0) goto L82
|
||
|
java.io.Writer r0 = r9.out
|
||
|
int r2 = r2 * r5
|
||
|
goto L85
|
||
|
L82:
|
||
|
java.io.Writer r0 = r9.out
|
||
|
int r2 = r2 - r5
|
||
|
L85:
|
||
|
r0.write(r10, r5, r2)
|
||
|
L88:
|
||
|
java.io.Writer r10 = r9.out
|
||
|
r10.write(r3)
|
||
|
return
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.firebase_ml.zzqq.zzcl(java.lang.String):void");
|
||
|
}
|
||
|
|
||
|
private final void zzod() throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c;
|
||
|
int i3 = i2 + 33;
|
||
|
a = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
if (this.zzbax != null) {
|
||
|
this.out.write("\n");
|
||
|
int i5 = this.zzbah;
|
||
|
int i6 = 1;
|
||
|
while (i6 < i5) {
|
||
|
this.out.write(this.zzbax);
|
||
|
i6++;
|
||
|
int i7 = a + 37;
|
||
|
c = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
int i9 = i2 + 33;
|
||
|
a = i9 % 128;
|
||
|
int i10 = i9 % 2;
|
||
|
}
|
||
|
|
||
|
private final void zzoe() throws IOException {
|
||
|
int i = 2 % 2;
|
||
|
int peek = peek();
|
||
|
if (peek == 1) {
|
||
|
zzbu(2);
|
||
|
zzod();
|
||
|
int i2 = c + 117;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
return;
|
||
|
}
|
||
|
int i4 = a;
|
||
|
int i5 = i4 + 109;
|
||
|
c = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
if (peek == 2) {
|
||
|
this.out.append(',');
|
||
|
zzod();
|
||
|
return;
|
||
|
}
|
||
|
int i7 = i4 + 87;
|
||
|
c = i7 % 128;
|
||
|
if (i7 % 2 != 0 ? peek != 4 : peek != 2) {
|
||
|
if (peek != 6) {
|
||
|
if (peek == 7) {
|
||
|
if (!this.zzazy) {
|
||
|
throw new IllegalStateException("JSON must have only one top-level value.");
|
||
|
}
|
||
|
} else {
|
||
|
throw new IllegalStateException("Nesting problem.");
|
||
|
}
|
||
|
}
|
||
|
zzbu(7);
|
||
|
return;
|
||
|
}
|
||
|
this.out.append((CharSequence) this.separator);
|
||
|
zzbu(5);
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
int i = 0;
|
||
|
a = 0;
|
||
|
c = 1;
|
||
|
c();
|
||
|
zzbav = new String[128];
|
||
|
int i2 = c + 71;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
int i4 = 2 % 2;
|
||
|
while (i <= 31) {
|
||
|
zzbav[i] = String.format("\\u%04x", Integer.valueOf(i));
|
||
|
i++;
|
||
|
int i5 = a + 17;
|
||
|
c = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
}
|
||
|
String[] strArr = zzbav;
|
||
|
strArr[34] = "\\\"";
|
||
|
strArr[92] = "\\\\";
|
||
|
strArr[9] = "\\t";
|
||
|
strArr[8] = "\\b";
|
||
|
strArr[10] = "\\n";
|
||
|
strArr[13] = "\\r";
|
||
|
strArr[12] = "\\f";
|
||
|
String[] strArr2 = (String[]) strArr.clone();
|
||
|
zzbaw = strArr2;
|
||
|
strArr2[60] = "\\u003c";
|
||
|
strArr2[62] = "\\u003e";
|
||
|
strArr2[38] = "\\u0026";
|
||
|
strArr2[61] = "\\u003d";
|
||
|
strArr2[39] = "\\u0027";
|
||
|
}
|
||
|
|
||
|
private static void b(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
|
||
|
int i;
|
||
|
char[] cArr;
|
||
|
int i2 = 2 % 2;
|
||
|
TVH tvh = new TVH();
|
||
|
int i3 = 0;
|
||
|
int i4 = iArr[0];
|
||
|
int i5 = iArr[1];
|
||
|
int i6 = iArr[2];
|
||
|
int i7 = iArr[3];
|
||
|
char[] cArr2 = e;
|
||
|
char c2 = '0';
|
||
|
if (cArr2 != null) {
|
||
|
int length = cArr2.length;
|
||
|
char[] cArr3 = new char[length];
|
||
|
int i8 = 0;
|
||
|
while (i8 < length) {
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[i3] = Integer.valueOf(cArr2[i8]);
|
||
|
Object obj = xzZ.y.get(1645349359);
|
||
|
if (obj != null) {
|
||
|
cArr = cArr2;
|
||
|
} else {
|
||
|
Class cls = (Class) xzZ.c(Drawable.resolveOpacity(i3, i3) + 223, TextUtils.lastIndexOf("", c2, i3, i3) + 6, (char) (Drawable.resolveOpacity(i3, i3) + 41977));
|
||
|
byte b = (byte) i3;
|
||
|
byte b2 = b;
|
||
|
cArr = cArr2;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
d(b, b2, b2, objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1645349359, obj);
|
||
|
}
|
||
|
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
i8++;
|
||
|
cArr2 = cArr;
|
||
|
i3 = 0;
|
||
|
c2 = '0';
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
cArr2 = cArr3;
|
||
|
}
|
||
|
char[] cArr4 = new char[i5];
|
||
|
System.arraycopy(cArr2, i4, cArr4, 0, i5);
|
||
|
if (bArr != null) {
|
||
|
char[] cArr5 = new char[i5];
|
||
|
tvh.c = 0;
|
||
|
char c3 = 0;
|
||
|
while (tvh.c < i5) {
|
||
|
int i9 = $10 + 1;
|
||
|
$11 = i9 % 128;
|
||
|
int i10 = i9 % 2;
|
||
|
if (bArr[tvh.c] == 1) {
|
||
|
int i11 = tvh.c;
|
||
|
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c3)};
|
||
|
Object obj2 = xzZ.y.get(850398076);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getWindowTouchSlop() >> 8), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0') + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(850398076, obj2);
|
||
|
}
|
||
|
cArr5[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
||
|
} else {
|
||
|
int i12 = tvh.c;
|
||
|
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c3)};
|
||
|
Object obj3 = xzZ.y.get(1084521042);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c(15 - View.getDefaultSize(0, 0), View.MeasureSpec.getMode(0) + 5, (char) (58133 - MotionEvent.axisFromString("")))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(1084521042, obj3);
|
||
|
}
|
||
|
cArr5[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
|
||
|
}
|
||
|
c3 = cArr5[tvh.c];
|
||
|
try {
|
||
|
Object[] objArr6 = {tvh, tvh};
|
||
|
Object obj4 = xzZ.y.get(1698744941);
|
||
|
if (obj4 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 402, 5 - View.combineMeasuredStates(0, 0), (char) (View.getDefaultSize(0, 0) + 21608));
|
||
|
byte b3 = (byte) 0;
|
||
|
byte b4 = b3;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
d(b3, b4, (byte) (b4 + 1), objArr7);
|
||
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1698744941, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr6);
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
cArr4 = cArr5;
|
||
|
}
|
||
|
if (i7 > 0) {
|
||
|
int i13 = $11 + 63;
|
||
|
$10 = i13 % 128;
|
||
|
int i14 = i13 % 2;
|
||
|
char[] cArr6 = new char[i5];
|
||
|
i = 0;
|
||
|
System.arraycopy(cArr4, 0, cArr6, 0, i5);
|
||
|
int i15 = i5 - i7;
|
||
|
System.arraycopy(cArr6, 0, cArr4, i15, i7);
|
||
|
System.arraycopy(cArr6, i7, cArr4, 0, i15);
|
||
|
} else {
|
||
|
i = 0;
|
||
|
}
|
||
|
if (z) {
|
||
|
char[] cArr7 = new char[i5];
|
||
|
while (true) {
|
||
|
tvh.c = i;
|
||
|
if (tvh.c >= i5) {
|
||
|
break;
|
||
|
}
|
||
|
int i16 = $11 + 57;
|
||
|
$10 = i16 % 128;
|
||
|
if (i16 % 2 != 0) {
|
||
|
cArr7[tvh.c] = cArr4[(i5 % tvh.c) >>> 1];
|
||
|
i = tvh.c << 1;
|
||
|
} else {
|
||
|
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
|
||
|
i = tvh.c + 1;
|
||
|
}
|
||
|
}
|
||
|
cArr4 = cArr7;
|
||
|
}
|
||
|
if (i6 > 0) {
|
||
|
int i17 = $11 + 97;
|
||
|
$10 = i17 % 128;
|
||
|
if (i17 % 2 != 0) {
|
||
|
tvh.c = 1;
|
||
|
} else {
|
||
|
tvh.c = 0;
|
||
|
}
|
||
|
while (tvh.c < i5) {
|
||
|
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
|
||
|
tvh.c++;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr4);
|
||
|
}
|
||
|
|
||
|
static void c() {
|
||
|
e = new char[]{40020, 40137, 40138, 40118};
|
||
|
}
|
||
|
|
||
|
public final void setLenient(boolean z) {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = a;
|
||
|
int i3 = i2 + 121;
|
||
|
c = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
this.zzazy = true;
|
||
|
int i5 = i2 + 79;
|
||
|
c = i5 % 128;
|
||
|
if (i5 % 2 == 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
}
|