package defpackage;

import java.util.concurrent.Callable;
import kotlin.Metadata;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;

/* JADX INFO: renamed from: lk1, 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*\u00020\u0001H\u008a@¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"R", "Lak1;", "Le6a;", "<anonymous>", "(Lak1;)V"}, k = 3, mv = {1, 8, 0})
@DebugMetadata(c = "androidx.room.CoroutinesRoom$Companion$execute$4$job$1", f = "CoroutinesRoom.kt", i = {}, l = {}, m = "invokeSuspend", n = {}, s = {})
final class C0612lk1 extends SuspendLambda implements gr3<ak1, Continuation<? super e6a>, Object> {
    public final /* synthetic */ Callable a;
    public final /* synthetic */ ts0 b;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0612lk1(Callable callable, ts0 ts0Var, Continuation continuation) {
        super(2, continuation);
        this.a = callable;
        this.b = ts0Var;
    }

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

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

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Object invokeSuspend(Object obj) {
        ts0 ts0Var = this.b;
        ck1 ck1Var = ck1.a;
        s38.b(obj);
        try {
            ts0Var.resumeWith(this.a.call());
        } catch (Throwable th) {
            ts0Var.resumeWith(s38.a(th));
        }
        return e6a.a;
    }
}
