package o;

import android.os.Bundle;
import android.os.Parcel;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Sp0 extends So0 implements Ap0 {
    public final C3037yp0 d;

    public Sp0(C3037yp0 c3037yp0) {
        super("com.google.android.gms.measurement.api.internal.IEventHandlerProxy");
        this.d = c3037yp0;
    }

    @Override // o.So0
    public final boolean B(int i, Parcel parcel, Parcel parcel2) {
        if (i != 1) {
            if (i != 2) {
                return false;
            }
            int iIdentityHashCode = System.identityHashCode(this.d);
            parcel2.writeNoException();
            parcel2.writeInt(iIdentityHashCode);
            return true;
        }
        String string = parcel.readString();
        String string2 = parcel.readString();
        Bundle bundle = (Bundle) Uo0.a(parcel, Bundle.CREATOR);
        long j = parcel.readLong();
        Uo0.d(parcel);
        o(j, bundle, string, string2);
        parcel2.writeNoException();
        return true;
    }

    @Override // o.Ap0
    public final int a() {
        return System.identityHashCode(this.d);
    }

    @Override // o.Ap0
    public final void o(long j, Bundle bundle, String str, String str2) {
        this.d.a(j, bundle, str, str2);
    }
}
