package p402.p405.p406;

import kotlin.TypeCastException;
import p138.p176.p177.p242.p246.p251.C4303;
import p402.p405.InterfaceC6575;
import p402.p405.p407.p408.AbstractC6596;
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 C6587 extends AbstractC6596 {

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C6587(InterfaceC6575 interfaceC6575, InterfaceC6575 interfaceC65752, InterfaceC6618 interfaceC6618, Object obj) {
        super(interfaceC65752);
        this.f19364 = interfaceC6618;
        this.f19365 = obj;
    }

    @Override // p402.p405.p407.p408.AbstractC6589
    /* JADX INFO: renamed from: ށ */
    public Object mo839(Object obj) {
        int i = this.f19363;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("This coroutine had already completed".toString());
            }
            this.f19363 = 2;
            C4303.m7198(obj);
            return obj;
        }
        this.f19363 = 1;
        C4303.m7198(obj);
        InterfaceC6618 interfaceC6618 = this.f19364;
        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.f19365, this);
    }
}
