package com.google.android.gms.internal.gtm; import com.google.android.gms.internal.gtm.zzrc; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.io.IOException; import java.lang.reflect.Field; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Map; import org.bouncycastle.asn1.cmp.PKIFailureInfo; import sun.misc.Unsafe; /* loaded from: classes2.dex */ final class zzso implements zzsz { private static final int[] zzbcw = new int[0]; private static final Unsafe zzbcx = zztx.zzro(); private final int[] zzbcy; private final Object[] zzbcz; private final int zzbda; private final int zzbdb; private final zzsk zzbdc; private final boolean zzbdd; private final boolean zzbde; private final boolean zzbdf; private final boolean zzbdg; private final int[] zzbdh; private final int zzbdi; private final int zzbdj; private final zzsr zzbdk; private final zzru zzbdl; private final zztr zzbdm; private final zzqq zzbdn; private final zzsf zzbdo; private zzso(int[] iArr, Object[] objArr, int i, int i2, zzsk zzskVar, boolean z, boolean z2, int[] iArr2, int i3, int i4, zzsr zzsrVar, zzru zzruVar, zztr zztrVar, zzqq zzqqVar, zzsf zzsfVar) { this.zzbcy = iArr; this.zzbcz = objArr; this.zzbda = i; this.zzbdb = i2; this.zzbde = zzskVar instanceof zzrc; this.zzbdf = z; this.zzbdd = zzqqVar != null && zzqqVar.zze(zzskVar); this.zzbdg = false; this.zzbdh = iArr2; this.zzbdi = i3; this.zzbdj = i4; this.zzbdk = zzsrVar; this.zzbdl = zzruVar; this.zzbdm = zztrVar; this.zzbdn = zzqqVar; this.zzbdc = zzskVar; this.zzbdo = zzsfVar; } private static boolean zzbt(int i) { return (i & PKIFailureInfo.duplicateCertReq) != 0; } /* JADX INFO: Access modifiers changed from: package-private */ public static zzso zza(Class cls, zzsi zzsiVar, zzsr zzsrVar, zzru zzruVar, zztr zztrVar, zzqq zzqqVar, zzsf zzsfVar) { int i; int charAt; int charAt2; int i2; int i3; int i4; int i5; int[] iArr; int i6; int i7; char charAt3; int i8; char charAt4; int i9; char charAt5; int i10; char charAt6; int i11; char charAt7; int i12; char charAt8; int i13; char charAt9; int i14; char charAt10; int i15; int i16; boolean z; int i17; zzsx zzsxVar; int objectFieldOffset; int i18; int i19; Class cls2; String str; int i20; int i21; Field zza; int i22; char charAt11; int i23; Field zza2; Field zza3; int i24; char charAt12; int i25; char charAt13; int i26; char charAt14; int i27; char charAt15; char charAt16; if (zzsiVar instanceof zzsx) { zzsx zzsxVar2 = (zzsx) zzsiVar; int i28 = 0; boolean z2 = zzsxVar2.zzql() == zzrc.zze.zzbba; String zzqt = zzsxVar2.zzqt(); int length = zzqt.length(); int charAt17 = zzqt.charAt(0); if (charAt17 >= 55296) { int i29 = charAt17 & 8191; int i30 = 1; int i31 = 13; while (true) { i = i30 + 1; charAt16 = zzqt.charAt(i30); if (charAt16 < 55296) { break; } i29 |= (charAt16 & 8191) << i31; i31 += 13; i30 = i; } charAt17 = i29 | (charAt16 << i31); } else { i = 1; } int i32 = i + 1; int charAt18 = zzqt.charAt(i); if (charAt18 >= 55296) { int i33 = charAt18 & 8191; int i34 = 13; while (true) { i27 = i32 + 1; charAt15 = zzqt.charAt(i32); if (charAt15 < 55296) { break; } i33 |= (charAt15 & 8191) << i34; i34 += 13; i32 = i27; } charAt18 = i33 | (charAt15 << i34); i32 = i27; } if (charAt18 == 0) { i6 = 0; charAt = 0; i4 = 0; charAt2 = 0; i5 = 0; iArr = zzbcw; i3 = 0; } else { int i35 = i32 + 1; int charAt19 = zzqt.charAt(i32); if (charAt19 >= 55296) { int i36 = charAt19 & 8191; int i37 = 13; while (true) { i14 = i35 + 1; charAt10 = zzqt.charAt(i35); if (charAt10 < 55296) { break; } i36 |= (charAt10 & 8191) << i37; i37 += 13; i35 = i14; } charAt19 = i36 | (charAt10 << i37); i35 = i14; } int i38 = i35 + 1; int charAt20 = zzqt.charAt(i35); if (charAt20 >= 55296) { int i39 = charAt20 & 8191; int i40 = 13; while (true) { i13 = i38 + 1; charAt9 = zzqt.charAt(i38); if (charAt9 < 55296) { break; } i39 |= (charAt9 & 8191) << i40; i40 += 13; i38 = i13; } charAt20 = i39 | (charAt9 << i40); i38 = i13; } int i41 = i38 + 1; charAt = zzqt.charAt(i38); if (charAt >= 55296) { int i42 = charAt & 8191; int i43 = 13; while (true) { i12 = i41 + 1; charAt8 = zzqt.charAt(i41); if (charAt8 < 55296) { break; } i42 |= (charAt8 & 8191) << i43; i43 += 13; i41 = i12; } charAt = i42 | (charAt8 << i43); i41 = i12; } int i44 = i41 + 1; int charAt21 = zzqt.charAt(i41); if (charAt21 >= 55296) { int i45 = charAt21 & 8191; int i46 = 13; while (true) { i11 = i44 + 1; charAt7 = zzqt.charAt(i44); if (charAt7 < 55296) { break; } i45 |= (charAt7 & 8191) << i46; i46 += 13; i44 = i11; } charAt21 = i45 | (charAt7 << i46); i44 = i11; } int i47 = i44 + 1; charAt2 = zzqt.charAt(i44); if (charAt2 >= 55296) { int i48 = charAt2 & 8191; int i49 = 13; while (true) { i10 = i47 + 1; charAt6 = zzqt.charAt(i47); if (charAt6 < 55296) { break; } i48 |= (charAt6 & 8191) << i49; i49 += 13; i47 = i10; } charAt2 = i48 | (charAt6 << i49); i47 = i10; } int i50 = i47 + 1; int charAt22 = zzqt.charAt(i47); if (charAt22 >= 55296) { int i51 = charAt22 & 8191; int i52 = 13; while (true) { i9 = i50 + 1; charAt5 = zzqt.charAt(i50); if (charAt5 < 55296) { break; } i51 |= (charAt5 & 8191) << i52; i52 += 13; i50 = i9; } charAt22 = i51 | (charAt5 << i52); i50 = i9; } int i53 = i50 + 1; int charAt23 = zzqt.charAt(i50); if (charAt23 >= 55296) { int i54 = charAt23 & 8191; int i55 = i53; int i56 = 13; while (true) { i8 = i55 + 1; charAt4 = zzqt.charAt(i55); if (charAt4 < 55296) { break; } i54 |= (charAt4 & 8191) << i56; i56 += 13; i55 = i8; } charAt23 = i54 | (charAt4 << i56); i2 = i8; } else { i2 = i53; } int i57 = i2 + 1; int charAt24 = zzqt.charAt(i2); if (charAt24 >= 55296) { int i58 = charAt24 & 8191; int i59 = i57; int i60 = 13; while (true) { i7 = i59 + 1; charAt3 = zzqt.charAt(i59); if (charAt3 < 55296) { break; } i58 |= (charAt3 & 8191) << i60; i60 += 13; i59 = i7; } charAt24 = i58 | (charAt3 << i60); i57 = i7; } int[] iArr2 = new int[charAt24 + charAt22 + charAt23]; int i61 = (charAt19 << 1) + charAt20; i3 = charAt21; i4 = i61; i5 = charAt24; i28 = charAt19; i32 = i57; int i62 = charAt22; iArr = iArr2; i6 = i62; } Unsafe unsafe = zzbcx; Object[] zzqu = zzsxVar2.zzqu(); Class cls3 = zzsxVar2.zzqn().getClass(); int i63 = i32; int[] iArr3 = new int[charAt2 * 3]; Object[] objArr = new Object[charAt2 << 1]; int i64 = i5 + i6; int i65 = i5; int i66 = i63; int i67 = i64; int i68 = 0; int i69 = 0; while (i66 < length) { int i70 = i66 + 1; int charAt25 = zzqt.charAt(i66); int i71 = length; if (charAt25 >= 55296) { int i72 = charAt25 & 8191; int i73 = i70; int i74 = 13; while (true) { i26 = i73 + 1; charAt14 = zzqt.charAt(i73); i15 = i5; if (charAt14 < 55296) { break; } i72 |= (charAt14 & 8191) << i74; i74 += 13; i73 = i26; i5 = i15; } charAt25 = i72 | (charAt14 << i74); i16 = i26; } else { i15 = i5; i16 = i70; } int i75 = i16 + 1; int charAt26 = zzqt.charAt(i16); if (charAt26 >= 55296) { int i76 = charAt26 & 8191; int i77 = i75; int i78 = 13; while (true) { i25 = i77 + 1; charAt13 = zzqt.charAt(i77); z = z2; if (charAt13 < 55296) { break; } i76 |= (charAt13 & 8191) << i78; i78 += 13; i77 = i25; z2 = z; } charAt26 = i76 | (charAt13 << i78); i17 = i25; } else { z = z2; i17 = i75; } int i79 = charAt26 & 255; int i80 = i3; if ((charAt26 & 1024) != 0) { iArr[i69] = i68; i69++; } int i81 = charAt; if (i79 >= 51) { int i82 = i17 + 1; int charAt27 = zzqt.charAt(i17); char c = 55296; if (charAt27 >= 55296) { int i83 = charAt27 & 8191; int i84 = 13; while (true) { i24 = i82 + 1; charAt12 = zzqt.charAt(i82); if (charAt12 < c) { break; } i83 |= (charAt12 & 8191) << i84; i84 += 13; i82 = i24; c = 55296; } charAt27 = i83 | (charAt12 << i84); i82 = i24; } int i85 = i79 - 51; int i86 = i82; if (i85 == 9 || i85 == 17) { objArr[((i68 / 3) << 1) + 1] = zzqu[i4]; i4++; } else if (i85 == 12 && (charAt17 & 1) == 1) { objArr[((i68 / 3) << 1) + 1] = zzqu[i4]; i4++; } int i87 = charAt27 << 1; Object obj = zzqu[i87]; if (obj instanceof Field) { zza2 = (Field) obj; } else { zza2 = zza(cls3, (String) obj); zzqu[i87] = zza2; } zzsxVar = zzsxVar2; String str2 = zzqt; int objectFieldOffset2 = (int) unsafe.objectFieldOffset(zza2); int i88 = i87 + 1; Object obj2 = zzqu[i88]; if (obj2 instanceof Field) { zza3 = (Field) obj2; } else { zza3 = zza(cls3, (String) obj2); zzqu[i88] = zza3; } cls2 = cls3; i18 = i4; i17 = i86; str = str2; i21 = 0; i20 = (int) unsafe.objectFieldOffset(zza3); objectFieldOffset = objectFieldOffset2; i19 = i28; } else { zzsxVar = zzsxVar2; String str3 = zzqt; int i89 = i4 + 1; Field zza4 = zza(cls3, (String) zzqu[i4]); if (i79 == 9 || i79 == 17) { objArr[((i68 / 3) << 1) + 1] = zza4.getType(); } else { if (i79 == 27 || i79 == 49) { i23 = i4 + 2; objArr[((i68 / 3) << 1) + 1] = zzqu[i89]; } else if (i79 == 12 || i79 == 30 || i79 == 44) { if ((charAt17 & 1) == 1) { i23 = i4 + 2; objArr[((i68 / 3) << 1) + 1] = zzqu[i89]; } } else if (i79 == 50) { int i90 = i65 + 1; iArr[i65] = i68; int i91 = (i68 / 3) << 1; int i92 = i4 + 2; objArr[i91] = zzqu[i89]; if ((charAt26 & 2048) != 0) { i89 = i4 + 3; objArr[i91 + 1] = zzqu[i92]; i65 = i90; } else { i65 = i90; i89 = i92; } } i89 = i23; } objectFieldOffset = (int) unsafe.objectFieldOffset(zza4); if ((charAt17 & 1) != 1) { i18 = i89; i19 = i28; cls2 = cls3; str = str3; } else if (i79 <= 17) { int i93 = i17 + 1; str = str3; int charAt28 = str.charAt(i17); if (charAt28 >= 55296) { int i94 = charAt28 & 8191; int i95 = 13; while (true) { i22 = i93 + 1; charAt11 = str.charAt(i93); if (charAt11 < 55296) { break; } i94 |= (charAt11 & 8191) << i95; i95 += 13; i93 = i22; } charAt28 = i94 | (charAt11 << i95); i93 = i22; } int i96 = (i28 << 1) + (charAt28 / 32); Object obj3 = zzqu[i96]; i18 = i89; if (obj3 instanceof Field) { zza = (Field) obj3; } else { zza = zza(cls3, (String) obj3); zzqu[i96] = zza; } i19 = i28; cls2 = cls3; i21 = charAt28 % 32; i20 = (int) unsafe.objectFieldOffset(zza); i17 = i93; if (i79 >= 18 && i79 <= 49) { iArr[i67] = objectFieldOffset; i67++; } } else { i18 = i89; i19 = i28; cls2 = cls3; str = str3; } i20 = 0; i21 = 0; if (i79 >= 18) { iArr[i67] = objectFieldOffset; i67++; } } iArr3[i68] = charAt25; iArr3[i68 + 1] = objectFieldOffset | ((charAt26 & 256) != 0 ? 268435456 : 0) | ((charAt26 & 512) != 0 ? PKIFailureInfo.duplicateCertReq : 0) | (i79 << 20); iArr3[i68 + 2] = (i21 << 20) | i20; i28 = i19; i68 += 3; zzqt = str; i66 = i17; cls3 = cls2; i3 = i80; length = i71; i5 = i15; z2 = z; charAt = i81; i4 = i18; zzsxVar2 = zzsxVar; } return new zzso<>(iArr3, objArr, charAt, i3, zzsxVar2.zzqn(), z2, false, iArr, i5, i64, zzsrVar, zzruVar, zztrVar, zzqqVar, zzsfVar); } ((zztm) zzsiVar).zzql(); int i97 = zzrc.zze.zzbba; throw new NoSuchMethodError(); } private static Field zza(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(String.valueOf(str).length() + 40 + String.valueOf(name).length() + String.valueOf(arrays).length()); sb.append("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()); } } @Override // com.google.android.gms.internal.gtm.zzsz public final T newInstance() { return (T) this.zzbdk.newInstance(this.zzbdc); } /* JADX WARN: Failed to find 'out' block for switch in B:4:0x0016. Please report as an issue. */ /* JADX WARN: Removed duplicated region for block: B:17:0x01c1 A[SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:18:0x01c2 A[SYNTHETIC] */ @Override // com.google.android.gms.internal.gtm.zzsz /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final boolean equals(T r9, T r10) { /* Method dump skipped, instructions count: 638 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzso.equals(java.lang.Object, java.lang.Object):boolean"); } /* JADX WARN: Failed to find 'out' block for switch in B:4:0x0019. Please report as an issue. */ @Override // com.google.android.gms.internal.gtm.zzsz public final int hashCode(T t) { int i; int zzz; int length = this.zzbcy.length; int i2 = 0; for (int i3 = 0; i3 < length; i3 += 3) { int zzbr = zzbr(i3); int i4 = this.zzbcy[i3]; long j = 1048575 & zzbr; switch ((zzbr & 267386880) >>> 20) { case 0: i = i2 * 53; zzz = zzre.zzz(Double.doubleToLongBits(zztx.zzo(t, j))); i2 = i + zzz; break; case 1: i = i2 * 53; zzz = Float.floatToIntBits(zztx.zzn(t, j)); i2 = i + zzz; break; case 2: i = i2 * 53; zzz = zzre.zzz(zztx.zzl(t, j)); i2 = i + zzz; break; case 3: i = i2 * 53; zzz = zzre.zzz(zztx.zzl(t, j)); i2 = i + zzz; break; case 4: i = i2 * 53; zzz = zztx.zzk(t, j); i2 = i + zzz; break; case 5: i = i2 * 53; zzz = zzre.zzz(zztx.zzl(t, j)); i2 = i + zzz; break; case 6: i = i2 * 53; zzz = zztx.zzk(t, j); i2 = i + zzz; break; case 7: i = i2 * 53; zzz = zzre.zzk(zztx.zzm(t, j)); i2 = i + zzz; break; case 8: i = i2 * 53; zzz = ((String) zztx.zzp(t, j)).hashCode(); i2 = i + zzz; break; case 9: Object zzp = zztx.zzp(t, j); if (zzp != null) { zzz = zzp.hashCode(); i = i2 * 53; i2 = i + zzz; break; } zzz = 37; i = i2 * 53; i2 = i + zzz; case 10: i = i2 * 53; zzz = zztx.zzp(t, j).hashCode(); i2 = i + zzz; break; case 11: i = i2 * 53; zzz = zztx.zzk(t, j); i2 = i + zzz; break; case 12: i = i2 * 53; zzz = zztx.zzk(t, j); i2 = i + zzz; break; case 13: i = i2 * 53; zzz = zztx.zzk(t, j); i2 = i + zzz; break; case 14: i = i2 * 53; zzz = zzre.zzz(zztx.zzl(t, j)); i2 = i + zzz; break; case 15: i = i2 * 53; zzz = zztx.zzk(t, j); i2 = i + zzz; break; case 16: i = i2 * 53; zzz = zzre.zzz(zztx.zzl(t, j)); i2 = i + zzz; break; case 17: Object zzp2 = zztx.zzp(t, j); if (zzp2 != null) { zzz = zzp2.hashCode(); i = i2 * 53; i2 = i + zzz; break; } zzz = 37; i = i2 * 53; i2 = i + zzz; 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; zzz = zztx.zzp(t, j).hashCode(); i2 = i + zzz; break; case 50: i = i2 * 53; zzz = zztx.zzp(t, j).hashCode(); i2 = i + zzz; break; case 51: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzre.zzz(Double.doubleToLongBits(zzf(t, j))); i2 = i + zzz; break; } else { break; } case 52: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = Float.floatToIntBits(zzg(t, j)); i2 = i + zzz; break; } else { break; } case 53: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzre.zzz(zzi(t, j)); i2 = i + zzz; break; } else { break; } case 54: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzre.zzz(zzi(t, j)); i2 = i + zzz; break; } else { break; } case 55: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzh(t, j); i2 = i + zzz; break; } else { break; } case 56: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzre.zzz(zzi(t, j)); i2 = i + zzz; break; } else { break; } case 57: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzh(t, j); i2 = i + zzz; break; } else { break; } case 58: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzre.zzk(zzj(t, j)); i2 = i + zzz; break; } else { break; } case 59: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = ((String) zztx.zzp(t, j)).hashCode(); i2 = i + zzz; break; } else { break; } case 60: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zztx.zzp(t, j).hashCode(); i2 = i + zzz; break; } else { break; } case 61: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zztx.zzp(t, j).hashCode(); i2 = i + zzz; break; } else { break; } case 62: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzh(t, j); i2 = i + zzz; break; } else { break; } case 63: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzh(t, j); i2 = i + zzz; break; } else { break; } case 64: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzh(t, j); i2 = i + zzz; break; } else { break; } case 65: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzre.zzz(zzi(t, j)); i2 = i + zzz; break; } else { break; } case 66: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzh(t, j); i2 = i + zzz; break; } else { break; } case 67: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zzre.zzz(zzi(t, j)); i2 = i + zzz; break; } else { break; } case 68: if (zza((zzso) t, i4, i3)) { i = i2 * 53; zzz = zztx.zzp(t, j).hashCode(); i2 = i + zzz; break; } else { break; } } } int hashCode = (i2 * 53) + this.zzbdm.zzag(t).hashCode(); return this.zzbdd ? (hashCode * 53) + this.zzbdn.zzr(t).hashCode() : hashCode; } @Override // com.google.android.gms.internal.gtm.zzsz public final void zzd(T t, T t2) { t2.getClass(); for (int i = 0; i < this.zzbcy.length; i += 3) { int zzbr = zzbr(i); long j = 1048575 & zzbr; int i2 = this.zzbcy[i]; switch ((zzbr & 267386880) >>> 20) { case 0: if (zzb((zzso) t2, i)) { zztx.zza(t, j, zztx.zzo(t2, j)); zzc(t, i); break; } else { break; } case 1: if (zzb((zzso) t2, i)) { zztx.zza((Object) t, j, zztx.zzn(t2, j)); zzc(t, i); break; } else { break; } case 2: if (zzb((zzso) t2, i)) { zztx.zza((Object) t, j, zztx.zzl(t2, j)); zzc(t, i); break; } else { break; } case 3: if (zzb((zzso) t2, i)) { zztx.zza((Object) t, j, zztx.zzl(t2, j)); zzc(t, i); break; } else { break; } case 4: if (zzb((zzso) t2, i)) { zztx.zzb(t, j, zztx.zzk(t2, j)); zzc(t, i); break; } else { break; } case 5: if (zzb((zzso) t2, i)) { zztx.zza((Object) t, j, zztx.zzl(t2, j)); zzc(t, i); break; } else { break; } case 6: if (zzb((zzso) t2, i)) { zztx.zzb(t, j, zztx.zzk(t2, j)); zzc(t, i); break; } else { break; } case 7: if (zzb((zzso) t2, i)) { zztx.zza(t, j, zztx.zzm(t2, j)); zzc(t, i); break; } else { break; } case 8: if (zzb((zzso) t2, i)) { zztx.zza(t, j, zztx.zzp(t2, j)); zzc(t, i); break; } else { break; } case 9: zza(t, t2, i); break; case 10: if (zzb((zzso) t2, i)) { zztx.zza(t, j, zztx.zzp(t2, j)); zzc(t, i); break; } else { break; } case 11: if (zzb((zzso) t2, i)) { zztx.zzb(t, j, zztx.zzk(t2, j)); zzc(t, i); break; } else { break; } case 12: if (zzb((zzso) t2, i)) { zztx.zzb(t, j, zztx.zzk(t2, j)); zzc(t, i); break; } else { break; } case 13: if (zzb((zzso) t2, i)) { zztx.zzb(t, j, zztx.zzk(t2, j)); zzc(t, i); break; } else { break; } case 14: if (zzb((zzso) t2, i)) { zztx.zza((Object) t, j, zztx.zzl(t2, j)); zzc(t, i); break; } else { break; } case 15: if (zzb((zzso) t2, i)) { zztx.zzb(t, j, zztx.zzk(t2, j)); zzc(t, i); break; } else { break; } case 16: if (zzb((zzso) t2, i)) { zztx.zza((Object) t, j, zztx.zzl(t2, j)); zzc(t, i); break; } else { break; } case 17: zza(t, t2, 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.zzbdl.zza(t, t2, j); break; case 50: zztb.zza(this.zzbdo, t, t2, j); break; case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 58: case 59: if (zza((zzso) t2, i2, i)) { zztx.zza(t, j, zztx.zzp(t2, j)); zzb((zzso) t, i2, i); break; } else { break; } case 60: zzb(t, t2, i); break; case 61: case 62: case 63: case 64: case 65: case 66: case 67: if (zza((zzso) t2, i2, i)) { zztx.zza(t, j, zztx.zzp(t2, j)); zzb((zzso) t, i2, i); break; } else { break; } case 68: zzb(t, t2, i); break; } } if (this.zzbdf) { return; } zztb.zza(this.zzbdm, t, t2); if (this.zzbdd) { zztb.zza(this.zzbdn, t, t2); } } private final void zza(T t, T t2, int i) { long zzbr = zzbr(i) & 1048575; if (zzb((zzso) t2, i)) { Object zzp = zztx.zzp(t, zzbr); Object zzp2 = zztx.zzp(t2, zzbr); if (zzp != null && zzp2 != null) { zztx.zza(t, zzbr, zzre.zzb(zzp, zzp2)); zzc(t, i); } else if (zzp2 != null) { zztx.zza(t, zzbr, zzp2); zzc(t, i); } } } private final void zzb(T t, T t2, int i) { int zzbr = zzbr(i); int i2 = this.zzbcy[i]; long j = zzbr & 1048575; if (zza((zzso) t2, i2, i)) { Object zzp = zztx.zzp(t, j); Object zzp2 = zztx.zzp(t2, j); if (zzp != null && zzp2 != null) { zztx.zza(t, j, zzre.zzb(zzp, zzp2)); zzb((zzso) t, i2, i); } else if (zzp2 != null) { zztx.zza(t, j, zzp2); zzb((zzso) t, i2, i); } } } /* 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:0x0042. Please report as an issue. */ /* JADX WARN: Failed to find 'out' block for switch in B:298:0x054e. Please report as an issue. */ @Override // com.google.android.gms.internal.gtm.zzsz public final int zzad(T t) { int i; int i2; int i3; int i4; long j; int zzd; int zzb; int zzm; int zzv; int zzae; int zzbb; int zzbd; int zzb2; int zzae2; int zzbb2; int zzbd2; int i5 = 267386880; int i6 = 1048575; int i7 = 1; int i8 = 0; if (this.zzbdf) { Unsafe unsafe = zzbcx; int i9 = 0; int i10 = 0; while (i9 < this.zzbcy.length) { int zzbr = zzbr(i9); int i11 = (zzbr & i5) >>> 20; int i12 = this.zzbcy[i9]; long j2 = zzbr & 1048575; int i13 = (i11 < zzqw.zzazb.id() || i11 > zzqw.zzazo.id()) ? 0 : this.zzbcy[i9 + 2] & 1048575; switch (i11) { case 0: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzb(i12, 0.0d); i10 += zzb2; break; } else { break; } case 1: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzb(i12, BitmapDescriptorFactory.HUE_RED); i10 += zzb2; break; } else { break; } case 2: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzd(i12, zztx.zzl(t, j2)); i10 += zzb2; break; } else { break; } case 3: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zze(i12, zztx.zzl(t, j2)); i10 += zzb2; break; } else { break; } case 4: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzi(i12, zztx.zzk(t, j2)); i10 += zzb2; break; } else { break; } case 5: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzg(i12, 0L); i10 += zzb2; break; } else { break; } case 6: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzl(i12, 0); i10 += zzb2; break; } else { break; } case 7: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzc(i12, true); i10 += zzb2; break; } else { break; } case 8: if (zzb((zzso) t, i9)) { Object zzp = zztx.zzp(t, j2); if (zzp instanceof zzps) { zzb2 = zzqj.zzc(i12, (zzps) zzp); } else { zzb2 = zzqj.zzb(i12, (String) zzp); } i10 += zzb2; break; } else { break; } case 9: if (zzb((zzso) t, i9)) { zzb2 = zztb.zzc(i12, zztx.zzp(t, j2), zzbo(i9)); i10 += zzb2; break; } else { break; } case 10: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzc(i12, (zzps) zztx.zzp(t, j2)); i10 += zzb2; break; } else { break; } case 11: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzj(i12, zztx.zzk(t, j2)); i10 += zzb2; break; } else { break; } case 12: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzn(i12, zztx.zzk(t, j2)); i10 += zzb2; break; } else { break; } case 13: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzm(i12, 0); i10 += zzb2; break; } else { break; } case 14: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzh(i12, 0L); i10 += zzb2; break; } else { break; } case 15: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzk(i12, zztx.zzk(t, j2)); i10 += zzb2; break; } else { break; } case 16: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzf(i12, zztx.zzl(t, j2)); i10 += zzb2; break; } else { break; } case 17: if (zzb((zzso) t, i9)) { zzb2 = zzqj.zzc(i12, (zzsk) zztx.zzp(t, j2), zzbo(i9)); i10 += zzb2; break; } else { break; } case 18: zzb2 = zztb.zzw(i12, zze(t, j2), false); i10 += zzb2; break; case 19: zzb2 = zztb.zzv(i12, zze(t, j2), false); i10 += zzb2; break; case 20: zzb2 = zztb.zzo(i12, zze(t, j2), false); i10 += zzb2; break; case 21: zzb2 = zztb.zzp(i12, zze(t, j2), false); i10 += zzb2; break; case 22: zzb2 = zztb.zzs(i12, zze(t, j2), false); i10 += zzb2; break; case 23: zzb2 = zztb.zzw(i12, zze(t, j2), false); i10 += zzb2; break; case 24: zzb2 = zztb.zzv(i12, zze(t, j2), false); i10 += zzb2; break; case 25: zzb2 = zztb.zzx(i12, zze(t, j2), false); i10 += zzb2; break; case 26: zzb2 = zztb.zzc(i12, zze(t, j2)); i10 += zzb2; break; case 27: zzb2 = zztb.zzc(i12, (List) zze(t, j2), zzbo(i9)); i10 += zzb2; break; case 28: zzb2 = zztb.zzd(i12, zze(t, j2)); i10 += zzb2; break; case 29: zzb2 = zztb.zzt(i12, zze(t, j2), false); i10 += zzb2; break; case 30: zzb2 = zztb.zzr(i12, zze(t, j2), false); i10 += zzb2; break; case 31: zzb2 = zztb.zzv(i12, zze(t, j2), false); i10 += zzb2; break; case 32: zzb2 = zztb.zzw(i12, zze(t, j2), false); i10 += zzb2; break; case 33: zzb2 = zztb.zzu(i12, zze(t, j2), false); i10 += zzb2; break; case 34: zzb2 = zztb.zzq(i12, zze(t, j2), false); i10 += zzb2; break; case 35: zzae2 = zztb.zzae((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 36: zzae2 = zztb.zzad((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 37: zzae2 = zztb.zzw((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 38: zzae2 = zztb.zzx((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 39: zzae2 = zztb.zzaa((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 40: zzae2 = zztb.zzae((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 41: zzae2 = zztb.zzad((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 42: zzae2 = zztb.zzaf((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 43: zzae2 = zztb.zzab((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 44: zzae2 = zztb.zzz((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 45: zzae2 = zztb.zzad((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 46: zzae2 = zztb.zzae((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 47: zzae2 = zztb.zzac((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 48: zzae2 = zztb.zzy((List) unsafe.getObject(t, j2)); if (zzae2 <= 0) { break; } else { if (this.zzbdg) { unsafe.putInt(t, i13, zzae2); } zzbb2 = zzqj.zzbb(i12); zzbd2 = zzqj.zzbd(zzae2); zzb2 = zzbb2 + zzbd2 + zzae2; i10 += zzb2; break; } case 49: zzb2 = zztb.zzd(i12, zze(t, j2), zzbo(i9)); i10 += zzb2; break; case 50: zzb2 = this.zzbdo.zzb(i12, zztx.zzp(t, j2), zzbp(i9)); i10 += zzb2; break; case 51: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzb(i12, 0.0d); i10 += zzb2; break; } else { break; } case 52: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzb(i12, BitmapDescriptorFactory.HUE_RED); i10 += zzb2; break; } else { break; } case 53: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzd(i12, zzi(t, j2)); i10 += zzb2; break; } else { break; } case 54: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zze(i12, zzi(t, j2)); i10 += zzb2; break; } else { break; } case 55: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzi(i12, zzh(t, j2)); i10 += zzb2; break; } else { break; } case 56: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzg(i12, 0L); i10 += zzb2; break; } else { break; } case 57: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzl(i12, 0); i10 += zzb2; break; } else { break; } case 58: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzc(i12, true); i10 += zzb2; break; } else { break; } case 59: if (zza((zzso) t, i12, i9)) { Object zzp2 = zztx.zzp(t, j2); if (zzp2 instanceof zzps) { zzb2 = zzqj.zzc(i12, (zzps) zzp2); } else { zzb2 = zzqj.zzb(i12, (String) zzp2); } i10 += zzb2; break; } else { break; } case 60: if (zza((zzso) t, i12, i9)) { zzb2 = zztb.zzc(i12, zztx.zzp(t, j2), zzbo(i9)); i10 += zzb2; break; } else { break; } case 61: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzc(i12, (zzps) zztx.zzp(t, j2)); i10 += zzb2; break; } else { break; } case 62: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzj(i12, zzh(t, j2)); i10 += zzb2; break; } else { break; } case 63: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzn(i12, zzh(t, j2)); i10 += zzb2; break; } else { break; } case 64: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzm(i12, 0); i10 += zzb2; break; } else { break; } case 65: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzh(i12, 0L); i10 += zzb2; break; } else { break; } case 66: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzk(i12, zzh(t, j2)); i10 += zzb2; break; } else { break; } case 67: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzf(i12, zzi(t, j2)); i10 += zzb2; break; } else { break; } case 68: if (zza((zzso) t, i12, i9)) { zzb2 = zzqj.zzc(i12, (zzsk) zztx.zzp(t, j2), zzbo(i9)); i10 += zzb2; break; } else { break; } } i9 += 3; i5 = 267386880; } return i10 + zza(this.zzbdm, t); } Unsafe unsafe2 = zzbcx; int i14 = -1; int i15 = 0; int i16 = 0; int i17 = 0; while (i15 < this.zzbcy.length) { int zzbr2 = zzbr(i15); int[] iArr = this.zzbcy; int i18 = iArr[i15]; int i19 = (zzbr2 & 267386880) >>> 20; if (i19 <= 17) { i = iArr[i15 + 2]; int i20 = i & i6; i2 = i7 << (i >>> 20); if (i20 != i14) { i17 = unsafe2.getInt(t, i20); i14 = i20; } } else { i = (!this.zzbdg || i19 < zzqw.zzazb.id() || i19 > zzqw.zzazo.id()) ? 0 : this.zzbcy[i15 + 2] & i6; i2 = 0; } long j3 = zzbr2 & i6; switch (i19) { case 0: i3 = 1; i4 = 0; j = 0; if ((i17 & i2) != 0) { i16 += zzqj.zzb(i18, 0.0d); break; } break; case 1: i3 = 1; i4 = 0; j = 0; if ((i17 & i2) != 0) { i16 += zzqj.zzb(i18, BitmapDescriptorFactory.HUE_RED); break; } case 2: i3 = 1; i4 = 0; j = 0; if ((i17 & i2) != 0) { zzd = zzqj.zzd(i18, unsafe2.getLong(t, j3)); i16 += zzd; } break; case 3: i3 = 1; i4 = 0; j = 0; if ((i17 & i2) != 0) { zzd = zzqj.zze(i18, unsafe2.getLong(t, j3)); i16 += zzd; } break; case 4: i3 = 1; i4 = 0; j = 0; if ((i17 & i2) != 0) { zzd = zzqj.zzi(i18, unsafe2.getInt(t, j3)); i16 += zzd; } break; case 5: i3 = 1; i4 = 0; j = 0; if ((i17 & i2) != 0) { zzd = zzqj.zzg(i18, 0L); i16 += zzd; } break; case 6: i3 = 1; i4 = 0; if ((i17 & i2) != 0) { i16 += zzqj.zzl(i18, 0); } j = 0; break; case 7: if ((i17 & i2) != 0) { i3 = 1; i16 += zzqj.zzc(i18, true); i4 = 0; j = 0; break; } i3 = 1; i4 = 0; j = 0; case 8: if ((i17 & i2) != 0) { Object object = unsafe2.getObject(t, j3); if (object instanceof zzps) { zzb = zzqj.zzc(i18, (zzps) object); } else { zzb = zzqj.zzb(i18, (String) object); } i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 9: if ((i17 & i2) != 0) { zzb = zztb.zzc(i18, unsafe2.getObject(t, j3), zzbo(i15)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 10: if ((i17 & i2) != 0) { zzb = zzqj.zzc(i18, (zzps) unsafe2.getObject(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 11: if ((i17 & i2) != 0) { zzb = zzqj.zzj(i18, unsafe2.getInt(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 12: if ((i17 & i2) != 0) { zzb = zzqj.zzn(i18, unsafe2.getInt(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 13: if ((i17 & i2) != 0) { zzm = zzqj.zzm(i18, 0); i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 14: if ((i17 & i2) != 0) { zzb = zzqj.zzh(i18, 0L); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 15: if ((i17 & i2) != 0) { zzb = zzqj.zzk(i18, unsafe2.getInt(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 16: if ((i17 & i2) != 0) { zzb = zzqj.zzf(i18, unsafe2.getLong(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 17: if ((i17 & i2) != 0) { zzb = zzqj.zzc(i18, (zzsk) unsafe2.getObject(t, j3), zzbo(i15)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 18: zzb = zztb.zzw(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzb; i3 = 1; i4 = 0; j = 0; break; case 19: i4 = 0; zzv = zztb.zzv(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 20: i4 = 0; zzv = zztb.zzo(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 21: i4 = 0; zzv = zztb.zzp(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 22: i4 = 0; zzv = zztb.zzs(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 23: i4 = 0; zzv = zztb.zzw(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 24: i4 = 0; zzv = zztb.zzv(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 25: i4 = 0; zzv = zztb.zzx(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 26: zzb = zztb.zzc(i18, (List) unsafe2.getObject(t, j3)); i16 += zzb; i3 = 1; i4 = 0; j = 0; break; case 27: zzb = zztb.zzc(i18, (List) unsafe2.getObject(t, j3), zzbo(i15)); i16 += zzb; i3 = 1; i4 = 0; j = 0; break; case 28: zzb = zztb.zzd(i18, (List) unsafe2.getObject(t, j3)); i16 += zzb; i3 = 1; i4 = 0; j = 0; break; case 29: zzb = zztb.zzt(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzb; i3 = 1; i4 = 0; j = 0; break; case 30: i4 = 0; zzv = zztb.zzr(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 31: i4 = 0; zzv = zztb.zzv(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 32: i4 = 0; zzv = zztb.zzw(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 33: i4 = 0; zzv = zztb.zzu(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 34: i4 = 0; zzv = zztb.zzq(i18, (List) unsafe2.getObject(t, j3), false); i16 += zzv; i3 = 1; j = 0; break; case 35: zzae = zztb.zzae((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 36: zzae = zztb.zzad((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 37: zzae = zztb.zzw((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 38: zzae = zztb.zzx((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 39: zzae = zztb.zzaa((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 40: zzae = zztb.zzae((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 41: zzae = zztb.zzad((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 42: zzae = zztb.zzaf((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 43: zzae = zztb.zzab((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 44: zzae = zztb.zzz((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 45: zzae = zztb.zzad((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 46: zzae = zztb.zzae((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 47: zzae = zztb.zzac((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 48: zzae = zztb.zzy((List) unsafe2.getObject(t, j3)); if (zzae > 0) { if (this.zzbdg) { unsafe2.putInt(t, i, zzae); } zzbb = zzqj.zzbb(i18); zzbd = zzqj.zzbd(zzae); zzm = zzbb + zzbd + zzae; i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 49: zzb = zztb.zzd(i18, (List) unsafe2.getObject(t, j3), zzbo(i15)); i16 += zzb; i3 = 1; i4 = 0; j = 0; break; case 50: zzb = this.zzbdo.zzb(i18, unsafe2.getObject(t, j3), zzbp(i15)); i16 += zzb; i3 = 1; i4 = 0; j = 0; break; case 51: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzb(i18, 0.0d); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 52: if (zza((zzso) t, i18, i15)) { zzm = zzqj.zzb(i18, BitmapDescriptorFactory.HUE_RED); i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 53: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzd(i18, zzi(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 54: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zze(i18, zzi(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 55: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzi(i18, zzh(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 56: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzg(i18, 0L); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 57: if (zza((zzso) t, i18, i15)) { zzm = zzqj.zzl(i18, 0); i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 58: if (zza((zzso) t, i18, i15)) { zzm = zzqj.zzc(i18, true); i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 59: if (zza((zzso) t, i18, i15)) { Object object2 = unsafe2.getObject(t, j3); if (object2 instanceof zzps) { zzb = zzqj.zzc(i18, (zzps) object2); } else { zzb = zzqj.zzb(i18, (String) object2); } i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 60: if (zza((zzso) t, i18, i15)) { zzb = zztb.zzc(i18, unsafe2.getObject(t, j3), zzbo(i15)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 61: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzc(i18, (zzps) unsafe2.getObject(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 62: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzj(i18, zzh(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 63: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzn(i18, zzh(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 64: if (zza((zzso) t, i18, i15)) { zzm = zzqj.zzm(i18, 0); i16 += zzm; } i3 = 1; i4 = 0; j = 0; break; case 65: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzh(i18, 0L); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 66: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzk(i18, zzh(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 67: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzf(i18, zzi(t, j3)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; case 68: if (zza((zzso) t, i18, i15)) { zzb = zzqj.zzc(i18, (zzsk) unsafe2.getObject(t, j3), zzbo(i15)); i16 += zzb; } i3 = 1; i4 = 0; j = 0; break; default: i3 = 1; i4 = 0; j = 0; break; } i15 += 3; i7 = i3; i8 = i4; i6 = 1048575; } int i21 = i8; int zza = i16 + zza(this.zzbdm, t); if (!this.zzbdd) { return zza; } zzqt zzr = this.zzbdn.zzr(t); for (int i22 = i21; i22 < zzr.zzaxo.zzra(); i22++) { Map.Entry zzbv = zzr.zzaxo.zzbv(i22); i21 += zzqt.zzb((zzqv) zzbv.getKey(), zzbv.getValue()); } for (Map.Entry entry : zzr.zzaxo.zzrb()) { i21 += zzqt.zzb((zzqv) entry.getKey(), entry.getValue()); } return zza + i21; } private static int zza(zztr zztrVar, T t) { return zztrVar.zzad(zztrVar.zzag(t)); } private static List zze(Object obj, long j) { return (List) zztx.zzp(obj, j); } /* JADX WARN: Removed duplicated region for block: B:10:0x003b */ /* JADX WARN: Removed duplicated region for block: B:277:0x0513 */ /* JADX WARN: Removed duplicated region for block: B:299:0x0552 */ /* JADX WARN: Removed duplicated region for block: B:566:0x0a2a */ @Override // com.google.android.gms.internal.gtm.zzsz /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void zza(T r14, com.google.android.gms.internal.gtm.zzum r15) throws java.io.IOException { /* Method dump skipped, instructions count: 2916 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzso.zza(java.lang.Object, com.google.android.gms.internal.gtm.zzum):void"); } /* JADX WARN: Removed duplicated region for block: B:224:0x048e */ /* JADX WARN: Removed duplicated region for block: B:8:0x002f */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private final void zzb(T r18, com.google.android.gms.internal.gtm.zzum r19) throws java.io.IOException { /* Method dump skipped, instructions count: 1336 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzso.zzb(java.lang.Object, com.google.android.gms.internal.gtm.zzum):void"); } private final void zza(zzum zzumVar, int i, Object obj, int i2) throws IOException { if (obj != null) { zzumVar.zza(i, this.zzbdo.zzac(zzbp(i2)), this.zzbdo.zzy(obj)); } } private static void zza(zztr zztrVar, T t, zzum zzumVar) throws IOException { zztrVar.zza((zztr) zztrVar.zzag(t), zzumVar); } /* JADX WARN: Failed to find 'out' block for switch in B:24:0x00b1. Please report as an issue. */ /* JADX WARN: Removed duplicated region for block: B:21:0x00a5 A[SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:275:0x003f A[SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:33:0x05ef A[Catch: all -> 0x0611, TryCatch #1 {all -> 0x0611, blocks: (B:3:0x0011, B:5:0x0019, B:7:0x001d, B:9:0x0027, B:278:0x005b, B:301:0x006c, B:302:0x0070, B:283:0x007f, B:285:0x0084, B:286:0x0088, B:304:0x0061, B:22:0x00a5, B:99:0x00b7, B:84:0x05ca, B:31:0x05ea, B:33:0x05ef, B:34:0x05f4, B:103:0x00bf, B:108:0x00cf, B:110:0x00e1, B:112:0x00f3, B:114:0x0105, B:52:0x0121, B:55:0x0128, B:272:0x02d4, B:162:0x02e1, B:164:0x02ee, B:166:0x02fb, B:168:0x0308, B:170:0x0314, B:172:0x0320, B:174:0x032c, B:176:0x0338, B:178:0x0344, B:180:0x0350, B:182:0x035c, B:184:0x0368, B:186:0x0374, B:26:0x0385, B:188:0x039c, B:191:0x03a8, B:193:0x03b7, B:195:0x03c5, B:197:0x03ce, B:199:0x03d5, B:200:0x03e2, B:202:0x03ef, B:204:0x03fd, B:206:0x040b, B:208:0x0419, B:210:0x0427, B:212:0x0435, B:214:0x0443, B:216:0x0451, B:218:0x045f, B:220:0x0466, B:221:0x047e, B:223:0x0491, B:225:0x04a1, B:227:0x04b1, B:229:0x04c1, B:231:0x04d1, B:233:0x04dc, B:236:0x04e3, B:237:0x04e9, B:239:0x04f4, B:241:0x0504, B:243:0x0514, B:245:0x051b, B:246:0x0533, B:248:0x0546, B:250:0x054f, B:252:0x055f, B:254:0x056f, B:256:0x057f, B:258:0x058e, B:260:0x059d, B:262:0x05ac, B:264:0x05bb), top: B:2:0x0011 }] */ /* JADX WARN: Removed duplicated region for block: B:38:0x05fa A[SYNTHETIC] */ @Override // com.google.android.gms.internal.gtm.zzsz /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void zza(T r18, com.google.android.gms.internal.gtm.zzsy r19, com.google.android.gms.internal.gtm.zzqp r20) throws java.io.IOException { /* Method dump skipped, instructions count: 1720 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzso.zza(java.lang.Object, com.google.android.gms.internal.gtm.zzsy, com.google.android.gms.internal.gtm.zzqp):void"); } private final zzsz zzbo(int i) { int i2 = (i / 3) << 1; zzsz zzszVar = (zzsz) this.zzbcz[i2]; if (zzszVar != null) { return zzszVar; } zzsz zzi = zzsw.zzqs().zzi((Class) this.zzbcz[i2 + 1]); this.zzbcz[i2] = zzi; return zzi; } private final Object zzbp(int i) { return this.zzbcz[(i / 3) << 1]; } private final zzrh zzbq(int i) { return (zzrh) this.zzbcz[((i / 3) << 1) + 1]; } @Override // com.google.android.gms.internal.gtm.zzsz public final void zzt(T t) { int i; int i2 = this.zzbdi; while (true) { i = this.zzbdj; if (i2 >= i) { break; } long zzbr = zzbr(this.zzbdh[i2]) & 1048575; Object zzp = zztx.zzp(t, zzbr); if (zzp != null) { zztx.zza(t, zzbr, this.zzbdo.zzaa(zzp)); } i2++; } int length = this.zzbdh.length; while (i < length) { this.zzbdl.zzb(t, this.zzbdh[i]); i++; } this.zzbdm.zzt(t); if (this.zzbdd) { this.zzbdn.zzt(t); } } private final UB zza(Object obj, int i, UB ub, zztr zztrVar) { zzrh zzbq; int i2 = this.zzbcy[i]; Object zzp = zztx.zzp(obj, zzbr(i) & 1048575); return (zzp == null || (zzbq = zzbq(i)) == null) ? ub : (UB) zza(i, i2, this.zzbdo.zzx(zzp), zzbq, ub, zztrVar); } private final UB zza(int i, int i2, Map map, zzrh zzrhVar, UB ub, zztr zztrVar) { zzsd zzac = this.zzbdo.zzac(zzbp(i)); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { Map.Entry next = it.next(); if (!zzrhVar.zzb(((Integer) next.getValue()).intValue())) { if (ub == null) { ub = zztrVar.zzri(); } zzqa zzam = zzps.zzam(zzsc.zza(zzac, next.getKey(), next.getValue())); try { zzsc.zza(zzam.zznh(), zzac, next.getKey(), next.getValue()); zztrVar.zza((zztr) ub, i2, zzam.zzng()); it.remove(); } catch (IOException e) { throw new RuntimeException(e); } } } return ub; } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r4v5, types: [com.google.android.gms.internal.gtm.zzsz] */ /* JADX WARN: Type inference failed for: r5v16 */ /* JADX WARN: Type inference failed for: r5v17 */ /* JADX WARN: Type inference failed for: r5v18, types: [com.google.android.gms.internal.gtm.zzsz] */ /* JADX WARN: Type inference failed for: r5v22 */ /* JADX WARN: Type inference failed for: r5v23 */ @Override // com.google.android.gms.internal.gtm.zzsz public final boolean zzae(T t) { int i; int i2 = -1; int i3 = 0; for (int i4 = 0; i4 < this.zzbdi; i4++) { int i5 = this.zzbdh[i4]; int i6 = this.zzbcy[i5]; int zzbr = zzbr(i5); if (this.zzbdf) { i = 0; } else { int i7 = this.zzbcy[i5 + 2]; int i8 = i7 & 1048575; i = 1 << (i7 >>> 20); if (i8 != i2) { i3 = zzbcx.getInt(t, i8); i2 = i8; } } if ((268435456 & zzbr) != 0 && !zza((zzso) t, i5, i3, i)) { return false; } int i9 = (267386880 & zzbr) >>> 20; if (i9 == 9 || i9 == 17) { if (zza((zzso) t, i5, i3, i) && !zza(t, zzbr, zzbo(i5))) { return false; } } else { if (i9 != 27) { if (i9 == 60 || i9 == 68) { if (zza((zzso) t, i6, i5) && !zza(t, zzbr, zzbo(i5))) { return false; } } else if (i9 != 49) { if (i9 != 50) { continue; } else { Map zzy = this.zzbdo.zzy(zztx.zzp(t, zzbr & 1048575)); if (zzy.isEmpty()) { continue; } else if (this.zzbdo.zzac(zzbp(i5)).zzbcr.zzrs() == zzul.MESSAGE) { ?? r5 = 0; for (Object obj : zzy.values()) { r5 = r5; if (r5 == 0) { r5 = zzsw.zzqs().zzi(obj.getClass()); } if (!r5.zzae(obj)) { return false; } } } else { continue; } } } } List list = (List) zztx.zzp(t, zzbr & 1048575); if (list.isEmpty()) { continue; } else { ?? zzbo = zzbo(i5); for (int i10 = 0; i10 < list.size(); i10++) { if (!zzbo.zzae(list.get(i10))) { return false; } } } } } return !this.zzbdd || this.zzbdn.zzr(t).isInitialized(); } /* JADX WARN: Multi-variable type inference failed */ private static boolean zza(Object obj, int i, zzsz zzszVar) { return zzszVar.zzae(zztx.zzp(obj, i & 1048575)); } private static void zza(int i, Object obj, zzum zzumVar) throws IOException { if (obj instanceof String) { zzumVar.zza(i, (String) obj); } else { zzumVar.zza(i, (zzps) obj); } } private final void zza(Object obj, int i, zzsy zzsyVar) throws IOException { if (zzbt(i)) { zztx.zza(obj, i & 1048575, zzsyVar.zznp()); } else if (this.zzbde) { zztx.zza(obj, i & 1048575, zzsyVar.readString()); } else { zztx.zza(obj, i & 1048575, zzsyVar.zznq()); } } private final int zzbr(int i) { return this.zzbcy[i + 1]; } private final int zzbs(int i) { return this.zzbcy[i + 2]; } private static double zzf(T t, long j) { return ((Double) zztx.zzp(t, j)).doubleValue(); } private static float zzg(T t, long j) { return ((Float) zztx.zzp(t, j)).floatValue(); } private static int zzh(T t, long j) { return ((Integer) zztx.zzp(t, j)).intValue(); } private static long zzi(T t, long j) { return ((Long) zztx.zzp(t, j)).longValue(); } private static boolean zzj(T t, long j) { return ((Boolean) zztx.zzp(t, j)).booleanValue(); } private final boolean zzc(T t, T t2, int i) { return zzb((zzso) t, i) == zzb((zzso) t2, i); } private final boolean zza(T t, int i, int i2, int i3) { if (this.zzbdf) { return zzb((zzso) t, i); } return (i2 & i3) != 0; } private final boolean zzb(T t, int i) { if (this.zzbdf) { int zzbr = zzbr(i); long j = zzbr & 1048575; switch ((zzbr & 267386880) >>> 20) { case 0: return zztx.zzo(t, j) != 0.0d; case 1: return zztx.zzn(t, j) != BitmapDescriptorFactory.HUE_RED; case 2: return zztx.zzl(t, j) != 0; case 3: return zztx.zzl(t, j) != 0; case 4: return zztx.zzk(t, j) != 0; case 5: return zztx.zzl(t, j) != 0; case 6: return zztx.zzk(t, j) != 0; case 7: return zztx.zzm(t, j); case 8: Object zzp = zztx.zzp(t, j); if (zzp instanceof String) { return !((String) zzp).isEmpty(); } if (zzp instanceof zzps) { return !zzps.zzavx.equals(zzp); } throw new IllegalArgumentException(); case 9: return zztx.zzp(t, j) != null; case 10: return !zzps.zzavx.equals(zztx.zzp(t, j)); case 11: return zztx.zzk(t, j) != 0; case 12: return zztx.zzk(t, j) != 0; case 13: return zztx.zzk(t, j) != 0; case 14: return zztx.zzl(t, j) != 0; case 15: return zztx.zzk(t, j) != 0; case 16: return zztx.zzl(t, j) != 0; case 17: return zztx.zzp(t, j) != null; default: throw new IllegalArgumentException(); } } int zzbs = zzbs(i); return (zztx.zzk(t, (long) (zzbs & 1048575)) & (1 << (zzbs >>> 20))) != 0; } private final void zzc(T t, int i) { if (this.zzbdf) { return; } int zzbs = zzbs(i); long j = 1048575 & zzbs; zztx.zzb(t, j, (1 << (zzbs >>> 20)) | zztx.zzk(t, j)); } private final boolean zza(T t, int i, int i2) { return zztx.zzk(t, (long) (zzbs(i2) & 1048575)) == i; } private final void zzb(T t, int i, int i2) { zztx.zzb(t, zzbs(i2) & 1048575, i); } }