discord-jadx/app/src/main/java/com/discord/stores/StoreChangeLog$handleConnec...

67 lines
2.8 KiB
Java

package com.discord.stores;
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 d0.z.d.o;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;
/* compiled from: StoreChangeLog.kt */
@e(c = "com.discord.stores.StoreChangeLog$handleConnectionOpen$1", f = "StoreChangeLog.kt", l = {}, m = "invokeSuspend")
public final class StoreChangeLog$handleConnectionOpen$1 extends k implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
public int label;
public final /* synthetic */ StoreChangeLog this$0;
/* compiled from: StoreChangeLog.kt */
/* renamed from: com.discord.stores.StoreChangeLog$handleConnectionOpen$1$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ StoreChangeLog$handleConnectionOpen$1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreChangeLog$handleConnectionOpen$1 storeChangeLog$handleConnectionOpen$1) {
super(0);
this.this$0 = storeChangeLog$handleConnectionOpen$1;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
this.this$0.this$0.handlePostConnectionOpen();
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreChangeLog$handleConnectionOpen$1(StoreChangeLog storeChangeLog, Continuation continuation) {
super(2, continuation);
this.this$0 = storeChangeLog;
}
@Override // d0.w.h.a.a
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
m.checkNotNullParameter(continuation, "completion");
return new StoreChangeLog$handleConnectionOpen$1(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 ((StoreChangeLog$handleConnectionOpen$1) 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);
StoreChangeLog.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this));
return Unit.a;
}
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
}