2021-08-25 07:02:36 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.l;
|
|
|
|
import c0.w.h.c;
|
|
|
|
import c0.w.i.a.e;
|
|
|
|
import c0.w.i.a.k;
|
|
|
|
import c0.z.d.m;
|
2021-08-25 07:02:36 +00:00
|
|
|
import com.discord.utilities.error.Error;
|
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.coroutines.Continuation;
|
|
|
|
import kotlin.jvm.functions.Function2;
|
|
|
|
/* compiled from: InviteJoinHelper.kt */
|
|
|
|
@e(c = "com.discord.widgets.guilds.invite.InviteJoinHelper$joinViaInvite$1", f = "InviteJoinHelper.kt", l = {}, m = "invokeSuspend")
|
|
|
|
public final class InviteJoinHelper$joinViaInvite$1 extends k implements Function2<Error, Continuation<? super Unit>, Object> {
|
|
|
|
public int label;
|
|
|
|
|
|
|
|
public InviteJoinHelper$joinViaInvite$1(Continuation continuation) {
|
|
|
|
super(2, continuation);
|
|
|
|
}
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
@Override // c0.w.i.a.a
|
2021-08-25 07:02:36 +00:00
|
|
|
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
|
|
|
m.checkNotNullParameter(continuation, "completion");
|
|
|
|
return new InviteJoinHelper$joinViaInvite$1(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(Error error, Continuation<? super Unit> continuation) {
|
|
|
|
return ((InviteJoinHelper$joinViaInvite$1) create(error, continuation)).invokeSuspend(Unit.a);
|
|
|
|
}
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
@Override // c0.w.i.a.a
|
2021-08-25 07:02:36 +00:00
|
|
|
public final Object invokeSuspend(Object obj) {
|
|
|
|
c.getCOROUTINE_SUSPENDED();
|
|
|
|
if (this.label == 0) {
|
|
|
|
l.throwOnFailure(obj);
|
|
|
|
return Unit.a;
|
|
|
|
}
|
|
|
|
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
|
|
|
}
|
|
|
|
}
|