package defpackage;

import android.os.Looper;
import com.google.android.gms.common.api.ApiException;

/* renamed from: ᵦˊᵔ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3571 {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final C2182 f13377;

    public C3571(C2182 c2182) {
        this.f13377 = c2182;
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public static C0516 m8182(C3921 c3921) {
        C0621 c0621 = new C0621();
        c0621.f3106 = c3921;
        C2954 c2954 = new C2954(c0621);
        c3921.getClass();
        EnumC2524 enumC2524 = EnumC2524.f9848;
        c3921.f14809.m9030(new C2786(enumC2524, c2954));
        c3921.m8704();
        return AbstractC2725.m6768(c0621, ApiException.class, C3529.f13252, enumC2524);
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final C0516 m8183(C0553 c0553) throws Throwable {
        String string;
        C2182 c2182 = this.f13377;
        String simpleName = C2935.class.getSimpleName();
        Looper looper = c2182.f3357;
        ᵩʛʽ.ᵶᵷᵕ(looper, "Looper must not be null");
        C3664 c3664 = new C3664(looper, c0553, simpleName);
        String strM7992 = AbstractC3502.m7992();
        if (strM7992 == null) {
            string = "__PH_INTERNAL__NO_PROCESS__";
        } else {
            int length = strM7992.length() + 1;
            int iIdentityHashCode = System.identityHashCode(C2935.class);
            StringBuilder sb = new StringBuilder(length + String.valueOf(iIdentityHashCode).length());
            sb.append(strM7992);
            sb.append("|");
            sb.append(iIdentityHashCode);
            string = sb.toString();
        }
        C1570 c1570 = new C1570(c2182, string, c3664, 9);
        C2420 c2420 = C2420.f9450;
        C1002 c1002 = new C1002();
        c1002.f4435 = c3664;
        c1002.f4434 = c1570;
        c1002.f4432 = c2420;
        c1002.f4431 = new C0377[]{ˉᵜˆ.ᵝᵵᵺ};
        c1002.f4433 = false;
        C5395 c5395 = (C5395) ((C3664) c1002.f4435).f13652;
        ᵩʛʽ.ᵶᵷᵕ(c5395, "Key must not be null");
        C3664 c36642 = (C3664) c1002.f4435;
        C0377[] c0377Arr = (C0377[]) c1002.f4431;
        boolean z = c1002.f4433;
        C4699 c4699 = new C4699();
        c4699.f17374 = c1002;
        c4699.f17372 = c36642;
        c4699.f17375 = c0377Arr;
        c4699.f17373 = z;
        ˊʘ r3 = new ˊʘ(c1002, c5395);
        ᵩʛʽ.ᵶᵷᵕ((C5395) c36642.f13652, "Listener has already been released.");
        C2757 c2757 = c2182.f3359;
        c2757.getClass();
        C1353 c1353 = new C1353();
        C2562 c2562 = new C2562(new C2081(new C4842(c4699, r3), c1353), c2757.f10647.get(), c2182);
        HandlerC5094 handlerC5094 = c2757.f10656;
        handlerC5094.sendMessage(handlerC5094.obtainMessage(8, c2562));
        return m8182(c1353.f5582);
    }
}
