package com.google.android.gms.internal.ads; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; /* loaded from: classes3.dex */ public final class zzbpc extends zzaya implements zzbpe { public zzbpc(IBinder iBinder) { super(iBinder, "com.google.android.gms.ads.internal.mediation.client.IAdapterCreator"); } @Override // com.google.android.gms.internal.ads.zzbpe public final zzbph zzb(String str) throws RemoteException { zzbph zzbpfVar; Parcel zza = zza(); zza.writeString(str); Parcel zzcZ = zzcZ(1, zza); IBinder readStrongBinder = zzcZ.readStrongBinder(); if (readStrongBinder == null) { zzbpfVar = null; } else { IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.ads.internal.mediation.client.IMediationAdapter"); zzbpfVar = queryLocalInterface instanceof zzbph ? (zzbph) queryLocalInterface : new zzbpf(readStrongBinder); } zzcZ.recycle(); return zzbpfVar; } @Override // com.google.android.gms.internal.ads.zzbpe public final zzbrd zzc(String str) throws RemoteException { Parcel zza = zza(); zza.writeString(str); Parcel zzcZ = zzcZ(3, zza); zzbrd zzb = zzbrc.zzb(zzcZ.readStrongBinder()); zzcZ.recycle(); return zzb; } @Override // com.google.android.gms.internal.ads.zzbpe public final boolean zzd(String str) throws RemoteException { Parcel zza = zza(); zza.writeString(str); Parcel zzcZ = zzcZ(4, zza); boolean zzg = zzayc.zzg(zzcZ); zzcZ.recycle(); return zzg; } @Override // com.google.android.gms.internal.ads.zzbpe public final boolean zze(String str) throws RemoteException { Parcel zza = zza(); zza.writeString(str); Parcel zzcZ = zzcZ(2, zza); boolean zzg = zzayc.zzg(zzcZ); zzcZ.recycle(); return zzg; } }