package com.google.android.libraries.places.internal; import java.io.IOException; import java.lang.reflect.Field; import java.util.Arrays; import java.util.List; import sun.misc.Unsafe; /* loaded from: classes2.dex */ final class zzagj implements zzagr { private static final int[] zza = new int[0]; private static final Unsafe zzb = zzahs.zzg(); private final int[] zzc; private final Object[] zzd; private final zzagg zze; private final boolean zzf; private final boolean zzg; private final int[] zzh; private final int zzi; private final zzafu zzj; private final zzahi zzk; private final zzaeo zzl; private final zzagl zzm; private final zzagb zzn; private zzagj(int[] iArr, Object[] objArr, int i, int i2, zzagg zzaggVar, boolean z, boolean z2, int[] iArr2, int i3, int i4, zzagl zzaglVar, zzafu zzafuVar, zzahi zzahiVar, zzaeo zzaeoVar, zzagb zzagbVar, byte[] bArr) { this.zzc = iArr; this.zzd = objArr; this.zzg = z; boolean z3 = false; if (zzaeoVar != null && zzaeoVar.zzc(zzaggVar)) { z3 = true; } this.zzf = z3; this.zzh = iArr2; this.zzi = i3; this.zzm = zzaglVar; this.zzj = zzafuVar; this.zzk = zzahiVar; this.zzl = zzaeoVar; this.zze = zzaggVar; this.zzn = zzagbVar; } /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */ /* JADX WARN: Failed to find 'out' block for switch in B:12:0x003e. Please report as an issue. */ private final void zzA(Object obj, zzahz zzahzVar) throws IOException { int i; boolean z; if (!this.zzf) { int length = this.zzc.length; Unsafe unsafe = zzb; int i2 = 1048575; int i3 = 1048575; int i4 = 0; int i5 = 0; while (i4 < length) { int zzr = zzr(i4); int[] iArr = this.zzc; int i6 = iArr[i4]; int zzq = zzq(zzr); if (zzq <= 17) { int i7 = iArr[i4 + 2]; int i8 = i7 & i2; if (i8 != i3) { i5 = unsafe.getInt(obj, i8); i3 = i8; } i = 1 << (i7 >>> 20); } else { i = 0; } long j = zzr & i2; switch (zzq) { case 0: if ((i5 & i) == 0) { break; } else { zzahzVar.zzf(i6, zzahs.zza(obj, j)); break; } case 1: if ((i5 & i) == 0) { break; } else { zzahzVar.zzn(i6, zzahs.zzb(obj, j)); break; } case 2: if ((i5 & i) == 0) { break; } else { zzahzVar.zzs(i6, unsafe.getLong(obj, j)); break; } case 3: if ((i5 & i) == 0) { break; } else { zzahzVar.zzH(i6, unsafe.getLong(obj, j)); break; } case 4: if ((i5 & i) == 0) { break; } else { zzahzVar.zzq(i6, unsafe.getInt(obj, j)); break; } case 5: if ((i5 & i) == 0) { break; } else { zzahzVar.zzl(i6, unsafe.getLong(obj, j)); break; } case 6: if ((i5 & i) == 0) { break; } else { zzahzVar.zzj(i6, unsafe.getInt(obj, j)); break; } case 7: if ((i5 & i) == 0) { break; } else { zzahzVar.zzb(i6, zzahs.zzw(obj, j)); break; } case 8: if ((i5 & i) == 0) { break; } else { zzJ(i6, unsafe.getObject(obj, j), zzahzVar); break; } case 9: if ((i5 & i) == 0) { break; } else { zzahzVar.zzu(i6, unsafe.getObject(obj, j), zzt(i4)); break; } case 10: if ((i5 & i) == 0) { break; } else { zzahzVar.zzd(i6, (zzaed) unsafe.getObject(obj, j)); break; } case 11: if ((i5 & i) == 0) { break; } else { zzahzVar.zzF(i6, unsafe.getInt(obj, j)); break; } case 12: if ((i5 & i) == 0) { break; } else { zzahzVar.zzh(i6, unsafe.getInt(obj, j)); break; } case 13: if ((i5 & i) == 0) { break; } else { zzahzVar.zzv(i6, unsafe.getInt(obj, j)); break; } case 14: if ((i5 & i) == 0) { break; } else { zzahzVar.zzx(i6, unsafe.getLong(obj, j)); break; } case 15: if ((i5 & i) == 0) { break; } else { zzahzVar.zzz(i6, unsafe.getInt(obj, j)); break; } case 16: if ((i5 & i) == 0) { break; } else { zzahzVar.zzB(i6, unsafe.getLong(obj, j)); break; } case 17: if ((i5 & i) == 0) { break; } else { zzahzVar.zzp(i6, unsafe.getObject(obj, j), zzt(i4)); break; } case 18: zzagt.zzH(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 19: zzagt.zzL(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 20: zzagt.zzO(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 21: zzagt.zzW(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 22: zzagt.zzN(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 23: zzagt.zzK(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 24: zzagt.zzJ(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 25: zzagt.zzF(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 26: zzagt.zzU(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar); break; case 27: zzagt.zzP(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, zzt(i4)); break; case 28: zzagt.zzG(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar); break; case 29: z = false; zzagt.zzV(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 30: z = false; zzagt.zzI(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 31: z = false; zzagt.zzQ(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 32: z = false; zzagt.zzR(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 33: z = false; zzagt.zzS(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 34: z = false; zzagt.zzT(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, false); break; case 35: zzagt.zzH(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 36: zzagt.zzL(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 37: zzagt.zzO(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 38: zzagt.zzW(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 39: zzagt.zzN(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 40: zzagt.zzK(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 41: zzagt.zzJ(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 42: zzagt.zzF(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 43: zzagt.zzV(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 44: zzagt.zzI(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 45: zzagt.zzQ(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 46: zzagt.zzR(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 47: zzagt.zzS(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 48: zzagt.zzT(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, true); break; case 49: zzagt.zzM(this.zzc[i4], (List) unsafe.getObject(obj, j), zzahzVar, zzt(i4)); break; case 50: zzB(zzahzVar, i6, unsafe.getObject(obj, j), i4); break; case 51: if (zzH(obj, i6, i4)) { zzahzVar.zzf(i6, zzk(obj, j)); } break; case 52: if (zzH(obj, i6, i4)) { zzahzVar.zzn(i6, zzl(obj, j)); } break; case 53: if (zzH(obj, i6, i4)) { zzahzVar.zzs(i6, zzs(obj, j)); } break; case 54: if (zzH(obj, i6, i4)) { zzahzVar.zzH(i6, zzs(obj, j)); } break; case 55: if (zzH(obj, i6, i4)) { zzahzVar.zzq(i6, zzo(obj, j)); } break; case 56: if (zzH(obj, i6, i4)) { zzahzVar.zzl(i6, zzs(obj, j)); } break; case 57: if (zzH(obj, i6, i4)) { zzahzVar.zzj(i6, zzo(obj, j)); } break; case 58: if (zzH(obj, i6, i4)) { zzahzVar.zzb(i6, zzI(obj, j)); } break; case 59: if (zzH(obj, i6, i4)) { zzJ(i6, unsafe.getObject(obj, j), zzahzVar); } break; case 60: if (zzH(obj, i6, i4)) { zzahzVar.zzu(i6, unsafe.getObject(obj, j), zzt(i4)); } break; case 61: if (zzH(obj, i6, i4)) { zzahzVar.zzd(i6, (zzaed) unsafe.getObject(obj, j)); } break; case 62: if (zzH(obj, i6, i4)) { zzahzVar.zzF(i6, zzo(obj, j)); } break; case 63: if (zzH(obj, i6, i4)) { zzahzVar.zzh(i6, zzo(obj, j)); } break; case 64: if (zzH(obj, i6, i4)) { zzahzVar.zzv(i6, zzo(obj, j)); } break; case 65: if (zzH(obj, i6, i4)) { zzahzVar.zzx(i6, zzs(obj, j)); } break; case 66: if (zzH(obj, i6, i4)) { zzahzVar.zzz(i6, zzo(obj, j)); } break; case 67: if (zzH(obj, i6, i4)) { zzahzVar.zzB(i6, zzs(obj, j)); } break; case 68: if (zzH(obj, i6, i4)) { zzahzVar.zzp(i6, unsafe.getObject(obj, j), zzt(i4)); } break; } i4 += 3; i2 = 1048575; } zzahi zzahiVar = this.zzk; zzahiVar.zzg(zzahiVar.zzc(obj), zzahzVar); return; } this.zzl.zza(obj); throw null; } private final void zzB(zzahz zzahzVar, int i, Object obj, int i2) throws IOException { if (obj == null) { return; } throw null; } private final boolean zzC(Object obj, Object obj2, int i) { return zzD(obj, i) == zzD(obj2, i); } private final boolean zzD(Object obj, int i) { int zzp = zzp(i); long j = zzp & 1048575; if (j != 1048575) { return (zzahs.zzc(obj, j) & (1 << (zzp >>> 20))) != 0; } int zzr = zzr(i); long j2 = zzr & 1048575; switch (zzq(zzr)) { case 0: return Double.doubleToRawLongBits(zzahs.zza(obj, j2)) != 0; case 1: return Float.floatToRawIntBits(zzahs.zzb(obj, j2)) != 0; case 2: return zzahs.zzd(obj, j2) != 0; case 3: return zzahs.zzd(obj, j2) != 0; case 4: return zzahs.zzc(obj, j2) != 0; case 5: return zzahs.zzd(obj, j2) != 0; case 6: return zzahs.zzc(obj, j2) != 0; case 7: return zzahs.zzw(obj, j2); case 8: Object zzf = zzahs.zzf(obj, j2); if (zzf instanceof String) { return !((String) zzf).isEmpty(); } if (zzf instanceof zzaed) { return !zzaed.zzb.equals(zzf); } throw new IllegalArgumentException(); case 9: return zzahs.zzf(obj, j2) != null; case 10: return !zzaed.zzb.equals(zzahs.zzf(obj, j2)); case 11: return zzahs.zzc(obj, j2) != 0; case 12: return zzahs.zzc(obj, j2) != 0; case 13: return zzahs.zzc(obj, j2) != 0; case 14: return zzahs.zzd(obj, j2) != 0; case 15: return zzahs.zzc(obj, j2) != 0; case 16: return zzahs.zzd(obj, j2) != 0; case 17: return zzahs.zzf(obj, j2) != null; default: throw new IllegalArgumentException(); } } private final boolean zzE(Object obj, int i, int i2, int i3, int i4) { if (i2 == 1048575) { return zzD(obj, i); } return (i3 & i4) != 0; } private static boolean zzF(Object obj, int i, zzagr zzagrVar) { return zzagrVar.zzh(zzahs.zzf(obj, i & 1048575)); } private static boolean zzG(Object obj) { if (obj == null) { return false; } if (obj instanceof zzaey) { return ((zzaey) obj).zzL(); } return true; } private final boolean zzH(Object obj, int i, int i2) { return zzahs.zzc(obj, (long) (zzp(i2) & 1048575)) == i; } private static boolean zzI(Object obj, long j) { return ((Boolean) zzahs.zzf(obj, j)).booleanValue(); } private static final void zzJ(int i, Object obj, zzahz zzahzVar) throws IOException { if (obj instanceof String) { zzahzVar.zzD(i, (String) obj); } else { zzahzVar.zzd(i, (zzaed) obj); } } /* JADX INFO: Access modifiers changed from: package-private */ public static zzagj zzi(Class cls, zzagd zzagdVar, zzagl zzaglVar, zzafu zzafuVar, zzahi zzahiVar, zzaeo zzaeoVar, zzagb zzagbVar) { if (zzagdVar instanceof zzagq) { return zzj((zzagq) zzagdVar, zzaglVar, zzafuVar, zzahiVar, zzaeoVar, zzagbVar); } throw null; } /* JADX WARN: Code restructure failed: missing block: B:125:0x02bb, code lost: if (r3 == false) goto L149; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ static com.google.android.libraries.places.internal.zzagj zzj(com.google.android.libraries.places.internal.zzagq r33, com.google.android.libraries.places.internal.zzagl r34, com.google.android.libraries.places.internal.zzafu r35, com.google.android.libraries.places.internal.zzahi r36, com.google.android.libraries.places.internal.zzaeo r37, com.google.android.libraries.places.internal.zzagb r38) { /* Method dump skipped, instructions count: 929 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.libraries.places.internal.zzagj.zzj(com.google.android.libraries.places.internal.zzagq, com.google.android.libraries.places.internal.zzagl, com.google.android.libraries.places.internal.zzafu, com.google.android.libraries.places.internal.zzahi, com.google.android.libraries.places.internal.zzaeo, com.google.android.libraries.places.internal.zzagb):com.google.android.libraries.places.internal.zzagj"); } private static double zzk(Object obj, long j) { return ((Double) zzahs.zzf(obj, j)).doubleValue(); } private static float zzl(Object obj, long j) { return ((Float) zzahs.zzf(obj, j)).floatValue(); } /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */ /* JADX WARN: Failed to find 'out' block for switch in B:11:0x003b. Please report as an issue. */ private final int zzm(Object obj) { int i; int zzA; int zzA2; int zzB; int zzA3; int zzA4; int zzA5; int zzA6; int zzu; boolean z; int zzd; int zzi; int zzz; int zzA7; int i2; int zzA8; int zzA9; int zzA10; int zzA11; Unsafe unsafe = zzb; int i3 = 1048575; int i4 = 1048575; int i5 = 0; int i6 = 0; int i7 = 0; while (i5 < this.zzc.length) { int zzr = zzr(i5); int[] iArr = this.zzc; int i8 = iArr[i5]; int zzq = zzq(zzr); if (zzq <= 17) { int i9 = iArr[i5 + 2]; int i10 = i9 & i3; if (i10 != i4) { i7 = unsafe.getInt(obj, i10); i4 = i10; } i = 1 << (i9 >>> 20); } else { i = 0; } long j = zzr & i3; switch (zzq) { case 0: if ((i7 & i) == 0) { break; } else { zzA = zzael.zzA(i8 << 3); zzA4 = zzA + 8; i6 += zzA4; break; } case 1: if ((i7 & i) == 0) { break; } else { zzA2 = zzael.zzA(i8 << 3); zzA4 = zzA2 + 4; i6 += zzA4; break; } case 2: if ((i7 & i) == 0) { break; } else { zzB = zzael.zzB(unsafe.getLong(obj, j)); zzA3 = zzael.zzA(i8 << 3); i6 += zzA3 + zzB; break; } case 3: if ((i7 & i) == 0) { break; } else { zzB = zzael.zzB(unsafe.getLong(obj, j)); zzA3 = zzael.zzA(i8 << 3); i6 += zzA3 + zzB; break; } case 4: if ((i7 & i) == 0) { break; } else { zzB = zzael.zzv(unsafe.getInt(obj, j)); zzA3 = zzael.zzA(i8 << 3); i6 += zzA3 + zzB; break; } case 5: if ((i7 & i) == 0) { break; } else { zzA = zzael.zzA(i8 << 3); zzA4 = zzA + 8; i6 += zzA4; break; } case 6: if ((i7 & i) == 0) { break; } else { zzA2 = zzael.zzA(i8 << 3); zzA4 = zzA2 + 4; i6 += zzA4; break; } case 7: if ((i7 & i) == 0) { break; } else { zzA4 = zzael.zzA(i8 << 3) + 1; i6 += zzA4; break; } case 8: if ((i7 & i) == 0) { break; } else { Object object = unsafe.getObject(obj, j); if (object instanceof zzaed) { int zzd2 = ((zzaed) object).zzd(); zzA5 = zzael.zzA(zzd2) + zzd2; zzA6 = zzael.zzA(i8 << 3); zzA4 = zzA6 + zzA5; i6 += zzA4; break; } else { zzB = zzael.zzy((String) object); zzA3 = zzael.zzA(i8 << 3); i6 += zzA3 + zzB; break; } } case 9: if ((i7 & i) == 0) { break; } else { zzA4 = zzagt.zzo(i8, unsafe.getObject(obj, j), zzt(i5)); i6 += zzA4; break; } case 10: if ((i7 & i) == 0) { break; } else { int zzd3 = ((zzaed) unsafe.getObject(obj, j)).zzd(); zzA5 = zzael.zzA(zzd3) + zzd3; zzA6 = zzael.zzA(i8 << 3); zzA4 = zzA6 + zzA5; i6 += zzA4; break; } case 11: if ((i7 & i) == 0) { break; } else { zzB = zzael.zzA(unsafe.getInt(obj, j)); zzA3 = zzael.zzA(i8 << 3); i6 += zzA3 + zzB; break; } case 12: if ((i7 & i) == 0) { break; } else { zzB = zzael.zzv(unsafe.getInt(obj, j)); zzA3 = zzael.zzA(i8 << 3); i6 += zzA3 + zzB; break; } case 13: if ((i7 & i) == 0) { break; } else { zzA2 = zzael.zzA(i8 << 3); zzA4 = zzA2 + 4; i6 += zzA4; break; } case 14: if ((i7 & i) == 0) { break; } else { zzA = zzael.zzA(i8 << 3); zzA4 = zzA + 8; i6 += zzA4; break; } case 15: if ((i7 & i) == 0) { break; } else { int i11 = unsafe.getInt(obj, j); zzA3 = zzael.zzA(i8 << 3); zzB = zzael.zzA((i11 + i11) ^ (i11 >> 31)); i6 += zzA3 + zzB; break; } case 16: if ((i & i7) == 0) { break; } else { long j2 = unsafe.getLong(obj, j); i6 += zzael.zzA(i8 << 3) + zzael.zzB((j2 + j2) ^ (j2 >> 63)); break; } case 17: if ((i7 & i) == 0) { break; } else { zzA4 = zzael.zzu(i8, (zzagg) unsafe.getObject(obj, j), zzt(i5)); i6 += zzA4; break; } case 18: zzA4 = zzagt.zzh(i8, (List) unsafe.getObject(obj, j), false); i6 += zzA4; break; case 19: zzA4 = zzagt.zzf(i8, (List) unsafe.getObject(obj, j), false); i6 += zzA4; break; case 20: zzA4 = zzagt.zzm(i8, (List) unsafe.getObject(obj, j), false); i6 += zzA4; break; case 21: zzA4 = zzagt.zzx(i8, (List) unsafe.getObject(obj, j), false); i6 += zzA4; break; case 22: zzA4 = zzagt.zzk(i8, (List) unsafe.getObject(obj, j), false); i6 += zzA4; break; case 23: zzA4 = zzagt.zzh(i8, (List) unsafe.getObject(obj, j), false); i6 += zzA4; break; case 24: zzA4 = zzagt.zzf(i8, (List) unsafe.getObject(obj, j), false); i6 += zzA4; break; case 25: zzA4 = zzagt.zza(i8, (List) unsafe.getObject(obj, j), false); i6 += zzA4; break; case 26: zzu = zzagt.zzu(i8, (List) unsafe.getObject(obj, j)); i6 += zzu; break; case 27: zzu = zzagt.zzp(i8, (List) unsafe.getObject(obj, j), zzt(i5)); i6 += zzu; break; case 28: zzu = zzagt.zzc(i8, (List) unsafe.getObject(obj, j)); i6 += zzu; break; case 29: zzu = zzagt.zzv(i8, (List) unsafe.getObject(obj, j), false); i6 += zzu; break; case 30: z = false; zzd = zzagt.zzd(i8, (List) unsafe.getObject(obj, j), false); i6 += zzd; break; case 31: z = false; zzd = zzagt.zzf(i8, (List) unsafe.getObject(obj, j), false); i6 += zzd; break; case 32: z = false; zzd = zzagt.zzh(i8, (List) unsafe.getObject(obj, j), false); i6 += zzd; break; case 33: z = false; zzd = zzagt.zzq(i8, (List) unsafe.getObject(obj, j), false); i6 += zzd; break; case 34: z = false; zzd = zzagt.zzs(i8, (List) unsafe.getObject(obj, j), false); i6 += zzd; break; case 35: zzi = zzagt.zzi((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 36: zzi = zzagt.zzg((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 37: zzi = zzagt.zzn((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 38: zzi = zzagt.zzy((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 39: zzi = zzagt.zzl((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 40: zzi = zzagt.zzi((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 41: zzi = zzagt.zzg((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 42: zzi = zzagt.zzb((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 43: zzi = zzagt.zzw((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 44: zzi = zzagt.zze((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 45: zzi = zzagt.zzg((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 46: zzi = zzagt.zzi((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 47: zzi = zzagt.zzr((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 48: zzi = zzagt.zzt((List) unsafe.getObject(obj, j)); if (zzi > 0) { zzz = zzael.zzz(i8); zzA7 = zzael.zzA(zzi); i2 = zzz + zzA7; i6 += i2 + zzi; } break; case 49: zzu = zzagt.zzj(i8, (List) unsafe.getObject(obj, j), zzt(i5)); i6 += zzu; break; case 50: zzagb.zza(i8, unsafe.getObject(obj, j), zzu(i5)); break; case 51: if (zzH(obj, i8, i5)) { zzA8 = zzael.zzA(i8 << 3); zzu = zzA8 + 8; i6 += zzu; } break; case 52: if (zzH(obj, i8, i5)) { zzA9 = zzael.zzA(i8 << 3); zzu = zzA9 + 4; i6 += zzu; } break; case 53: if (zzH(obj, i8, i5)) { zzi = zzael.zzB(zzs(obj, j)); i2 = zzael.zzA(i8 << 3); i6 += i2 + zzi; } break; case 54: if (zzH(obj, i8, i5)) { zzi = zzael.zzB(zzs(obj, j)); i2 = zzael.zzA(i8 << 3); i6 += i2 + zzi; } break; case 55: if (zzH(obj, i8, i5)) { zzi = zzael.zzv(zzo(obj, j)); i2 = zzael.zzA(i8 << 3); i6 += i2 + zzi; } break; case 56: if (zzH(obj, i8, i5)) { zzA8 = zzael.zzA(i8 << 3); zzu = zzA8 + 8; i6 += zzu; } break; case 57: if (zzH(obj, i8, i5)) { zzA9 = zzael.zzA(i8 << 3); zzu = zzA9 + 4; i6 += zzu; } break; case 58: if (zzH(obj, i8, i5)) { zzu = zzael.zzA(i8 << 3) + 1; i6 += zzu; } break; case 59: if (zzH(obj, i8, i5)) { Object object2 = unsafe.getObject(obj, j); if (object2 instanceof zzaed) { int zzd4 = ((zzaed) object2).zzd(); zzA10 = zzael.zzA(zzd4) + zzd4; zzA11 = zzael.zzA(i8 << 3); zzu = zzA11 + zzA10; i6 += zzu; } else { zzi = zzael.zzy((String) object2); i2 = zzael.zzA(i8 << 3); i6 += i2 + zzi; } } break; case 60: if (zzH(obj, i8, i5)) { zzu = zzagt.zzo(i8, unsafe.getObject(obj, j), zzt(i5)); i6 += zzu; } break; case 61: if (zzH(obj, i8, i5)) { int zzd5 = ((zzaed) unsafe.getObject(obj, j)).zzd(); zzA10 = zzael.zzA(zzd5) + zzd5; zzA11 = zzael.zzA(i8 << 3); zzu = zzA11 + zzA10; i6 += zzu; } break; case 62: if (zzH(obj, i8, i5)) { zzi = zzael.zzA(zzo(obj, j)); i2 = zzael.zzA(i8 << 3); i6 += i2 + zzi; } break; case 63: if (zzH(obj, i8, i5)) { zzi = zzael.zzv(zzo(obj, j)); i2 = zzael.zzA(i8 << 3); i6 += i2 + zzi; } break; case 64: if (zzH(obj, i8, i5)) { zzA9 = zzael.zzA(i8 << 3); zzu = zzA9 + 4; i6 += zzu; } break; case 65: if (zzH(obj, i8, i5)) { zzA8 = zzael.zzA(i8 << 3); zzu = zzA8 + 8; i6 += zzu; } break; case 66: if (zzH(obj, i8, i5)) { int zzo = zzo(obj, j); i2 = zzael.zzA(i8 << 3); zzi = zzael.zzA((zzo + zzo) ^ (zzo >> 31)); i6 += i2 + zzi; } break; case 67: if (zzH(obj, i8, i5)) { long zzs = zzs(obj, j); i6 += zzael.zzA(i8 << 3) + zzael.zzB((zzs + zzs) ^ (zzs >> 63)); } break; case 68: if (zzH(obj, i8, i5)) { zzu = zzael.zzu(i8, (zzagg) unsafe.getObject(obj, j), zzt(i5)); i6 += zzu; } break; } i5 += 3; i3 = 1048575; } zzahi zzahiVar = this.zzk; int zza2 = zzahiVar.zza(zzahiVar.zzc(obj)); if (!this.zzf) { return i6 + zza2; } this.zzl.zza(obj); throw null; } /* JADX WARN: Failed to find 'out' block for switch in B:10:0x0033. Please report as an issue. */ private final int zzn(Object obj) { int zzA; int zzA2; int zzB; int zzA3; int zzA4; int zzA5; int zzA6; int zzo; int zzA7; int zzB2; int zzz; int zzA8; Unsafe unsafe = zzb; int i = 0; for (int i2 = 0; i2 < this.zzc.length; i2 += 3) { int zzr = zzr(i2); int zzq = zzq(zzr); int i3 = this.zzc[i2]; if (zzq >= zzaet.zzJ.zza() && zzq <= zzaet.zzW.zza()) { int i4 = this.zzc[i2 + 2]; } long j = zzr & 1048575; switch (zzq) { case 0: if (zzD(obj, i2)) { zzA = zzael.zzA(i3 << 3); zzo = zzA + 8; i += zzo; break; } else { break; } case 1: if (zzD(obj, i2)) { zzA2 = zzael.zzA(i3 << 3); zzo = zzA2 + 4; i += zzo; break; } else { break; } case 2: if (zzD(obj, i2)) { zzB = zzael.zzB(zzahs.zzd(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 3: if (zzD(obj, i2)) { zzB = zzael.zzB(zzahs.zzd(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 4: if (zzD(obj, i2)) { zzB = zzael.zzv(zzahs.zzc(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 5: if (zzD(obj, i2)) { zzA = zzael.zzA(i3 << 3); zzo = zzA + 8; i += zzo; break; } else { break; } case 6: if (zzD(obj, i2)) { zzA2 = zzael.zzA(i3 << 3); zzo = zzA2 + 4; i += zzo; break; } else { break; } case 7: if (zzD(obj, i2)) { zzA4 = zzael.zzA(i3 << 3); zzo = zzA4 + 1; i += zzo; break; } else { break; } case 8: if (zzD(obj, i2)) { Object zzf = zzahs.zzf(obj, j); if (zzf instanceof zzaed) { int zzd = ((zzaed) zzf).zzd(); zzA5 = zzael.zzA(zzd) + zzd; zzA6 = zzael.zzA(i3 << 3); zzo = zzA6 + zzA5; i += zzo; break; } else { zzB = zzael.zzy((String) zzf); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } } else { break; } case 9: if (zzD(obj, i2)) { zzo = zzagt.zzo(i3, zzahs.zzf(obj, j), zzt(i2)); i += zzo; break; } else { break; } case 10: if (zzD(obj, i2)) { int zzd2 = ((zzaed) zzahs.zzf(obj, j)).zzd(); zzA5 = zzael.zzA(zzd2) + zzd2; zzA6 = zzael.zzA(i3 << 3); zzo = zzA6 + zzA5; i += zzo; break; } else { break; } case 11: if (zzD(obj, i2)) { zzB = zzael.zzA(zzahs.zzc(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 12: if (zzD(obj, i2)) { zzB = zzael.zzv(zzahs.zzc(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 13: if (zzD(obj, i2)) { zzA2 = zzael.zzA(i3 << 3); zzo = zzA2 + 4; i += zzo; break; } else { break; } case 14: if (zzD(obj, i2)) { zzA = zzael.zzA(i3 << 3); zzo = zzA + 8; i += zzo; break; } else { break; } case 15: if (zzD(obj, i2)) { int zzc = zzahs.zzc(obj, j); zzA3 = zzael.zzA(i3 << 3); zzB = zzael.zzA((zzc + zzc) ^ (zzc >> 31)); i += zzA3 + zzB; break; } else { break; } case 16: if (zzD(obj, i2)) { long zzd3 = zzahs.zzd(obj, j); zzA7 = zzael.zzA(i3 << 3); zzB2 = zzael.zzB((zzd3 >> 63) ^ (zzd3 + zzd3)); zzo = zzB2 + zzA7; i += zzo; break; } else { break; } case 17: if (zzD(obj, i2)) { zzo = zzael.zzu(i3, (zzagg) zzahs.zzf(obj, j), zzt(i2)); i += zzo; break; } else { break; } case 18: zzo = zzagt.zzh(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 19: zzo = zzagt.zzf(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 20: zzo = zzagt.zzm(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 21: zzo = zzagt.zzx(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 22: zzo = zzagt.zzk(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 23: zzo = zzagt.zzh(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 24: zzo = zzagt.zzf(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 25: zzo = zzagt.zza(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 26: zzo = zzagt.zzu(i3, (List) zzahs.zzf(obj, j)); i += zzo; break; case 27: zzo = zzagt.zzp(i3, (List) zzahs.zzf(obj, j), zzt(i2)); i += zzo; break; case 28: zzo = zzagt.zzc(i3, (List) zzahs.zzf(obj, j)); i += zzo; break; case 29: zzo = zzagt.zzv(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 30: zzo = zzagt.zzd(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 31: zzo = zzagt.zzf(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 32: zzo = zzagt.zzh(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 33: zzo = zzagt.zzq(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 34: zzo = zzagt.zzs(i3, (List) zzahs.zzf(obj, j), false); i += zzo; break; case 35: zzB = zzagt.zzi((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 36: zzB = zzagt.zzg((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 37: zzB = zzagt.zzn((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 38: zzB = zzagt.zzy((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 39: zzB = zzagt.zzl((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 40: zzB = zzagt.zzi((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 41: zzB = zzagt.zzg((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 42: zzB = zzagt.zzb((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 43: zzB = zzagt.zzw((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 44: zzB = zzagt.zze((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 45: zzB = zzagt.zzg((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 46: zzB = zzagt.zzi((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 47: zzB = zzagt.zzr((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 48: zzB = zzagt.zzt((List) unsafe.getObject(obj, j)); if (zzB > 0) { zzz = zzael.zzz(i3); zzA8 = zzael.zzA(zzB); zzA3 = zzz + zzA8; i += zzA3 + zzB; break; } else { break; } case 49: zzo = zzagt.zzj(i3, (List) zzahs.zzf(obj, j), zzt(i2)); i += zzo; break; case 50: zzagb.zza(i3, zzahs.zzf(obj, j), zzu(i2)); break; case 51: if (zzH(obj, i3, i2)) { zzA = zzael.zzA(i3 << 3); zzo = zzA + 8; i += zzo; break; } else { break; } case 52: if (zzH(obj, i3, i2)) { zzA2 = zzael.zzA(i3 << 3); zzo = zzA2 + 4; i += zzo; break; } else { break; } case 53: if (zzH(obj, i3, i2)) { zzB = zzael.zzB(zzs(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 54: if (zzH(obj, i3, i2)) { zzB = zzael.zzB(zzs(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 55: if (zzH(obj, i3, i2)) { zzB = zzael.zzv(zzo(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 56: if (zzH(obj, i3, i2)) { zzA = zzael.zzA(i3 << 3); zzo = zzA + 8; i += zzo; break; } else { break; } case 57: if (zzH(obj, i3, i2)) { zzA2 = zzael.zzA(i3 << 3); zzo = zzA2 + 4; i += zzo; break; } else { break; } case 58: if (zzH(obj, i3, i2)) { zzA4 = zzael.zzA(i3 << 3); zzo = zzA4 + 1; i += zzo; break; } else { break; } case 59: if (zzH(obj, i3, i2)) { Object zzf2 = zzahs.zzf(obj, j); if (zzf2 instanceof zzaed) { int zzd4 = ((zzaed) zzf2).zzd(); zzA5 = zzael.zzA(zzd4) + zzd4; zzA6 = zzael.zzA(i3 << 3); zzo = zzA6 + zzA5; i += zzo; break; } else { zzB = zzael.zzy((String) zzf2); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } } else { break; } case 60: if (zzH(obj, i3, i2)) { zzo = zzagt.zzo(i3, zzahs.zzf(obj, j), zzt(i2)); i += zzo; break; } else { break; } case 61: if (zzH(obj, i3, i2)) { int zzd5 = ((zzaed) zzahs.zzf(obj, j)).zzd(); zzA5 = zzael.zzA(zzd5) + zzd5; zzA6 = zzael.zzA(i3 << 3); zzo = zzA6 + zzA5; i += zzo; break; } else { break; } case 62: if (zzH(obj, i3, i2)) { zzB = zzael.zzA(zzo(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 63: if (zzH(obj, i3, i2)) { zzB = zzael.zzv(zzo(obj, j)); zzA3 = zzael.zzA(i3 << 3); i += zzA3 + zzB; break; } else { break; } case 64: if (zzH(obj, i3, i2)) { zzA2 = zzael.zzA(i3 << 3); zzo = zzA2 + 4; i += zzo; break; } else { break; } case 65: if (zzH(obj, i3, i2)) { zzA = zzael.zzA(i3 << 3); zzo = zzA + 8; i += zzo; break; } else { break; } case 66: if (zzH(obj, i3, i2)) { int zzo2 = zzo(obj, j); zzA3 = zzael.zzA(i3 << 3); zzB = zzael.zzA((zzo2 + zzo2) ^ (zzo2 >> 31)); i += zzA3 + zzB; break; } else { break; } case 67: if (zzH(obj, i3, i2)) { long zzs = zzs(obj, j); zzA7 = zzael.zzA(i3 << 3); zzB2 = zzael.zzB((zzs >> 63) ^ (zzs + zzs)); zzo = zzB2 + zzA7; i += zzo; break; } else { break; } case 68: if (zzH(obj, i3, i2)) { zzo = zzael.zzu(i3, (zzagg) zzahs.zzf(obj, j), zzt(i2)); i += zzo; break; } else { break; } } } zzahi zzahiVar = this.zzk; return i + zzahiVar.zza(zzahiVar.zzc(obj)); } private static int zzo(Object obj, long j) { return ((Integer) zzahs.zzf(obj, j)).intValue(); } private final int zzp(int i) { return this.zzc[i + 2]; } private static int zzq(int i) { return (i >>> 20) & 255; } private final int zzr(int i) { return this.zzc[i + 1]; } private static long zzs(Object obj, long j) { return ((Long) zzahs.zzf(obj, j)).longValue(); } private final zzagr zzt(int i) { int i2 = i / 3; int i3 = i2 + i2; zzagr zzagrVar = (zzagr) this.zzd[i3]; if (zzagrVar != null) { return zzagrVar; } zzagr zzb2 = zzago.zza().zzb((Class) this.zzd[i3 + 1]); this.zzd[i3] = zzb2; return zzb2; } private final Object zzu(int i) { int i2 = i / 3; return this.zzd[i2 + i2]; } private static Field zzv(Class cls, String str) { try { return cls.getDeclaredField(str); } catch (NoSuchFieldException unused) { Field[] declaredFields = cls.getDeclaredFields(); for (Field field : declaredFields) { if (str.equals(field.getName())) { return field; } } String name = cls.getName(); String arrays = Arrays.toString(declaredFields); StringBuilder sb = new StringBuilder("Field "); sb.append(str); sb.append(" for "); sb.append(name); sb.append(" not found. Known fields are "); sb.append(arrays); throw new RuntimeException(sb.toString()); } } private final void zzw(Object obj, Object obj2, int i) { if (zzD(obj2, i)) { int zzr = zzr(i); Unsafe unsafe = zzb; long j = zzr & 1048575; Object object = unsafe.getObject(obj2, j); if (object == null) { int i2 = this.zzc[i]; String obj3 = obj2.toString(); StringBuilder sb = new StringBuilder("Source subfield "); sb.append(i2); sb.append(" is present but null: "); sb.append(obj3); throw new IllegalStateException(sb.toString()); } zzagr zzt = zzt(i); if (!zzD(obj, i)) { if (!zzG(object)) { unsafe.putObject(obj, j, object); } else { Object zzc = zzt.zzc(); zzt.zze(zzc, object); unsafe.putObject(obj, j, zzc); } zzy(obj, i); return; } Object object2 = unsafe.getObject(obj, j); if (!zzG(object2)) { Object zzc2 = zzt.zzc(); zzt.zze(zzc2, object2); unsafe.putObject(obj, j, zzc2); object2 = zzc2; } zzt.zze(object2, object); } } private final void zzx(Object obj, Object obj2, int i) { int i2 = this.zzc[i]; if (zzH(obj2, i2, i)) { int zzr = zzr(i); Unsafe unsafe = zzb; long j = zzr & 1048575; Object object = unsafe.getObject(obj2, j); if (object == null) { int i3 = this.zzc[i]; String obj3 = obj2.toString(); StringBuilder sb = new StringBuilder("Source subfield "); sb.append(i3); sb.append(" is present but null: "); sb.append(obj3); throw new IllegalStateException(sb.toString()); } zzagr zzt = zzt(i); if (!zzH(obj, i2, i)) { if (!zzG(object)) { unsafe.putObject(obj, j, object); } else { Object zzc = zzt.zzc(); zzt.zze(zzc, object); unsafe.putObject(obj, j, zzc); } zzz(obj, i2, i); return; } Object object2 = unsafe.getObject(obj, j); if (!zzG(object2)) { Object zzc2 = zzt.zzc(); zzt.zze(zzc2, object2); unsafe.putObject(obj, j, zzc2); object2 = zzc2; } zzt.zze(object2, object); } } private final void zzy(Object obj, int i) { int zzp = zzp(i); long j = 1048575 & zzp; if (j == 1048575) { return; } zzahs.zzq(obj, j, (1 << (zzp >>> 20)) | zzahs.zzc(obj, j)); } private final void zzz(Object obj, int i, int i2) { zzahs.zzq(obj, zzp(i2) & 1048575, i); } @Override // com.google.android.libraries.places.internal.zzagr public final int zza(Object obj) { return this.zzg ? zzn(obj) : zzm(obj); } /* JADX WARN: Failed to find 'out' block for switch in B:4:0x0018. Please report as an issue. */ @Override // com.google.android.libraries.places.internal.zzagr public final int zzb(Object obj) { int i; int zzc; int length = this.zzc.length; int i2 = 0; for (int i3 = 0; i3 < length; i3 += 3) { int zzr = zzr(i3); int i4 = this.zzc[i3]; long j = zzr & 1048575; switch (zzq(zzr)) { case 0: i = i2 * 53; zzc = zzafh.zzc(Double.doubleToLongBits(zzahs.zza(obj, j))); i2 = i + zzc; break; case 1: i = i2 * 53; zzc = Float.floatToIntBits(zzahs.zzb(obj, j)); i2 = i + zzc; break; case 2: i = i2 * 53; zzc = zzafh.zzc(zzahs.zzd(obj, j)); i2 = i + zzc; break; case 3: i = i2 * 53; zzc = zzafh.zzc(zzahs.zzd(obj, j)); i2 = i + zzc; break; case 4: i = i2 * 53; zzc = zzahs.zzc(obj, j); i2 = i + zzc; break; case 5: i = i2 * 53; zzc = zzafh.zzc(zzahs.zzd(obj, j)); i2 = i + zzc; break; case 6: i = i2 * 53; zzc = zzahs.zzc(obj, j); i2 = i + zzc; break; case 7: i = i2 * 53; zzc = zzafh.zza(zzahs.zzw(obj, j)); i2 = i + zzc; break; case 8: i = i2 * 53; zzc = ((String) zzahs.zzf(obj, j)).hashCode(); i2 = i + zzc; break; case 9: Object zzf = zzahs.zzf(obj, j); if (zzf != null) { zzc = zzf.hashCode(); i = i2 * 53; i2 = i + zzc; break; } zzc = 37; i = i2 * 53; i2 = i + zzc; case 10: i = i2 * 53; zzc = zzahs.zzf(obj, j).hashCode(); i2 = i + zzc; break; case 11: i = i2 * 53; zzc = zzahs.zzc(obj, j); i2 = i + zzc; break; case 12: i = i2 * 53; zzc = zzahs.zzc(obj, j); i2 = i + zzc; break; case 13: i = i2 * 53; zzc = zzahs.zzc(obj, j); i2 = i + zzc; break; case 14: i = i2 * 53; zzc = zzafh.zzc(zzahs.zzd(obj, j)); i2 = i + zzc; break; case 15: i = i2 * 53; zzc = zzahs.zzc(obj, j); i2 = i + zzc; break; case 16: i = i2 * 53; zzc = zzafh.zzc(zzahs.zzd(obj, j)); i2 = i + zzc; break; case 17: Object zzf2 = zzahs.zzf(obj, j); if (zzf2 != null) { zzc = zzf2.hashCode(); i = i2 * 53; i2 = i + zzc; break; } zzc = 37; i = i2 * 53; i2 = i + zzc; case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: i = i2 * 53; zzc = zzahs.zzf(obj, j).hashCode(); i2 = i + zzc; break; case 50: i = i2 * 53; zzc = zzahs.zzf(obj, j).hashCode(); i2 = i + zzc; break; case 51: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzafh.zzc(Double.doubleToLongBits(zzk(obj, j))); i2 = i + zzc; break; } else { break; } case 52: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = Float.floatToIntBits(zzl(obj, j)); i2 = i + zzc; break; } else { break; } case 53: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzafh.zzc(zzs(obj, j)); i2 = i + zzc; break; } else { break; } case 54: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzafh.zzc(zzs(obj, j)); i2 = i + zzc; break; } else { break; } case 55: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzo(obj, j); i2 = i + zzc; break; } else { break; } case 56: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzafh.zzc(zzs(obj, j)); i2 = i + zzc; break; } else { break; } case 57: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzo(obj, j); i2 = i + zzc; break; } else { break; } case 58: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzafh.zza(zzI(obj, j)); i2 = i + zzc; break; } else { break; } case 59: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = ((String) zzahs.zzf(obj, j)).hashCode(); i2 = i + zzc; break; } else { break; } case 60: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzahs.zzf(obj, j).hashCode(); i2 = i + zzc; break; } else { break; } case 61: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzahs.zzf(obj, j).hashCode(); i2 = i + zzc; break; } else { break; } case 62: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzo(obj, j); i2 = i + zzc; break; } else { break; } case 63: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzo(obj, j); i2 = i + zzc; break; } else { break; } case 64: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzo(obj, j); i2 = i + zzc; break; } else { break; } case 65: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzafh.zzc(zzs(obj, j)); i2 = i + zzc; break; } else { break; } case 66: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzo(obj, j); i2 = i + zzc; break; } else { break; } case 67: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzafh.zzc(zzs(obj, j)); i2 = i + zzc; break; } else { break; } case 68: if (zzH(obj, i4, i3)) { i = i2 * 53; zzc = zzahs.zzf(obj, j).hashCode(); i2 = i + zzc; break; } else { break; } } } int hashCode = this.zzk.zzc(obj).hashCode(); if (!this.zzf) { return (i2 * 53) + hashCode; } this.zzl.zza(obj); throw null; } @Override // com.google.android.libraries.places.internal.zzagr public final Object zzc() { return ((zzaey) this.zze).zzy(); } @Override // com.google.android.libraries.places.internal.zzagr public final void zzd(Object obj) { if (zzG(obj)) { if (obj instanceof zzaey) { zzaey zzaeyVar = (zzaey) obj; zzaeyVar.zzJ(Integer.MAX_VALUE); zzaeyVar.zza = 0; zzaeyVar.zzH(); } int length = this.zzc.length; for (int i = 0; i < length; i += 3) { int zzr = zzr(i); int zzq = zzq(zzr); long j = zzr & 1048575; if (zzq != 9) { switch (zzq) { case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: this.zzj.zza(obj, j); break; case 50: Unsafe unsafe = zzb; Object object = unsafe.getObject(obj, j); if (object != null) { ((zzaga) object).zzb(); unsafe.putObject(obj, j, object); break; } else { break; } } } if (zzD(obj, i)) { zzt(i).zzd(zzb.getObject(obj, j)); } } this.zzk.zze(obj); if (this.zzf) { this.zzl.zzb(obj); } } } @Override // com.google.android.libraries.places.internal.zzagr public final void zze(Object obj, Object obj2) { if (zzG(obj)) { for (int i = 0; i < this.zzc.length; i += 3) { int zzr = zzr(i); int i2 = this.zzc[i]; long j = zzr & 1048575; switch (zzq(zzr)) { case 0: if (zzD(obj2, i)) { zzahs.zzo(obj, j, zzahs.zza(obj2, j)); zzy(obj, i); break; } else { break; } case 1: if (zzD(obj2, i)) { zzahs.zzp(obj, j, zzahs.zzb(obj2, j)); zzy(obj, i); break; } else { break; } case 2: if (zzD(obj2, i)) { zzahs.zzr(obj, j, zzahs.zzd(obj2, j)); zzy(obj, i); break; } else { break; } case 3: if (zzD(obj2, i)) { zzahs.zzr(obj, j, zzahs.zzd(obj2, j)); zzy(obj, i); break; } else { break; } case 4: if (zzD(obj2, i)) { zzahs.zzq(obj, j, zzahs.zzc(obj2, j)); zzy(obj, i); break; } else { break; } case 5: if (zzD(obj2, i)) { zzahs.zzr(obj, j, zzahs.zzd(obj2, j)); zzy(obj, i); break; } else { break; } case 6: if (zzD(obj2, i)) { zzahs.zzq(obj, j, zzahs.zzc(obj2, j)); zzy(obj, i); break; } else { break; } case 7: if (zzD(obj2, i)) { zzahs.zzm(obj, j, zzahs.zzw(obj2, j)); zzy(obj, i); break; } else { break; } case 8: if (zzD(obj2, i)) { zzahs.zzs(obj, j, zzahs.zzf(obj2, j)); zzy(obj, i); break; } else { break; } case 9: zzw(obj, obj2, i); break; case 10: if (zzD(obj2, i)) { zzahs.zzs(obj, j, zzahs.zzf(obj2, j)); zzy(obj, i); break; } else { break; } case 11: if (zzD(obj2, i)) { zzahs.zzq(obj, j, zzahs.zzc(obj2, j)); zzy(obj, i); break; } else { break; } case 12: if (zzD(obj2, i)) { zzahs.zzq(obj, j, zzahs.zzc(obj2, j)); zzy(obj, i); break; } else { break; } case 13: if (zzD(obj2, i)) { zzahs.zzq(obj, j, zzahs.zzc(obj2, j)); zzy(obj, i); break; } else { break; } case 14: if (zzD(obj2, i)) { zzahs.zzr(obj, j, zzahs.zzd(obj2, j)); zzy(obj, i); break; } else { break; } case 15: if (zzD(obj2, i)) { zzahs.zzq(obj, j, zzahs.zzc(obj2, j)); zzy(obj, i); break; } else { break; } case 16: if (zzD(obj2, i)) { zzahs.zzr(obj, j, zzahs.zzd(obj2, j)); zzy(obj, i); break; } else { break; } case 17: zzw(obj, obj2, i); break; case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: this.zzj.zzb(obj, obj2, j); break; case 50: zzagt.zzY(this.zzn, obj, obj2, j); break; case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 58: case 59: if (zzH(obj2, i2, i)) { zzahs.zzs(obj, j, zzahs.zzf(obj2, j)); zzz(obj, i2, i); break; } else { break; } case 60: zzx(obj, obj2, i); break; case 61: case 62: case 63: case 64: case 65: case 66: case 67: if (zzH(obj2, i2, i)) { zzahs.zzs(obj, j, zzahs.zzf(obj2, j)); zzz(obj, i2, i); break; } else { break; } case 68: zzx(obj, obj2, i); break; } } zzagt.zzD(this.zzk, obj, obj2); if (this.zzf) { zzagt.zzC(this.zzl, obj, obj2); return; } return; } throw new IllegalArgumentException("Mutating immutable message: ".concat(String.valueOf(String.valueOf(obj)))); } @Override // com.google.android.libraries.places.internal.zzagr public final void zzf(Object obj, zzahz zzahzVar) throws IOException { if (!this.zzg) { zzA(obj, zzahzVar); return; } if (!this.zzf) { int length = this.zzc.length; for (int i = 0; i < length; i += 3) { int zzr = zzr(i); int i2 = this.zzc[i]; switch (zzq(zzr)) { case 0: if (zzD(obj, i)) { zzahzVar.zzf(i2, zzahs.zza(obj, zzr & 1048575)); break; } else { break; } case 1: if (zzD(obj, i)) { zzahzVar.zzn(i2, zzahs.zzb(obj, zzr & 1048575)); break; } else { break; } case 2: if (zzD(obj, i)) { zzahzVar.zzs(i2, zzahs.zzd(obj, zzr & 1048575)); break; } else { break; } case 3: if (zzD(obj, i)) { zzahzVar.zzH(i2, zzahs.zzd(obj, zzr & 1048575)); break; } else { break; } case 4: if (zzD(obj, i)) { zzahzVar.zzq(i2, zzahs.zzc(obj, zzr & 1048575)); break; } else { break; } case 5: if (zzD(obj, i)) { zzahzVar.zzl(i2, zzahs.zzd(obj, zzr & 1048575)); break; } else { break; } case 6: if (zzD(obj, i)) { zzahzVar.zzj(i2, zzahs.zzc(obj, zzr & 1048575)); break; } else { break; } case 7: if (zzD(obj, i)) { zzahzVar.zzb(i2, zzahs.zzw(obj, zzr & 1048575)); break; } else { break; } case 8: if (zzD(obj, i)) { zzJ(i2, zzahs.zzf(obj, zzr & 1048575), zzahzVar); break; } else { break; } case 9: if (zzD(obj, i)) { zzahzVar.zzu(i2, zzahs.zzf(obj, zzr & 1048575), zzt(i)); break; } else { break; } case 10: if (zzD(obj, i)) { zzahzVar.zzd(i2, (zzaed) zzahs.zzf(obj, zzr & 1048575)); break; } else { break; } case 11: if (zzD(obj, i)) { zzahzVar.zzF(i2, zzahs.zzc(obj, zzr & 1048575)); break; } else { break; } case 12: if (zzD(obj, i)) { zzahzVar.zzh(i2, zzahs.zzc(obj, zzr & 1048575)); break; } else { break; } case 13: if (zzD(obj, i)) { zzahzVar.zzv(i2, zzahs.zzc(obj, zzr & 1048575)); break; } else { break; } case 14: if (zzD(obj, i)) { zzahzVar.zzx(i2, zzahs.zzd(obj, zzr & 1048575)); break; } else { break; } case 15: if (zzD(obj, i)) { zzahzVar.zzz(i2, zzahs.zzc(obj, zzr & 1048575)); break; } else { break; } case 16: if (zzD(obj, i)) { zzahzVar.zzB(i2, zzahs.zzd(obj, zzr & 1048575)); break; } else { break; } case 17: if (zzD(obj, i)) { zzahzVar.zzp(i2, zzahs.zzf(obj, zzr & 1048575), zzt(i)); break; } else { break; } case 18: zzagt.zzH(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 19: zzagt.zzL(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 20: zzagt.zzO(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 21: zzagt.zzW(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 22: zzagt.zzN(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 23: zzagt.zzK(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 24: zzagt.zzJ(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 25: zzagt.zzF(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 26: zzagt.zzU(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar); break; case 27: zzagt.zzP(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, zzt(i)); break; case 28: zzagt.zzG(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar); break; case 29: zzagt.zzV(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 30: zzagt.zzI(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 31: zzagt.zzQ(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 32: zzagt.zzR(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 33: zzagt.zzS(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 34: zzagt.zzT(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, false); break; case 35: zzagt.zzH(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 36: zzagt.zzL(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 37: zzagt.zzO(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 38: zzagt.zzW(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 39: zzagt.zzN(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 40: zzagt.zzK(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 41: zzagt.zzJ(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 42: zzagt.zzF(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 43: zzagt.zzV(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 44: zzagt.zzI(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 45: zzagt.zzQ(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 46: zzagt.zzR(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 47: zzagt.zzS(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 48: zzagt.zzT(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, true); break; case 49: zzagt.zzM(i2, (List) zzahs.zzf(obj, zzr & 1048575), zzahzVar, zzt(i)); break; case 50: zzB(zzahzVar, i2, zzahs.zzf(obj, zzr & 1048575), i); break; case 51: if (zzH(obj, i2, i)) { zzahzVar.zzf(i2, zzk(obj, zzr & 1048575)); break; } else { break; } case 52: if (zzH(obj, i2, i)) { zzahzVar.zzn(i2, zzl(obj, zzr & 1048575)); break; } else { break; } case 53: if (zzH(obj, i2, i)) { zzahzVar.zzs(i2, zzs(obj, zzr & 1048575)); break; } else { break; } case 54: if (zzH(obj, i2, i)) { zzahzVar.zzH(i2, zzs(obj, zzr & 1048575)); break; } else { break; } case 55: if (zzH(obj, i2, i)) { zzahzVar.zzq(i2, zzo(obj, zzr & 1048575)); break; } else { break; } case 56: if (zzH(obj, i2, i)) { zzahzVar.zzl(i2, zzs(obj, zzr & 1048575)); break; } else { break; } case 57: if (zzH(obj, i2, i)) { zzahzVar.zzj(i2, zzo(obj, zzr & 1048575)); break; } else { break; } case 58: if (zzH(obj, i2, i)) { zzahzVar.zzb(i2, zzI(obj, zzr & 1048575)); break; } else { break; } case 59: if (zzH(obj, i2, i)) { zzJ(i2, zzahs.zzf(obj, zzr & 1048575), zzahzVar); break; } else { break; } case 60: if (zzH(obj, i2, i)) { zzahzVar.zzu(i2, zzahs.zzf(obj, zzr & 1048575), zzt(i)); break; } else { break; } case 61: if (zzH(obj, i2, i)) { zzahzVar.zzd(i2, (zzaed) zzahs.zzf(obj, zzr & 1048575)); break; } else { break; } case 62: if (zzH(obj, i2, i)) { zzahzVar.zzF(i2, zzo(obj, zzr & 1048575)); break; } else { break; } case 63: if (zzH(obj, i2, i)) { zzahzVar.zzh(i2, zzo(obj, zzr & 1048575)); break; } else { break; } case 64: if (zzH(obj, i2, i)) { zzahzVar.zzv(i2, zzo(obj, zzr & 1048575)); break; } else { break; } case 65: if (zzH(obj, i2, i)) { zzahzVar.zzx(i2, zzs(obj, zzr & 1048575)); break; } else { break; } case 66: if (zzH(obj, i2, i)) { zzahzVar.zzz(i2, zzo(obj, zzr & 1048575)); break; } else { break; } case 67: if (zzH(obj, i2, i)) { zzahzVar.zzB(i2, zzs(obj, zzr & 1048575)); break; } else { break; } case 68: if (zzH(obj, i2, i)) { zzahzVar.zzp(i2, zzahs.zzf(obj, zzr & 1048575), zzt(i)); break; } else { break; } } } zzahi zzahiVar = this.zzk; zzahiVar.zzg(zzahiVar.zzc(obj), zzahzVar); return; } this.zzl.zza(obj); throw null; } /* JADX WARN: Failed to find 'out' block for switch in B:4:0x0014. Please report as an issue. */ /* JADX WARN: Removed duplicated region for block: B:17:0x01c0 A[SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:18:0x01c1 A[SYNTHETIC] */ @Override // com.google.android.libraries.places.internal.zzagr /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final boolean zzg(java.lang.Object r9, java.lang.Object r10) { /* Method dump skipped, instructions count: 632 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.libraries.places.internal.zzagj.zzg(java.lang.Object, java.lang.Object):boolean"); } @Override // com.google.android.libraries.places.internal.zzagr public final boolean zzh(Object obj) { int i; int i2; int i3 = 0; int i4 = 0; int i5 = 1048575; while (i4 < this.zzi) { int i6 = this.zzh[i4]; int i7 = this.zzc[i6]; int zzr = zzr(i6); int i8 = this.zzc[i6 + 2]; int i9 = i8 & 1048575; int i10 = 1 << (i8 >>> 20); if (i9 != i5) { if (i9 != 1048575) { i3 = zzb.getInt(obj, i9); } i2 = i3; i = i9; } else { i = i5; i2 = i3; } if ((268435456 & zzr) != 0 && !zzE(obj, i6, i, i2, i10)) { return false; } int zzq = zzq(zzr); if (zzq != 9 && zzq != 17) { if (zzq != 27) { if (zzq == 60 || zzq == 68) { if (zzH(obj, i7, i6) && !zzF(obj, zzr, zzt(i6))) { return false; } } else if (zzq != 49) { if (zzq == 50 && !((zzaga) zzahs.zzf(obj, zzr & 1048575)).isEmpty()) { throw null; } } } List list = (List) zzahs.zzf(obj, zzr & 1048575); if (list.isEmpty()) { continue; } else { zzagr zzt = zzt(i6); for (int i11 = 0; i11 < list.size(); i11++) { if (!zzt.zzh(list.get(i11))) { return false; } } } } else if (zzE(obj, i6, i, i2, i10) && !zzF(obj, zzr, zzt(i6))) { return false; } i4++; i5 = i; i3 = i2; } if (!this.zzf) { return true; } this.zzl.zza(obj); throw null; } }