package defpackage;

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

/* JADX INFO: renamed from: ou8, reason: from Kotlin metadata and case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u0002\"\u0004\b\u0000\u0010\u0000*\b\u0012\u0004\u0012\u00028\u00000\u0001H\u008a@¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"T", "Ll43;", "Le6a;", "<anonymous>", "(Ll43;)V"}, k = 3, mv = {1, 5, 1})
@DebugMetadata(c = "androidx.datastore.core.SingleProcessDataStore$data$1", f = "SingleProcessDataStore.kt", i = {}, l = {117}, m = "invokeSuspend", n = {}, s = {})
final class C0647ou8 extends SuspendLambda implements gr3<l43<Object>, Continuation<? super e6a>, Object> {
    public int a;
    public /* synthetic */ Object b;
    public final /* synthetic */ gu8 c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0647ou8(gu8 gu8Var, Continuation continuation) {
        super(2, continuation);
        this.c = gu8Var;
    }

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

    @Override // defpackage.gr3
    public final Object invoke(Object obj, Object obj2) {
        return ((C0647ou8) create((l43) obj, (Continuation) obj2)).invokeSuspend(e6a.a);
    }

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Object invokeSuspend(Object obj) {
        gu8 gu8Var = this.c;
        ig6 ig6Var = gu8Var.g;
        ck1 ck1Var = ck1.a;
        int i = this.a;
        if (i == 0) {
            s38.b(obj);
            l43 l43Var = (l43) this.b;
            l29 l29Var = (l29) ig6Var.getValue();
            if (!(l29Var instanceof xp1)) {
                gu8Var.i.a(new gu8.b.a(l29Var));
            }
            nu8 nu8Var = new nu8(new z93((cs3) ig6Var, new C0603ku8(l29Var, null)));
            this.a = 1;
            if (k63.i(nu8Var, l43Var, this) == ck1Var) {
                return ck1Var;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            s38.b(obj);
        }
        return e6a.a;
    }
}
