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: renamed from: m83, reason: from Kotlin metadata and case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\u0014\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000*\u00020\u00012\f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00028\u00000\u0002H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"T", "Lak1;", "Ll43;", "downstream", "Le6a;", "<anonymous>", "(Lak1;Ll43;)V"}, k = 3, mv = {2, 0, 0})
@DebugMetadata(c = "kotlinx.coroutines.flow.FlowKt__DelayKt$sample$2", f = "Delay.kt", i = {0, 0, 0, 0}, l = {412}, m = "invokeSuspend", n = {"downstream", "values", "lastValue", "ticker"}, s = {"L$0", "L$1", "L$2", "L$3"})
@vx8
final class C0618m83 extends SuspendLambda implements ir3<ak1, l43<Object>, Continuation<? super e6a>, Object> {
    public dw7.h a;
    public bv7 b;
    public int c;
    public /* synthetic */ Object d;
    public /* synthetic */ Object e;

    @Override // defpackage.ir3
    public final Object invoke(Object obj, Object obj2, Object obj3) {
        throw null;
    }

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Object invokeSuspend(Object obj) {
        ck1 ck1Var = ck1.a;
        int i = this.c;
        if (i == 0) {
            s38.b(obj);
            throw null;
        }
        if (i != 1) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        bv7 bv7Var = this.b;
        dw7.h hVar = this.a;
        bv7 bv7Var2 = (bv7) this.e;
        l43 l43Var = (l43) this.d;
        s38.b(obj);
        while (hVar.a != kq6.c) {
            if8 if8Var = new if8(getB());
            if8Var.j(bv7Var2.o(), new h83(hVar, bv7Var, null));
            if8Var.j(bv7Var.j(), new i83(l43Var, hVar, null));
            this.d = l43Var;
            this.e = bv7Var2;
            this.a = hVar;
            this.b = bv7Var;
            this.c = 1;
            if (if8Var.g(this) == ck1Var) {
                return ck1Var;
            }
        }
        return e6a.a;
    }
}
