package androidx.lifecycle;

import java.util.concurrent.CancellationException;
import p037.p099.AbstractC2210;
import p037.p099.AbstractC2213;
import p037.p099.C2221;
import p037.p099.InterfaceC2217;
import p037.p099.InterfaceC2219;
import p138.p176.p177.p242.p246.p251.C4303;
import p402.InterfaceC6540;
import p402.p405.InterfaceC6578;
import p402.p411.p413.C6635;

/* JADX INFO: loaded from: classes.dex */
@InterfaceC6540
public final class LifecycleCoroutineScopeImpl extends AbstractC2213 implements InterfaceC2217 {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final AbstractC2210 f944;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final InterfaceC6578 f945;

    public LifecycleCoroutineScopeImpl(AbstractC2210 abstractC2210, InterfaceC6578 interfaceC6578) {
        if (abstractC2210 == null) {
            C6635.m9824("lifecycle");
            throw null;
        }
        if (interfaceC6578 == null) {
            C6635.m9824("coroutineContext");
            throw null;
        }
        this.f944 = abstractC2210;
        this.f945 = interfaceC6578;
        if (((C2221) abstractC2210).f7160 == AbstractC2210.EnumC2212.DESTROYED) {
            C4303.m7112(interfaceC6578, (CancellationException) null, 1, (Object) null);
        }
    }

    @Override // p037.p099.InterfaceC2217
    /* JADX INFO: renamed from: ֏ */
    public void mo87(InterfaceC2219 interfaceC2219, AbstractC2210.EnumC2211 enumC2211) {
        if (interfaceC2219 == null) {
            C6635.m9824("source");
            throw null;
        }
        if (enumC2211 == null) {
            C6635.m9824("event");
            throw null;
        }
        if (((C2221) this.f944).f7160.compareTo(AbstractC2210.EnumC2212.DESTROYED) <= 0) {
            ((C2221) this.f944).f7159.remove(this);
            C4303.m7112(this.f945, (CancellationException) null, 1, (Object) null);
        }
    }

    @Override // p025.p026.InterfaceC1327
    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public InterfaceC6578 mo337() {
        return this.f945;
    }
}
