what-the-bank/sources/com/google/android/gms/internal/clearcut/zzds.java

1573 lines
57 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.clearcut;
import com.google.android.gms.internal.clearcut.zzcg;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.io.IOException;
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 zzds<T> implements zzef<T> {
private static final Unsafe zzmh = zzfd.zzef();
private final int[] zzmi;
private final Object[] zzmj;
private final int zzmk;
private final int zzml;
private final int zzmm;
private final zzdo zzmn;
private final boolean zzmo;
private final boolean zzmp;
private final boolean zzmq;
private final boolean zzmr;
private final int[] zzms;
private final int[] zzmt;
private final int[] zzmu;
private final zzdw zzmv;
private final zzcy zzmw;
private final zzex<?, ?> zzmx;
private final zzbu<?> zzmy;
private final zzdj zzmz;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r4v20 */
/* JADX WARN: Type inference failed for: r4v21 */
/* JADX WARN: Type inference failed for: r4v22, types: [com.google.android.gms.internal.clearcut.zzef] */
/* JADX WARN: Type inference failed for: r4v25 */
/* JADX WARN: Type inference failed for: r4v26 */
/* JADX WARN: Type inference failed for: r4v8, types: [com.google.android.gms.internal.clearcut.zzef] */
@Override // com.google.android.gms.internal.clearcut.zzef
public final boolean zzo(T t) {
int i;
int i2;
int[] iArr = this.zzms;
int i3 = 1;
if (iArr == null || iArr.length == 0) {
return true;
}
int length = iArr.length;
int i4 = -1;
int i5 = 0;
int i6 = 0;
while (i5 < length) {
int i7 = iArr[i5];
int zzai = zzai(i7);
int zzag = zzag(zzai);
if (this.zzmq) {
i = length;
i2 = 0;
} else {
int i8 = this.zzmi[zzai + 2];
int i9 = i8 & 1048575;
i2 = i3 << (i8 >>> 20);
if (i9 != i4) {
i = length;
i6 = zzmh.getInt(t, i9);
i4 = i9;
} else {
i = length;
}
}
if ((268435456 & zzag) != 0 && !zza((zzds<T>) t, zzai, i6, i2)) {
return false;
}
int i10 = (267386880 & zzag) >>> 20;
if (i10 != 9 && i10 != 17) {
if (i10 != 27) {
if (i10 == 60 || i10 == 68) {
if (zza((zzds<T>) t, i7, zzai) && !zza(t, zzag, zzad(zzai))) {
return false;
}
} else if (i10 != 49) {
if (i10 != 50) {
continue;
} else {
Map<?, ?> zzh = this.zzmz.zzh(zzfd.zzo(t, zzag & 1048575));
if (zzh.isEmpty()) {
continue;
} else if (this.zzmz.zzl(zzae(zzai)).zzmd.zzek() == zzfq.MESSAGE) {
?? r4 = 0;
for (Object obj : zzh.values()) {
r4 = r4;
if (r4 == 0) {
r4 = zzea.zzcm().zze(obj.getClass());
}
if (!r4.zzo(obj)) {
return false;
}
}
} else {
continue;
}
}
}
}
List list = (List) zzfd.zzo(t, zzag & 1048575);
if (list.isEmpty()) {
continue;
} else {
?? zzad = zzad(zzai);
for (int i11 = 0; i11 < list.size(); i11++) {
if (!zzad.zzo(list.get(i11))) {
return false;
}
}
}
} else if (zza((zzds<T>) t, zzai, i6, i2) && !zza(t, zzag, zzad(zzai))) {
return false;
}
i5++;
length = i;
i3 = 1;
}
return !this.zzmo || this.zzmy.zza(t).isInitialized();
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:102:0x0127, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:103:0x0211, code lost:
r3 = (com.google.android.gms.internal.clearcut.zzbn.zzr(r3) + com.google.android.gms.internal.clearcut.zzbn.zzt(r5)) + r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:104:0x020d, code lost:
r2.putInt(r22, r14, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:109:0x0139, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:114:0x014b, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:119:0x015d, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:124:0x016f, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:129:0x0181, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:134:0x0193, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:139:0x01a5, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:144:0x01b6, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:149:0x01c7, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:154:0x01d8, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:159:0x01e9, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:164:0x01fa, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:169:0x020b, code lost:
if (r21.zzmr != false) goto L142;
*/
/* JADX WARN: Code restructure failed: missing block: B:218:0x033c, code lost:
if ((r5 instanceof com.google.android.gms.internal.clearcut.zzbb) != false) goto L192;
*/
/* JADX WARN: Code restructure failed: missing block: B:265:0x0420, code lost:
if (zza((com.google.android.gms.internal.clearcut.zzds<T>) r22, r15, r5) != false) goto L393;
*/
/* JADX WARN: Code restructure failed: missing block: B:266:0x06ce, code lost:
r4 = com.google.android.gms.internal.clearcut.zzbn.zzc(r15, (com.google.android.gms.internal.clearcut.zzdo) r2.getObject(r22, r10), zzad(r5));
*/
/* JADX WARN: Code restructure failed: missing block: B:282:0x0440, code lost:
if (zza((com.google.android.gms.internal.clearcut.zzds<T>) r22, r15, r5) != false) goto L404;
*/
/* JADX WARN: Code restructure failed: missing block: B:283:0x06fb, code lost:
r4 = com.google.android.gms.internal.clearcut.zzbn.zzh(r15, 0L);
*/
/* JADX WARN: Code restructure failed: missing block: B:285:0x0448, code lost:
if (zza((com.google.android.gms.internal.clearcut.zzds<T>) r22, r15, r5) != false) goto L407;
*/
/* JADX WARN: Code restructure failed: missing block: B:286:0x0706, code lost:
r7 = com.google.android.gms.internal.clearcut.zzbn.zzk(r15, 0);
*/
/* JADX WARN: Code restructure failed: missing block: B:297:0x0468, code lost:
if (zza((com.google.android.gms.internal.clearcut.zzds<T>) r22, r15, r5) != false) goto L419;
*/
/* JADX WARN: Code restructure failed: missing block: B:298:0x072b, code lost:
r4 = r2.getObject(r22, r10);
*/
/* JADX WARN: Code restructure failed: missing block: B:299:0x074d, code lost:
r4 = com.google.android.gms.internal.clearcut.zzbn.zzc(r15, (com.google.android.gms.internal.clearcut.zzbb) r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:301:0x0470, code lost:
if (zza((com.google.android.gms.internal.clearcut.zzds<T>) r22, r15, r5) != false) goto L422;
*/
/* JADX WARN: Code restructure failed: missing block: B:302:0x0734, code lost:
r4 = com.google.android.gms.internal.clearcut.zzeh.zzc(r15, r2.getObject(r22, r10), zzad(r5));
*/
/* JADX WARN: Code restructure failed: missing block: B:306:0x0480, code lost:
if ((r4 instanceof com.google.android.gms.internal.clearcut.zzbb) != false) goto L427;
*/
/* JADX WARN: Code restructure failed: missing block: B:307:0x0755, code lost:
r4 = com.google.android.gms.internal.clearcut.zzbn.zzb(r15, (java.lang.String) r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:309:0x0488, code lost:
if (zza((com.google.android.gms.internal.clearcut.zzds<T>) r22, r15, r5) != false) goto L431;
*/
/* JADX WARN: Code restructure failed: missing block: B:310:0x0761, code lost:
r4 = 1;
r7 = com.google.android.gms.internal.clearcut.zzbn.zzc(r15, true);
*/
/* JADX WARN: Code restructure failed: missing block: B:337:0x0520, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:338:0x060a, code lost:
r7 = (com.google.android.gms.internal.clearcut.zzbn.zzr(r15) + com.google.android.gms.internal.clearcut.zzbn.zzt(r4)) + r4;
*/
/* JADX WARN: Code restructure failed: missing block: B:339:0x0606, code lost:
r2.putInt(r22, r8, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:343:0x0532, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:347:0x0544, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:351:0x0556, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:355:0x0568, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:359:0x057a, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:363:0x058c, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:367:0x059e, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:371:0x05af, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:375:0x05c0, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:379:0x05d1, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:383:0x05e2, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:387:0x05f3, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:391:0x0604, code lost:
if (r21.zzmr != false) goto L373;
*/
/* JADX WARN: Code restructure failed: missing block: B:408:0x06cc, code lost:
if ((r12 & r14) != 0) goto L393;
*/
/* JADX WARN: Code restructure failed: missing block: B:416:0x06f9, code lost:
if ((r12 & r14) != 0) goto L404;
*/
/* JADX WARN: Code restructure failed: missing block: B:418:0x0704, code lost:
if ((r12 & r14) != 0) goto L407;
*/
/* JADX WARN: Code restructure failed: missing block: B:426:0x0729, code lost:
if ((r12 & r14) != 0) goto L419;
*/
/* JADX WARN: Code restructure failed: missing block: B:428:0x0732, code lost:
if ((r12 & r14) != 0) goto L422;
*/
/* JADX WARN: Code restructure failed: missing block: B:432:0x074b, code lost:
if ((r4 instanceof com.google.android.gms.internal.clearcut.zzbb) != false) goto L427;
*/
/* JADX WARN: Code restructure failed: missing block: B:434:0x075f, code lost:
if ((r12 & r14) != 0) goto L431;
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x00ab, code lost:
if ((r5 instanceof com.google.android.gms.internal.clearcut.zzbb) != false) goto L192;
*/
/* JADX WARN: Code restructure failed: missing block: B:60:0x0346, code lost:
r3 = com.google.android.gms.internal.clearcut.zzbn.zzb(r3, (java.lang.String) r5);
*/
/* 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:263:0x0417. Please report as an issue. */
@Override // com.google.android.gms.internal.clearcut.zzef
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final int zzm(T r22) {
/*
Method dump skipped, instructions count: 2344
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.clearcut.zzds.zzm(java.lang.Object):int");
}
/* JADX WARN: Failed to find 'out' block for switch in B:5:0x001b. Please report as an issue. */
@Override // com.google.android.gms.internal.clearcut.zzef
public final void zzc(T t, T t2) {
t2.getClass();
for (int i = 0; i < this.zzmi.length; i += 4) {
int zzag = zzag(i);
long j = 1048575 & zzag;
int i2 = this.zzmi[i];
switch ((zzag & 267386880) >>> 20) {
case 0:
if (zza((zzds<T>) t2, i)) {
zzfd.zza(t, j, zzfd.zzn(t2, j));
zzb((zzds<T>) t, i);
break;
} else {
break;
}
case 1:
if (zza((zzds<T>) t2, i)) {
zzfd.zza((Object) t, j, zzfd.zzm(t2, j));
zzb((zzds<T>) t, i);
break;
} else {
break;
}
case 2:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzk(t2, j));
zzb((zzds<T>) t, i);
break;
case 3:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzk(t2, j));
zzb((zzds<T>) t, i);
break;
case 4:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzj(t2, j));
zzb((zzds<T>) t, i);
break;
case 5:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzk(t2, j));
zzb((zzds<T>) t, i);
break;
case 6:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzj(t2, j));
zzb((zzds<T>) t, i);
break;
case 7:
if (zza((zzds<T>) t2, i)) {
zzfd.zza(t, j, zzfd.zzl(t2, j));
zzb((zzds<T>) t, i);
break;
} else {
break;
}
case 8:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza(t, j, zzfd.zzo(t2, j));
zzb((zzds<T>) t, i);
break;
case 9:
case 17:
zza(t, t2, i);
break;
case 10:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza(t, j, zzfd.zzo(t2, j));
zzb((zzds<T>) t, i);
break;
case 11:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzj(t2, j));
zzb((zzds<T>) t, i);
break;
case 12:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzj(t2, j));
zzb((zzds<T>) t, i);
break;
case 13:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzj(t2, j));
zzb((zzds<T>) t, i);
break;
case 14:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzk(t2, j));
zzb((zzds<T>) t, i);
break;
case 15:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzj(t2, j));
zzb((zzds<T>) t, i);
break;
case 16:
if (!zza((zzds<T>) t2, i)) {
break;
}
zzfd.zza((Object) t, j, zzfd.zzk(t2, j));
zzb((zzds<T>) t, 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.zzmw.zza(t, t2, j);
break;
case 50:
zzeh.zza(this.zzmz, t, t2, j);
break;
case 51:
case 52:
case 53:
case 54:
case 55:
case 56:
case 57:
case 58:
case 59:
if (!zza((zzds<T>) t2, i2, i)) {
break;
}
zzfd.zza(t, j, zzfd.zzo(t2, j));
zzb((zzds<T>) t, i2, i);
break;
case 60:
case 68:
zzb(t, t2, i);
break;
case 61:
case 62:
case 63:
case 64:
case 65:
case 66:
case 67:
if (!zza((zzds<T>) t2, i2, i)) {
break;
}
zzfd.zza(t, j, zzfd.zzo(t2, j));
zzb((zzds<T>) t, i2, i);
break;
}
}
if (this.zzmq) {
return;
}
zzeh.zza(this.zzmx, t, t2);
if (this.zzmo) {
zzeh.zza(this.zzmy, t, t2);
}
}
@Override // com.google.android.gms.internal.clearcut.zzef
public final void zzc(T t) {
int[] iArr = this.zzmt;
if (iArr != null) {
for (int i : iArr) {
long zzag = zzag(i) & 1048575;
Object zzo = zzfd.zzo(t, zzag);
if (zzo != null) {
zzfd.zza(t, zzag, this.zzmz.zzj(zzo));
}
}
}
int[] iArr2 = this.zzmu;
if (iArr2 != null) {
for (int i2 : iArr2) {
this.zzmw.zza(t, i2);
}
}
this.zzmx.zzc(t);
if (this.zzmo) {
this.zzmy.zzc(t);
}
}
/* JADX WARN: Code restructure failed: missing block: B:37:0x0166, code lost:
if (r0 == r15) goto L83;
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x01a5, code lost:
r2 = r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x018a, code lost:
if (r0 == r15) goto L83;
*/
/* JADX WARN: Code restructure failed: missing block: B:45:0x01a3, code lost:
if (r0 == r15) goto L83;
*/
/* JADX WARN: Failed to find 'out' block for switch in B:48:0x0048. Please report as an issue. */
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v25, types: [int] */
@Override // com.google.android.gms.internal.clearcut.zzef
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void zza(T r23, byte[] r24, int r25, int r26, com.google.android.gms.internal.clearcut.zzay r27) throws java.io.IOException {
/*
Method dump skipped, instructions count: 520
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.clearcut.zzds.zza(java.lang.Object, byte[], int, int, com.google.android.gms.internal.clearcut.zzay):void");
}
/* JADX WARN: Failed to find 'out' block for switch in B:25:0x0063. Please report as an issue. */
/* JADX WARN: Failed to find 'out' block for switch in B:306:0x0520. Please report as an issue. */
/* JADX WARN: Removed duplicated region for block: B:10:0x0039 */
/* JADX WARN: Removed duplicated region for block: B:269:0x04b9 */
/* JADX WARN: Removed duplicated region for block: B:291:0x04f6 */
/* JADX WARN: Removed duplicated region for block: B:550:0x0976 */
@Override // com.google.android.gms.internal.clearcut.zzef
/*
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.clearcut.zzfr r15) throws java.io.IOException {
/*
Method dump skipped, instructions count: 2736
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.clearcut.zzds.zza(java.lang.Object, com.google.android.gms.internal.clearcut.zzfr):void");
}
@Override // com.google.android.gms.internal.clearcut.zzef
public final T newInstance() {
return (T) this.zzmv.newInstance(this.zzmn);
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:74:0x00cc, code lost:
if (r3 != null) goto L68;
*/
/* JADX WARN: Code restructure failed: missing block: B:75:0x00e5, code lost:
r3 = 37;
*/
/* JADX WARN: Code restructure failed: missing block: B:76:0x00e7, code lost:
r2 = r2 * 53;
*/
/* JADX WARN: Code restructure failed: missing block: B:77:0x00e0, code lost:
r3 = r3.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:80:0x00de, code lost:
if (r3 != null) goto L68;
*/
/* JADX WARN: Failed to find 'out' block for switch in B:4:0x0019. Please report as an issue. */
@Override // com.google.android.gms.internal.clearcut.zzef
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final int hashCode(T r9) {
/*
Method dump skipped, instructions count: 476
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.clearcut.zzds.hashCode(java.lang.Object):int");
}
@Override // com.google.android.gms.internal.clearcut.zzef
public final boolean equals(T t, T t2) {
int length = this.zzmi.length;
for (int i = 0; i < length; i += 4) {
int zzag = zzag(i);
long j = zzag & 1048575;
switch ((zzag & 267386880) >>> 20) {
case 0:
if (zzc(t, t2, i) && zzfd.zzk(t, j) == zzfd.zzk(t2, j)) {
break;
}
return false;
case 1:
if (zzc(t, t2, i) && zzfd.zzj(t, j) == zzfd.zzj(t2, j)) {
break;
}
return false;
case 2:
if (zzc(t, t2, i) && zzfd.zzk(t, j) == zzfd.zzk(t2, j)) {
break;
}
return false;
case 3:
if (zzc(t, t2, i) && zzfd.zzk(t, j) == zzfd.zzk(t2, j)) {
break;
}
return false;
case 4:
if (zzc(t, t2, i) && zzfd.zzj(t, j) == zzfd.zzj(t2, j)) {
break;
}
return false;
case 5:
if (zzc(t, t2, i) && zzfd.zzk(t, j) == zzfd.zzk(t2, j)) {
break;
}
return false;
case 6:
if (zzc(t, t2, i) && zzfd.zzj(t, j) == zzfd.zzj(t2, j)) {
break;
}
return false;
case 7:
if (zzc(t, t2, i) && zzfd.zzl(t, j) == zzfd.zzl(t2, j)) {
break;
}
return false;
case 8:
if (zzc(t, t2, i) && zzeh.zzd(zzfd.zzo(t, j), zzfd.zzo(t2, j))) {
break;
}
return false;
case 9:
if (zzc(t, t2, i) && zzeh.zzd(zzfd.zzo(t, j), zzfd.zzo(t2, j))) {
break;
}
return false;
case 10:
if (zzc(t, t2, i) && zzeh.zzd(zzfd.zzo(t, j), zzfd.zzo(t2, j))) {
break;
}
return false;
case 11:
if (zzc(t, t2, i) && zzfd.zzj(t, j) == zzfd.zzj(t2, j)) {
break;
}
return false;
case 12:
if (zzc(t, t2, i) && zzfd.zzj(t, j) == zzfd.zzj(t2, j)) {
break;
}
return false;
case 13:
if (zzc(t, t2, i) && zzfd.zzj(t, j) == zzfd.zzj(t2, j)) {
break;
}
return false;
case 14:
if (zzc(t, t2, i) && zzfd.zzk(t, j) == zzfd.zzk(t2, j)) {
break;
}
return false;
case 15:
if (zzc(t, t2, i) && zzfd.zzj(t, j) == zzfd.zzj(t2, j)) {
break;
}
return false;
case 16:
if (zzc(t, t2, i) && zzfd.zzk(t, j) == zzfd.zzk(t2, j)) {
break;
}
return false;
case 17:
if (zzc(t, t2, i) && zzeh.zzd(zzfd.zzo(t, j), zzfd.zzo(t2, j))) {
break;
}
return false;
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:
case 50:
if (!zzeh.zzd(zzfd.zzo(t, j), zzfd.zzo(t2, j))) {
return false;
}
break;
case 51:
case 52:
case 53:
case 54:
case 55:
case 56:
case 57:
case 58:
case 59:
case 60:
case 61:
case 62:
case 63:
case 64:
case 65:
case 66:
case 67:
case 68:
long zzah = zzah(i) & 1048575;
if (zzfd.zzj(t, zzah) == zzfd.zzj(t2, zzah) && zzeh.zzd(zzfd.zzo(t, j), zzfd.zzo(t2, j))) {
break;
}
return false;
}
}
if (!this.zzmx.zzq(t).equals(this.zzmx.zzq(t2))) {
return false;
}
if (this.zzmo) {
return this.zzmy.zza(t).equals(this.zzmy.zza(t2));
}
return true;
}
private static zzey zzn(Object obj) {
zzcg zzcgVar = (zzcg) obj;
zzey zzeyVar = zzcgVar.zzjp;
if (zzeyVar != zzey.zzea()) {
return zzeyVar;
}
zzey zzeb = zzey.zzeb();
zzcgVar.zzjp = zzeb;
return zzeb;
}
private static <T> boolean zzi(T t, long j) {
return ((Boolean) zzfd.zzo(t, j)).booleanValue();
}
private static <T> long zzh(T t, long j) {
return ((Long) zzfd.zzo(t, j)).longValue();
}
private static <T> int zzg(T t, long j) {
return ((Integer) zzfd.zzo(t, j)).intValue();
}
private static <T> float zzf(T t, long j) {
return ((Float) zzfd.zzo(t, j)).floatValue();
}
private static <T> double zze(T t, long j) {
return ((Double) zzfd.zzo(t, j)).doubleValue();
}
private static <E> List<E> zzd(Object obj, long j) {
return (List) zzfd.zzo(obj, j);
}
private final boolean zzc(T t, T t2, int i) {
return zza((zzds<T>) t, i) == zza((zzds<T>) t2, i);
}
private final void zzb(T t, T t2, int i) {
int zzag = zzag(i);
int i2 = this.zzmi[i];
long j = zzag & 1048575;
if (zza((zzds<T>) t2, i2, i)) {
Object zzo = zzfd.zzo(t, j);
Object zzo2 = zzfd.zzo(t2, j);
if (zzo != null && zzo2 != null) {
zzfd.zza(t, j, zzci.zza(zzo, zzo2));
zzb((zzds<T>) t, i2, i);
} else if (zzo2 != null) {
zzfd.zza(t, j, zzo2);
zzb((zzds<T>) 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:31:0x007b. Please report as an issue. */
/* JADX WARN: Removed duplicated region for block: B:230:0x0460 */
/* JADX WARN: Removed duplicated region for block: B:8:0x002d */
/*
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.clearcut.zzfr r19) throws java.io.IOException {
/*
Method dump skipped, instructions count: 1290
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.clearcut.zzds.zzb(java.lang.Object, com.google.android.gms.internal.clearcut.zzfr):void");
}
private final void zzb(T t, int i, int i2) {
zzfd.zza((Object) t, zzah(i2) & 1048575, i);
}
private final void zzb(T t, int i) {
if (this.zzmq) {
return;
}
int zzah = zzah(i);
long j = 1048575 & zzah;
zzfd.zza((Object) t, j, (1 << (zzah >>> 20)) | zzfd.zzj(t, j));
}
private final int zzai(int i) {
int i2 = this.zzmk;
if (i >= i2) {
int i3 = this.zzmm;
if (i < i3) {
int i4 = (i - i2) << 2;
if (this.zzmi[i4] == i) {
return i4;
}
return -1;
}
if (i <= this.zzml) {
int i5 = i3 - i2;
int length = (this.zzmi.length / 4) - 1;
while (i5 <= length) {
int i6 = (length + i5) >>> 1;
int i7 = i6 << 2;
int i8 = this.zzmi[i7];
if (i == i8) {
return i7;
}
if (i < i8) {
length = i6 - 1;
} else {
i5 = i6 + 1;
}
}
}
}
return -1;
}
private final int zzah(int i) {
return this.zzmi[i + 2];
}
private final int zzag(int i) {
return this.zzmi[i + 1];
}
private final zzck<?> zzaf(int i) {
return (zzck) this.zzmj[((i / 4) << 1) + 1];
}
private final Object zzae(int i) {
return this.zzmj[(i / 4) << 1];
}
private final zzef zzad(int i) {
int i2 = (i / 4) << 1;
zzef zzefVar = (zzef) this.zzmj[i2];
if (zzefVar != null) {
return zzefVar;
}
zzef<T> zze = zzea.zzcm().zze((Class) this.zzmj[i2 + 1]);
this.zzmj[i2] = zze;
return zze;
}
/* JADX WARN: Multi-variable type inference failed */
private static boolean zza(Object obj, int i, zzef zzefVar) {
return zzefVar.zzo(zzfd.zzo(obj, i & 1048575));
}
private final boolean zza(T t, int i, int i2, int i3) {
return this.zzmq ? zza((zzds<T>) t, i) : (i2 & i3) != 0;
}
private final boolean zza(T t, int i, int i2) {
return zzfd.zzj(t, (long) (zzah(i2) & 1048575)) == i;
}
private final boolean zza(T t, int i) {
if (!this.zzmq) {
int zzah = zzah(i);
return (zzfd.zzj(t, (long) (zzah & 1048575)) & (1 << (zzah >>> 20))) != 0;
}
int zzag = zzag(i);
long j = zzag & 1048575;
switch ((zzag & 267386880) >>> 20) {
case 0:
return zzfd.zzn(t, j) != 0.0d;
case 1:
return zzfd.zzm(t, j) != BitmapDescriptorFactory.HUE_RED;
case 2:
return zzfd.zzk(t, j) != 0;
case 3:
return zzfd.zzk(t, j) != 0;
case 4:
return zzfd.zzj(t, j) != 0;
case 5:
return zzfd.zzk(t, j) != 0;
case 6:
return zzfd.zzj(t, j) != 0;
case 7:
return zzfd.zzl(t, j);
case 8:
Object zzo = zzfd.zzo(t, j);
if (zzo instanceof String) {
return !((String) zzo).isEmpty();
}
if (zzo instanceof zzbb) {
return !zzbb.zzfi.equals(zzo);
}
throw new IllegalArgumentException();
case 9:
return zzfd.zzo(t, j) != null;
case 10:
return !zzbb.zzfi.equals(zzfd.zzo(t, j));
case 11:
return zzfd.zzj(t, j) != 0;
case 12:
return zzfd.zzj(t, j) != 0;
case 13:
return zzfd.zzj(t, j) != 0;
case 14:
return zzfd.zzk(t, j) != 0;
case 15:
return zzfd.zzj(t, j) != 0;
case 16:
return zzfd.zzk(t, j) != 0;
case 17:
return zzfd.zzo(t, j) != null;
default:
throw new IllegalArgumentException();
}
}
private final void zza(T t, T t2, int i) {
long zzag = zzag(i) & 1048575;
if (zza((zzds<T>) t2, i)) {
Object zzo = zzfd.zzo(t, zzag);
Object zzo2 = zzfd.zzo(t2, zzag);
if (zzo != null && zzo2 != null) {
zzfd.zza(t, zzag, zzci.zza(zzo, zzo2));
zzb((zzds<T>) t, i);
} else if (zzo2 != null) {
zzfd.zza(t, zzag, zzo2);
zzb((zzds<T>) t, i);
}
}
}
private final <K, V> void zza(zzfr zzfrVar, int i, Object obj, int i2) throws IOException {
if (obj != null) {
zzfrVar.zza(i, this.zzmz.zzl(zzae(i2)), this.zzmz.zzh(obj));
}
}
private static <UT, UB> void zza(zzex<UT, UB> zzexVar, T t, zzfr zzfrVar) throws IOException {
zzexVar.zza(zzexVar.zzq(t), zzfrVar);
}
private static void zza(int i, Object obj, zzfr zzfrVar) throws IOException {
if (obj instanceof String) {
zzfrVar.zza(i, (String) obj);
} else {
zzfrVar.zza(i, (zzbb) obj);
}
}
private final <K, V, UT, UB> UB zza(int i, int i2, Map<K, V> map, zzck<?> zzckVar, UB ub, zzex<UT, UB> zzexVar) {
zzdh<?, ?> zzl = this.zzmz.zzl(zzae(i));
Iterator<Map.Entry<K, V>> it = map.entrySet().iterator();
while (it.hasNext()) {
Map.Entry<K, V> next = it.next();
if (zzckVar.zzb(((Integer) next.getValue()).intValue()) == null) {
if (ub == null) {
ub = zzexVar.zzdz();
}
zzbg zzk = zzbb.zzk(zzdg.zza(zzl, next.getKey(), next.getValue()));
try {
zzdg.zza(zzk.zzae(), zzl, next.getKey(), next.getValue());
zzexVar.zza((zzex<UT, UB>) ub, i2, zzk.zzad());
it.remove();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}
return ub;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static <T> zzds<T> zza(Class<T> cls, zzdm zzdmVar, zzdw zzdwVar, zzcy zzcyVar, zzex<?, ?> zzexVar, zzbu<?> zzbuVar, zzdj zzdjVar) {
int zzcu;
int i;
int i2;
int zza;
int i3;
int i4;
if (!(zzdmVar instanceof zzec)) {
((zzes) zzdmVar).zzcf();
throw new NoSuchMethodError();
}
zzec zzecVar = (zzec) zzdmVar;
boolean z = zzecVar.zzcf() == zzcg.zzg.zzkm;
if (zzecVar.getFieldCount() == 0) {
zzcu = 0;
i = 0;
i2 = 0;
} else {
int zzcp = zzecVar.zzcp();
int zzcq = zzecVar.zzcq();
zzcu = zzecVar.zzcu();
i = zzcp;
i2 = zzcq;
}
int[] iArr = new int[zzcu << 2];
Object[] objArr = new Object[zzcu << 1];
int[] iArr2 = zzecVar.zzcr() > 0 ? new int[zzecVar.zzcr()] : null;
int[] iArr3 = zzecVar.zzcs() > 0 ? new int[zzecVar.zzcs()] : null;
zzed zzco = zzecVar.zzco();
if (zzco.next()) {
int zzcx = zzco.zzcx();
int i5 = 0;
int i6 = 0;
int i7 = 0;
while (true) {
if (zzcx >= zzecVar.zzcv() || i5 >= ((zzcx - i) << 2)) {
if (zzco.zzda()) {
zza = (int) zzfd.zza(zzco.zzdb());
i3 = (int) zzfd.zza(zzco.zzdc());
i4 = 0;
} else {
zza = (int) zzfd.zza(zzco.zzdd());
if (zzco.zzde()) {
i3 = (int) zzfd.zza(zzco.zzdf());
i4 = zzco.zzdg();
} else {
i3 = 0;
i4 = 0;
}
}
iArr[i5] = zzco.zzcx();
int i8 = i5 + 1;
iArr[i8] = (zzco.zzdi() ? PKIFailureInfo.duplicateCertReq : 0) | (zzco.zzdh() ? 268435456 : 0) | (zzco.zzcy() << 20) | zza;
iArr[i5 + 2] = i3 | (i4 << 20);
if (zzco.zzdl() != null) {
int i9 = (i5 / 4) << 1;
objArr[i9] = zzco.zzdl();
if (zzco.zzdj() != null) {
objArr[i9 + 1] = zzco.zzdj();
} else if (zzco.zzdk() != null) {
objArr[i9 + 1] = zzco.zzdk();
}
} else if (zzco.zzdj() != null) {
objArr[((i5 / 4) << 1) + 1] = zzco.zzdj();
} else if (zzco.zzdk() != null) {
objArr[((i5 / 4) << 1) + 1] = zzco.zzdk();
}
int zzcy = zzco.zzcy();
if (zzcy == zzcb.zziw.ordinal()) {
iArr2[i7] = i5;
i7++;
} else if (zzcy >= 18 && zzcy <= 49) {
iArr3[i6] = iArr[i8] & 1048575;
i6++;
}
if (!zzco.next()) {
break;
}
zzcx = zzco.zzcx();
} else {
for (int i10 = 0; i10 < 4; i10++) {
iArr[i5 + i10] = -1;
}
}
i5 += 4;
}
}
return new zzds<>(iArr, objArr, i, i2, zzecVar.zzcv(), zzecVar.zzch(), z, false, zzecVar.zzct(), iArr2, iArr3, zzdwVar, zzcyVar, zzexVar, zzbuVar, zzdjVar);
}
/* JADX WARN: Failed to find 'out' block for switch in B:2:0x0008. Please report as an issue. */
private static int zza(byte[] bArr, int i, int i2, zzfl zzflVar, Class<?> cls, zzay zzayVar) throws IOException {
int zzb;
Object valueOf;
Object valueOf2;
Object valueOf3;
int i3;
long j;
switch (zzdt.zzgq[zzflVar.ordinal()]) {
case 1:
zzb = zzax.zzb(bArr, i, zzayVar);
valueOf = Boolean.valueOf(zzayVar.zzfe != 0);
zzayVar.zzff = valueOf;
return zzb;
case 2:
return zzax.zze(bArr, i, zzayVar);
case 3:
valueOf2 = Double.valueOf(zzax.zze(bArr, i));
zzayVar.zzff = valueOf2;
return i + 8;
case 4:
case 5:
valueOf3 = Integer.valueOf(zzax.zzc(bArr, i));
zzayVar.zzff = valueOf3;
return i + 4;
case 6:
case 7:
valueOf2 = Long.valueOf(zzax.zzd(bArr, i));
zzayVar.zzff = valueOf2;
return i + 8;
case 8:
valueOf3 = Float.valueOf(zzax.zzf(bArr, i));
zzayVar.zzff = valueOf3;
return i + 4;
case 9:
case 10:
case 11:
zzb = zzax.zza(bArr, i, zzayVar);
i3 = zzayVar.zzfd;
valueOf = Integer.valueOf(i3);
zzayVar.zzff = valueOf;
return zzb;
case 12:
case 13:
zzb = zzax.zzb(bArr, i, zzayVar);
j = zzayVar.zzfe;
valueOf = Long.valueOf(j);
zzayVar.zzff = valueOf;
return zzb;
case 14:
return zza((zzef) zzea.zzcm().zze(cls), bArr, i, i2, zzayVar);
case 15:
zzb = zzax.zza(bArr, i, zzayVar);
i3 = zzbk.zzm(zzayVar.zzfd);
valueOf = Integer.valueOf(i3);
zzayVar.zzff = valueOf;
return zzb;
case 16:
zzb = zzax.zzb(bArr, i, zzayVar);
j = zzbk.zza(zzayVar.zzfe);
valueOf = Long.valueOf(j);
zzayVar.zzff = valueOf;
return zzb;
case 17:
return zzax.zzd(bArr, i, zzayVar);
default:
throw new RuntimeException("unsupported field type.");
}
}
/* JADX WARN: Failed to find 'out' block for switch in B:97:0x0069. Please report as an issue. */
/* JADX WARN: Removed duplicated region for block: B:26:0x036d A[ADDED_TO_REGION] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final int zza(T r29, byte[] r30, int r31, int r32, int r33, com.google.android.gms.internal.clearcut.zzay r34) throws java.io.IOException {
/*
Method dump skipped, instructions count: 1068
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.clearcut.zzds.zza(java.lang.Object, byte[], int, int, int, com.google.android.gms.internal.clearcut.zzay):int");
}
private final <K, V> int zza(T t, byte[] bArr, int i, int i2, int i3, int i4, long j, zzay zzayVar) throws IOException {
Unsafe unsafe = zzmh;
Object zzae = zzae(i3);
Object object = unsafe.getObject(t, j);
if (this.zzmz.zzi(object)) {
Object zzk = this.zzmz.zzk(zzae);
this.zzmz.zzb(zzk, object);
unsafe.putObject(t, j, zzk);
object = zzk;
}
zzdh<?, ?> zzl = this.zzmz.zzl(zzae);
Map<?, ?> zzg = this.zzmz.zzg(object);
int zza = zzax.zza(bArr, i, zzayVar);
int i5 = zzayVar.zzfd;
if (i5 < 0 || i5 > i2 - zza) {
throw zzco.zzbl();
}
int i6 = i5 + zza;
K k = zzl.zzmc;
V v = zzl.zzdu;
while (zza < i6) {
int i7 = zza + 1;
int i8 = bArr[zza];
if (i8 < 0) {
i7 = zzax.zza(i8, bArr, i7, zzayVar);
i8 = zzayVar.zzfd;
}
int i9 = i7;
int i10 = i8 >>> 3;
int i11 = i8 & 7;
if (i10 != 1) {
if (i10 == 2 && i11 == zzl.zzmd.zzel()) {
zza = zza(bArr, i9, i2, zzl.zzmd, zzl.zzdu.getClass(), zzayVar);
v = zzayVar.zzff;
}
zza = zzax.zza(i8, bArr, i9, i2, zzayVar);
} else if (i11 == zzl.zzmb.zzel()) {
zza = zza(bArr, i9, i2, zzl.zzmb, (Class<?>) null, zzayVar);
k = (K) zzayVar.zzff;
} else {
zza = zzax.zza(i8, bArr, i9, i2, zzayVar);
}
}
if (zza != i6) {
throw zzco.zzbo();
}
zzg.put(k, v);
return i6;
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:113:0x0195, code lost:
r12.add("");
*/
/* JADX WARN: Code restructure failed: missing block: B:139:0x01cf, code lost:
r12.add("");
*/
/* JADX WARN: Code restructure failed: missing block: B:157:0x0233, code lost:
if (r29.zzfe != 0) goto L133;
*/
/* JADX WARN: Code restructure failed: missing block: B:158:0x0236, code lost:
r6 = false;
*/
/* JADX WARN: Code restructure failed: missing block: B:160:0x0237, code lost:
r12.addBoolean(r6);
*/
/* JADX WARN: Code restructure failed: missing block: B:161:0x023a, code lost:
if (r4 >= r19) goto L245;
*/
/* JADX WARN: Code restructure failed: missing block: B:162:0x023c, code lost:
r6 = com.google.android.gms.internal.clearcut.zzax.zza(r17, r4, r29);
*/
/* JADX WARN: Code restructure failed: missing block: B:163:0x0242, code lost:
if (r20 != r29.zzfd) goto L244;
*/
/* JADX WARN: Code restructure failed: missing block: B:164:0x0244, code lost:
r4 = com.google.android.gms.internal.clearcut.zzax.zzb(r17, r6, r29);
*/
/* JADX WARN: Code restructure failed: missing block: B:165:0x024c, code lost:
if (r29.zzfe == 0) goto L246;
*/
/* JADX WARN: Code restructure failed: missing block: B:166:0x024e, code lost:
r6 = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:170:0x0237, code lost:
r6 = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:75:0x0137, code lost:
if (r4 == 0) goto L71;
*/
/* JADX WARN: Code restructure failed: missing block: B:76:0x013a, code lost:
r12.add(com.google.android.gms.internal.clearcut.zzbb.zzb(r17, r1, r4));
r1 = r1 + r4;
*/
/* JADX WARN: Code restructure failed: missing block: B:78:0x0142, code lost:
if (r1 >= r19) goto L229;
*/
/* JADX WARN: Code restructure failed: missing block: B:79:0x0144, code lost:
r4 = com.google.android.gms.internal.clearcut.zzax.zza(r17, r1, r29);
*/
/* JADX WARN: Code restructure failed: missing block: B:80:0x014a, code lost:
if (r20 != r29.zzfd) goto L231;
*/
/* JADX WARN: Code restructure failed: missing block: B:81:0x014c, code lost:
r1 = com.google.android.gms.internal.clearcut.zzax.zza(r17, r4, r29);
r4 = r29.zzfd;
*/
/* JADX WARN: Code restructure failed: missing block: B:82:0x0152, code lost:
if (r4 != 0) goto L230;
*/
/* JADX WARN: Code restructure failed: missing block: B:83:0x0154, code lost:
r12.add(com.google.android.gms.internal.clearcut.zzbb.zzfi);
*/
/* JADX WARN: Code restructure failed: missing block: B:86:?, code lost:
return r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:88:?, code lost:
return r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:89:0x0142, code lost:
r12.add(com.google.android.gms.internal.clearcut.zzbb.zzfi);
*/
/* JADX WARN: Failed to find 'out' block for switch in B:9:0x0037. Please report as an issue. */
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:102:0x0197 */
/* JADX WARN: Removed duplicated region for block: B:122:0x01d1 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:123:0x024c -> B:117:0x0236). Please report as a decompilation issue!!! */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:65:0x0152 -> B:60:0x013a). Please report as a decompilation issue!!! */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:81:0x01ab -> B:75:0x0191). Please report as a decompilation issue!!! */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:96:0x01ed -> B:88:0x01cb). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final int zza(T r16, byte[] r17, int r18, int r19, int r20, int r21, int r22, int r23, long r24, int r26, long r27, com.google.android.gms.internal.clearcut.zzay r29) throws java.io.IOException {
/*
Method dump skipped, instructions count: 982
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.clearcut.zzds.zza(java.lang.Object, byte[], int, int, int, int, int, int, long, int, long, com.google.android.gms.internal.clearcut.zzay):int");
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:10:0x00d0, code lost:
r3 = com.google.android.gms.internal.clearcut.zzci.zza(r15, r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x00cc, code lost:
if (r15 == null) goto L70;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x004e, code lost:
if (r15 == null) goto L70;
*/
/* JADX WARN: Failed to find 'out' block for switch in B:2:0x0023. Please report as an issue. */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final int zza(T r17, byte[] r18, int r19, int r20, int r21, int r22, int r23, int r24, int r25, long r26, int r28, com.google.android.gms.internal.clearcut.zzay r29) throws java.io.IOException {
/*
Method dump skipped, instructions count: 412
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.clearcut.zzds.zza(java.lang.Object, byte[], int, int, int, int, int, int, int, long, int, com.google.android.gms.internal.clearcut.zzay):int");
}
private static <UT, UB> int zza(zzex<UT, UB> zzexVar, T t) {
return zzexVar.zzm(zzexVar.zzq(t));
}
/* JADX WARN: Multi-variable type inference failed */
private static int zza(zzef zzefVar, byte[] bArr, int i, int i2, zzay zzayVar) throws IOException {
int i3 = i + 1;
int i4 = bArr[i];
if (i4 < 0) {
i3 = zzax.zza(i4, bArr, i3, zzayVar);
i4 = zzayVar.zzfd;
}
int i5 = i3;
if (i4 < 0 || i4 > i2 - i5) {
throw zzco.zzbl();
}
Object newInstance = zzefVar.newInstance();
int i6 = i4 + i5;
zzefVar.zza(newInstance, bArr, i5, i6, zzayVar);
zzefVar.zzc(newInstance);
zzayVar.zzff = newInstance;
return i6;
}
/* JADX WARN: Multi-variable type inference failed */
private static int zza(zzef zzefVar, byte[] bArr, int i, int i2, int i3, zzay zzayVar) throws IOException {
zzds zzdsVar = (zzds) zzefVar;
Object newInstance = zzdsVar.newInstance();
int zza = zzdsVar.zza((zzds) newInstance, bArr, i, i2, i3, zzayVar);
zzdsVar.zzc(newInstance);
zzayVar.zzff = newInstance;
return zza;
}
private static int zza(zzef<?> zzefVar, int i, byte[] bArr, int i2, int i3, zzcn<?> zzcnVar, zzay zzayVar) throws IOException {
int zza = zza((zzef) zzefVar, bArr, i2, i3, zzayVar);
while (true) {
zzcnVar.add(zzayVar.zzff);
if (zza >= i3) {
break;
}
int zza2 = zzax.zza(bArr, zza, zzayVar);
if (i != zzayVar.zzfd) {
break;
}
zza = zza((zzef) zzefVar, bArr, zza2, i3, zzayVar);
}
return zza;
}
private static int zza(int i, byte[] bArr, int i2, int i3, Object obj, zzay zzayVar) throws IOException {
return zzax.zza(i, bArr, i2, i3, zzn(obj), zzayVar);
}
private zzds(int[] iArr, Object[] objArr, int i, int i2, int i3, zzdo zzdoVar, boolean z, boolean z2, int[] iArr2, int[] iArr3, int[] iArr4, zzdw zzdwVar, zzcy zzcyVar, zzex<?, ?> zzexVar, zzbu<?> zzbuVar, zzdj zzdjVar) {
this.zzmi = iArr;
this.zzmj = objArr;
this.zzmk = i;
this.zzml = i2;
this.zzmm = i3;
this.zzmp = zzdoVar instanceof zzcg;
this.zzmq = z;
this.zzmo = zzbuVar != null && zzbuVar.zze(zzdoVar);
this.zzmr = false;
this.zzms = iArr2;
this.zzmt = iArr3;
this.zzmu = iArr4;
this.zzmv = zzdwVar;
this.zzmw = zzcyVar;
this.zzmx = zzexVar;
this.zzmy = zzbuVar;
this.zzmn = zzdoVar;
this.zzmz = zzdjVar;
}
}