package defpackage;

/* renamed from: ːˊⁱʥ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1958 extends AbstractC2162 implements InterfaceC3759 {

    /* renamed from: ˀᵗᵝᵭ, reason: contains not printable characters */
    public final /* synthetic */ C0263 f7877;

    /* renamed from: ᵡⁱᵥ, reason: contains not printable characters */
    public int f7878;

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public final /* synthetic */ int f7879;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C1958(C0263 c0263, InterfaceC4943 interfaceC4943, int i) {
        super(2, interfaceC4943);
        this.f7879 = i;
        this.f7877 = c0263;
    }

    @Override // defpackage.AbstractC1297
    /* renamed from: ˌʾˀ */
    public final InterfaceC4943 mo1245(InterfaceC4943 interfaceC4943, Object obj) {
        int i = this.f7879;
        C0263 c0263 = this.f7877;
        switch (i) {
            case 0:
                return new C1958(c0263, interfaceC4943, 0);
            default:
                return new C1958(c0263, interfaceC4943, 1);
        }
    }

    @Override // defpackage.InterfaceC3759
    /* renamed from: ᵯٴᵦ */
    public final Object mo1246(Object obj, Object obj2) {
        int i = this.f7879;
        C3637 c3637 = C3637.f13536;
        InterfaceC0320 interfaceC0320 = (InterfaceC0320) obj;
        InterfaceC4943 interfaceC4943 = (InterfaceC4943) obj2;
        switch (i) {
        }
        return ((C1958) mo1245(interfaceC4943, interfaceC0320)).mo1109(c3637);
    }

    @Override // defpackage.AbstractC1297
    /* renamed from: ᵸʓᵠ */
    public final Object mo1109(Object obj) {
        int i = this.f7879;
        Object obj2 = C3637.f13536;
        Object obj3 = EnumC3346.f12524;
        C0263 c0263 = this.f7877;
        InterfaceC4943 interfaceC4943 = null;
        switch (i) {
            case 0:
                int i2 = this.f7878;
                if (i2 != 0) {
                    if (i2 == 1) {
                        ʼٴ.ᵺᵠ(obj);
                        return obj2;
                    }
                    ᵹˉᵞ.ᵳٴᵶ("call to 'resume' before 'invoke' with coroutine");
                    return null;
                }
                ʼٴ.ᵺᵠ(obj);
                C4934 c4934 = new C4934(c0263.f1835.mo1302(), new ᵭᵢᵺ(c0263, (InterfaceC4943) null), 1);
                C3618 c3618 = new C3618(3, c0263);
                this.f7878 = 1;
                return c4934.mo1332(c3618, this) == obj3 ? obj3 : obj2;
            default:
                int i3 = this.f7878;
                try {
                    if (i3 == 0) {
                        ʼٴ.ᵺᵠ(obj);
                        InterfaceC2715 interfaceC2715 = c0263.f1835;
                        C3053 c3053 = new C3053(c0263, interfaceC4943, 0);
                        this.f7878 = 1;
                        if (interfaceC2715.mo1303(c3053, this) == obj3) {
                            obj2 = obj3;
                        }
                    } else {
                        if (i3 != 1) {
                            ᵹˉᵞ.ᵳٴᵶ("call to 'resume' before 'invoke' with coroutine");
                            return null;
                        }
                        ʼٴ.ᵺᵠ(obj);
                    }
                    return obj2;
                } catch (Exception e) {
                    e.getMessage();
                    C1311 c1311 = c0263.f1844;
                    if (c1311 == null) {
                        c1311 = null;
                    }
                    c0263.f1845.getClass();
                    c0263.f1844 = C1311.m4034(c1311, null, C2103.m5692(), null, 5);
                    return obj2;
                }
        }
    }
}
