package defpackage;

import defpackage.dw7;
import kotlin.Metadata;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Le6a;", "<anonymous>", "()V"}, k = 3, mv = {2, 0, 0})
@DebugMetadata(c = "kotlinx.coroutines.flow.FlowKt__DelayKt$debounceInternal$1$3$1", f = "Delay.kt", i = {}, l = {226}, m = "invokeSuspend", n = {}, s = {})
@vx8
final class a83 extends SuspendLambda implements sq3<Continuation<? super e6a>, Object> {
    public int a;
    public final /* synthetic */ l43 b;
    public final /* synthetic */ dw7.h c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public a83(l43 l43Var, dw7.h hVar, Continuation continuation) {
        super(1, continuation);
        this.b = l43Var;
        this.c = hVar;
    }

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Continuation create(Continuation continuation) {
        return new a83(this.b, this.c, continuation);
    }

    @Override // defpackage.sq3
    public final Object invoke(Object obj) {
        return ((a83) create((Continuation) obj)).invokeSuspend(e6a.a);
    }

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Object invokeSuspend(Object obj) {
        ck1 ck1Var = ck1.a;
        int i = this.a;
        dw7.h hVar = this.c;
        if (i == 0) {
            s38.b(obj);
            Object obj2 = hVar.a;
            if (obj2 == kq6.a) {
                obj2 = null;
            }
            this.a = 1;
            if (this.b.emit(obj2, this) == ck1Var) {
                return ck1Var;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            s38.b(obj);
        }
        hVar.a = null;
        return e6a.a;
    }
}
