159 lines
		
	
	
		
			6.6 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			159 lines
		
	
	
		
			6.6 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
| package kotlin.text;
 | |
| 
 | |
| 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.sequences.SequenceScope;
 | |
| 
 | |
| /* compiled from: Regex.kt */
 | |
| @Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0010\u0002\n\u0000\u0010\u0003\u001a\u00020\u0002*\b\u0012\u0004\u0012\u00020\u00010\u0000H\u008a@"}, d2 = {"Lkotlin/sequences/SequenceScope;", "", "", "<anonymous>"}, k = 3, mv = {1, 8, 0})
 | |
| @DebugMetadata(c = "kotlin.text.Regex$splitToSequence$1", f = "Regex.kt", i = {1, 1, 1}, l = {276, 284, 288}, m = "invokeSuspend", n = {"$this$sequence", "matcher", "splitCount"}, s = {"L$0", "L$1", "I$0"})
 | |
| /* loaded from: classes.dex */
 | |
| final class Regex$splitToSequence$1 extends RestrictedSuspendLambda implements Function2<SequenceScope<? super String>, Continuation<? super Unit>, Object> {
 | |
|     final /* synthetic */ CharSequence $input;
 | |
|     final /* synthetic */ int $limit;
 | |
|     int I$0;
 | |
|     private /* synthetic */ Object L$0;
 | |
|     Object L$1;
 | |
|     int label;
 | |
|     final /* synthetic */ Regex this$0;
 | |
| 
 | |
|     /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
 | |
|     Regex$splitToSequence$1(Regex regex, CharSequence charSequence, int i, Continuation<? super Regex$splitToSequence$1> continuation) {
 | |
|         super(2, continuation);
 | |
|         this.this$0 = regex;
 | |
|         this.$input = charSequence;
 | |
|         this.$limit = i;
 | |
|     }
 | |
| 
 | |
|     @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
 | |
|     public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
 | |
|         Regex$splitToSequence$1 regex$splitToSequence$1 = new Regex$splitToSequence$1(this.this$0, this.$input, this.$limit, continuation);
 | |
|         regex$splitToSequence$1.L$0 = obj;
 | |
|         return regex$splitToSequence$1;
 | |
|     }
 | |
| 
 | |
|     @Override // kotlin.jvm.functions.Function2
 | |
|     public final Object invoke(SequenceScope<? super String> sequenceScope, Continuation<? super Unit> continuation) {
 | |
|         return ((Regex$splitToSequence$1) create(sequenceScope, continuation)).invokeSuspend(Unit.INSTANCE);
 | |
|     }
 | |
| 
 | |
|     /* JADX WARN: Removed duplicated region for block: B:15:0x0080  */
 | |
|     /* JADX WARN: Removed duplicated region for block: B:19:0x0075 A[RETURN] */
 | |
|     /* JADX WARN: Removed duplicated region for block: B:22:0x00a4 A[RETURN] */
 | |
|     /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:18:0x0073 -> B:13:0x0076). Please report as a decompilation issue!!! */
 | |
