package com.google.android.gms.internal.ads;

import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes2.dex */
public abstract class vq extends zi implements wq {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final /* synthetic */ int f17748a = 0;

    public vq() {
        super("com.google.android.gms.ads.internal.formats.client.INativeAdViewDelegate");
    }

    @Override // com.google.android.gms.internal.ads.zi
    public final boolean Q2(int i10, Parcel parcel, Parcel parcel2) throws RemoteException {
        pq oqVar;
        switch (i10) {
            case 1:
                String string = parcel.readString();
                k8.a aVarM = k8.b.M(parcel.readStrongBinder());
                aj.e(parcel);
                G2(aVarM, string);
                parcel2.writeNoException();
                return true;
            case 2:
                String string2 = parcel.readString();
                aj.e(parcel);
                k8.a aVarF = f(string2);
                parcel2.writeNoException();
                aj.d(parcel2, aVarF);
                return true;
            case 3:
                k8.a aVarM2 = k8.b.M(parcel.readStrongBinder());
                aj.e(parcel);
                zzd(aVarM2);
                parcel2.writeNoException();
                return true;
            case 4:
                zze();
                parcel2.writeNoException();
                return true;
            case 5:
                k8.b.M(parcel.readStrongBinder());
                parcel.readInt();
                aj.e(parcel);
                parcel2.writeNoException();
                return true;
            case 6:
                k8.a aVarM3 = k8.b.M(parcel.readStrongBinder());
                aj.e(parcel);
                j(aVarM3);
                parcel2.writeNoException();
                return true;
            case 7:
                k8.a aVarM4 = k8.b.M(parcel.readStrongBinder());
                aj.e(parcel);
                B2(aVarM4);
                parcel2.writeNoException();
                return true;
            case 8:
                IBinder strongBinder = parcel.readStrongBinder();
                if (strongBinder == null) {
                    oqVar = null;
                } else {
                    IInterface iInterfaceQueryLocalInterface = strongBinder.queryLocalInterface("com.google.android.gms.ads.internal.formats.client.IMediaContent");
                    oqVar = iInterfaceQueryLocalInterface instanceof pq ? (pq) iInterfaceQueryLocalInterface : new oq(strongBinder);
                }
                aj.e(parcel);
                zzdD(oqVar);
                parcel2.writeNoException();
                return true;
            case 9:
                k8.a aVarM5 = k8.b.M(parcel.readStrongBinder());
                aj.e(parcel);
                U(aVarM5);
                parcel2.writeNoException();
                return true;
            default:
                return false;
        }
    }

    public abstract /* synthetic */ void zzd(@Nullable k8.a aVar) throws RemoteException;

    public abstract /* synthetic */ void zzdD(@Nullable pq pqVar) throws RemoteException;
}
