package defpackage;

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

/* JADX INFO: renamed from: ᵴᵷ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class BinderC4684 extends AbstractBinderC0880 {

    /* JADX INFO: renamed from: ˊᵫᵗ, reason: contains not printable characters */
    public final int f17777;

    /* JADX INFO: renamed from: ᵵᵽ, reason: contains not printable characters */
    public AbstractC0459 f17778;

    public BinderC4684(AbstractC0459 abstractC0459, int i) {
        super(2, "com.google.android.gms.common.internal.IGmsCallbacks");
        this.f17778 = abstractC0459;
        this.f17777 = i;
    }

    @Override // defpackage.AbstractBinderC0880
    /* JADX INFO: renamed from: ˀᵭ */
    public final boolean mo1578(int i, Parcel parcel, Parcel parcel2) {
        if (i == 1) {
            int i2 = parcel.readInt();
            IBinder strongBinder = parcel.readStrongBinder();
            Bundle bundle = (Bundle) AbstractC4052.m8861(parcel, Bundle.CREATOR);
            AbstractC4052.m8860(parcel);
            ᵘᵞʿⁱ.ᵮᵣᵗˈ(this.f17778, "onPostInitComplete can be called only once per call to getRemoteService");
            AbstractC0459 abstractC0459 = this.f17778;
            int i3 = this.f17777;
            abstractC0459.getClass();
            C0123 c0123 = new C0123(abstractC0459, i2, strongBinder, bundle);
            HandlerC3109 handlerC3109 = abstractC0459.f2538;
            handlerC3109.sendMessage(handlerC3109.obtainMessage(1, i3, -1, c0123));
            this.f17778 = null;
        } else if (i == 2) {
            parcel.readInt();
            AbstractC4052.m8860(parcel);
            new Exception();
        } else {
            if (i != 3) {
                return false;
            }
            int i4 = parcel.readInt();
            IBinder strongBinder2 = parcel.readStrongBinder();
            C0318 c0318 = (C0318) AbstractC4052.m8861(parcel, C0318.CREATOR);
            AbstractC4052.m8860(parcel);
            AbstractC0459 abstractC04592 = this.f17778;
            ᵘᵞʿⁱ.ᵮᵣᵗˈ(abstractC04592, "onPostInitCompleteWithConnectionInfo can be called only once per call togetRemoteService");
            ᵘᵞʿⁱ.ᵶᵥᵝ(c0318);
            abstractC04592.f2522 = c0318;
            Bundle bundle2 = c0318.f2025;
            ᵘᵞʿⁱ.ᵮᵣᵗˈ(this.f17778, "onPostInitComplete can be called only once per call to getRemoteService");
            AbstractC0459 abstractC04593 = this.f17778;
            int i5 = this.f17777;
            abstractC04593.getClass();
            C0123 c01232 = new C0123(abstractC04593, i4, strongBinder2, bundle2);
            HandlerC3109 handlerC31092 = abstractC04593.f2538;
            handlerC31092.sendMessage(handlerC31092.obtainMessage(1, i5, -1, c01232));
            this.f17778 = null;
        }
        parcel2.writeNoException();
        return true;
    }
}
