package W;

import a.AbstractC0212a;
import d4.C0550i;
import i4.EnumC0643a;
import j4.AbstractC0806h;
import kotlin.jvm.functions.Function2;

/* JADX INFO: renamed from: W.o, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0201o extends AbstractC0806h implements Function2 {

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public int f3181k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final /* synthetic */ O f3182l;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0201o(O o5, h4.c cVar) {
        super(2, cVar);
        this.f3182l = o5;
    }

    @Override // j4.AbstractC0799a
    public final h4.c create(Object obj, h4.c cVar) {
        return new C0201o(this.f3182l, cVar);
    }

    @Override // kotlin.jvm.functions.Function2
    public final Object invoke(Object obj, Object obj2) {
        return ((C0201o) create((E4.e) obj, (h4.c) obj2)).invokeSuspend(C0550i.f6143a);
    }

    @Override // j4.AbstractC0799a
    public final Object invokeSuspend(Object obj) throws Throwable {
        EnumC0643a enumC0643a = EnumC0643a.f6670k;
        int i = this.f3181k;
        if (i == 0) {
            AbstractC0212a.H(obj);
            this.f3181k = 1;
            if (O.d(this.f3182l, this) == enumC0643a) {
                return enumC0643a;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC0212a.H(obj);
        }
        return C0550i.f6143a;
    }
}
