discord-jadx/app/src/main/java/androidx/lifecycle/EmittedSource$disposeNow$2....

47 lines
1.9 KiB
Java

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 kotlinx.coroutines.CoroutineScope;
/* compiled from: CoroutineLiveData.kt */
@e(c = "androidx.lifecycle.EmittedSource$disposeNow$2", f = "CoroutineLiveData.kt", l = {}, m = "invokeSuspend")
public final class EmittedSource$disposeNow$2 extends k implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
public int label;
public final /* synthetic */ EmittedSource this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public EmittedSource$disposeNow$2(EmittedSource emittedSource, Continuation continuation) {
super(2, continuation);
this.this$0 = emittedSource;
}
@Override // d0.w.h.a.a
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
m.checkNotNullParameter(continuation, "completion");
return new EmittedSource$disposeNow$2(this.this$0, continuation);
}
/* 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(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
return ((EmittedSource$disposeNow$2) create(coroutineScope, continuation)).invokeSuspend(Unit.a);
}
@Override // d0.w.h.a.a
public final Object invokeSuspend(Object obj) {
c.getCOROUTINE_SUSPENDED();
if (this.label == 0) {
l.throwOnFailure(obj);
EmittedSource.access$removeSource(this.this$0);
return Unit.a;
}
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
}