package com.google.android.gms.internal.vision; import com.google.android.gms.internal.vision.zzcz; import java.io.IOException; /* loaded from: classes2.dex */ public final class zzdq extends zzjn { private zzcz.zzf.zzb zzpl; public Long zzpm = null; public Long zzpn = null; public Long zzpo = null; public Long zzpp = null; public zzdq() { this.zzadp = -1; } @Override // com.google.android.gms.internal.vision.zzjn, com.google.android.gms.internal.vision.zzjt public final void zza(zzjl zzjlVar) throws IOException { zzcz.zzf.zzb zzbVar = this.zzpl; if (zzbVar != null && zzbVar != null) { zzjlVar.zze(1, zzbVar.zzr()); } Long l = this.zzpm; if (l != null) { zzjlVar.zzi(2, l.longValue()); } Long l2 = this.zzpn; if (l2 != null) { zzjlVar.zzi(3, l2.longValue()); } Long l3 = this.zzpp; if (l3 != null) { zzjlVar.zzi(4, l3.longValue()); } Long l4 = this.zzpo; if (l4 != null) { zzjlVar.zzi(5, l4.longValue()); } super.zza(zzjlVar); } /* JADX INFO: Access modifiers changed from: protected */ @Override // com.google.android.gms.internal.vision.zzjn, com.google.android.gms.internal.vision.zzjt public final int zzt() { int zzt = super.zzt(); zzcz.zzf.zzb zzbVar = this.zzpl; if (zzbVar != null && zzbVar != null) { zzt += zzjl.zzi(1, zzbVar.zzr()); } Long l = this.zzpm; if (l != null) { zzt += zzjl.zzd(2, l.longValue()); } Long l2 = this.zzpn; if (l2 != null) { zzt += zzjl.zzd(3, l2.longValue()); } Long l3 = this.zzpp; if (l3 != null) { zzt += zzjl.zzd(4, l3.longValue()); } Long l4 = this.zzpo; return l4 != null ? zzt + zzjl.zzd(5, l4.longValue()) : zzt; } @Override // com.google.android.gms.internal.vision.zzjt public final /* synthetic */ zzjt zza(zzjk zzjkVar) throws IOException { while (true) { int zzdq = zzjkVar.zzdq(); if (zzdq == 0) { return this; } if (zzdq == 8) { int position = zzjkVar.getPosition(); int zzdt = zzjkVar.zzdt(); if (zzdt == 0 || zzdt == 1 || zzdt == 2 || zzdt == 3) { this.zzpl = zzcz.zzf.zzb.zzu(zzdt); } else { zzjkVar.zzbt(position); zza(zzjkVar, zzdq); } } else if (zzdq == 16) { this.zzpm = Long.valueOf(zzjkVar.zzdu()); } else if (zzdq == 24) { this.zzpn = Long.valueOf(zzjkVar.zzdu()); } else if (zzdq == 32) { this.zzpp = Long.valueOf(zzjkVar.zzdu()); } else if (zzdq != 40) { if (!super.zza(zzjkVar, zzdq)) { return this; } } else { this.zzpo = Long.valueOf(zzjkVar.zzdu()); } } } }