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

import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;

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

    public static cw R2(IBinder iBinder) {
        if (iBinder == null) {
            return null;
        }
        IInterface iInterfaceQueryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.ads.internal.mediation.client.IMediationAdapterListener");
        return iInterfaceQueryLocalInterface instanceof cw ? (cw) iInterfaceQueryLocalInterface : new aw(iBinder);
    }

    @Override // com.google.android.gms.internal.ads.zi
    public final boolean Q2(int i10, Parcel parcel, Parcel parcel2) {
        p00 o00Var;
        switch (i10) {
            case 1:
                zze();
                break;
            case 2:
                zzf();
                break;
            case 3:
                int i11 = parcel.readInt();
                aj.e(parcel);
                zzg(i11);
                break;
            case 4:
                zzh();
                break;
            case 5:
                zzi();
                break;
            case 6:
                zzj();
                break;
            case 7:
                IBinder strongBinder = parcel.readStrongBinder();
                if (strongBinder != null) {
                    IInterface iInterfaceQueryLocalInterface = strongBinder.queryLocalInterface("com.google.android.gms.ads.internal.mediation.client.IMediationResponseMetadata");
                    if (iInterfaceQueryLocalInterface instanceof fw) {
                    }
                }
                aj.e(parcel);
                break;
            case 8:
                zzk();
                break;
            case 9:
                String string = parcel.readString();
                String string2 = parcel.readString();
                aj.e(parcel);
                q2(string, string2);
                break;
            case 10:
                IBinder strongBinder2 = parcel.readStrongBinder();
                if (strongBinder2 != null) {
                    IInterface iInterfaceQueryLocalInterface2 = strongBinder2.queryLocalInterface("com.google.android.gms.ads.internal.formats.client.INativeCustomTemplateAd");
                    if (iInterfaceQueryLocalInterface2 instanceof gr) {
                    }
                }
                parcel.readString();
                aj.e(parcel);
                break;
            case 11:
                m();
                break;
            case 12:
                parcel.readString();
                aj.e(parcel);
                break;
            case 13:
                zzo();
                break;
            case 14:
                n00 n00Var = (n00) aj.a(parcel, n00.CREATOR);
                aj.e(parcel);
                zzp(n00Var);
                break;
            case 15:
                g();
                break;
            case 16:
                IBinder strongBinder3 = parcel.readStrongBinder();
                if (strongBinder3 == null) {
                    o00Var = null;
                } else {
                    IInterface iInterfaceQueryLocalInterface3 = strongBinder3.queryLocalInterface("com.google.android.gms.ads.internal.rewarded.client.IRewardItem");
                    o00Var = iInterfaceQueryLocalInterface3 instanceof p00 ? (p00) iInterfaceQueryLocalInterface3 : new o00(strongBinder3);
                }
                aj.e(parcel);
                Z0(o00Var);
                break;
            case 17:
                int i12 = parcel.readInt();
                aj.e(parcel);
                v(i12);
                break;
            case 18:
                D();
                break;
            case 19:
                aj.e(parcel);
                break;
            case 20:
                G0();
                break;
            case 21:
                String string3 = parcel.readString();
                aj.e(parcel);
                w(string3);
                break;
            case 22:
                int i13 = parcel.readInt();
                String string4 = parcel.readString();
                aj.e(parcel);
                M2(i13, string4);
                break;
            case 23:
                n7.l2 l2Var = (n7.l2) aj.a(parcel, n7.l2.CREATOR);
                aj.e(parcel);
                x0(l2Var);
                break;
            case 24:
                n7.l2 l2Var2 = (n7.l2) aj.a(parcel, n7.l2.CREATOR);
                aj.e(parcel);
                p2(l2Var2);
                break;
            case 25:
                t();
                break;
            default:
                return false;
        }
        parcel2.writeNoException();
        return true;
    }
}
