package defpackage;

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\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u008a@¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lak1;", "Le6a;", "<anonymous>", "(Lak1;)V"}, k = 3, mv = {1, 8, 0})
@DebugMetadata(c = "com.google.firebase.sessions.settings.SettingsCache$1", f = "SettingsCache.kt", i = {}, l = {46}, m = "invokeSuspend", n = {}, s = {})
final class kn8 extends SuspendLambda implements gr3<ak1, Continuation<? super e6a>, Object> {
    public ln8 a;
    public int b;
    public final /* synthetic */ ln8 c;

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

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

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

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Object invokeSuspend(Object obj) {
        ln8 ln8Var;
        ck1 ck1Var = ck1.a;
        int i = this.b;
        if (i == 0) {
            s38.b(obj);
            ln8 ln8Var2 = this.c;
            j43 j43VarB = ln8Var2.a.getD();
            this.a = ln8Var2;
            this.b = 1;
            Object objK = k63.k(j43VarB, this);
            if (objK == ck1Var) {
                return ck1Var;
            }
            ln8Var = ln8Var2;
            obj = objK;
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            ln8Var = this.a;
            s38.b(obj);
        }
        ln8.a(ln8Var, new lf6(wo5.o(((kg7) obj).a()), true));
        return e6a.a;
    }
}
