package defpackage;

/* renamed from: ﾞ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C5577 extends AbstractC2162 implements InterfaceC3759 {

    /* renamed from: ˀᵗᵝᵭ, reason: contains not printable characters */
    public /* synthetic */ Object f20919;

    /* renamed from: ᵡˎ, reason: contains not printable characters */
    public final /* synthetic */ InterfaceC3759 f20920;

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C5577(InterfaceC3759 interfaceC3759, InterfaceC4943 interfaceC4943, int i) {
        super(2, interfaceC4943);
        this.f20922 = i;
        this.f20920 = interfaceC3759;
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C5577(InterfaceC4943 interfaceC4943, InterfaceC3759 interfaceC3759) {
        super(2, interfaceC4943);
        this.f20922 = 1;
        this.f20920 = interfaceC3759;
    }

    @Override // defpackage.AbstractC1297
    /* renamed from: ˌʾˀ */
    public final InterfaceC4943 mo1245(InterfaceC4943 interfaceC4943, Object obj) {
        int i = this.f20922;
        InterfaceC3759 interfaceC3759 = this.f20920;
        switch (i) {
            case 0:
                C5577 c5577 = new C5577(interfaceC3759, interfaceC4943, 0);
                c5577.f20919 = obj;
                return c5577;
            case 1:
                C5577 c55772 = new C5577(interfaceC4943, interfaceC3759);
                c55772.f20919 = obj;
                return c55772;
            case 2:
                C5577 c55773 = new C5577(interfaceC3759, interfaceC4943, 2);
                c55773.f20919 = obj;
                return c55773;
            case 3:
                C5577 c55774 = new C5577(interfaceC3759, interfaceC4943, 3);
                c55774.f20919 = obj;
                return c55774;
            default:
                C5577 c55775 = new C5577(interfaceC3759, interfaceC4943, 4);
                c55775.f20919 = obj;
                return c55775;
        }
    }

    @Override // defpackage.InterfaceC3759
    /* renamed from: ᵯٴᵦ */
    public final Object mo1246(Object obj, Object obj2) {
        int i = this.f20922;
        C3637 c3637 = C3637.f13536;
        switch (i) {
            case 0:
                return ((C5577) mo1245((InterfaceC4943) obj2, (InterfaceC3042) obj)).mo1109(c3637);
            case 1:
                return ((C5577) mo1245((InterfaceC4943) obj2, (C3543) obj)).mo1109(c3637);
            case 2:
                return ((C5577) mo1245((InterfaceC4943) obj2, (C1173) obj)).mo1109(c3637);
            case 3:
                return ((C5577) mo1245((InterfaceC4943) obj2, (InterfaceC0320) obj)).mo1109(c3637);
            default:
                return ((C5577) mo1245((InterfaceC4943) obj2, (InterfaceC4079) obj)).mo1109(c3637);
        }
    }

    @Override // defpackage.AbstractC1297
    /* renamed from: ᵸʓᵠ */
    public final Object mo1109(Object obj) {
        int i = this.f20922;
        InterfaceC3759 interfaceC3759 = this.f20920;
        EnumC3346 enumC3346 = EnumC3346.f12524;
        InterfaceC4943 interfaceC4943 = null;
        switch (i) {
            case 0:
                int i2 = this.f20921;
                if (i2 != 0) {
                    if (i2 == 1) {
                        ʼٴ.ᵺᵠ(obj);
                        return obj;
                    }
                    ᵹˉᵞ.ᵳٴᵶ("call to 'resume' before 'invoke' with coroutine");
                    return null;
                }
                ʼٴ.ᵺᵠ(obj);
                InterfaceC3042 interfaceC3042 = (InterfaceC3042) this.f20919;
                this.f20921 = 1;
                Object objMo1246 = interfaceC3759.mo1246(interfaceC3042, this);
                return objMo1246 == enumC3346 ? enumC3346 : objMo1246;
            case 1:
                int i3 = this.f20921;
                if (i3 != 0) {
                    if (i3 == 1) {
                        ʼٴ.ᵺᵠ(obj);
                        return obj;
                    }
                    ᵹˉᵞ.ᵳٴᵶ("call to 'resume' before 'invoke' with coroutine");
                    return null;
                }
                ʼٴ.ᵺᵠ(obj);
                C3543 c3543 = (C3543) this.f20919;
                C5577 c5577 = new C5577(interfaceC3759, interfaceC4943, 0);
                this.f20921 = 1;
                Object objMo3186 = c3543.mo3186(c5577, this);
                return objMo3186 == enumC3346 ? enumC3346 : objMo3186;
            case 2:
                int i4 = this.f20921;
                if (i4 == 0) {
                    ʼٴ.ᵺᵠ(obj);
                    C1173 c1173 = (C1173) this.f20919;
                    this.f20921 = 1;
                    obj = interfaceC3759.mo1246(c1173, this);
                    if (obj == enumC3346) {
                        return enumC3346;
                    }
                } else {
                    if (i4 != 1) {
                        ᵹˉᵞ.ᵳٴᵶ("call to 'resume' before 'invoke' with coroutine");
                        return null;
                    }
                    ʼٴ.ᵺᵠ(obj);
                }
                C1173 c11732 = (C1173) obj;
                c11732.f4989.f12592.set(true);
                return c11732;
            case 3:
                int i5 = this.f20921;
                if (i5 == 0) {
                    ʼٴ.ᵺᵠ(obj);
                    InterfaceC0320 interfaceC0320 = (InterfaceC0320) this.f20919;
                    this.f20921 = 1;
                    if (interfaceC3759.mo1246(interfaceC0320, this) == enumC3346) {
                        return enumC3346;
                    }
                } else {
                    if (i5 != 1) {
                        ᵹˉᵞ.ᵳٴᵶ("call to 'resume' before 'invoke' with coroutine");
                        return null;
                    }
                    ʼٴ.ᵺᵠ(obj);
                }
                return C3637.f13536;
            default:
                int i6 = this.f20921;
                if (i6 != 0) {
                    if (i6 == 1) {
                        ʼٴ.ᵺᵠ(obj);
                        return obj;
                    }
                    ᵹˉᵞ.ᵳٴᵶ("call to 'resume' before 'invoke' with coroutine");
                    return null;
                }
                ʼٴ.ᵺᵠ(obj);
                InterfaceC4079 interfaceC4079 = (InterfaceC4079) this.f20919;
                this.f20921 = 1;
                Object objMo3183 = interfaceC4079.mo3183(EnumC2960.f11461, interfaceC3759, this);
                return objMo3183 == enumC3346 ? enumC3346 : objMo3183;
        }
    }
}
