package com.google.android.gms.internal.ads; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; import com.google.android.gms.dynamic.IObjectWrapper; /* loaded from: classes3.dex */ public abstract class zzbfz extends zzayb implements zzbga { public zzbfz() { super("com.google.android.gms.ads.internal.formats.client.INativeAdViewDelegate"); } public static zzbga zzdy(IBinder iBinder) { if (iBinder == null) { return null; } IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.ads.internal.formats.client.INativeAdViewDelegate"); return queryLocalInterface instanceof zzbga ? (zzbga) queryLocalInterface : new zzbfy(iBinder); } @Override // com.google.android.gms.internal.ads.zzayb public final boolean zzdD(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { zzbft zzbfrVar; switch (i) { case 1: String readString = parcel.readString(); IObjectWrapper asInterface = IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()); zzayc.zzc(parcel); zzdt(readString, asInterface); parcel2.writeNoException(); return true; case 2: String readString2 = parcel.readString(); zzayc.zzc(parcel); IObjectWrapper zzb = zzb(readString2); parcel2.writeNoException(); zzayc.zzf(parcel2, zzb); return true; case 3: IObjectWrapper asInterface2 = IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()); zzayc.zzc(parcel); zzdx(asInterface2); parcel2.writeNoException(); return true; case 4: zzc(); parcel2.writeNoException(); return true; case 5: IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()); parcel.readInt(); zzayc.zzc(parcel); parcel2.writeNoException(); return true; case 6: IObjectWrapper asInterface3 = IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()); zzayc.zzc(parcel); zzdu(asInterface3); parcel2.writeNoException(); return true; case 7: IObjectWrapper asInterface4 = IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()); zzayc.zzc(parcel); zzd(asInterface4); parcel2.writeNoException(); return true; case 8: IBinder readStrongBinder = parcel.readStrongBinder(); if (readStrongBinder == null) { zzbfrVar = null; } else { IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.ads.internal.formats.client.IMediaContent"); zzbfrVar = queryLocalInterface instanceof zzbft ? (zzbft) queryLocalInterface : new zzbfr(readStrongBinder); } zzayc.zzc(parcel); zzdv(zzbfrVar); parcel2.writeNoException(); return true; case 9: IObjectWrapper asInterface5 = IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()); zzayc.zzc(parcel); zzdw(asInterface5); parcel2.writeNoException(); return true; default: return false; } } }