package n7;

import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.internal.ads.aj;
import com.google.android.gms.internal.ads.h00;
import com.google.android.gms.internal.ads.i00;
import com.google.android.gms.internal.ads.kk;
import com.google.android.gms.internal.ads.nk;
import com.google.android.gms.internal.ads.po;
import com.google.android.gms.internal.ads.qo;
import com.google.android.gms.internal.ads.uy;
import com.google.android.gms.internal.ads.vy;
import com.google.android.gms.internal.ads.zi;

/* JADX INFO: loaded from: classes2.dex */
public abstract class q0 extends zi implements r0 {
    public q0() {
        super("com.google.android.gms.ads.internal.client.IAdManager");
    }

    @Override // com.google.android.gms.internal.ads.zi
    public final boolean Q2(int i10, Parcel parcel, Parcel parcel2) throws RemoteException {
        boolean z10;
        e0 c0Var = null;
        m1 l1Var = null;
        h0 f0Var = null;
        e2 d2Var = null;
        nk kkVar = null;
        v0 t0Var = null;
        i00 h00Var = null;
        k1 k1Var = null;
        b0 a0Var = null;
        qo poVar = null;
        g1 e1Var = null;
        switch (i10) {
            case 1:
                k8.a aVarZzb = zzb();
                parcel2.writeNoException();
                aj.d(parcel2, aVarZzb);
                return true;
            case 2:
                zzc();
                parcel2.writeNoException();
                return true;
            case 3:
                boolean zZzd = zzd();
                parcel2.writeNoException();
                ClassLoader classLoader = aj.f8714a;
                parcel2.writeInt(zZzd ? 1 : 0);
                return true;
            case 4:
                a4 a4Var = (a4) aj.a(parcel, a4.CREATOR);
                aj.e(parcel);
                boolean z11 = z(a4Var);
                parcel2.writeNoException();
                parcel2.writeInt(z11 ? 1 : 0);
                return true;
            case 5:
                zzf();
                parcel2.writeNoException();
                return true;
            case 6:
                zzg();
                parcel2.writeNoException();
                return true;
            case 7:
                IBinder strongBinder = parcel.readStrongBinder();
                if (strongBinder != null) {
                    IInterface iInterfaceQueryLocalInterface = strongBinder.queryLocalInterface("com.google.android.gms.ads.internal.client.IAdListener");
                    c0Var = iInterfaceQueryLocalInterface instanceof e0 ? (e0) iInterfaceQueryLocalInterface : new c0(strongBinder);
                }
                aj.e(parcel);
                zzdR(c0Var);
                parcel2.writeNoException();
                return true;
            case 8:
                IBinder strongBinder2 = parcel.readStrongBinder();
                if (strongBinder2 != null) {
                    IInterface iInterfaceQueryLocalInterface2 = strongBinder2.queryLocalInterface("com.google.android.gms.ads.internal.client.IAppEventListener");
                    e1Var = iInterfaceQueryLocalInterface2 instanceof g1 ? (g1) iInterfaceQueryLocalInterface2 : new e1(strongBinder2);
                }
                aj.e(parcel);
                zzi(e1Var);
                parcel2.writeNoException();
                return true;
            case 9:
                zzl();
                parcel2.writeNoException();
                return true;
            case 10:
                parcel2.writeNoException();
                return true;
            case 11:
                zzm();
                parcel2.writeNoException();
                return true;
            case 12:
                f4 f4VarZzn = zzn();
                parcel2.writeNoException();
                aj.c(parcel2, f4VarZzn);
                return true;
            case 13:
                f4 f4Var = (f4) aj.a(parcel, f4.CREATOR);
                aj.e(parcel);
                c2(f4Var);
                parcel2.writeNoException();
                return true;
            case 14:
                IBinder strongBinder3 = parcel.readStrongBinder();
                if (strongBinder3 != null) {
                    IInterface iInterfaceQueryLocalInterface3 = strongBinder3.queryLocalInterface("com.google.android.gms.ads.internal.purchase.client.IInAppPurchaseListener");
                    if (iInterfaceQueryLocalInterface3 instanceof uy) {
                    }
                }
                aj.e(parcel);
                H1();
                parcel2.writeNoException();
                return true;
            case 15:
                IBinder strongBinder4 = parcel.readStrongBinder();
                if (strongBinder4 != null) {
                    IInterface iInterfaceQueryLocalInterface4 = strongBinder4.queryLocalInterface("com.google.android.gms.ads.internal.purchase.client.IPlayStorePurchaseListener");
                    if (iInterfaceQueryLocalInterface4 instanceof vy) {
                    }
                }
                parcel.readString();
                aj.e(parcel);
                zzq();
                parcel2.writeNoException();
                return true;
            case 16:
            case 17:
            case 27:
            case 28:
            default:
                return false;
            case 18:
                String strZzr = zzr();
                parcel2.writeNoException();
                parcel2.writeString(strZzr);
                return true;
            case 19:
                IBinder strongBinder5 = parcel.readStrongBinder();
                if (strongBinder5 != null) {
                    IInterface iInterfaceQueryLocalInterface5 = strongBinder5.queryLocalInterface("com.google.android.gms.ads.internal.customrenderedad.client.IOnCustomRenderedAdLoadedListener");
                    poVar = iInterfaceQueryLocalInterface5 instanceof qo ? (qo) iInterfaceQueryLocalInterface5 : new po(strongBinder5, "com.google.android.gms.ads.internal.customrenderedad.client.IOnCustomRenderedAdLoadedListener", 0);
                }
                aj.e(parcel);
                zzx(poVar);
                parcel2.writeNoException();
                return true;
            case 20:
                IBinder strongBinder6 = parcel.readStrongBinder();
                if (strongBinder6 != null) {
                    IInterface iInterfaceQueryLocalInterface6 = strongBinder6.queryLocalInterface("com.google.android.gms.ads.internal.client.IAdClickListener");
                    a0Var = iInterfaceQueryLocalInterface6 instanceof b0 ? (b0) iInterfaceQueryLocalInterface6 : new a0(strongBinder6, "com.google.android.gms.ads.internal.client.IAdClickListener", 0);
                }
                aj.e(parcel);
                zzy(a0Var);
                parcel2.writeNoException();
                return true;
            case 21:
                IBinder strongBinder7 = parcel.readStrongBinder();
                if (strongBinder7 != null) {
                    IInterface iInterfaceQueryLocalInterface7 = strongBinder7.queryLocalInterface("com.google.android.gms.ads.internal.client.ICorrelationIdProvider");
                    k1Var = iInterfaceQueryLocalInterface7 instanceof k1 ? (k1) iInterfaceQueryLocalInterface7 : new k1(strongBinder7);
                }
                aj.e(parcel);
                k1(k1Var);
                parcel2.writeNoException();
                return true;
            case 22:
                ClassLoader classLoader2 = aj.f8714a;
                z10 = parcel.readInt() != 0;
                aj.e(parcel);
                K1(z10);
                parcel2.writeNoException();
                return true;
            case 23:
                boolean zZzB = zzB();
                parcel2.writeNoException();
                ClassLoader classLoader3 = aj.f8714a;
                parcel2.writeInt(zZzB ? 1 : 0);
                return true;
            case 24:
                IBinder strongBinder8 = parcel.readStrongBinder();
                if (strongBinder8 != null) {
                    IInterface iInterfaceQueryLocalInterface8 = strongBinder8.queryLocalInterface("com.google.android.gms.ads.internal.reward.client.IRewardedVideoAdListener");
                    h00Var = iInterfaceQueryLocalInterface8 instanceof i00 ? (i00) iInterfaceQueryLocalInterface8 : new h00(strongBinder8);
                }
                aj.e(parcel);
                zzC(h00Var);
                parcel2.writeNoException();
                return true;
            case 25:
                String string = parcel.readString();
                aj.e(parcel);
                Y1(string);
                parcel2.writeNoException();
                return true;
            case 26:
                p2 p2VarZzF = zzF();
                parcel2.writeNoException();
                aj.d(parcel2, p2VarZzF);
                return true;
            case 29:
                u3 u3Var = (u3) aj.a(parcel, u3.CREATOR);
                aj.e(parcel);
                zzG(u3Var);
                parcel2.writeNoException();
                return true;
            case 30:
                s2 s2Var = (s2) aj.a(parcel, s2.CREATOR);
                aj.e(parcel);
                zzH(s2Var);
                parcel2.writeNoException();
                return true;
            case 31:
                String strC = c();
                parcel2.writeNoException();
                parcel2.writeString(strC);
                return true;
            case 32:
                g1 g1VarD = d();
                parcel2.writeNoException();
                aj.d(parcel2, g1VarD);
                return true;
            case 33:
                e0 e0VarL = l();
                parcel2.writeNoException();
                aj.d(parcel2, e0VarL);
                return true;
            case 34:
                ClassLoader classLoader4 = aj.f8714a;
                z10 = parcel.readInt() != 0;
                aj.e(parcel);
                e0(z10);
                parcel2.writeNoException();
                return true;
            case 35:
                String strZzs = zzs();
                parcel2.writeNoException();
                parcel2.writeString(strZzs);
                return true;
            case 36:
                IBinder strongBinder9 = parcel.readStrongBinder();
                if (strongBinder9 != null) {
                    IInterface iInterfaceQueryLocalInterface9 = strongBinder9.queryLocalInterface("com.google.android.gms.ads.internal.client.IAdMetadataListener");
                    t0Var = iInterfaceQueryLocalInterface9 instanceof v0 ? (v0) iInterfaceQueryLocalInterface9 : new t0(strongBinder9);
                }
                aj.e(parcel);
                zzj(t0Var);
                parcel2.writeNoException();
                return true;
            case 37:
                Bundle bundleZzk = zzk();
                parcel2.writeNoException();
                aj.c(parcel2, bundleZzk);
                return true;
            case 38:
                parcel.readString();
                aj.e(parcel);
                o();
                parcel2.writeNoException();
                return true;
            case 39:
                i4 i4Var = (i4) aj.a(parcel, i4.CREATOR);
                aj.e(parcel);
                j1(i4Var);
                parcel2.writeNoException();
                return true;
            case 40:
                IBinder strongBinder10 = parcel.readStrongBinder();
                if (strongBinder10 != null) {
                    IInterface iInterfaceQueryLocalInterface10 = strongBinder10.queryLocalInterface("com.google.android.gms.ads.internal.appopen.client.IAppOpenAdLoadCallback");
                    kkVar = iInterfaceQueryLocalInterface10 instanceof nk ? (nk) iInterfaceQueryLocalInterface10 : new kk(strongBinder10, "com.google.android.gms.ads.internal.appopen.client.IAppOpenAdLoadCallback", 0);
                }
                aj.e(parcel);
                N0(kkVar);
                parcel2.writeNoException();
                return true;
            case 41:
                m2 m2VarZzt = zzt();
                parcel2.writeNoException();
                aj.d(parcel2, m2VarZzt);
                return true;
            case 42:
                IBinder strongBinder11 = parcel.readStrongBinder();
                if (strongBinder11 != null) {
                    IInterface iInterfaceQueryLocalInterface11 = strongBinder11.queryLocalInterface("com.google.android.gms.ads.internal.client.IOnPaidEventListener");
                    d2Var = iInterfaceQueryLocalInterface11 instanceof e2 ? (e2) iInterfaceQueryLocalInterface11 : new d2(strongBinder11);
                }
                aj.e(parcel);
                j2(d2Var);
                parcel2.writeNoException();
                return true;
            case 43:
                a4 a4Var2 = (a4) aj.a(parcel, a4.CREATOR);
                IBinder strongBinder12 = parcel.readStrongBinder();
                if (strongBinder12 != null) {
                    IInterface iInterfaceQueryLocalInterface12 = strongBinder12.queryLocalInterface("com.google.android.gms.ads.internal.client.IAdLoadCallback");
                    f0Var = iInterfaceQueryLocalInterface12 instanceof h0 ? (h0) iInterfaceQueryLocalInterface12 : new f0(strongBinder12, "com.google.android.gms.ads.internal.client.IAdLoadCallback", 0);
                }
                aj.e(parcel);
                s1(a4Var2, f0Var);
                parcel2.writeNoException();
                return true;
            case 44:
                k8.a aVarM = k8.b.M(parcel.readStrongBinder());
                aj.e(parcel);
                a0(aVarM);
                parcel2.writeNoException();
                return true;
            case 45:
                IBinder strongBinder13 = parcel.readStrongBinder();
                if (strongBinder13 != null) {
                    IInterface iInterfaceQueryLocalInterface13 = strongBinder13.queryLocalInterface("com.google.android.gms.ads.internal.client.IFullScreenContentCallback");
                    l1Var = iInterfaceQueryLocalInterface13 instanceof m1 ? (m1) iInterfaceQueryLocalInterface13 : new l1(strongBinder13, "com.google.android.gms.ads.internal.client.IFullScreenContentCallback", 0);
                }
                aj.e(parcel);
                o2(l1Var);
                parcel2.writeNoException();
                return true;
            case 46:
                boolean zI = i();
                parcel2.writeNoException();
                ClassLoader classLoader5 = aj.f8714a;
                parcel2.writeInt(zI ? 1 : 0);
                return true;
            case 47:
                long jX = x();
                parcel2.writeNoException();
                parcel2.writeLong(jX);
                return true;
            case 48:
                long j10 = parcel.readLong();
                aj.e(parcel);
                d0(j10);
                parcel2.writeNoException();
                return true;
        }
    }

    public abstract /* synthetic */ void zzC(@Nullable i00 i00Var) throws RemoteException;

    public abstract /* synthetic */ void zzG(@Nullable u3 u3Var) throws RemoteException;

    public abstract /* synthetic */ void zzH(@Nullable s2 s2Var) throws RemoteException;

    public abstract /* synthetic */ void zzdR(@Nullable e0 e0Var) throws RemoteException;

    public abstract /* synthetic */ void zzi(@Nullable g1 g1Var) throws RemoteException;

    public abstract /* synthetic */ void zzj(@Nullable v0 v0Var) throws RemoteException;

    public abstract /* synthetic */ void zzx(@Nullable qo qoVar) throws RemoteException;

    public abstract /* synthetic */ void zzy(@Nullable b0 b0Var) throws RemoteException;
}
