mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
137 lines
6.4 KiB
Java
137 lines
6.4 KiB
Java
package kotlin.sequences;
|
|
|
|
import androidx.exifinterface.media.ExifInterface;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlin.coroutines.jvm.internal.DebugMetadata;
|
|
import kotlin.coroutines.jvm.internal.RestrictedSuspendLambda;
|
|
import kotlin.jvm.functions.Function2;
|
|
import kotlin.jvm.functions.Function3;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX INFO: Add missing generic type declarations: [R] */
|
|
/* compiled from: _Sequences.kt */
|
|
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\b\u0012\u0004\u0012\u0002H\u00030\u0004H\u008a@"}, d2 = {"<anonymous>", "", ExifInterface.GPS_DIRECTION_TRUE, "R", "Lkotlin/sequences/SequenceScope;"}, k = 3, mv = {1, 9, 0}, xi = 48)
|
|
@DebugMetadata(c = "kotlin.sequences.SequencesKt___SequencesKt$runningFoldIndexed$1", f = "_Sequences.kt", i = {0, 1, 1, 1}, l = {2336, 2341}, m = "invokeSuspend", n = {"$this$sequence", "$this$sequence", "accumulator", "index"}, s = {"L$0", "L$0", "L$1", "I$0"})
|
|
/* loaded from: classes3.dex */
|
|
public final class SequencesKt___SequencesKt$runningFoldIndexed$1<R> extends RestrictedSuspendLambda implements Function2<SequenceScope<? super R>, Continuation<? super Unit>, Object> {
|
|
final /* synthetic */ R $initial;
|
|
final /* synthetic */ Function3<Integer, R, T, R> $operation;
|
|
final /* synthetic */ Sequence<T> $this_runningFoldIndexed;
|
|
int I$0;
|
|
private /* synthetic */ Object L$0;
|
|
Object L$1;
|
|
Object L$2;
|
|
int label;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public SequencesKt___SequencesKt$runningFoldIndexed$1(R r, Sequence<? extends T> sequence, Function3<? super Integer, ? super R, ? super T, ? extends R> function3, Continuation<? super SequencesKt___SequencesKt$runningFoldIndexed$1> continuation) {
|
|
super(2, continuation);
|
|
this.$initial = r;
|
|
this.$this_runningFoldIndexed = sequence;
|
|
this.$operation = function3;
|
|
}
|
|
|
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
|
SequencesKt___SequencesKt$runningFoldIndexed$1 sequencesKt___SequencesKt$runningFoldIndexed$1 = new SequencesKt___SequencesKt$runningFoldIndexed$1(this.$initial, this.$this_runningFoldIndexed, this.$operation, continuation);
|
|
sequencesKt___SequencesKt$runningFoldIndexed$1.L$0 = obj;
|
|
return sequencesKt___SequencesKt$runningFoldIndexed$1;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function2
|
|
public final Object invoke(SequenceScope<? super R> sequenceScope, Continuation<? super Unit> continuation) {
|
|
return ((SequencesKt___SequencesKt$runningFoldIndexed$1) create(sequenceScope, continuation)).invokeSuspend(Unit.INSTANCE);
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:9:0x0058 */
|
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.Object invokeSuspend(java.lang.Object r9) {
|
|
/*
|
|
r8 = this;
|
|
java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
|
int r1 = r8.label
|
|
r2 = 2
|
|
r3 = 1
|
|
if (r1 == 0) goto L30
|
|
if (r1 == r3) goto L28
|
|
if (r1 != r2) goto L20
|
|
int r1 = r8.I$0
|
|
java.lang.Object r3 = r8.L$2
|
|
java.util.Iterator r3 = (java.util.Iterator) r3
|
|
java.lang.Object r4 = r8.L$1
|
|
java.lang.Object r5 = r8.L$0
|
|
kotlin.sequences.SequenceScope r5 = (kotlin.sequences.SequenceScope) r5
|
|
kotlin.ResultKt.throwOnFailure(r9)
|
|
r9 = r4
|
|
r4 = r1
|
|
goto L52
|
|
L20:
|
|
java.lang.IllegalStateException r8 = new java.lang.IllegalStateException
|
|
java.lang.String r9 = "call to 'resume' before 'invoke' with coroutine"
|
|
r8.<init>(r9)
|
|
throw r8
|
|
L28:
|
|
java.lang.Object r1 = r8.L$0
|
|
kotlin.sequences.SequenceScope r1 = (kotlin.sequences.SequenceScope) r1
|
|
kotlin.ResultKt.throwOnFailure(r9)
|
|
goto L48
|
|
L30:
|
|
kotlin.ResultKt.throwOnFailure(r9)
|
|
java.lang.Object r9 = r8.L$0
|
|
r1 = r9
|
|
kotlin.sequences.SequenceScope r1 = (kotlin.sequences.SequenceScope) r1
|
|
R r9 = r8.$initial
|
|
r4 = r8
|
|
kotlin.coroutines.Continuation r4 = (kotlin.coroutines.Continuation) r4
|
|
r8.L$0 = r1
|
|
r8.label = r3
|
|
java.lang.Object r9 = r1.yield(r9, r4)
|
|
if (r9 != r0) goto L48
|
|
return r0
|
|
L48:
|
|
R r9 = r8.$initial
|
|
kotlin.sequences.Sequence<T> r3 = r8.$this_runningFoldIndexed
|
|
java.util.Iterator r3 = r3.iterator()
|
|
r4 = 0
|
|
r5 = r1
|
|
L52:
|
|
boolean r1 = r3.hasNext()
|
|
if (r1 == 0) goto L84
|
|
java.lang.Object r1 = r3.next()
|
|
kotlin.jvm.functions.Function3<java.lang.Integer, R, T, R> r6 = r8.$operation
|
|
int r7 = r4 + 1
|
|
if (r4 >= 0) goto L65
|
|
kotlin.collections.CollectionsKt.throwIndexOverflow()
|
|
L65:
|
|
java.lang.Integer r4 = kotlin.coroutines.jvm.internal.Boxing.boxInt(r4)
|
|
java.lang.Object r4 = r6.invoke(r4, r9, r1)
|
|
r9 = r8
|
|
kotlin.coroutines.Continuation r9 = (kotlin.coroutines.Continuation) r9
|
|
r8.L$0 = r5
|
|
r8.L$1 = r4
|
|
r8.L$2 = r3
|
|
r8.I$0 = r7
|
|
r8.label = r2
|
|
java.lang.Object r9 = r5.yield(r4, r9)
|
|
if (r9 != r0) goto L81
|
|
return r0
|
|
L81:
|
|
r9 = r4
|
|
r4 = r7
|
|
goto L52
|
|
L84:
|
|
kotlin.Unit r8 = kotlin.Unit.INSTANCE
|
|
return r8
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: kotlin.sequences.SequencesKt___SequencesKt$runningFoldIndexed$1.invokeSuspend(java.lang.Object):java.lang.Object");
|
|
}
|
|
}
|