package com.google.android.gms.common.server.response; import android.graphics.Color; import android.graphics.PointF; import android.graphics.drawable.Drawable; import android.os.Parcel; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.util.Log; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.airbnb.deeplinkdispatch.UrlTreeKt; import com.google.android.gms.common.internal.Objects; import com.google.android.gms.common.internal.Preconditions; import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable; import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter; import com.google.android.gms.common.util.Base64Utils; import com.google.android.gms.common.util.JsonUtils; import com.google.android.gms.common.util.MapUtils; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.lang.reflect.Method; import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import o.dQY; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; import org.jmrtd.lds.CVCAFile; /* loaded from: classes.dex */ public abstract class FastJsonResponse { private static final byte[] $$a = {94, -37, CVCAFile.CAR_TAG, -43}; private static final int $$b = CipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384; private static int $10 = 0; private static int $11 = 1; private static int e = 0; private static int a = 1; private static char[] d = {38668, 3895, 42830, 24430}; private static long c = 5444260188696745970L; /* loaded from: classes.dex */ public interface FieldConverter { int zaa(); int zab(); O zac(I i); I zad(O o2); } /* 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:0x0026). 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(byte r6, int r7, byte r8, java.lang.Object[] r9) { /* int r8 = r8 * 2 int r8 = r8 + 4 int r7 = r7 * 4 int r7 = r7 + 1 int r6 = r6 + 98 byte[] r0 = com.google.android.gms.common.server.response.FastJsonResponse.$$a byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L14 r3 = r7 r4 = r2 goto L26 L14: r3 = r2 L15: int r4 = r3 + 1 byte r5 = (byte) r6 r1[r3] = r5 if (r4 != r7) goto L24 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L24: r3 = r0[r8] L26: int r3 = -r3 int r6 = r6 + r3 int r8 = r8 + 1 r3 = r4 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.common.server.response.FastJsonResponse.g(byte, int, byte, java.lang.Object[]):void"); } public void addConcreteTypeArrayInternal(Field field, String str, ArrayList arrayList) { int i = 2 % 2; throw new UnsupportedOperationException("Concrete type array not supported"); } public void addConcreteTypeInternal(Field field, String str, T t) { int i = 2 % 2; throw new UnsupportedOperationException("Concrete type not supported"); } public abstract Map> getFieldMappings(); /* JADX INFO: Access modifiers changed from: protected */ public Object getFieldValue(Field field) { boolean z; int i = 2 % 2; int i2 = a + 23; e = i2 % 128; int i3 = i2 % 2; String str = field.zae; if (field.zag == null) { return getValueObject(str); } try { if (getValueObject(str) == null) { int i4 = a + 101; e = i4 % 128; if (i4 % 2 == 0) { z = true; Preconditions.checkState(z, "Concrete field shouldn't be value object: %s", field.zae); boolean z2 = field.zad; char upperCase = Character.toUpperCase(str.charAt(0)); String substring = str.substring(1); StringBuilder sb = new StringBuilder(String.valueOf(substring).length() + 4); sb.append("get"); sb.append(upperCase); sb.append(substring); return getClass().getMethod(sb.toString(), new Class[0]).invoke(this, new Object[0]); } } char upperCase2 = Character.toUpperCase(str.charAt(0)); String substring2 = str.substring(1); StringBuilder sb2 = new StringBuilder(String.valueOf(substring2).length() + 4); sb2.append("get"); sb2.append(upperCase2); sb2.append(substring2); return getClass().getMethod(sb2.toString(), new Class[0]).invoke(this, new Object[0]); } catch (Exception e2) { throw new RuntimeException(e2); } z = false; Preconditions.checkState(z, "Concrete field shouldn't be value object: %s", field.zae); boolean z22 = field.zad; } protected abstract Object getValueObject(String str); /* JADX INFO: Access modifiers changed from: protected */ public boolean isFieldSet(Field field) { int i = 2 % 2; Object obj = null; if (field.zac != 11) { boolean isPrimitiveFieldSet = isPrimitiveFieldSet(field.zae); int i2 = a + 111; e = i2 % 128; if (i2 % 2 == 0) { return isPrimitiveFieldSet; } obj.hashCode(); throw null; } int i3 = a + 5; e = i3 % 128; if (i3 % 2 != 0) { boolean z = field.zad; String str = field.zae; throw null; } boolean z2 = field.zad; String str2 = field.zae; if (z2) { throw new UnsupportedOperationException("Concrete type arrays not supported"); } throw new UnsupportedOperationException("Concrete types not supported"); } protected abstract boolean isPrimitiveFieldSet(String str); protected void setBooleanInternal(Field field, String str, boolean z) { int i = 2 % 2; throw new UnsupportedOperationException("Boolean not supported"); } protected void setDecodedBytesInternal(Field field, String str, byte[] bArr) { int i = 2 % 2; throw new UnsupportedOperationException("byte[] not supported"); } protected void setIntegerInternal(Field field, String str, int i) { int i2 = 2 % 2; throw new UnsupportedOperationException("Integer not supported"); } protected void setLongInternal(Field field, String str, long j) { int i = 2 % 2; throw new UnsupportedOperationException("Long not supported"); } protected void setStringInternal(Field field, String str, String str2) { int i = 2 % 2; throw new UnsupportedOperationException("String not supported"); } protected void setStringMapInternal(Field field, String str, Map map) { int i = 2 % 2; throw new UnsupportedOperationException("String map not supported"); } protected void setStringsInternal(Field field, String str, ArrayList arrayList) { int i = 2 % 2; throw new UnsupportedOperationException("String list not supported"); } protected void zab(Field field, String str, BigDecimal bigDecimal) { int i = 2 % 2; throw new UnsupportedOperationException("BigDecimal not supported"); } protected void zad(Field field, String str, ArrayList arrayList) { int i = 2 % 2; throw new UnsupportedOperationException("BigDecimal list not supported"); } protected void zaf(Field field, String str, BigInteger bigInteger) { int i = 2 % 2; throw new UnsupportedOperationException("BigInteger not supported"); } protected void zah(Field field, String str, ArrayList arrayList) { int i = 2 % 2; throw new UnsupportedOperationException("BigInteger list not supported"); } protected void zak(Field field, String str, ArrayList arrayList) { int i = 2 % 2; throw new UnsupportedOperationException("Boolean list not supported"); } protected void zan(Field field, String str, double d2) { int i = 2 % 2; throw new UnsupportedOperationException("Double not supported"); } protected void zap(Field field, String str, ArrayList arrayList) { int i = 2 % 2; throw new UnsupportedOperationException("Double list not supported"); } protected void zar(Field field, String str, float f) { int i = 2 % 2; throw new UnsupportedOperationException("Float not supported"); } protected void zat(Field field, String str, ArrayList arrayList) { int i = 2 % 2; throw new UnsupportedOperationException("Float list not supported"); } protected void zaw(Field field, String str, ArrayList arrayList) { int i = 2 % 2; throw new UnsupportedOperationException("Integer list not supported"); } protected void zaz(Field field, String str, ArrayList arrayList) { int i = 2 % 2; throw new UnsupportedOperationException("Long list not supported"); } /* loaded from: classes.dex */ public static class Field extends AbstractSafeParcelable { public static final zaj CREATOR = new zaj(); protected final int zaa; protected final boolean zab; protected final int zac; protected final boolean zad; protected final String zae; protected final int zaf; protected final Class zag; protected final String zah; private final int zai; private zan zaj; private FieldConverter zak; /* JADX INFO: Access modifiers changed from: package-private */ public Field(int i, int i2, boolean z, int i3, boolean z2, String str, int i4, String str2, com.google.android.gms.common.server.converter.zaa zaaVar) { this.zai = i; this.zaa = i2; this.zab = z; this.zac = i3; this.zad = z2; this.zae = str; this.zaf = i4; if (str2 == null) { this.zag = null; this.zah = null; } else { this.zag = SafeParcelResponse.class; this.zah = str2; } if (zaaVar == null) { this.zak = null; } else { this.zak = (FieldConverter) zaaVar.zab(); } } public static Field forBase64(String str, int i) { return new Field<>(8, false, 8, false, str, i, null, null); } public static Field forBoolean(String str, int i) { return new Field<>(6, false, 6, false, str, i, null, null); } public static Field forConcreteType(String str, int i, Class cls) { return new Field<>(11, false, 11, false, str, i, cls, null); } public static Field, ArrayList> forConcreteTypeArray(String str, int i, Class cls) { return new Field<>(11, true, 11, true, str, i, cls, null); } public static Field forDouble(String str, int i) { return new Field<>(4, false, 4, false, str, i, null, null); } public static Field forFloat(String str, int i) { return new Field<>(3, false, 3, false, str, i, null, null); } public static Field forInteger(String str, int i) { return new Field<>(0, false, 0, false, str, i, null, null); } public static Field forLong(String str, int i) { return new Field<>(2, false, 2, false, str, i, null, null); } public static Field forString(String str, int i) { return new Field<>(7, false, 7, false, str, i, null, null); } public static Field, HashMap> forStringMap(String str, int i) { return new Field<>(10, false, 10, false, str, i, null, null); } public static Field, ArrayList> forStrings(String str, int i) { return new Field<>(7, true, 7, true, str, i, null, null); } public static Field withConverter(String str, int i, FieldConverter fieldConverter, boolean z) { fieldConverter.zaa(); fieldConverter.zab(); return new Field(7, z, 0, false, str, i, null, fieldConverter); } public final String toString() { Objects.ToStringHelper add = Objects.toStringHelper(this).add("versionCode", Integer.valueOf(this.zai)).add("typeIn", Integer.valueOf(this.zaa)).add("typeInArray", Boolean.valueOf(this.zab)).add("typeOut", Integer.valueOf(this.zac)).add("typeOutArray", Boolean.valueOf(this.zad)).add("outputFieldName", this.zae).add("safeParcelFieldId", Integer.valueOf(this.zaf)).add("concreteTypeName", zag()); Class cls = this.zag; if (cls != null) { add.add("concreteType.class", cls.getCanonicalName()); } FieldConverter fieldConverter = this.zak; if (fieldConverter != null) { add.add("converterName", fieldConverter.getClass().getCanonicalName()); } return add.toString(); } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel); SafeParcelWriter.writeInt(parcel, 1, this.zai); SafeParcelWriter.writeInt(parcel, 2, this.zaa); SafeParcelWriter.writeBoolean(parcel, 3, this.zab); SafeParcelWriter.writeInt(parcel, 4, this.zac); SafeParcelWriter.writeBoolean(parcel, 5, this.zad); SafeParcelWriter.writeString(parcel, 6, this.zae, false); SafeParcelWriter.writeInt(parcel, 7, getSafeParcelableFieldId()); SafeParcelWriter.writeString(parcel, 8, zag(), false); SafeParcelWriter.writeParcelable(parcel, 9, zaa(), i, false); SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader); } final com.google.android.gms.common.server.converter.zaa zaa() { FieldConverter fieldConverter = this.zak; if (fieldConverter == null) { return null; } return com.google.android.gms.common.server.converter.zaa.zaa(fieldConverter); } public final Field zab() { return new Field<>(this.zai, this.zaa, this.zab, this.zac, this.zad, this.zae, this.zaf, this.zah, zaa()); } public final FastJsonResponse zad() throws InstantiationException, IllegalAccessException { Preconditions.checkNotNull(this.zag); Class cls = this.zag; if (cls == SafeParcelResponse.class) { Preconditions.checkNotNull(this.zah); Preconditions.checkNotNull(this.zaj, "The field mapping dictionary must be set if the concrete type is a SafeParcelResponse object."); return new SafeParcelResponse(this.zaj, this.zah); } return cls.newInstance(); } public final O zae(I i) { Preconditions.checkNotNull(this.zak); return (O) Preconditions.checkNotNull(this.zak.zac(i)); } public final I zaf(O o2) { Preconditions.checkNotNull(this.zak); return this.zak.zad(o2); } public final Map> zah() { Preconditions.checkNotNull(this.zah); Preconditions.checkNotNull(this.zaj); return (Map) Preconditions.checkNotNull(this.zaj.zab(this.zah)); } protected Field(int i, boolean z, int i2, boolean z2, String str, int i3, Class cls, FieldConverter fieldConverter) { this.zai = 1; this.zaa = i; this.zab = z; this.zac = i2; this.zad = z2; this.zae = str; this.zaf = i3; this.zag = cls; if (cls == null) { this.zah = null; } else { this.zah = cls.getCanonicalName(); } this.zak = fieldConverter; } public final boolean zaj() { return this.zak != null; } public final void zai(zan zanVar) { this.zaj = zanVar; } final String zag() { String str = this.zah; if (str == null) { return null; } return str; } public int getSafeParcelableFieldId() { return this.zaf; } } /* JADX INFO: Access modifiers changed from: protected */ /* JADX WARN: Multi-variable type inference failed */ public static final I zaD(Field field, Object obj) { int i = 2 % 2; int i2 = a + 17; e = i2 % 128; int i3 = i2 % 2; if (((Field) field).zak != null) { int i4 = a + 19; e = i4 % 128; int i5 = i4 % 2; return field.zaf(obj); } int i6 = e + 77; a = i6 % 128; int i7 = i6 % 2; return obj; } private static final void zaG(String str) { int i = 2 % 2; int i2 = a + 21; e = i2 % 128; if (i2 % 2 == 0 ? Log.isLoggable("FastJsonResponse", 6) : Log.isLoggable("FastJsonResponse", 94)) { StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 58); sb.append("Output field ("); sb.append(str); sb.append(") has a null value, but expected a primitive"); Log.e("FastJsonResponse", sb.toString()); } int i3 = e + 37; a = i3 % 128; if (i3 % 2 == 0) { throw null; } } public final void zaA(Field field, String str) { int i = 2 % 2; int i2 = e + 97; a = i2 % 128; int i3 = i2 % 2; if (((Field) field).zak == null) { setStringInternal(field, field.zae, str); return; } zaE(field, str); int i4 = a + 1; e = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:10:?, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x001f, code lost: zaE(r4, r5); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0022, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x001d, code lost: if (((com.google.android.gms.common.server.response.FastJsonResponse.Field) r4).zak != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (((com.google.android.gms.common.server.response.FastJsonResponse.Field) r4).zak != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0023, code lost: setStringMapInternal(r4, r4.zae, r5); r4 = com.google.android.gms.common.server.response.FastJsonResponse.e + 77; com.google.android.gms.common.server.response.FastJsonResponse.a = r4 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0031, code lost: if ((r4 % 2) != 0) goto L15; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0033, code lost: r4 = 87 / 0; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0037, code lost: return; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void zaB(com.google.android.gms.common.server.response.FastJsonResponse.Field, O> r4, java.util.Map r5) { /* r3 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.google.android.gms.common.server.response.FastJsonResponse.e int r1 = r1 + 65 int r2 = r1 % 128 com.google.android.gms.common.server.response.FastJsonResponse.a = r2 int r1 = r1 % r0 if (r1 != 0) goto L19 com.google.android.gms.common.server.response.FastJsonResponse$FieldConverter r1 = com.google.android.gms.common.server.response.FastJsonResponse.Field.zac(r4) r2 = 80 int r2 = r2 / 0 if (r1 == 0) goto L23 goto L1f L19: com.google.android.gms.common.server.response.FastJsonResponse$FieldConverter r1 = com.google.android.gms.common.server.response.FastJsonResponse.Field.zac(r4) if (r1 == 0) goto L23 L1f: r3.zaE(r4, r5) return L23: java.lang.String r1 = r4.zae r3.setStringMapInternal(r4, r1, r5) int r4 = com.google.android.gms.common.server.response.FastJsonResponse.e int r4 = r4 + 77 int r5 = r4 % 128 com.google.android.gms.common.server.response.FastJsonResponse.a = r5 int r4 = r4 % r0 if (r4 != 0) goto L37 r4 = 87 int r4 = r4 / 0 L37: return */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.common.server.response.FastJsonResponse.zaB(com.google.android.gms.common.server.response.FastJsonResponse$Field, java.util.Map):void"); } public final void zaC(Field, O> field, ArrayList arrayList) { int i = 2 % 2; int i2 = a + 3; e = i2 % 128; int i3 = i2 % 2; if (((Field) field).zak != null) { int i4 = e + 113; a = i4 % 128; if (i4 % 2 != 0) { zaE(field, arrayList); return; } else { zaE(field, arrayList); throw null; } } setStringsInternal(field, field.zae, arrayList); } public final void zaa(Field field, BigDecimal bigDecimal) { int i = 2 % 2; int i2 = e + 95; a = i2 % 128; Object obj = null; if (i2 % 2 != 0) { if (((Field) field).zak == null) { zab(field, field.zae, bigDecimal); return; } zaE(field, bigDecimal); int i3 = e + 29; a = i3 % 128; if (i3 % 2 != 0) { return; } obj.hashCode(); throw null; } FieldConverter unused = ((Field) field).zak; obj.hashCode(); throw null; } public final void zac(Field, O> field, ArrayList arrayList) { int i = 2 % 2; int i2 = e + 73; a = i2 % 128; int i3 = i2 % 2; if (((Field) field).zak == null) { zad(field, field.zae, arrayList); int i4 = e + 23; a = i4 % 128; if (i4 % 2 == 0) { int i5 = 1 / 0; return; } return; } zaE(field, arrayList); int i6 = a + 69; e = i6 % 128; if (i6 % 2 != 0) { int i7 = 50 / 0; } } /* JADX WARN: Code restructure failed: missing block: B:10:0x002d, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x002f, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x001d, code lost: if (((com.google.android.gms.common.server.response.FastJsonResponse.Field) r4).zak != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (((com.google.android.gms.common.server.response.FastJsonResponse.Field) r4).zak != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0030, code lost: zaf(r4, r4.zae, r5); */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0035, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x001f, code lost: zaE(r4, r5); r4 = com.google.android.gms.common.server.response.FastJsonResponse.e + 57; com.google.android.gms.common.server.response.FastJsonResponse.a = r4 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x002b, code lost: if ((r4 % 2) == 0) goto L12; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void zae(com.google.android.gms.common.server.response.FastJsonResponse.Field r4, java.math.BigInteger r5) { /* r3 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.google.android.gms.common.server.response.FastJsonResponse.e int r1 = r1 + 33 int r2 = r1 % 128 com.google.android.gms.common.server.response.FastJsonResponse.a = r2 int r1 = r1 % r0 if (r1 != 0) goto L19 com.google.android.gms.common.server.response.FastJsonResponse$FieldConverter r1 = com.google.android.gms.common.server.response.FastJsonResponse.Field.zac(r4) r2 = 86 int r2 = r2 / 0 if (r1 == 0) goto L30 goto L1f L19: com.google.android.gms.common.server.response.FastJsonResponse$FieldConverter r1 = com.google.android.gms.common.server.response.FastJsonResponse.Field.zac(r4) if (r1 == 0) goto L30 L1f: r3.zaE(r4, r5) int r4 = com.google.android.gms.common.server.response.FastJsonResponse.e int r4 = r4 + 57 int r5 = r4 % 128 com.google.android.gms.common.server.response.FastJsonResponse.a = r5 int r4 = r4 % r0 if (r4 == 0) goto L2e return L2e: r4 = 0 throw r4 L30: java.lang.String r0 = r4.zae r3.zaf(r4, r0, r5) return */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.common.server.response.FastJsonResponse.zae(com.google.android.gms.common.server.response.FastJsonResponse$Field, java.math.BigInteger):void"); } public final void zag(Field, O> field, ArrayList arrayList) { int i = 2 % 2; if (((Field) field).zak != null) { int i2 = e + 85; a = i2 % 128; if (i2 % 2 != 0) { zaE(field, arrayList); return; } else { zaE(field, arrayList); int i3 = 20 / 0; return; } } zah(field, field.zae, arrayList); int i4 = a + 95; e = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } public final void zai(Field field, boolean z) { int i = 2 % 2; int i2 = a + 61; e = i2 % 128; int i3 = i2 % 2; if (((Field) field).zak != null) { int i4 = e + 111; a = i4 % 128; if (i4 % 2 != 0) { zaE(field, Boolean.valueOf(z)); return; } else { zaE(field, Boolean.valueOf(z)); int i5 = 87 / 0; return; } } setBooleanInternal(field, field.zae, z); } public final void zaj(Field, O> field, ArrayList arrayList) { int i = 2 % 2; int i2 = a + 73; e = i2 % 128; if (i2 % 2 == 0) { if (((Field) field).zak == null) { zak(field, field.zae, arrayList); int i3 = a + 111; e = i3 % 128; int i4 = i3 % 2; return; } zaE(field, arrayList); return; } FieldConverter unused = ((Field) field).zak; Object obj = null; obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:10:0x002a, code lost: zaE(r4, r5); r4 = 34 / 0; */ /* JADX WARN: Code restructure failed: missing block: B:11:?, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0032, code lost: zaE(r4, r5); */ /* JADX WARN: Code restructure failed: missing block: B:13:0x0035, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x001d, code lost: if (((com.google.android.gms.common.server.response.FastJsonResponse.Field) r4).zak != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (((com.google.android.gms.common.server.response.FastJsonResponse.Field) r4).zak != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0036, code lost: setDecodedBytesInternal(r4, r4.zae, r5); */ /* JADX WARN: Code restructure failed: missing block: B:6:0x003b, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x001f, code lost: r1 = com.google.android.gms.common.server.response.FastJsonResponse.a + 53; com.google.android.gms.common.server.response.FastJsonResponse.e = r1 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0028, code lost: if ((r1 % 2) == 0) goto L12; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void zal(com.google.android.gms.common.server.response.FastJsonResponse.Field r4, byte[] r5) { /* r3 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.google.android.gms.common.server.response.FastJsonResponse.e int r1 = r1 + 9 int r2 = r1 % 128 com.google.android.gms.common.server.response.FastJsonResponse.a = r2 int r1 = r1 % r0 if (r1 != 0) goto L19 com.google.android.gms.common.server.response.FastJsonResponse$FieldConverter r1 = com.google.android.gms.common.server.response.FastJsonResponse.Field.zac(r4) r2 = 33 int r2 = r2 / 0 if (r1 == 0) goto L36 goto L1f L19: com.google.android.gms.common.server.response.FastJsonResponse$FieldConverter r1 = com.google.android.gms.common.server.response.FastJsonResponse.Field.zac(r4) if (r1 == 0) goto L36 L1f: int r1 = com.google.android.gms.common.server.response.FastJsonResponse.a int r1 = r1 + 53 int r2 = r1 % 128 com.google.android.gms.common.server.response.FastJsonResponse.e = r2 int r1 = r1 % r0 if (r1 == 0) goto L32 r3.zaE(r4, r5) r4 = 34 int r4 = r4 / 0 goto L35 L32: r3.zaE(r4, r5) L35: return L36: java.lang.String r0 = r4.zae r3.setDecodedBytesInternal(r4, r0, r5) return */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.common.server.response.FastJsonResponse.zal(com.google.android.gms.common.server.response.FastJsonResponse$Field, byte[]):void"); } /* JADX WARN: Code restructure failed: missing block: B:11:0x001d, code lost: if (((com.google.android.gms.common.server.response.FastJsonResponse.Field) r5).zak != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (((com.google.android.gms.common.server.response.FastJsonResponse.Field) r5).zak != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0027, code lost: zan(r5, r5.zae, r6); r5 = com.google.android.gms.common.server.response.FastJsonResponse.a + 39; com.google.android.gms.common.server.response.FastJsonResponse.e = r5 % 128; r5 = r5 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0034, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x001f, code lost: zaE(r5, java.lang.Double.valueOf(r6)); */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0026, code lost: return; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void zam(com.google.android.gms.common.server.response.FastJsonResponse.Field r5, double r6) { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.google.android.gms.common.server.response.FastJsonResponse.e int r1 = r1 + 81 int r2 = r1 % 128 com.google.android.gms.common.server.response.FastJsonResponse.a = r2 int r1 = r1 % r0 r2 = 39 if (r1 != 0) goto L19 com.google.android.gms.common.server.response.FastJsonResponse$FieldConverter r1 = com.google.android.gms.common.server.response.FastJsonResponse.Field.zac(r5) int r3 = r2 / 0 if (r1 == 0) goto L27 goto L1f L19: com.google.android.gms.common.server.response.FastJsonResponse$FieldConverter r1 = com.google.android.gms.common.server.response.FastJsonResponse.Field.zac(r5) if (r1 == 0) goto L27 L1f: java.lang.Double r6 = java.lang.Double.valueOf(r6) r4.zaE(r5, r6) return L27: java.lang.String r1 = r5.zae r4.zan(r5, r1, r6) int r5 = com.google.android.gms.common.server.response.FastJsonResponse.a int r5 = r5 + r2 int r6 = r5 % 128 com.google.android.gms.common.server.response.FastJsonResponse.e = r6 int r5 = r5 % r0 return */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.common.server.response.FastJsonResponse.zam(com.google.android.gms.common.server.response.FastJsonResponse$Field, double):void"); } public final void zao(Field, O> field, ArrayList arrayList) { int i = 2 % 2; if (((Field) field).zak != null) { int i2 = a + 75; e = i2 % 128; int i3 = i2 % 2; zaE(field, arrayList); return; } zap(field, field.zae, arrayList); int i4 = e + 117; a = i4 % 128; int i5 = i4 % 2; } public final void zaq(Field field, float f) { int i = 2 % 2; int i2 = a + 19; e = i2 % 128; int i3 = i2 % 2; if (((Field) field).zak == null) { zar(field, field.zae, f); return; } zaE(field, Float.valueOf(f)); int i4 = a + 9; e = i4 % 128; if (i4 % 2 != 0) { throw null; } } public final void zas(Field, O> field, ArrayList arrayList) { int i = 2 % 2; int i2 = e + 49; a = i2 % 128; int i3 = i2 % 2; if (((Field) field).zak != null) { int i4 = a + 33; e = i4 % 128; int i5 = i4 % 2; zaE(field, arrayList); return; } zat(field, field.zae, arrayList); } public final void zau(Field field, int i) { int i2 = 2 % 2; if (((Field) field).zak != null) { int i3 = a + 111; e = i3 % 128; if (i3 % 2 == 0) { zaE(field, Integer.valueOf(i)); return; } zaE(field, Integer.valueOf(i)); Object obj = null; obj.hashCode(); throw null; } setIntegerInternal(field, field.zae, i); int i4 = a + 69; e = i4 % 128; int i5 = i4 % 2; } public final void zav(Field, O> field, ArrayList arrayList) { int i = 2 % 2; if (((Field) field).zak == null) { zaw(field, field.zae, arrayList); return; } int i2 = e + 69; a = i2 % 128; if (i2 % 2 == 0) { zaE(field, arrayList); Object obj = null; obj.hashCode(); throw null; } zaE(field, arrayList); int i3 = a + 55; e = i3 % 128; int i4 = i3 % 2; } public final void zax(Field field, long j) { int i = 2 % 2; if (((Field) field).zak != null) { int i2 = e + 15; a = i2 % 128; int i3 = i2 % 2; zaE(field, Long.valueOf(j)); return; } setLongInternal(field, field.zae, j); int i4 = a + 59; e = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } public final void zay(Field, O> field, ArrayList arrayList) { int i = 2 % 2; int i2 = a + 13; e = i2 % 128; int i3 = i2 % 2; if (((Field) field).zak == null) { zaz(field, field.zae, arrayList); return; } int i4 = a + 115; e = i4 % 128; Object obj = null; if (i4 % 2 != 0) { zaE(field, arrayList); obj.hashCode(); throw null; } zaE(field, arrayList); int i5 = e + 85; a = i5 % 128; if (i5 % 2 == 0) { throw null; } } private static final void zaF(StringBuilder sb, Field field, Object obj) { int i; int i2 = 2 % 2; int i3 = a + 15; e = i3 % 128; if (i3 % 2 == 0 ? (i = field.zaa) == 11 : (i = field.zaa) == 34) { Class cls = field.zag; Preconditions.checkNotNull(cls); sb.append(cls.cast(obj).toString()); int i4 = e + 59; a = i4 % 128; int i5 = i4 % 2; return; } if (i == 7) { int i6 = e + 47; a = i6 % 128; int i7 = i6 % 2; sb.append("\""); sb.append(JsonUtils.escapeString((String) obj)); sb.append("\""); return; } sb.append(obj); } /* JADX WARN: Removed duplicated region for block: B:15:0x004d A[PHI: r1 r7 0x004d: PHI (r1v11 java.lang.String) = (r1v4 java.lang.String), (r1v13 java.lang.String) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE] 0x004d: PHI (r7v21 java.lang.Object) = (r7v1 O), (r7v26 O) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE]] */ /* JADX WARN: Removed duplicated region for block: B:17:0x0053 A[PHI: r1 r7 0x0053: PHI (r1v10 java.lang.String) = (r1v4 java.lang.String), (r1v13 java.lang.String) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE] 0x0053: PHI (r7v18 java.lang.Object) = (r7v1 O), (r7v26 O) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE]] */ /* JADX WARN: Removed duplicated region for block: B:22:0x0063 A[PHI: r1 r7 0x0063: PHI (r1v9 java.lang.String) = (r1v4 java.lang.String), (r1v13 java.lang.String) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE] 0x0063: PHI (r7v16 java.lang.Object) = (r7v1 O), (r7v26 O) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE]] */ /* JADX WARN: Removed duplicated region for block: B:24:0x0069 A[PHI: r1 r7 0x0069: PHI (r1v8 java.lang.String) = (r1v4 java.lang.String), (r1v13 java.lang.String) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE] 0x0069: PHI (r7v13 java.lang.Object) = (r7v1 O), (r7v26 O) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE]] */ /* JADX WARN: Removed duplicated region for block: B:31:0x0085 A[PHI: r1 r7 0x0085: PHI (r1v7 java.lang.String) = (r1v4 java.lang.String), (r1v13 java.lang.String) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE] 0x0085: PHI (r7v10 java.lang.Object) = (r7v1 O), (r7v26 O) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE]] */ /* JADX WARN: Removed duplicated region for block: B:40:0x00ad A[PHI: r1 r7 0x00ad: PHI (r1v6 java.lang.String) = (r1v4 java.lang.String), (r1v13 java.lang.String) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE] 0x00ad: PHI (r7v8 java.lang.Object) = (r7v1 O), (r7v26 O) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE]] */ /* JADX WARN: Removed duplicated region for block: B:42:0x00b3 A[PHI: r1 r7 0x00b3: PHI (r1v5 java.lang.String) = (r1v4 java.lang.String), (r1v13 java.lang.String) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE] 0x00b3: PHI (r7v5 java.lang.Object) = (r7v1 O), (r7v26 O) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE]] */ /* JADX WARN: Removed duplicated region for block: B:47:0x00c3 A[PHI: r3 0x00c3: PHI (r3v1 int) = (r3v0 int), (r3v10 int) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE]] */ /* JADX WARN: Removed duplicated region for block: B:5:0x002d A[PHI: r1 r7 0x002d: PHI (r1v12 java.lang.String) = (r1v4 java.lang.String), (r1v13 java.lang.String) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE] 0x002d: PHI (r7v23 java.lang.Object) = (r7v1 O), (r7v26 O) binds: [B:50:0x0028, B:4:0x001b] A[DONT_GENERATE, DONT_INLINE]] */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private final void zaE(com.google.android.gms.common.server.response.FastJsonResponse.Field r6, I r7) { /* Method dump skipped, instructions count: 268 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.common.server.response.FastJsonResponse.zaE(com.google.android.gms.common.server.response.FastJsonResponse$Field, java.lang.Object):void"); } public String toString() { int i = 2 % 2; Map> fieldMappings = getFieldMappings(); StringBuilder sb = new StringBuilder(100); Iterator it = fieldMappings.keySet().iterator(); while (!(!it.hasNext())) { String next = it.next(); Field field = fieldMappings.get(next); if (isFieldSet(field)) { int i2 = e + 25; a = i2 % 128; int i3 = i2 % 2; Object zaD = zaD(field, getFieldValue(field)); if (sb.length() == 0) { int i4 = e + 31; a = i4 % 128; if (i4 % 2 == 0) { sb.append(UrlTreeKt.componentParamPrefix); Object obj = null; obj.hashCode(); throw null; } sb.append(UrlTreeKt.componentParamPrefix); } else { sb.append(","); } sb.append("\""); sb.append(next); sb.append("\":"); if (zaD != null) { switch (field.zac) { case 8: sb.append("\""); sb.append(Base64Utils.encode((byte[]) zaD)); sb.append("\""); break; case 9: sb.append("\""); sb.append(Base64Utils.encodeUrlSafe((byte[]) zaD)); sb.append("\""); break; case 10: MapUtils.writeStringMapToJson(sb, (HashMap) zaD); break; default: if (field.zab) { int i5 = e + 43; a = i5 % 128; int i6 = i5 % 2; ArrayList arrayList = (ArrayList) zaD; sb.append("["); int size = arrayList.size(); for (int i7 = 0; i7 < size; i7++) { if (i7 > 0) { sb.append(","); } Object obj2 = arrayList.get(i7); if (obj2 != null) { int i8 = a + 123; e = i8 % 128; int i9 = i8 % 2; zaF(sb, field, obj2); } } sb.append("]"); break; } else { zaF(sb, field, zaD); break; } } } else { int i10 = a + 33; e = i10 % 128; int i11 = i10 % 2; Object[] objArr = new Object[1]; f((char) (6321 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 4 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr); sb.append(((String) objArr[0]).intern()); } } } if (sb.length() > 0) { sb.append(UrlTreeKt.componentParamSuffix); } else { sb.append("{}"); } return sb.toString(); } private static void f(char c2, int i, int i2, Object[] objArr) { int i3 = 2; int i4 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; int i5 = $11 + 35; $10 = i5 % 128; int i6 = i5 % 2; while (dqy.a < i2) { int i7 = $11 + 101; $10 = i7 % 128; if (i7 % i3 == 0) { int i8 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(d[i + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 308, KeyEvent.getDeadChar(0, 0) + 5, (char) (32796 - TextUtils.lastIndexOf("", '0', 0))); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; g(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1095064095, obj); } Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(c), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(412 - Drawable.resolveOpacity(0, 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (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))); byte b3 = (byte) ($$b & 5); byte b4 = (byte) (b3 - 1); Object[] objArr5 = new Object[1]; g(b3, b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i8] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue(); Object[] objArr6 = {dqy, dqy}; Object obj3 = xzZ.y.get(1071125919); if (obj3 == null) { Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 408, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 29233)); byte b5 = (byte) 0; Object[] objArr7 = new Object[1]; g((byte) ($$b & 28), b5, b5, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { int i9 = dqy.a; try { Object[] objArr8 = {Integer.valueOf(d[i / dqy.a])}; Object obj4 = xzZ.y.get(1095064095); if (obj4 == null) { Class cls4 = (Class) xzZ.c(308 - ((Process.getThreadPriority(0) + 20) >> 6), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (32796 - MotionEvent.axisFromString(""))); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr9 = new Object[1]; g(b6, b7, b7, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE); xzZ.y.put(1095064095, obj4); } try { Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(c), Integer.valueOf(c2)}; Object obj5 = xzZ.y.get(-548438098); if (obj5 == null) { Class cls5 = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 412, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16)); byte b8 = (byte) ($$b & 5); byte b9 = (byte) (b8 - 1); Object[] objArr11 = new Object[1]; g(b8, b9, b9, objArr11); obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj5); } jArr[i9] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue(); try { Object[] objArr12 = {dqy, dqy}; Object obj6 = xzZ.y.get(1071125919); if (obj6 == null) { Class cls6 = (Class) xzZ.c(407 - KeyEvent.getDeadChar(0, 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (29234 - View.resolveSizeAndState(0, 0, 0))); byte b10 = (byte) 0; Object[] objArr13 = new Object[1]; g((byte) ($$b & 28), b10, b10, objArr13); obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class); xzZ.y.put(1071125919, obj6); } ((Method) obj6).invoke(null, objArr12); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } catch (Throwable th4) { Throwable cause4 = th4.getCause(); if (cause4 == null) { throw th4; } throw cause4; } } i3 = 2; } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { cArr[dqy.a] = (char) jArr[dqy.a]; Object[] objArr14 = {dqy, dqy}; Object obj7 = xzZ.y.get(1071125919); if (obj7 == null) { Class cls7 = (Class) xzZ.c(407 - Drawable.resolveOpacity(0, 0), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (29234 - Color.argb(0, 0, 0, 0))); byte b11 = (byte) 0; Object[] objArr15 = new Object[1]; g((byte) ($$b & 28), b11, b11, objArr15); obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class); xzZ.y.put(1071125919, obj7); } ((Method) obj7).invoke(null, objArr14); } objArr[0] = new String(cArr); } }