package com.google.android.gms.internal.firebase_ml; import java.io.IOException; /* loaded from: classes2.dex */ final class zzen implements zzfn { private final zzfn zztf; private final zzfh zztg; private final zzem zzth; /* JADX INFO: Access modifiers changed from: package-private */ public zzen(zzem zzemVar, zzfn zzfnVar, zzfh zzfhVar) { this.zzth = zzemVar; this.zztf = zzfnVar; this.zztg = zzfhVar; } @Override // com.google.android.gms.internal.firebase_ml.zzfn public final void zzb(zzfk zzfkVar) throws IOException { zzfn zzfnVar = this.zztf; if (zzfnVar != null) { zzfnVar.zzb(zzfkVar); } if (!zzfkVar.zzfk() && this.zztg.zzfi()) { throw this.zzth.zza(zzfkVar); } } }