package defpackage;

import androidx.media3.extractor.ts.TsExtractor;
import kotlin.Metadata;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;

/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lak1;", "", "<anonymous>", "(Lak1;)I"}, k = 3, mv = {2, 1, 0})
@DebugMetadata(c = "com.russhwolf.settings.coroutines.BlockingSuspendSettings$size$1", f = "BlockingConverters.kt", i = {}, l = {TsExtractor.TS_STREAM_TYPE_MHAS}, m = "invokeSuspend", n = {}, s = {})
final class hd0 extends SuspendLambda implements gr3<ak1, Continuation<? super Integer>, Object> {
    public int a;
    public final /* synthetic */ id0 b;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public hd0(id0 id0Var, Continuation continuation) {
        super(2, continuation);
        this.b = id0Var;
    }

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

    @Override // defpackage.gr3
    public final Object invoke(Object obj, Object obj2) {
        hd0 hd0Var = (hd0) create((ak1) obj, (Continuation) obj2);
        e6a e6aVar = e6a.a;
        hd0Var.invokeSuspend(e6aVar);
        return e6aVar;
    }

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