CrackMe.apk
Download file
package kotlinx.coroutines.channels;
import kotlin.Metadata;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00010\u0002H@"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/channels/ProducerScope;"}, k = 3, mv = {1, 6, 0}, xi = 48)
@DebugMetadata(c = "kotlinx.coroutines.channels.TickerChannelsKt$ticker$3", f = "TickerChannels.kt", i = {}, l = {72, 73}, m = "invokeSuspend", n = {}, s = {})
/* compiled from: TickerChannels.kt */
final class TickerChannelsKt$ticker$3 extends SuspendLambda implements Function2<ProducerScope<? super Unit>, Continuation<? super Unit>, Object> {
final /* synthetic */ long $delayMillis;
final /* synthetic */ long $initialDelayMillis;
final /* synthetic */ TickerMode $mode;
private /* synthetic */ Object L$0;
int label;
@Metadata(k = 3, mv = {1, 6, 0}, xi = 48)
/* compiled from: TickerChannels.kt */
public /* synthetic */ class WhenMappings {
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
static {
int[] iArr = new int[TickerMode.values().length];
iArr[TickerMode.FIXED_PERIOD.ordinal()] = 1;
iArr[TickerMode.FIXED_DELAY.ordinal()] = 2;
$EnumSwitchMapping$0 = iArr;
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
TickerChannelsKt$ticker$3(TickerMode tickerMode, long j, long j2, Continuation<? super TickerChannelsKt$ticker$3> continuation) {
super(2, continuation);
this.$mode = tickerMode;
this.$delayMillis = j;
this.$initialDelayMillis = j2;
}
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
TickerChannelsKt$ticker$3 tickerChannelsKt$ticker$3 = new TickerChannelsKt$ticker$3(this.$mode, this.$delayMillis, this.$initialDelayMillis, continuation);
tickerChannelsKt$ticker$3.L$0 = obj;
return tickerChannelsKt$ticker$3;
}
public final Object invoke(ProducerScope<? super Unit> producerScope, Continuation<? super Unit> continuation) {
return ((TickerChannelsKt$ticker$3) create(producerScope, continuation)).invokeSuspend(Unit.INSTANCE);
}
public final Object invokeSuspend(Object obj) {
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
int i = this.label;
if (i == 0) {
ResultKt.throwOnFailure(obj);
ProducerScope producerScope = (ProducerScope) this.L$0;
int i2 = WhenMappings.$EnumSwitchMapping$0[this.$mode.ordinal()];
if (i2 == 1) {
long j = this.$delayMillis;
long j2 = this.$initialDelayMillis;
SendChannel channel = producerScope.getChannel();
this.label = 1;
if (TickerChannelsKt.fixedPeriodTicker(j, j2, channel, this) == coroutine_suspended) {
return coroutine_suspended;
}
} else if (i2 == 2) {
this.label = 2;
if (TickerChannelsKt.fixedDelayTicker(this.$delayMillis, this.$initialDelayMillis, producerScope.getChannel(), this) == coroutine_suspended) {
return coroutine_suspended;
}
}
} else if (i == 1 || i == 2) {
ResultKt.throwOnFailure(obj);
} else {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
return Unit.INSTANCE;
}
}
Download file