package com.google.android.gms.internal.firebase_ml; import com.google.firebase.ml.common.FirebaseMLException; import java.util.concurrent.Callable; /* JADX INFO: Access modifiers changed from: package-private */ /* JADX INFO: Add missing generic type declarations: [T] */ /* loaded from: classes2.dex */ public final class zzns implements Callable { private final zznw zzaph; private final zznq zzapi; private final zznm zzapj; private final zznp zzapk; /* JADX INFO: Access modifiers changed from: package-private */ public zzns(zznq zznqVar, zznw zznwVar, zznm zznmVar, zznp zznpVar) { this.zzapi = zznqVar; this.zzaph = zznwVar; this.zzapj = zznmVar; this.zzapk = zznpVar; } @Override // java.util.concurrent.Callable public final T call() throws FirebaseMLException { zznx zznxVar; if (this.zzaph != null) { zznxVar = this.zzapi.zzapg; zznxVar.zzf(this.zzaph); } return (T) this.zzapj.zza(this.zzapk); } }