package p402.p405.p406;

import kotlin.TypeCastException;
import p138.p176.p177.p242.p246.p251.C4303;
import p402.p405.InterfaceC6575;
import p402.p405.InterfaceC6578;
import p402.p405.p407.p408.AbstractC6591;
import p402.p411.p412.InterfaceC6618;
import p402.p411.p413.C6649;

/* JADX INFO: renamed from: ގ.ތ.އ.ހ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C6588 extends AbstractC6591 {

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public int f19366;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public final /* synthetic */ InterfaceC6618 f19367;

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public final /* synthetic */ Object f19368;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C6588(InterfaceC6575 interfaceC6575, InterfaceC6578 interfaceC6578, InterfaceC6575 interfaceC65752, InterfaceC6578 interfaceC65782, InterfaceC6618 interfaceC6618, Object obj) {
        super(interfaceC65752, interfaceC65782);
        this.f19367 = interfaceC6618;
        this.f19368 = obj;
    }

    @Override // p402.p405.p407.p408.AbstractC6589
    /* JADX INFO: renamed from: ށ */
    public Object mo839(Object obj) {
        int i = this.f19366;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("This coroutine had already completed".toString());
            }
            this.f19366 = 2;
            C4303.m7198(obj);
            return obj;
        }
        this.f19366 = 1;
        C4303.m7198(obj);
        InterfaceC6618 interfaceC6618 = this.f19367;
        if (interfaceC6618 == null) {
            throw new TypeCastException("null cannot be cast to non-null type (R, kotlin.coroutines.Continuation<T>) -> kotlin.Any?");
        }
        C6649.m9833(interfaceC6618, 2);
        return interfaceC6618.mo838(this.f19368, this);
    }
}
