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

import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.ads.dynamite.ModuleDescriptor;

/* JADX INFO: loaded from: classes2.dex */
public final class i20 extends yi implements k20 {
    public final h20 w1(k8.b bVar, wv wvVar) {
        h20 f20Var;
        Parcel parcelO = O();
        aj.d(parcelO, bVar);
        aj.d(parcelO, wvVar);
        parcelO.writeInt(ModuleDescriptor.MODULE_VERSION);
        Parcel parcelB0 = B0(2, parcelO);
        IBinder strongBinder = parcelB0.readStrongBinder();
        if (strongBinder == null) {
            f20Var = null;
        } else {
            IInterface iInterfaceQueryLocalInterface = strongBinder.queryLocalInterface("com.google.android.gms.ads.internal.signals.ISignalGenerator");
            f20Var = iInterfaceQueryLocalInterface instanceof h20 ? (h20) iInterfaceQueryLocalInterface : new f20(strongBinder);
        }
        parcelB0.recycle();
        return f20Var;
    }
}
