package androidx.lifecycle; import d0.l; import d0.w.g.c; import d0.w.h.a.e; import d0.w.h.a.k; import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; import s.a.a2.b; /* compiled from: FlowLiveData.kt */ @e(c = "androidx.lifecycle.FlowLiveDataConversions$asLiveData$1", f = "FlowLiveData.kt", l = {149}, m = "invokeSuspend") public final class FlowLiveDataConversions$asLiveData$1 extends k implements Function2, Continuation, Object> { public final /* synthetic */ b $this_asLiveData; private /* synthetic */ Object L$0; public int label; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public FlowLiveDataConversions$asLiveData$1(b bVar, Continuation continuation) { super(2, continuation); this.$this_asLiveData = bVar; } @Override // d0.w.h.a.a public final Continuation create(Object obj, Continuation continuation) { m.checkNotNullParameter(continuation, "completion"); FlowLiveDataConversions$asLiveData$1 flowLiveDataConversions$asLiveData$1 = new FlowLiveDataConversions$asLiveData$1(this.$this_asLiveData, continuation); flowLiveDataConversions$asLiveData$1.L$0 = obj; return flowLiveDataConversions$asLiveData$1; } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // kotlin.jvm.functions.Function2 public final Object invoke(Object obj, Continuation continuation) { return ((FlowLiveDataConversions$asLiveData$1) create(obj, continuation)).invokeSuspend(Unit.a); } @Override // d0.w.h.a.a public final Object invokeSuspend(Object obj) { Object coroutine_suspended = c.getCOROUTINE_SUSPENDED(); int i = this.label; if (i == 0) { l.throwOnFailure(obj); b bVar = this.$this_asLiveData; FlowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$collect$1 flowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$collect$1 = new FlowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$collect$1((LiveDataScope) this.L$0); this.label = 1; if (bVar.a(flowLiveDataConversions$asLiveData$1$invokeSuspend$$inlined$collect$1, this) == coroutine_suspended) { return coroutine_suspended; } } else if (i == 1) { l.throwOnFailure(obj); } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } return Unit.a; } }