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 ik extends zi implements jk {

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

    @Override // com.google.android.gms.internal.ads.zi
    public final boolean Q2(int i10, Parcel parcel, Parcel parcel2) throws RemoteException {
        qk pkVar;
        td0 td0Var;
        td0 td0Var2;
        switch (i10) {
            case 2:
                parcel2.writeNoException();
                aj.d(parcel2, ((za0) this).f19176c);
                return true;
            case 3:
                IBinder strongBinder = parcel.readStrongBinder();
                if (strongBinder != null) {
                    IInterface iInterfaceQueryLocalInterface = strongBinder.queryLocalInterface("com.google.android.gms.ads.internal.appopen.client.IAppOpenAdPresentationCallback");
                    if (iInterfaceQueryLocalInterface instanceof ok) {
                    }
                }
                aj.e(parcel);
                parcel2.writeNoException();
                return true;
            case 4:
                k8.a aVarM = k8.b.M(parcel.readStrongBinder());
                IBinder strongBinder2 = parcel.readStrongBinder();
                if (strongBinder2 == null) {
                    pkVar = null;
                } else {
                    IInterface iInterfaceQueryLocalInterface2 = strongBinder2.queryLocalInterface("com.google.android.gms.ads.internal.appopen.client.IAppOpenFullScreenContentCallback");
                    pkVar = iInterfaceQueryLocalInterface2 instanceof qk ? (qk) iInterfaceQueryLocalInterface2 : new pk(strongBinder2, "com.google.android.gms.ads.internal.appopen.client.IAppOpenFullScreenContentCallback", 0);
                }
                aj.e(parcel);
                ((za0) this).q1(aVarM, pkVar);
                parcel2.writeNoException();
                return true;
            case 5:
                n7.m2 m2VarZzg = zzg();
                parcel2.writeNoException();
                aj.d(parcel2, m2VarZzg);
                return true;
            case 6:
                ClassLoader classLoader = aj.f8714a;
                boolean z10 = parcel.readInt() != 0;
                aj.e(parcel);
                ((za0) this).f19178e = z10;
                parcel2.writeNoException();
                return true;
            case 7:
                n7.e2 e2VarR2 = n7.o3.R2(parcel.readStrongBinder());
                aj.e(parcel);
                ((za0) this).v2(e2VarR2);
                parcel2.writeNoException();
                return true;
            case 8:
                String strZzj = zzj();
                parcel2.writeNoException();
                parcel2.writeString(strZzj);
                return true;
            case 9:
                ya0 ya0Var = ((za0) this).f19175b;
                long j10 = (ya0Var == null || (td0Var = ya0Var.f14064i) == null) ? 0L : td0Var.f16861a.get();
                parcel2.writeNoException();
                parcel2.writeLong(j10);
                return true;
            case 10:
                long j11 = parcel.readLong();
                aj.e(parcel);
                ya0 ya0Var2 = ((za0) this).f19175b;
                if (ya0Var2 != null && (td0Var2 = ya0Var2.f14064i) != null) {
                    td0Var2.a(j11);
                }
                parcel2.writeNoException();
                return true;
            default:
                return false;
        }
    }

    @Override // com.google.android.gms.internal.ads.jk
    @Nullable
    public abstract /* synthetic */ n7.m2 zzg() throws RemoteException;

    @Override // com.google.android.gms.internal.ads.jk
    @Nullable
    public abstract /* synthetic */ String zzj() throws RemoteException;
}
