package i4;

import B4.AbstractC0005a;
import a.AbstractC0212a;
import h4.h;
import j4.AbstractC0801c;
import kotlin.jvm.functions.Function2;
import r4.AbstractC0983h;
import r4.AbstractC0995t;

/* JADX INFO: renamed from: i4.c, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0645c extends AbstractC0801c {

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

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

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final /* synthetic */ AbstractC0005a f6677m;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0645c(AbstractC0005a abstractC0005a, h hVar, Function2 function2, AbstractC0005a abstractC0005a2) {
        super(abstractC0005a, hVar);
        this.f6676l = function2;
        this.f6677m = abstractC0005a2;
    }

    @Override // j4.AbstractC0799a
    public final Object invokeSuspend(Object obj) throws Throwable {
        int i = this.f6675k;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("This coroutine had already completed");
            }
            this.f6675k = 2;
            AbstractC0212a.H(obj);
            return obj;
        }
        this.f6675k = 1;
        AbstractC0212a.H(obj);
        Function2 function2 = this.f6676l;
        AbstractC0983h.c("null cannot be cast to non-null type kotlin.Function2<R of kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt.createCoroutineUnintercepted, kotlin.coroutines.Continuation<T of kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt.createCoroutineUnintercepted>, kotlin.Any?>", function2);
        AbstractC0995t.b(2, function2);
        return function2.invoke(this.f6677m, this);
    }
}
