what-the-bank/sources/com/google/android/gms/internal/gtm/zzha.java

852 lines
33 KiB
Java

package com.google.android.gms.internal.gtm;
import android.graphics.Color;
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.View;
import android.view.ViewConfiguration;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import java.lang.reflect.Method;
import java.util.ArrayList;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C3614bBe;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes.dex */
public final class zzha {
private static final byte[] $$a = {Ascii.US, -107, 35, 49};
private static final int $$b = CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int i = 1;
private static char[] c = {16294, 16349, 16292, 16280};
private static int a = 1934310984;
private static boolean b = true;
private static boolean d = true;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4: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 g(short r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r7 = 4 - r7
int r8 = r8 * 2
int r0 = r8 + 1
byte[] r1 = com.google.android.gms.internal.gtm.zzha.$$a
int r6 = r6 * 57
int r6 = r6 + 65
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L16
r3 = r7
r4 = r2
goto L2f
L16:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L1a:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
r4 = r1[r6]
int r3 = r3 + 1
r5 = r3
r3 = r6
r6 = r4
r4 = r5
L2f:
int r6 = -r6
int r7 = r7 + r6
int r6 = r3 + 1
r3 = r4
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzha.g(short, int, byte, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:41:0x0018, code lost:
r1 = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x0016, code lost:
if (r7 != null) goto L8;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0013, code lost:
if (r7 != null) goto L8;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x001a, code lost:
r1 = r1 + 61;
com.google.android.gms.internal.gtm.zzha.i = r1 % 128;
r1 = r1 % 2;
r1 = false;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static boolean zza(com.google.android.gms.internal.gtm.zzoa<?> r7) {
/*
Method dump skipped, instructions count: 221
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzha.zza(com.google.android.gms.internal.gtm.zzoa):boolean");
}
/* JADX WARN: Code restructure failed: missing block: B:22:0x00bc, code lost:
if (zzf(r11) != false) goto L49;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x00be, code lost:
return Double.NaN;
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x00bf, code lost:
r11 = r11.toString();
r1 = new java.lang.StringBuilder(java.lang.String.valueOf(r11).length() + 41);
r1.append("Illegal type given to numberEquivalent: ");
r1.append(r11);
r1.append(".");
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x00e8, code lost:
throw new java.lang.IllegalArgumentException(r1.toString());
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static double zzb(com.google.android.gms.internal.gtm.zzoa<?> r11) {
/*
Method dump skipped, instructions count: 233
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzha.zzb(com.google.android.gms.internal.gtm.zzoa):double");
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0031, code lost:
r1 = com.google.android.gms.internal.gtm.zzha.i + 29;
com.google.android.gms.internal.gtm.zzha.e = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0039, code lost:
if ((r1 % 2) == 0) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x003b, code lost:
if (r5 == 0.0d) goto L24;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0044, code lost:
if (java.lang.Double.isInfinite(r5) == false) goto L19;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0047, code lost:
r1 = java.lang.Math.signum(r5) * java.lang.Math.floor(java.lang.Math.abs(r5));
r7 = com.google.android.gms.internal.gtm.zzha.e + 19;
com.google.android.gms.internal.gtm.zzha.i = r7 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x005d, code lost:
if ((r7 % 2) == 0) goto L22;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x005f, code lost:
return r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0060, code lost:
r7 = null;
r7.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0064, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x003e, code lost:
if (r5 == 0.0d) goto L24;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0065, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x002b, code lost:
if ((!java.lang.Double.isNaN(r5)) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001e, code lost:
if ((!java.lang.Double.isNaN(r5)) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0066, code lost:
r7 = com.google.android.gms.internal.gtm.zzha.e + 47;
com.google.android.gms.internal.gtm.zzha.i = r7 % 128;
r7 = r7 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x006f, code lost:
return 0.0d;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x002f, code lost:
if (r5 == 0.0d) goto L24;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static double zzc(com.google.android.gms.internal.gtm.zzoa<?> r7) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = com.google.android.gms.internal.gtm.zzha.e
int r1 = r1 + 103
int r2 = r1 % 128
com.google.android.gms.internal.gtm.zzha.i = r2
int r1 = r1 % r0
r2 = 0
r4 = 29
if (r1 != 0) goto L21
double r5 = zzb(r7)
boolean r7 = java.lang.Double.isNaN(r5)
int r1 = r4 / 0
r7 = r7 ^ 1
if (r7 == 0) goto L66
goto L2d
L21:
double r5 = zzb(r7)
boolean r7 = java.lang.Double.isNaN(r5)
r7 = r7 ^ 1
if (r7 == 0) goto L66
L2d:
int r7 = (r5 > r2 ? 1 : (r5 == r2 ? 0 : -1))
if (r7 == 0) goto L65
int r1 = com.google.android.gms.internal.gtm.zzha.i
int r1 = r1 + r4
int r2 = r1 % 128
com.google.android.gms.internal.gtm.zzha.e = r2
int r1 = r1 % r0
if (r1 == 0) goto L3e
if (r7 == 0) goto L65
goto L40
L3e:
if (r7 == 0) goto L65
L40:
boolean r7 = java.lang.Double.isInfinite(r5)
if (r7 == 0) goto L47
goto L65
L47:
double r1 = java.lang.Math.signum(r5)
double r3 = java.lang.Math.abs(r5)
double r3 = java.lang.Math.floor(r3)
double r1 = r1 * r3
int r7 = com.google.android.gms.internal.gtm.zzha.e
int r7 = r7 + 19
int r3 = r7 % 128
com.google.android.gms.internal.gtm.zzha.i = r3
int r7 = r7 % r0
if (r7 == 0) goto L60
return r1
L60:
r7 = 0
r7.hashCode()
throw r7
L65:
return r5
L66:
int r7 = com.google.android.gms.internal.gtm.zzha.e
int r7 = r7 + 47
int r1 = r7 % 128
com.google.android.gms.internal.gtm.zzha.i = r1
int r7 = r7 % r0
return r2
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzha.zzc(com.google.android.gms.internal.gtm.zzoa):double");
}
public static String zzd(zzoa<?> zzoaVar) {
String str;
int parseInt;
int i2 = 2 % 2;
Preconditions.checkArgument(!(zzoaVar == null));
if (zzoaVar == zzog.zzaum) {
return "undefined";
}
if (zzoaVar == zzog.zzaul) {
int i3 = i + 99;
e = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
f(null, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, null, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 126, objArr);
return ((String) objArr[0]).intern();
}
if (zzoaVar instanceof zzod) {
return ((zzod) zzoaVar).value().booleanValue() ? "true" : "false";
}
if (!(zzoaVar instanceof zzoe)) {
if (zzoaVar instanceof zzof) {
zzgz value = ((zzof) zzoaVar).value();
if (value instanceof zzgy) {
return ((zzgy) value).getName();
}
} else {
if (zzoaVar instanceof zzoh) {
ArrayList arrayList = new ArrayList();
for (zzoa<?> zzoaVar2 : ((zzoh) zzoaVar).value()) {
if (zzoaVar2 == zzog.zzaul || zzoaVar2 == zzog.zzaum) {
arrayList.add("");
} else {
arrayList.add(zzd(zzoaVar2));
}
}
return TextUtils.join(",", arrayList);
}
if (zzoaVar instanceof zzok) {
return "[object Object]";
}
if (!(!(zzoaVar instanceof zzom))) {
int i5 = i + 17;
e = i5 % 128;
int i6 = i5 % 2;
return ((zzom) zzoaVar).value();
}
}
if (zzf(zzoaVar)) {
String zzoaVar3 = zzoaVar.toString();
StringBuilder sb = new StringBuilder(String.valueOf(zzoaVar3).length() + 41);
sb.append("Illegal type given to stringEquivalent: ");
sb.append(zzoaVar3);
sb.append(".");
str = sb.toString();
} else {
str = "Unknown type in stringEquivalent.";
}
throw new IllegalArgumentException(str);
}
int i7 = e + 39;
i = i7 % 128;
int i8 = i7 % 2;
String d2 = Double.toString(((zzoe) zzoaVar).value().doubleValue());
int indexOf = d2.indexOf("E");
if (indexOf <= 0) {
if (!d2.endsWith(".0")) {
return d2;
}
String substring = d2.substring(0, d2.length() - 2);
if (!substring.equals("-0")) {
return substring;
}
Object[] objArr2 = new Object[1];
f(null, new byte[]{-124}, null, TextUtils.indexOf("", "") + 127, objArr2);
return ((String) objArr2[0]).intern();
}
int i9 = e + 85;
i = i9 % 128;
if (i9 % 2 != 0 ? (parseInt = Integer.parseInt(d2.substring(indexOf + 1, d2.length()))) >= 0 : (parseInt = Integer.parseInt(d2.substring(indexOf, d2.length()))) >= 0) {
if (parseInt >= 21) {
return d2.replace("E", "e+");
}
String replace = d2.substring(0, indexOf).replace(".", "");
int length = (parseInt + 1) - (replace.length() - (replace.startsWith("-") ? 1 : 0));
StringBuilder sb2 = new StringBuilder();
if (length < 0) {
int length2 = replace.length() + length;
sb2.append(replace.substring(0, length2));
sb2.append(".");
sb2.append(replace.substring(length2, replace.length()));
} else {
sb2.append(replace);
while (length > 0) {
Object[] objArr3 = new Object[1];
f(null, new byte[]{-124}, null, 127 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr3);
sb2.append(((String) objArr3[0]).intern());
length--;
}
}
return sb2.toString();
}
if (parseInt <= -7) {
return d2.replace("E", "e");
}
String replace2 = d2.substring(0, indexOf).replace(".", "");
StringBuilder sb3 = new StringBuilder("0.");
while (true) {
parseInt++;
if (parseInt >= 0) {
sb3.append(replace2);
return sb3.toString();
}
int i10 = i + 101;
e = i10 % 128;
int i11 = i10 % 2;
Object[] objArr4 = new Object[1];
f(null, new byte[]{-124}, null, 127 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr4);
sb3.append(((String) objArr4[0]).intern());
}
}
public static double zza(zzoa<?> zzoaVar, zzoa<?> zzoaVar2) {
int i2 = 2 % 2;
boolean z = false;
Preconditions.checkArgument(zzoaVar != null);
if (zzoaVar2 != null) {
int i3 = e + 93;
i = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 80 / 0;
}
z = true;
}
Preconditions.checkArgument(z);
double zzb = zzb(zzoaVar);
double zzb2 = zzb(zzoaVar2);
if (!Double.isNaN(zzb)) {
int i5 = i + 107;
e = i5 % 128;
int i6 = i5 % 2;
if (!Double.isNaN(zzb2)) {
if ((zzb == Double.POSITIVE_INFINITY && zzb2 == Double.NEGATIVE_INFINITY) || (zzb == Double.NEGATIVE_INFINITY && zzb2 == Double.POSITIVE_INFINITY)) {
return Double.NaN;
}
if (!(!Double.isInfinite(zzb)) && !Double.isInfinite(zzb2)) {
int i7 = i + 5;
e = i7 % 128;
int i8 = i7 % 2;
return zzb;
}
if (!Double.isInfinite(zzb)) {
int i9 = i + 59;
e = i9 % 128;
if (i9 % 2 != 0) {
Double.isInfinite(zzb2);
Object obj = null;
obj.hashCode();
throw null;
}
if (Double.isInfinite(zzb2)) {
return zzb2;
}
}
double d2 = zzb + zzb2;
int i10 = e + 95;
i = i10 % 128;
int i11 = i10 % 2;
return d2;
}
}
return Double.NaN;
}
/* JADX WARN: Code restructure failed: missing block: B:16:0x0041, code lost:
if ((r10 instanceof com.google.android.gms.internal.gtm.zzof) == false) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0060, code lost:
if ((r11 instanceof com.google.android.gms.internal.gtm.zzof) == false) goto L28;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static boolean zzb(com.google.android.gms.internal.gtm.zzoa<?> r10, com.google.android.gms.internal.gtm.zzoa<?> r11) {
/*
Method dump skipped, instructions count: 331
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzha.zzb(com.google.android.gms.internal.gtm.zzoa, com.google.android.gms.internal.gtm.zzoa):boolean");
}
private static void f(char[] cArr, byte[] bArr, int[] iArr, int i2, Object[] objArr) {
int i3 = 2;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = c;
int i5 = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $11 + 115;
$10 = i7 % 128;
if (i7 % i3 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr2[i6]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (CdmaCellLocation.convertQuartSecToDecDegrees(i5) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(i5) == 0.0d ? 0 : -1)) + 5, (char) View.MeasureSpec.makeMeasureSpec(i5, i5));
byte b2 = (byte) i5;
byte b3 = b2;
Object[] objArr3 = new Object[1];
g(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i6])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 337, Color.rgb(0, 0, 0) + 16777221, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
g(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr3[i6] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6++;
}
i3 = 2;
i5 = 0;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(a)};
Object obj3 = xzZ.y.get(-1521625011);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 283, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (Color.rgb(0, 0, 0) + 16817029));
byte b6 = (byte) ($$b & 5);
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
g(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue();
if (d) {
int i8 = $10 + 115;
$11 = i8 % 128;
int i9 = i8 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - TextUtils.getOffsetBefore("", 0), KeyEvent.keyCodeFromString("") + 5, (char) (Process.myTid() >> 22))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr4);
return;
}
if (b) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i10 = $11 + 31;
$10 = i10 % 128;
if (i10 % 2 != 0) {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) >> c3614bBe.a] * i2] % intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(40 - Color.argb(0, 0, 0, 0), 5 - View.resolveSize(0, 0), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
} else {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
try {
Object[] objArr10 = {c3614bBe, c3614bBe};
Object obj6 = xzZ.y.get(1779759091);
if (obj6 == null) {
obj6 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 40, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) Color.argb(0, 0, 0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj6);
}
((Method) obj6).invoke(null, objArr10);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
}
objArr[0] = new String(cArr5);
return;
}
int i11 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i11;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
}
int i12 = $10 + 77;
$11 = i12 % 128;
int i13 = i12 % 2;
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
i11 = c3614bBe.a + 1;
}
}
private static String zze(zzoa<?> zzoaVar) {
int i2 = 2 % 2;
if (zzoaVar == zzog.zzaum) {
int i3 = e + 37;
i = i3 % 128;
int i4 = i3 % 2;
return "Undefined";
}
if (zzoaVar == zzog.zzaul) {
return "Null";
}
if (zzoaVar instanceof zzod) {
return "Boolean";
}
if (!(zzoaVar instanceof zzoe)) {
return zzoaVar instanceof zzom ? "String" : "Object";
}
int i5 = e + 111;
i = i5 % 128;
if (i5 % 2 != 0) {
return "Number";
}
throw null;
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:17:0x012c, code lost:
if (r12 == com.google.android.gms.internal.gtm.zzog.zzaul) goto L81;
*/
/* JADX WARN: Code restructure failed: missing block: B:71:0x0148, code lost:
r12 = com.google.android.gms.internal.gtm.zzha.i + 11;
com.google.android.gms.internal.gtm.zzha.e = r12 % 128;
r12 = r12 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:72:0x01f5, code lost:
return true;
*/
/* JADX WARN: Removed duplicated region for block: B:37:0x019f */
/* JADX WARN: Removed duplicated region for block: B:62:0x0191 A[SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static boolean zzc(com.google.android.gms.internal.gtm.zzoa<?> r12, com.google.android.gms.internal.gtm.zzoa<?> r13) {
/*
Method dump skipped, instructions count: 604
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzha.zzc(com.google.android.gms.internal.gtm.zzoa, com.google.android.gms.internal.gtm.zzoa):boolean");
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
public static boolean zzd(zzoa<?> zzoaVar, zzoa<?> zzoaVar2) {
char c2;
int i2 = 2 % 2;
Preconditions.checkArgument(!(zzoaVar == null));
Preconditions.checkArgument(zzoaVar2 != null);
if (zzf(zzoaVar)) {
String zzoaVar3 = zzoaVar.toString();
StringBuilder sb = new StringBuilder(String.valueOf(zzoaVar3).length() + 46);
sb.append("Illegal type given to strictEqualityCompare: ");
sb.append(zzoaVar3);
sb.append(".");
throw new IllegalArgumentException(sb.toString());
}
if (zzf(zzoaVar2)) {
String zzoaVar4 = zzoaVar2.toString();
StringBuilder sb2 = new StringBuilder(String.valueOf(zzoaVar4).length() + 46);
sb2.append("Illegal type given to strictEqualityCompare: ");
sb2.append(zzoaVar4);
sb2.append(".");
throw new IllegalArgumentException(sb2.toString());
}
String zze = zze(zzoaVar);
if (!zze.equals(zze(zzoaVar2))) {
return false;
}
zze.hashCode();
switch (zze.hashCode()) {
case -1950496919:
if (zze.equals("Number")) {
c2 = 0;
break;
}
c2 = 65535;
break;
case -1808118735:
if (zze.equals("String")) {
c2 = 1;
break;
}
c2 = 65535;
break;
case 2439591:
if (zze.equals("Null")) {
c2 = 2;
break;
}
c2 = 65535;
break;
case 965837104:
if (zze.equals("Undefined")) {
c2 = 3;
break;
}
c2 = 65535;
break;
case 1729365000:
if (zze.equals("Boolean")) {
c2 = 4;
break;
}
c2 = 65535;
break;
default:
c2 = 65535;
break;
}
if (c2 == 0) {
double doubleValue = ((zzoe) zzoaVar).value().doubleValue();
double doubleValue2 = ((zzoe) zzoaVar2).value().doubleValue();
if (!Double.isNaN(doubleValue)) {
int i3 = i + 111;
e = i3 % 128;
if (i3 % 2 != 0) {
Double.isNaN(doubleValue2);
Object obj = null;
obj.hashCode();
throw null;
}
if (!Double.isNaN(doubleValue2) && doubleValue == doubleValue2) {
return true;
}
}
return false;
}
if (c2 == 1) {
if (!((zzom) zzoaVar).value().equals(((zzom) zzoaVar2).value())) {
return false;
}
int i4 = e + 123;
i = i4 % 128;
int i5 = i4 % 2;
return true;
}
if (c2 == 2 || c2 == 3) {
return true;
}
if (c2 != 4) {
return zzoaVar == zzoaVar2;
}
if (((zzod) zzoaVar).value() != ((zzod) zzoaVar2).value()) {
return false;
}
int i6 = i + 39;
e = i6 % 128;
int i7 = i6 % 2;
return true;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0033, code lost:
if (r5 == com.google.android.gms.internal.gtm.zzog.zzaul) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x002f, code lost:
if (r5 != r0) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x002c, code lost:
if (r5 != r0) goto L13;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static boolean zzf(com.google.android.gms.internal.gtm.zzoa<?> r5) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = com.google.android.gms.internal.gtm.zzha.e
int r2 = r1 + 103
int r3 = r2 % 128
com.google.android.gms.internal.gtm.zzha.i = r3
int r2 = r2 % r0
boolean r2 = r5 instanceof com.google.android.gms.internal.gtm.zzol
r3 = 1
r2 = r2 ^ r3
if (r2 == r3) goto L13
goto L35
L13:
int r1 = r1 + 93
int r2 = r1 % 128
com.google.android.gms.internal.gtm.zzha.i = r2
int r1 = r1 % r0
boolean r1 = r5 instanceof com.google.android.gms.internal.gtm.zzog
r4 = 0
if (r1 == 0) goto L36
int r2 = r2 + 121
int r1 = r2 % 128
com.google.android.gms.internal.gtm.zzha.e = r1
int r2 = r2 % r0
com.google.android.gms.internal.gtm.zzog r0 = com.google.android.gms.internal.gtm.zzog.zzaum
if (r2 == 0) goto L2f
r1 = 4
int r1 = r1 / r4
if (r5 == r0) goto L36
goto L31
L2f:
if (r5 == r0) goto L36
L31:
com.google.android.gms.internal.gtm.zzog r0 = com.google.android.gms.internal.gtm.zzog.zzaul
if (r5 == r0) goto L36
L35:
return r3
L36:
return r4
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzha.zzf(com.google.android.gms.internal.gtm.zzoa):boolean");
}
}