package defpackage;

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

/* renamed from: ᵺʾˊ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class BinderC5101 extends AbstractBinderC3673 {

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public AbstractC1187 f19048;

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public final int f19049;

    public BinderC5101(AbstractC1187 abstractC1187, int i) {
        super(2, "com.google.android.gms.common.internal.IGmsCallbacks");
        this.f19048 = abstractC1187;
        this.f19049 = i;
    }

    @Override // defpackage.AbstractBinderC3673
    /* renamed from: ᵶʔᵢˊ */
    public final boolean mo8270(int i, Parcel parcel, Parcel parcel2) {
        if (i == 1) {
            int i2 = parcel.readInt();
            IBinder strongBinder = parcel.readStrongBinder();
            Bundle bundle = (Bundle) AbstractC4563.m9721(parcel, Bundle.CREATOR);
            AbstractC4563.m9720(parcel);
            ᵩʛʽ.ᵶᵷᵕ(this.f19048, "onPostInitComplete can be called only once per call to getRemoteService");
            AbstractC1187 abstractC1187 = this.f19048;
            int i3 = this.f19049;
            abstractC1187.getClass();
            C3721 c3721 = new C3721(abstractC1187, i2, strongBinder, bundle);
            HandlerC4301 handlerC4301 = abstractC1187.f5052;
            handlerC4301.sendMessage(handlerC4301.obtainMessage(1, i3, -1, c3721));
            this.f19048 = null;
        } else if (i == 2) {
            parcel.readInt();
            AbstractC4563.m9720(parcel);
            new Exception();
        } else {
            if (i != 3) {
                return false;
            }
            int i4 = parcel.readInt();
            IBinder strongBinder2 = parcel.readStrongBinder();
            C2244 c2244 = (C2244) AbstractC4563.m9721(parcel, C2244.CREATOR);
            AbstractC4563.m9720(parcel);
            AbstractC1187 abstractC11872 = this.f19048;
            ᵩʛʽ.ᵶᵷᵕ(abstractC11872, "onPostInitCompleteWithConnectionInfo can be called only once per call togetRemoteService");
            ᵩʛʽ.ᵝᵵᵺ(c2244);
            abstractC11872.f5041 = c2244;
            Bundle bundle2 = c2244.f8796;
            ᵩʛʽ.ᵶᵷᵕ(this.f19048, "onPostInitComplete can be called only once per call to getRemoteService");
            AbstractC1187 abstractC11873 = this.f19048;
            int i5 = this.f19049;
            abstractC11873.getClass();
            C3721 c37212 = new C3721(abstractC11873, i4, strongBinder2, bundle2);
            HandlerC4301 handlerC43012 = abstractC11873.f5052;
            handlerC43012.sendMessage(handlerC43012.obtainMessage(1, i5, -1, c37212));
            this.f19048 = null;
        }
        parcel2.writeNoException();
        return true;
    }
}
