package i4;

import B4.AbstractC0005a;
import a.AbstractC0212a;
import j4.AbstractC0805g;
import kotlin.jvm.functions.Function2;
import r4.AbstractC0983h;
import r4.AbstractC0995t;

/* JADX INFO: renamed from: i4.b, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0644b extends AbstractC0805g {

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

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

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

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

    @Override // j4.AbstractC0799a
    public final Object invokeSuspend(Object obj) throws Throwable {
        int i = this.f6672k;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("This coroutine had already completed");
            }
            this.f6672k = 2;
            AbstractC0212a.H(obj);
            return obj;
        }
        this.f6672k = 1;
        AbstractC0212a.H(obj);
        Function2 function2 = this.f6673l;
        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.f6674m, this);
    }
}
