package com.google.android.gms.internal.gtm; import java.io.IOException; /* loaded from: classes2.dex */ abstract class zztr { /* 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, zzps zzpsVar); abstract void zza(B b, int i, T t); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void zza(T t, zzum zzumVar) throws IOException; /* JADX INFO: Access modifiers changed from: package-private */ public abstract boolean zza(zzsy zzsyVar); abstract T zzaa(B b); /* JADX INFO: Access modifiers changed from: package-private */ public abstract int zzad(T t); /* JADX INFO: Access modifiers changed from: package-private */ public abstract T zzag(Object obj); /* JADX INFO: Access modifiers changed from: package-private */ public abstract B zzah(Object obj); /* JADX INFO: Access modifiers changed from: package-private */ public abstract int zzai(T t); 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, zzum zzumVar) throws IOException; /* JADX INFO: Access modifiers changed from: package-private */ public abstract void zzf(Object obj, T t); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void zzg(Object obj, B b); /* JADX INFO: Access modifiers changed from: package-private */ public abstract T zzh(T t, T t2); /* JADX INFO: Access modifiers changed from: package-private */ public abstract B zzri(); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void zzt(Object obj); /* JADX INFO: Access modifiers changed from: package-private */ public final boolean zza(B b, zzsy zzsyVar) throws IOException { int tag = zzsyVar.getTag(); int i = tag >>> 3; int i2 = tag & 7; if (i2 == 0) { zza((zztr) b, i, zzsyVar.zznk()); return true; } if (i2 == 1) { zzb(b, i, zzsyVar.zznm()); return true; } if (i2 == 2) { zza((zztr) b, i, zzsyVar.zznq()); return true; } if (i2 != 3) { if (i2 == 4) { return false; } if (i2 == 5) { zzc(b, i, zzsyVar.zznn()); return true; } throw zzrk.zzpt(); } B zzri = zzri(); while (zzsyVar.zzog() != Integer.MAX_VALUE && zza((zztr) zzri, zzsyVar)) { } if ((4 | (i << 3)) != zzsyVar.getTag()) { throw zzrk.zzps(); } zza((zztr) b, i, (int) zzaa(zzri)); return true; } }