|     @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 r11) {
 | |
|         /*
 | |
|             r10 = this;
 | |
|             java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
 | |
|             int r1 = r10.label
 | |
|             r2 = 3
 | |
|             r3 = 2
 | |
|             r4 = 1
 | |
|             if (r1 == 0) goto L33
 | |
|             if (r1 == r4) goto L2e
 | |
|             if (r1 == r3) goto L1e
 | |
|             if (r1 != r2) goto L16
 | |
|             kotlin.ResultKt.throwOnFailure(r11)
 | |
|             goto La5
 | |
|         L16:
 | |
|             java.lang.IllegalStateException r11 = new java.lang.IllegalStateException
 | |
|             java.lang.String r0 = "call to 'resume' before 'invoke' with coroutine"
 | |
|             r11.<init>(r0)
 | |
|             throw r11
 | |
|         L1e:
 | |
|             int r1 = r10.I$0
 | |
|             java.lang.Object r5 = r10.L$1
 | |
|             java.util.regex.Matcher r5 = (java.util.regex.Matcher) r5
 | |
|             java.lang.Object r6 = r10.L$0
 | |
|             kotlin.sequences.SequenceScope r6 = (kotlin.sequences.SequenceScope) r6
 | |
|             kotlin.ResultKt.throwOnFailure(r11)
 | |
|             r7 = r10
 | |
|             r11 = r5
 | |
|             goto L76
 | |
|         L2e:
 | |
|             kotlin.ResultKt.throwOnFailure(r11)
 | |
|             goto Lba
 | |
|         L33:
 | |
|             kotlin.ResultKt.throwOnFailure(r11)
 | |
|             java.lang.Object r11 = r10.L$0
 | |
|             kotlin.sequences.SequenceScope r11 = (kotlin.sequences.SequenceScope) r11
 | |
|             kotlin.text.Regex r1 = r10.this$0
 | |
|             java.util.regex.Pattern r1 = kotlin.text.Regex.access$getNativePattern$p(r1)
 | |
|             java.lang.CharSequence r5 = r10.$input
 | |
|             java.util.regex.Matcher r1 = r1.matcher(r5)
 | |
|             int r5 = r10.$limit
 | |
|             if (r5 == r4) goto La8
 | |
|             boolean r5 = r1.find()
 | |
|             if (r5 != 0) goto L51
 | |
|             goto La8
 | |
|         L51:
 | |
|             r5 = 0
 | |
|             r7 = r10
 | |
|             r6 = r11
 | |
|             r11 = r1
 | |
|             r1 = 0
 | |
|         L56:
 | |
|             java.lang.CharSequence r8 = r7.$input
 | |
|             int r9 = r11.start()
 | |
|             java.lang.CharSequence r5 = r8.subSequence(r5, r9)
 | |
|             java.lang.String r5 = r5.toString()
 | |
|             r8 = r7
 | |
|             kotlin.coroutines.Continuation r8 = (kotlin.coroutines.Continuation) r8
 | |
|             r7.L$0 = r6
 | |
|             r7.L$1 = r11
 | |
|             r7.I$0 = r1
 | |
|             r7.label = r3
 | |
|             java.lang.Object r5 = r6.yield(r5, r8)
 | |
|             if (r5 != r0) goto L76
 | |
|             return r0
 | |
|         L76:
 | |
|             int r5 = r11.end()
 | |
|             int r1 = r1 + r4
 | |
|             int r8 = r7.$limit
 | |
|             int r8 = r8 - r4
 | |
|             if (r1 == r8) goto L86
 | |
|             boolean r8 = r11.find()
 | |
|             if (r8 != 0) goto L56
 | |
|         L86:
 | |
|             java.lang.CharSequence r11 = r7.$input
 | |
|             int r1 = r11.length()
 | |
|             java.lang.CharSequence r11 = r11.subSequence(r5, r1)
 | |
|             java.lang.String r11 = r11.toString()
 | |
|             r1 = r7
 | |
|             kotlin.coroutines.Continuation r1 = (kotlin.coroutines.Continuation) r1
 | |
|             r3 = 0
 | |
|             r7.L$0 = r3
 | |
|             r7.L$1 = r3
 | |
|             r7.label = r2
 | |
|             java.lang.Object r11 = r6.yield(r11, r1)
 | |
|             if (r11 != r0) goto La5
 | |
|             return r0
 | |
|         La5:
 | |
|             kotlin.Unit r11 = kotlin.Unit.INSTANCE
 | |
|             return r11
 | |
|         La8:
 | |
|             java.lang.CharSequence r1 = r10.$input
 | |
|             java.lang.String r1 = r1.toString()
 | |
|             r2 = r10
 | |
|             kotlin.coroutines.Continuation r2 = (kotlin.coroutines.Continuation) r2
 | |
|             r10.label = r4
 | |
|             java.lang.Object r11 = r11.yield(r1, r2)
 | |
|             if (r11 != r0) goto Lba
 | |
|             return r0
 | |
|         Lba:
 | |
|             kotlin.Unit r11 = kotlin.Unit.INSTANCE
 | |
|             return r11
 | |
|         */
 | |
|         throw new UnsupportedOperationException("Method not decompiled: kotlin.text.Regex$splitToSequence$1.invokeSuspend(java.lang.Object):java.lang.Object");
 | |
|     }
 | |
| }
 |