what-the-bank/sources/com/google/android/gms/internal/vision/zzio.java

94 lines
2.9 KiB
Java

package com.google.android.gms.internal.vision;
import java.io.IOException;
/* loaded from: classes2.dex */
abstract class zzio<T, B> {
/* JADX INFO: Access modifiers changed from: package-private */
public abstract void zza(B b, int i, long j);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract void zza(B b, int i, zzeo zzeoVar);
abstract void zza(B b, int i, T t);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract void zza(T t, zzjj zzjjVar) throws IOException;
/* JADX INFO: Access modifiers changed from: package-private */
public abstract boolean zza(zzhv zzhvVar);
abstract void zzb(B b, int i, long j);
abstract void zzc(B b, int i, int i2);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract void zzc(T t, zzjj zzjjVar) throws IOException;
/* JADX INFO: Access modifiers changed from: package-private */
public abstract void zze(Object obj);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract void zze(Object obj, T t);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract void zzf(Object obj, B b);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract T zzg(T t, T t2);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract B zzhd();
abstract T zzm(B b);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract int zzp(T t);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract T zzt(Object obj);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract B zzu(Object obj);
/* JADX INFO: Access modifiers changed from: package-private */
public abstract int zzv(T t);
/* JADX INFO: Access modifiers changed from: package-private */
public final boolean zza(B b, zzhv zzhvVar) throws IOException {
int tag = zzhvVar.getTag();
int i = tag >>> 3;
int i2 = tag & 7;
if (i2 == 0) {
zza((zzio<T, B>) b, i, zzhvVar.zzcq());
return true;
}
if (i2 == 1) {
zzb(b, i, zzhvVar.zzcs());
return true;
}
if (i2 == 2) {
zza((zzio<T, B>) b, i, zzhvVar.zzcw());
return true;
}
if (i2 != 3) {
if (i2 == 4) {
return false;
}
if (i2 == 5) {
zzc(b, i, zzhvVar.zzct());
return true;
}
throw zzgf.zzfm();
}
B zzhd = zzhd();
while (zzhvVar.zzcn() != Integer.MAX_VALUE && zza((zzio<T, B>) zzhd, zzhvVar)) {
}
if ((4 | (i << 3)) != zzhvVar.getTag()) {
throw zzgf.zzfl();
}
zza((zzio<T, B>) b, i, (int) zzm(zzhd));
return true;
}
}