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

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 java.util.List;

/* JADX INFO: loaded from: classes2.dex */
public abstract class cs extends zi implements ds {
    /* JADX WARN: Type inference fix 'apply assigned field type' failed
    java.lang.UnsupportedOperationException: ArgType.getObject(), call class: class jadx.core.dex.instructions.args.ArgType$UnknownArg
    	at jadx.core.dex.instructions.args.ArgType.getObject(ArgType.java:593)
    	at jadx.core.dex.attributes.nodes.ClassTypeVarsAttr.getTypeVarsMapFor(ClassTypeVarsAttr.java:35)
    	at jadx.core.dex.nodes.utils.TypeUtils.replaceClassGenerics(TypeUtils.java:177)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.insertExplicitUseCast(FixTypesVisitor.java:397)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.tryFieldTypeWithNewCasts(FixTypesVisitor.java:359)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.applyFieldType(FixTypesVisitor.java:309)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.visit(FixTypesVisitor.java:94)
     */
    @Override // com.google.android.gms.internal.ads.zi
    public final boolean Q2(int i10, Parcel parcel, Parcel parcel2) throws RemoteException {
        double d10;
        List list;
        boolean zZzh;
        td0 td0Var;
        td0 td0Var2;
        as zrVar = null;
        n7.v1 u1Var = null;
        int i11 = 0;
        switch (i10) {
            case 2:
                String strZzB = ((cp0) this).f10016b.zzB();
                parcel2.writeNoException();
                parcel2.writeString(strZzB);
                return true;
            case 3:
                List listZzC = ((cp0) this).f10016b.zzC();
                parcel2.writeNoException();
                parcel2.writeList(listZzC);
                return true;
            case 4:
                String strZzG = ((cp0) this).f10016b.zzG();
                parcel2.writeNoException();
                parcel2.writeString(strZzG);
                return true;
            case 5:
                sq sqVarZzP = ((cp0) this).f10016b.zzP();
                parcel2.writeNoException();
                aj.d(parcel2, sqVarZzP);
                return true;
            case 6:
                String strZzI = ((cp0) this).f10016b.zzI();
                parcel2.writeNoException();
                parcel2.writeString(strZzI);
                return true;
            case 7:
                String strZzQ = ((cp0) this).f10016b.zzQ();
                parcel2.writeNoException();
                parcel2.writeString(strZzQ);
                return true;
            case 8:
                pm0 pm0Var = ((cp0) this).f10016b;
                synchronized (pm0Var) {
                    d10 = pm0Var.f15461c;
                }
                parcel2.writeNoException();
                parcel2.writeDouble(d10);
                return true;
            case 9:
                String strZzM = ((cp0) this).f10016b.zzM();
                parcel2.writeNoException();
                parcel2.writeString(strZzM);
                return true;
            case 10:
                String strZzN = ((cp0) this).f10016b.zzN();
                parcel2.writeNoException();
                parcel2.writeString(strZzN);
                return true;
            case 11:
                n7.p2 p2VarZzy = ((cp0) this).f10016b.zzy();
                parcel2.writeNoException();
                aj.d(parcel2, p2VarZzy);
                return true;
            case 12:
                String strR2 = ((cp0) this).R2();
                parcel2.writeNoException();
                parcel2.writeString(strR2);
                return true;
            case 13:
                ((cp0) this).f10015a.o();
                parcel2.writeNoException();
                return true;
            case 14:
                nq nqVarZzz = ((cp0) this).f10016b.zzz();
                parcel2.writeNoException();
                aj.d(parcel2, nqVarZzz);
                return true;
            case 15:
                Bundle bundle = (Bundle) aj.a(parcel, Bundle.CREATOR);
                aj.e(parcel);
                lm0 lm0Var = ((cp0) this).f10015a;
                synchronized (lm0Var) {
                    lm0Var.f13763m.zze(bundle);
                }
                parcel2.writeNoException();
                return true;
            case 16:
                Bundle bundle2 = (Bundle) aj.a(parcel, Bundle.CREATOR);
                aj.e(parcel);
                boolean zP = ((cp0) this).f10015a.p(bundle2);
                parcel2.writeNoException();
                parcel2.writeInt(zP ? 1 : 0);
                return true;
            case 17:
                Bundle bundle3 = (Bundle) aj.a(parcel, Bundle.CREATOR);
                aj.e(parcel);
                lm0 lm0Var2 = ((cp0) this).f10015a;
                synchronized (lm0Var2) {
                    lm0Var2.f13763m.zzk(bundle3);
                }
                parcel2.writeNoException();
                return true;
            case 18:
                k8.a aVarC = ((cp0) this).c();
                parcel2.writeNoException();
                aj.d(parcel2, aVarC);
                return true;
            case 19:
                k8.a aVarZzL = ((cp0) this).f10016b.zzL();
                parcel2.writeNoException();
                aj.d(parcel2, aVarZzL);
                return true;
            case 20:
                Bundle bundleA = ((cp0) this).f10016b.a();
                parcel2.writeNoException();
                aj.c(parcel2, bundleA);
                return true;
            case 21:
                IBinder strongBinder = parcel.readStrongBinder();
                if (strongBinder != null) {
                    IInterface iInterfaceQueryLocalInterface = strongBinder.queryLocalInterface("com.google.android.gms.ads.internal.formats.client.IUnconfirmedClickListener");
                    zrVar = iInterfaceQueryLocalInterface instanceof as ? (as) iInterfaceQueryLocalInterface : new zr(strongBinder, "com.google.android.gms.ads.internal.formats.client.IUnconfirmedClickListener", 0);
                }
                aj.e(parcel);
                lm0 lm0Var3 = ((cp0) this).f10015a;
                synchronized (lm0Var3) {
                    lm0Var3.f13763m.b(zrVar);
                }
                parcel2.writeNoException();
                return true;
            case 22:
                lm0 lm0Var4 = ((cp0) this).f10015a;
                synchronized (lm0Var4) {
                    lm0Var4.f13763m.g();
                }
                parcel2.writeNoException();
                return true;
            case 23:
                List listK = ((cp0) this).k();
                parcel2.writeNoException();
                parcel2.writeList(listK);
                return true;
            case 24:
                pm0 pm0Var2 = ((cp0) this).f10016b;
                synchronized (pm0Var2) {
                    list = pm0Var2.f15460b;
                }
                if (!list.isEmpty() && pm0Var2.zzF() != null) {
                    i11 = 1;
                }
                parcel2.writeNoException();
                ClassLoader classLoader = aj.f8714a;
                parcel2.writeInt(i11);
                return true;
            case 25:
                n7.x1 x1VarR2 = n7.c3.R2(parcel.readStrongBinder());
                aj.e(parcel);
                zzB(x1VarR2);
                parcel2.writeNoException();
                return true;
            case 26:
                IBinder strongBinder2 = parcel.readStrongBinder();
                if (strongBinder2 != null) {
                    IInterface iInterfaceQueryLocalInterface2 = strongBinder2.queryLocalInterface("com.google.android.gms.ads.internal.client.IMuteThisAdListener");
                    u1Var = iInterfaceQueryLocalInterface2 instanceof n7.v1 ? (n7.v1) iInterfaceQueryLocalInterface2 : new n7.u1(strongBinder2, "com.google.android.gms.ads.internal.client.IMuteThisAdListener", 0);
                }
                aj.e(parcel);
                lm0 lm0Var5 = ((cp0) this).f10015a;
                synchronized (lm0Var5) {
                    lm0Var5.f13763m.f(u1Var);
                }
                parcel2.writeNoException();
                return true;
            case 27:
                lm0 lm0Var6 = ((cp0) this).f10015a;
                synchronized (lm0Var6) {
                    lm0Var6.f13763m.zzg();
                }
                parcel2.writeNoException();
                return true;
            case 28:
                ((cp0) this).f10015a.c();
                parcel2.writeNoException();
                return true;
            case 29:
                pq pqVarZzF = ((cp0) this).zzF();
                parcel2.writeNoException();
                aj.d(parcel2, pqVarZzF);
                return true;
            case 30:
                lm0 lm0Var7 = ((cp0) this).f10015a;
                synchronized (lm0Var7) {
                    zZzh = lm0Var7.f13763m.zzh();
                }
                parcel2.writeNoException();
                ClassLoader classLoader2 = aj.f8714a;
                parcel2.writeInt(zZzh ? 1 : 0);
                return true;
            case 31:
                n7.m2 m2VarZzH = ((cp0) this).zzH();
                parcel2.writeNoException();
                aj.d(parcel2, m2VarZzH);
                return true;
            case 32:
                n7.e2 e2VarR2 = n7.o3.R2(parcel.readStrongBinder());
                aj.e(parcel);
                ((cp0) this).c0(e2VarR2);
                parcel2.writeNoException();
                return true;
            case 33:
                Bundle bundle4 = (Bundle) aj.a(parcel, Bundle.CREATOR);
                aj.e(parcel);
                ((cp0) this).B1(bundle4);
                parcel2.writeNoException();
                return true;
            case 34:
                lm0 lm0Var8 = ((cp0) this).f10015a;
                long j10 = (lm0Var8 == null || (td0Var = lm0Var8.f14064i) == null) ? 0L : td0Var.f16861a.get();
                parcel2.writeNoException();
                parcel2.writeLong(j10);
                return true;
            case 35:
                long j11 = parcel.readLong();
                aj.e(parcel);
                lm0 lm0Var9 = ((cp0) this).f10015a;
                if (lm0Var9 != null && (td0Var2 = lm0Var9.f14064i) != null) {
                    td0Var2.a(j11);
                }
                parcel2.writeNoException();
                return true;
            default:
                return false;
        }
    }

    public abstract /* synthetic */ void zzB(@Nullable n7.x1 x1Var) throws RemoteException;
}
