@doordeck/doordeck-headless-sdk 0.114.0 → 0.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kermit-kermit-core.js +59 -58
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1899 -1681
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +6 -6
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +30 -11
- package/kotlin/doordeck-sdk.d.ts +1576 -290
- package/kotlin/doordeck-sdk.js +6395 -6373
- package/kotlin/kotlin-kotlin-stdlib.js +590 -719
- package/kotlin/kotlinx-atomicfu.js +5 -5
- package/kotlin/kotlinx-coroutines-core.js +246 -243
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +12 -12
- package/kotlin/kotlinx-io-kotlinx-io-core.js +104 -104
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +126 -117
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1216 -1214
- package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js → ktor-ktor-client-auth.js} +283 -286
- package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js → ktor-ktor-client-content-negotiation.js} +169 -169
- package/kotlin/{ktor-ktor-client-ktor-client-core.js → ktor-ktor-client-core.js} +2515 -2518
- package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js → ktor-ktor-client-logging.js} +926 -831
- package/kotlin/{ktor-ktor-shared-ktor-events.js → ktor-ktor-events.js} +9 -9
- package/kotlin/{ktor-ktor-http-ktor-http-cio.js → ktor-ktor-http-cio.js} +371 -370
- package/kotlin/ktor-ktor-http.js +867 -952
- package/kotlin/ktor-ktor-io.js +389 -411
- package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js → ktor-ktor-serialization-kotlinx-json.js} +7 -7
- package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js → ktor-ktor-serialization-kotlinx.js} +150 -150
- package/kotlin/{ktor-ktor-shared-ktor-serialization.js → ktor-ktor-serialization.js} +75 -75
- package/kotlin/ktor-ktor-utils.js +117 -92
- package/kotlin/{ktor-ktor-shared-ktor-websockets.js → ktor-ktor-websockets.js} +52 -52
- package/package.json +3 -3
- /package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js → ktor-ktor-client-encoding.js} +0 -0
- /package/kotlin/{ktor-ktor-shared-ktor-sse.js → ktor-ktor-sse.js} +0 -0
- /package/kotlin/{ktor-ktor-shared-ktor-websocket-serialization.js → ktor-ktor-websocket-serialization.js} +0 -0
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.vb;
|
|
7
|
+
var THROW_CCE = kotlin_kotlin.$_$.vf;
|
|
8
8
|
var Continuation = kotlin_kotlin.$_$.p9;
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ta;
|
|
10
10
|
var VOID = kotlin_kotlin.$_$.h;
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
11
|
+
var toString = kotlin_kotlin.$_$.zb;
|
|
12
12
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
|
|
13
|
-
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.
|
|
13
|
+
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.xg;
|
|
14
14
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
15
15
|
var Companion_instance = kotlin_kotlin.$_$.f5;
|
|
16
16
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.b3;
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
var copyToArray = kotlin_kotlin.$_$.v6;
|
|
21
21
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f9;
|
|
22
22
|
var emptyList = kotlin_kotlin.$_$.z6;
|
|
23
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
23
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.va;
|
|
24
24
|
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.s4;
|
|
25
25
|
var Key_instance = kotlin_kotlin.$_$.r4;
|
|
26
|
-
var equals = kotlin_kotlin.$_$.
|
|
26
|
+
var equals = kotlin_kotlin.$_$.ma;
|
|
27
27
|
var createCoroutineUnintercepted = kotlin_kotlin.$_$.h9;
|
|
28
28
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
29
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
30
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
29
|
+
var isInterface = kotlin_kotlin.$_$.ib;
|
|
30
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.xa;
|
|
31
31
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.n2;
|
|
32
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
33
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
34
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
32
|
+
var toString_0 = kotlin_kotlin.$_$.yg;
|
|
33
|
+
var initMetadataForObject = kotlin_kotlin.$_$.za;
|
|
34
|
+
var hashCode = kotlin_kotlin.$_$.sa;
|
|
35
35
|
var atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.b;
|
|
36
36
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
37
37
|
var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.c3;
|
|
38
38
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.e3;
|
|
39
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
39
|
+
var createFailure = kotlin_kotlin.$_$.mg;
|
|
40
40
|
var AbstractCoroutineContextKey = kotlin_kotlin.$_$.l9;
|
|
41
41
|
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.k9;
|
|
42
42
|
var get = kotlin_kotlin.$_$.m9;
|
|
43
43
|
var minusKey = kotlin_kotlin.$_$.n9;
|
|
44
44
|
var ContinuationInterceptor = kotlin_kotlin.$_$.o9;
|
|
45
45
|
var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.l2;
|
|
46
|
-
var addSuppressed = kotlin_kotlin.$_$.
|
|
47
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
48
|
-
var Enum = kotlin_kotlin.$_$.
|
|
46
|
+
var addSuppressed = kotlin_kotlin.$_$.ig;
|
|
47
|
+
var getStringHashCode = kotlin_kotlin.$_$.ra;
|
|
48
|
+
var Enum = kotlin_kotlin.$_$.kf;
|
|
49
49
|
var startCoroutine = kotlin_kotlin.$_$.w9;
|
|
50
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
51
|
-
var Long = kotlin_kotlin.$_$.
|
|
50
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ug;
|
|
51
|
+
var Long = kotlin_kotlin.$_$.pf;
|
|
52
52
|
var ArrayDeque_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
53
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
53
|
+
var RuntimeException = kotlin_kotlin.$_$.uf;
|
|
54
54
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.k2;
|
|
55
55
|
var captureStack = kotlin_kotlin.$_$.da;
|
|
56
|
-
var Error_0 = kotlin_kotlin.$_$.
|
|
56
|
+
var Error_0 = kotlin_kotlin.$_$.lf;
|
|
57
57
|
var Error_init_$Init$ = kotlin_kotlin.$_$.l1;
|
|
58
58
|
var Element = kotlin_kotlin.$_$.t9;
|
|
59
59
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
@@ -65,32 +65,32 @@
|
|
|
65
65
|
var fold = kotlin_kotlin.$_$.q9;
|
|
66
66
|
var minusKey_0 = kotlin_kotlin.$_$.s9;
|
|
67
67
|
var anyToString = kotlin_kotlin.$_$.aa;
|
|
68
|
-
var UnsupportedOperationException = kotlin_kotlin.$_$.
|
|
68
|
+
var UnsupportedOperationException = kotlin_kotlin.$_$.hg;
|
|
69
69
|
var atomicfu$AtomicRefArray$ofNulls = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
70
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
71
|
-
var toLong = kotlin_kotlin.$_$.
|
|
70
|
+
var ensureNotNull = kotlin_kotlin.$_$.ng;
|
|
71
|
+
var toLong = kotlin_kotlin.$_$.xb;
|
|
72
72
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
73
73
|
var atomic$long$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.c;
|
|
74
74
|
var listOf = kotlin_kotlin.$_$.w7;
|
|
75
75
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.p;
|
|
76
76
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.e2;
|
|
77
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
78
|
-
var last = kotlin_kotlin.$_$.
|
|
77
|
+
var compareTo = kotlin_kotlin.$_$.ka;
|
|
78
|
+
var last = kotlin_kotlin.$_$.ld;
|
|
79
79
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
|
|
80
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
81
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
80
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
|
|
81
|
+
var IllegalStateException = kotlin_kotlin.$_$.of;
|
|
82
82
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.z1;
|
|
83
|
-
var NoSuchElementException = kotlin_kotlin.$_$.
|
|
83
|
+
var NoSuchElementException = kotlin_kotlin.$_$.qf;
|
|
84
84
|
var NoSuchElementException_init_$Init$ = kotlin_kotlin.$_$.f2;
|
|
85
85
|
var getKClass = kotlin_kotlin.$_$.f;
|
|
86
|
-
var Unit = kotlin_kotlin.$_$.
|
|
87
|
-
var Exception = kotlin_kotlin.$_$.
|
|
86
|
+
var Unit = kotlin_kotlin.$_$.gg;
|
|
87
|
+
var Exception = kotlin_kotlin.$_$.mf;
|
|
88
88
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.q1;
|
|
89
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
90
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
89
|
+
var defineProp = kotlin_kotlin.$_$.la;
|
|
90
|
+
var toLongOrNull = kotlin_kotlin.$_$.oe;
|
|
91
91
|
var createCoroutineUnintercepted_0 = kotlin_kotlin.$_$.g9;
|
|
92
92
|
var startCoroutineUninterceptedOrReturnNonGeneratorVersion = kotlin_kotlin.$_$.j9;
|
|
93
|
-
var isSuspendFunction = kotlin_kotlin.$_$.
|
|
93
|
+
var isSuspendFunction = kotlin_kotlin.$_$.lb;
|
|
94
94
|
var Collection = kotlin_kotlin.$_$.m5;
|
|
95
95
|
var KtList = kotlin_kotlin.$_$.r5;
|
|
96
96
|
var plus_0 = kotlin_kotlin.$_$.d8;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
var Exception_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
100
100
|
var removeFirstOrNull = kotlin_kotlin.$_$.e8;
|
|
101
101
|
var KtMutableList = kotlin_kotlin.$_$.v5;
|
|
102
|
-
var coerceIn = kotlin_kotlin.$_$.
|
|
102
|
+
var coerceIn = kotlin_kotlin.$_$.fc;
|
|
103
103
|
var CancellationException_init_$Init$ = kotlin_kotlin.$_$.e1;
|
|
104
104
|
var CancellationException_init_$Create$_0 = kotlin_kotlin.$_$.f1;
|
|
105
105
|
var CancellationException_init_$Init$_0 = kotlin_kotlin.$_$.c1;
|
|
@@ -138,12 +138,12 @@
|
|
|
138
138
|
initMetadataForClass(JobNode, 'JobNode', VOID, LockFreeLinkedListNode, [LockFreeLinkedListNode, DisposableHandle, Incomplete]);
|
|
139
139
|
initMetadataForClass(AwaitAllNode, 'AwaitAllNode', VOID, JobNode);
|
|
140
140
|
initMetadataForClass(AwaitAll, 'AwaitAll', VOID, VOID, VOID, [0]);
|
|
141
|
-
initMetadataForCoroutine($awaitAllCOROUTINE
|
|
141
|
+
initMetadataForCoroutine($awaitAllCOROUTINE$, CoroutineImpl);
|
|
142
142
|
initMetadataForClass(StandaloneCoroutine, 'StandaloneCoroutine', VOID, AbstractCoroutine, VOID, [0]);
|
|
143
143
|
initMetadataForClass(LazyStandaloneCoroutine, 'LazyStandaloneCoroutine', VOID, StandaloneCoroutine, VOID, [0]);
|
|
144
144
|
initMetadataForClass(ScopeCoroutine, 'ScopeCoroutine', VOID, AbstractCoroutine, VOID, [0]);
|
|
145
145
|
initMetadataForClass(DispatchedCoroutine, 'DispatchedCoroutine', VOID, ScopeCoroutine, VOID, [0]);
|
|
146
|
-
initMetadataForCoroutine($awaitCOROUTINE
|
|
146
|
+
initMetadataForCoroutine($awaitCOROUTINE$, CoroutineImpl);
|
|
147
147
|
initMetadataForClass(DeferredCoroutine, 'DeferredCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, Job], [0]);
|
|
148
148
|
initMetadataForClass(LazyDeferredCoroutine, 'LazyDeferredCoroutine', VOID, DeferredCoroutine, VOID, [0]);
|
|
149
149
|
initMetadataForInterface(CancellableContinuation, 'CancellableContinuation', VOID, VOID, [Continuation]);
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
initMetadataForObject(Active, 'Active', VOID, VOID, [NotCompleted]);
|
|
158
158
|
initMetadataForClass(CompletedContinuation, 'CompletedContinuation');
|
|
159
159
|
initMetadataForClass(ChildContinuation, 'ChildContinuation', VOID, JobNode);
|
|
160
|
-
initMetadataForCoroutine($awaitCOROUTINE$
|
|
160
|
+
initMetadataForCoroutine($awaitCOROUTINE$_0, CoroutineImpl);
|
|
161
161
|
initMetadataForClass(CompletableDeferredImpl, 'CompletableDeferredImpl', VOID, JobSupport, [JobSupport, Job], [0]);
|
|
162
162
|
initMetadataForInterface(CompletableJob, 'CompletableJob', VOID, VOID, [Job], [0]);
|
|
163
163
|
initMetadataForClass(CompletedExceptionally, 'CompletedExceptionally');
|
|
@@ -202,10 +202,15 @@
|
|
|
202
202
|
initMetadataForClass(ConcurrentLinkedListNode, 'ConcurrentLinkedListNode');
|
|
203
203
|
initMetadataForClass(Segment, 'Segment', VOID, ConcurrentLinkedListNode, [ConcurrentLinkedListNode, NotCompleted]);
|
|
204
204
|
initMetadataForClass(ChannelSegment, 'ChannelSegment', VOID, Segment);
|
|
205
|
-
initMetadataForCoroutine($hasNextCOROUTINE
|
|
205
|
+
initMetadataForCoroutine($hasNextCOROUTINE$, CoroutineImpl);
|
|
206
206
|
initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
207
207
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
208
|
-
initMetadataForCoroutine($sendCOROUTINE
|
|
208
|
+
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
209
|
+
function close$default(cause, $super) {
|
|
210
|
+
cause = cause === VOID ? null : cause;
|
|
211
|
+
return $super === VOID ? this.v16(cause) : $super.v16.call(this, cause);
|
|
212
|
+
}
|
|
213
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
209
214
|
function cancel$default_0(cause, $super) {
|
|
210
215
|
cause = cause === VOID ? null : cause;
|
|
211
216
|
var tmp;
|
|
@@ -218,12 +223,7 @@
|
|
|
218
223
|
return tmp;
|
|
219
224
|
}
|
|
220
225
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
221
|
-
|
|
222
|
-
cause = cause === VOID ? null : cause;
|
|
223
|
-
return $super === VOID ? this.v16(cause) : $super.v16.call(this, cause);
|
|
224
|
-
}
|
|
225
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
226
|
-
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
226
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
|
|
227
227
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
228
228
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
229
229
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -233,16 +233,16 @@
|
|
|
233
233
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
234
234
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
235
235
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
236
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine,
|
|
236
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
|
|
237
237
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
238
238
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
239
239
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
|
|
240
|
-
initMetadataForCoroutine($collectCOROUTINE
|
|
240
|
+
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
241
241
|
initMetadataForClass(asFlow$$inlined$unsafeFlow$1, VOID, VOID, VOID, VOID, [1]);
|
|
242
242
|
initMetadataForInterface(FlowCollector, 'FlowCollector', VOID, VOID, VOID, [1]);
|
|
243
|
-
initMetadataForCoroutine($emitCOROUTINE
|
|
243
|
+
initMetadataForCoroutine($emitCOROUTINE$, CoroutineImpl);
|
|
244
244
|
initMetadataForClass(firstOrNull$$inlined$collectWhile$1, VOID, VOID, VOID, [FlowCollector], [1]);
|
|
245
|
-
initMetadataForCoroutine($firstOrNullCOROUTINE
|
|
245
|
+
initMetadataForCoroutine($firstOrNullCOROUTINE$, CoroutineImpl);
|
|
246
246
|
initMetadataForClass(SegmentOrClosed, 'SegmentOrClosed');
|
|
247
247
|
initMetadataForObject(ExceptionSuccessfullyProcessed, 'ExceptionSuccessfullyProcessed', VOID, Exception);
|
|
248
248
|
initMetadataForClass(DispatchedContinuation, 'DispatchedContinuation', VOID, DispatchedTask, [DispatchedTask, Continuation]);
|
|
@@ -253,13 +253,13 @@
|
|
|
253
253
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
254
254
|
initMetadataForInterface(SelectClause1, 'SelectClause1');
|
|
255
255
|
initMetadataForClass(SelectClause1Impl, 'SelectClause1Impl', VOID, VOID, [SelectClause1]);
|
|
256
|
-
initMetadataForCoroutine($invokeBlockCOROUTINE
|
|
256
|
+
initMetadataForCoroutine($invokeBlockCOROUTINE$, CoroutineImpl);
|
|
257
257
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
258
|
-
initMetadataForCoroutine($doSelectCOROUTINE
|
|
259
|
-
initMetadataForCoroutine($doSelectSuspendCOROUTINE
|
|
260
|
-
initMetadataForCoroutine($completeCOROUTINE
|
|
261
|
-
initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE
|
|
262
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
258
|
+
initMetadataForCoroutine($doSelectCOROUTINE$, CoroutineImpl);
|
|
259
|
+
initMetadataForCoroutine($doSelectSuspendCOROUTINE$, CoroutineImpl);
|
|
260
|
+
initMetadataForCoroutine($completeCOROUTINE$, CoroutineImpl);
|
|
261
|
+
initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$, CoroutineImpl);
|
|
262
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
|
|
263
263
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
264
264
|
initMetadataForClass(CancellableContinuationWithOwner, 'CancellableContinuationWithOwner', VOID, VOID, [CancellableContinuation, Waiter]);
|
|
265
265
|
initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
start.gp(block, receiver, this);
|
|
342
342
|
};
|
|
343
343
|
function awaitAll(_this__u8e3s4, $completion) {
|
|
344
|
-
var tmp = new $awaitAllCOROUTINE$
|
|
344
|
+
var tmp = new $awaitAllCOROUTINE$(_this__u8e3s4, $completion);
|
|
345
345
|
tmp.i9_1 = Unit_instance;
|
|
346
346
|
tmp.j9_1 = null;
|
|
347
347
|
return tmp.o9();
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
} else if (this.kr_1.sr_1.atomicfu$decrementAndGet() === 0) {
|
|
406
|
-
var
|
|
406
|
+
var tmp0 = this.hr_1;
|
|
407
407
|
// Inline function 'kotlin.collections.map' call
|
|
408
408
|
var this_0 = this.kr_1.rr_1;
|
|
409
409
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
// Inline function 'kotlin.coroutines.resume' call
|
|
420
420
|
// Inline function 'kotlin.Companion.success' call
|
|
421
421
|
var tmp$ret$3 = _Result___init__impl__xyqfz8(destination);
|
|
422
|
-
|
|
422
|
+
tmp0.r9(tmp$ret$3);
|
|
423
423
|
}
|
|
424
424
|
};
|
|
425
425
|
function AwaitAll(deferreds) {
|
|
@@ -460,11 +460,11 @@
|
|
|
460
460
|
}
|
|
461
461
|
return cancellable.qs();
|
|
462
462
|
};
|
|
463
|
-
function $awaitAllCOROUTINE$
|
|
463
|
+
function $awaitAllCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
464
464
|
CoroutineImpl.call(this, resultContinuation);
|
|
465
465
|
this.yq_1 = _this__u8e3s4;
|
|
466
466
|
}
|
|
467
|
-
protoOf($awaitAllCOROUTINE$
|
|
467
|
+
protoOf($awaitAllCOROUTINE$).o9 = function () {
|
|
468
468
|
var suspendResult = this.i9_1;
|
|
469
469
|
$sm: do
|
|
470
470
|
try {
|
|
@@ -618,11 +618,11 @@
|
|
|
618
618
|
throw state.vo_1;
|
|
619
619
|
return (state == null ? true : !(state == null)) ? state : THROW_CCE();
|
|
620
620
|
};
|
|
621
|
-
function $awaitCOROUTINE$
|
|
621
|
+
function $awaitCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
622
622
|
CoroutineImpl.call(this, resultContinuation);
|
|
623
623
|
this.rt_1 = _this__u8e3s4;
|
|
624
624
|
}
|
|
625
|
-
protoOf($awaitCOROUTINE$
|
|
625
|
+
protoOf($awaitCOROUTINE$).o9 = function () {
|
|
626
626
|
var suspendResult = this.i9_1;
|
|
627
627
|
$sm: do
|
|
628
628
|
try {
|
|
@@ -661,7 +661,7 @@
|
|
|
661
661
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
662
662
|
};
|
|
663
663
|
protoOf(DeferredCoroutine).vt = function ($completion) {
|
|
664
|
-
var tmp = new $awaitCOROUTINE$
|
|
664
|
+
var tmp = new $awaitCOROUTINE$(this, $completion);
|
|
665
665
|
tmp.i9_1 = Unit_instance;
|
|
666
666
|
tmp.j9_1 = null;
|
|
667
667
|
return tmp.o9();
|
|
@@ -961,19 +961,19 @@
|
|
|
961
961
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
962
962
|
var this_0 = $this.ns_1;
|
|
963
963
|
while (true) {
|
|
964
|
-
var
|
|
964
|
+
var tmp0 = this_0.kotlinx$atomicfu$value;
|
|
965
965
|
$l$block: {
|
|
966
|
-
if (!(
|
|
967
|
-
var update = resumedState($this,
|
|
968
|
-
if (!$this.ns_1.atomicfu$compareAndSet(
|
|
966
|
+
if (!(tmp0 == null) ? isInterface(tmp0, NotCompleted) : false) {
|
|
967
|
+
var update = resumedState($this, tmp0, proposedUpdate, $this.qu_1, onCancellation, idempotent);
|
|
968
|
+
if (!$this.ns_1.atomicfu$compareAndSet(tmp0, update)) {
|
|
969
969
|
break $l$block;
|
|
970
970
|
}
|
|
971
971
|
detachChildIfNonReusable($this);
|
|
972
972
|
return get_RESUME_TOKEN();
|
|
973
973
|
} else {
|
|
974
|
-
if (
|
|
974
|
+
if (tmp0 instanceof CompletedContinuation) {
|
|
975
975
|
var tmp;
|
|
976
|
-
if (!(idempotent == null) &&
|
|
976
|
+
if (!(idempotent == null) && tmp0.av_1 === idempotent) {
|
|
977
977
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
978
978
|
tmp = get_RESUME_TOKEN();
|
|
979
979
|
} else {
|
|
@@ -1107,25 +1107,25 @@
|
|
|
1107
1107
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
1108
1108
|
var this_0 = this.ns_1;
|
|
1109
1109
|
while (true) {
|
|
1110
|
-
var
|
|
1110
|
+
var tmp0 = this_0.kotlinx$atomicfu$value;
|
|
1111
1111
|
$l$block: {
|
|
1112
|
-
if (!(!(
|
|
1112
|
+
if (!(!(tmp0 == null) ? isInterface(tmp0, NotCompleted) : false))
|
|
1113
1113
|
return false;
|
|
1114
1114
|
var tmp;
|
|
1115
|
-
if (isInterface(
|
|
1115
|
+
if (isInterface(tmp0, CancelHandler)) {
|
|
1116
1116
|
tmp = true;
|
|
1117
1117
|
} else {
|
|
1118
|
-
tmp =
|
|
1118
|
+
tmp = tmp0 instanceof Segment;
|
|
1119
1119
|
}
|
|
1120
1120
|
var update = new CancelledContinuation(this, cause, tmp);
|
|
1121
|
-
if (!this.ns_1.atomicfu$compareAndSet(
|
|
1121
|
+
if (!this.ns_1.atomicfu$compareAndSet(tmp0, update)) {
|
|
1122
1122
|
break $l$block;
|
|
1123
1123
|
}
|
|
1124
|
-
if (isInterface(
|
|
1125
|
-
this.cv(
|
|
1124
|
+
if (isInterface(tmp0, CancelHandler)) {
|
|
1125
|
+
this.cv(tmp0, cause);
|
|
1126
1126
|
} else {
|
|
1127
|
-
if (
|
|
1128
|
-
callSegmentOnCancellation(this,
|
|
1127
|
+
if (tmp0 instanceof Segment) {
|
|
1128
|
+
callSegmentOnCancellation(this, tmp0, cause);
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
1131
|
detachChildIfNonReusable(this);
|
|
@@ -1259,24 +1259,24 @@
|
|
|
1259
1259
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
1260
1260
|
var this_0 = this.ns_1;
|
|
1261
1261
|
while (true) {
|
|
1262
|
-
var
|
|
1262
|
+
var tmp0 = this_0.kotlinx$atomicfu$value;
|
|
1263
1263
|
$l$block: {
|
|
1264
|
-
if (!(
|
|
1265
|
-
var update = resumedState(this,
|
|
1266
|
-
if (!this.ns_1.atomicfu$compareAndSet(
|
|
1264
|
+
if (!(tmp0 == null) ? isInterface(tmp0, NotCompleted) : false) {
|
|
1265
|
+
var update = resumedState(this, tmp0, proposedUpdate, resumeMode, onCancellation, null);
|
|
1266
|
+
if (!this.ns_1.atomicfu$compareAndSet(tmp0, update)) {
|
|
1267
1267
|
break $l$block;
|
|
1268
1268
|
}
|
|
1269
1269
|
detachChildIfNonReusable(this);
|
|
1270
1270
|
dispatchResume(this, resumeMode);
|
|
1271
1271
|
return Unit_instance;
|
|
1272
1272
|
} else {
|
|
1273
|
-
if (
|
|
1274
|
-
if (
|
|
1273
|
+
if (tmp0 instanceof CancelledContinuation) {
|
|
1274
|
+
if (tmp0.zv()) {
|
|
1275
1275
|
if (onCancellation == null)
|
|
1276
1276
|
null;
|
|
1277
1277
|
else {
|
|
1278
1278
|
// Inline function 'kotlin.let' call
|
|
1279
|
-
this.nv(onCancellation,
|
|
1279
|
+
this.nv(onCancellation, tmp0.vo_1, proposedUpdate);
|
|
1280
1280
|
}
|
|
1281
1281
|
return Unit_instance;
|
|
1282
1282
|
}
|
|
@@ -1470,11 +1470,11 @@
|
|
|
1470
1470
|
parent = parent === VOID ? null : parent;
|
|
1471
1471
|
return new CompletableDeferredImpl(parent);
|
|
1472
1472
|
}
|
|
1473
|
-
function $awaitCOROUTINE$
|
|
1473
|
+
function $awaitCOROUTINE$_0(_this__u8e3s4, resultContinuation) {
|
|
1474
1474
|
CoroutineImpl.call(this, resultContinuation);
|
|
1475
1475
|
this.tw_1 = _this__u8e3s4;
|
|
1476
1476
|
}
|
|
1477
|
-
protoOf($awaitCOROUTINE$
|
|
1477
|
+
protoOf($awaitCOROUTINE$_0).o9 = function () {
|
|
1478
1478
|
var suspendResult = this.i9_1;
|
|
1479
1479
|
$sm: do
|
|
1480
1480
|
try {
|
|
@@ -1517,7 +1517,7 @@
|
|
|
1517
1517
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
1518
1518
|
};
|
|
1519
1519
|
protoOf(CompletableDeferredImpl).vt = function ($completion) {
|
|
1520
|
-
var tmp = new $awaitCOROUTINE$
|
|
1520
|
+
var tmp = new $awaitCOROUTINE$_0(this, $completion);
|
|
1521
1521
|
tmp.i9_1 = Unit_instance;
|
|
1522
1522
|
tmp.j9_1 = null;
|
|
1523
1523
|
return tmp.o9();
|
|
@@ -1968,9 +1968,9 @@
|
|
|
1968
1968
|
parent = parent === VOID ? null : parent;
|
|
1969
1969
|
return new JobImpl(parent);
|
|
1970
1970
|
}
|
|
1971
|
-
function JobNode$invoke$ref(
|
|
1972
|
-
var l = function (
|
|
1973
|
-
|
|
1971
|
+
function JobNode$invoke$ref(p0) {
|
|
1972
|
+
var l = function (_this__u8e3s4) {
|
|
1973
|
+
p0.nr(_this__u8e3s4);
|
|
1974
1974
|
return Unit_instance;
|
|
1975
1975
|
};
|
|
1976
1976
|
l.callableName = 'invoke';
|
|
@@ -2442,14 +2442,14 @@
|
|
|
2442
2442
|
var causeExceptionCache = null;
|
|
2443
2443
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
2444
2444
|
while (true) {
|
|
2445
|
-
var
|
|
2445
|
+
var tmp0 = $this.jp();
|
|
2446
2446
|
$l$block: {
|
|
2447
|
-
if (
|
|
2447
|
+
if (tmp0 instanceof Finishing) {
|
|
2448
2448
|
// Inline function 'kotlinx.coroutines.internal.synchronized' call
|
|
2449
2449
|
// Inline function 'kotlinx.coroutines.internal.synchronizedImpl' call
|
|
2450
|
-
if (
|
|
2450
|
+
if (tmp0.oy())
|
|
2451
2451
|
return get_TOO_LATE_TO_CANCEL();
|
|
2452
|
-
var wasCancelling =
|
|
2452
|
+
var wasCancelling = tmp0.ky();
|
|
2453
2453
|
if (!(cause == null) || !wasCancelling) {
|
|
2454
2454
|
var tmp0_elvis_lhs = causeExceptionCache;
|
|
2455
2455
|
var tmp;
|
|
@@ -2462,10 +2462,10 @@
|
|
|
2462
2462
|
tmp = tmp0_elvis_lhs;
|
|
2463
2463
|
}
|
|
2464
2464
|
var causeException = tmp;
|
|
2465
|
-
|
|
2465
|
+
tmp0.py(causeException);
|
|
2466
2466
|
}
|
|
2467
2467
|
// Inline function 'kotlin.takeIf' call
|
|
2468
|
-
var this_1 =
|
|
2468
|
+
var this_1 = tmp0.qy();
|
|
2469
2469
|
var tmp_0;
|
|
2470
2470
|
if (!wasCancelling) {
|
|
2471
2471
|
tmp_0 = this_1;
|
|
@@ -2477,11 +2477,11 @@
|
|
|
2477
2477
|
null;
|
|
2478
2478
|
else {
|
|
2479
2479
|
// Inline function 'kotlin.let' call
|
|
2480
|
-
notifyCancelling($this,
|
|
2480
|
+
notifyCancelling($this, tmp0.gy_1, notifyRootCause);
|
|
2481
2481
|
}
|
|
2482
2482
|
return get_COMPLETING_ALREADY();
|
|
2483
2483
|
} else {
|
|
2484
|
-
if (!(
|
|
2484
|
+
if (!(tmp0 == null) ? isInterface(tmp0, Incomplete) : false) {
|
|
2485
2485
|
var tmp2_elvis_lhs = causeExceptionCache;
|
|
2486
2486
|
var tmp_1;
|
|
2487
2487
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2493,14 +2493,14 @@
|
|
|
2493
2493
|
tmp_1 = tmp2_elvis_lhs;
|
|
2494
2494
|
}
|
|
2495
2495
|
var causeException_0 = tmp_1;
|
|
2496
|
-
if (
|
|
2497
|
-
if (tryMakeCancelling($this,
|
|
2496
|
+
if (tmp0.qo()) {
|
|
2497
|
+
if (tryMakeCancelling($this, tmp0, causeException_0))
|
|
2498
2498
|
return get_COMPLETING_ALREADY();
|
|
2499
2499
|
} else {
|
|
2500
|
-
var finalState = tryMakeCompleting($this,
|
|
2500
|
+
var finalState = tryMakeCompleting($this, tmp0, new CompletedExceptionally(causeException_0));
|
|
2501
2501
|
if (finalState === get_COMPLETING_ALREADY()) {
|
|
2502
2502
|
// Inline function 'kotlin.error' call
|
|
2503
|
-
var message = 'Cannot happen in ' + toString(
|
|
2503
|
+
var message = 'Cannot happen in ' + toString(tmp0);
|
|
2504
2504
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2505
2505
|
} else if (finalState === get_COMPLETING_RETRY()) {
|
|
2506
2506
|
break $l$block;
|
|
@@ -3219,9 +3219,9 @@
|
|
|
3219
3219
|
protoOf(JobSupport).fq = function (proposedUpdate) {
|
|
3220
3220
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
3221
3221
|
while (true) {
|
|
3222
|
-
var
|
|
3222
|
+
var tmp0 = this.jp();
|
|
3223
3223
|
$l$block: {
|
|
3224
|
-
var finalState = tryMakeCompleting(this,
|
|
3224
|
+
var finalState = tryMakeCompleting(this, tmp0, proposedUpdate);
|
|
3225
3225
|
if (finalState === get_COMPLETING_ALREADY())
|
|
3226
3226
|
return false;
|
|
3227
3227
|
else if (finalState === get_COMPLETING_WAITING_CHILDREN())
|
|
@@ -3238,9 +3238,9 @@
|
|
|
3238
3238
|
protoOf(JobSupport).yo = function (proposedUpdate) {
|
|
3239
3239
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
3240
3240
|
while (true) {
|
|
3241
|
-
var
|
|
3241
|
+
var tmp0 = this.jp();
|
|
3242
3242
|
$l$block: {
|
|
3243
|
-
var finalState = tryMakeCompleting(this,
|
|
3243
|
+
var finalState = tryMakeCompleting(this, tmp0, proposedUpdate);
|
|
3244
3244
|
if (finalState === get_COMPLETING_ALREADY())
|
|
3245
3245
|
throw IllegalStateException_init_$Create$_0('Job ' + this.toString() + ' is already complete or completing, ' + ('but is being completed with ' + toString_0(proposedUpdate)), _get_exceptionOrNull__b3j7js(this, proposedUpdate));
|
|
3246
3246
|
else if (finalState === get_COMPLETING_RETRY()) {
|
|
@@ -3486,13 +3486,13 @@
|
|
|
3486
3486
|
var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
3487
3487
|
tmp0.r9(tmp$ret$1);
|
|
3488
3488
|
} else {
|
|
3489
|
-
var
|
|
3489
|
+
var tmp0_0 = this.r10_1;
|
|
3490
3490
|
var tmp = unboxState(state);
|
|
3491
3491
|
// Inline function 'kotlin.coroutines.resume' call
|
|
3492
3492
|
// Inline function 'kotlin.Companion.success' call
|
|
3493
3493
|
var value = (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
3494
3494
|
var tmp$ret$3 = _Result___init__impl__xyqfz8(value);
|
|
3495
|
-
|
|
3495
|
+
tmp0_0.r9(tmp$ret$3);
|
|
3496
3496
|
}
|
|
3497
3497
|
};
|
|
3498
3498
|
function IncompleteStateBox(state) {
|
|
@@ -3978,11 +3978,11 @@
|
|
|
3978
3978
|
cont.r9(tmp$ret$2);
|
|
3979
3979
|
}
|
|
3980
3980
|
}
|
|
3981
|
-
function $hasNextCOROUTINE$
|
|
3981
|
+
function $hasNextCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3982
3982
|
CoroutineImpl.call(this, resultContinuation);
|
|
3983
3983
|
this.n13_1 = _this__u8e3s4;
|
|
3984
3984
|
}
|
|
3985
|
-
protoOf($hasNextCOROUTINE$
|
|
3985
|
+
protoOf($hasNextCOROUTINE$).o9 = function () {
|
|
3986
3986
|
var suspendResult = this.i9_1;
|
|
3987
3987
|
$sm: do
|
|
3988
3988
|
try {
|
|
@@ -4033,9 +4033,9 @@
|
|
|
4033
4033
|
var other = get_SEGMENT_SIZE();
|
|
4034
4034
|
tmp_4.w13_1 = tmp0.c3(toLong(other));
|
|
4035
4035
|
var tmp_5 = this;
|
|
4036
|
-
var
|
|
4036
|
+
var tmp0_0 = this.v13_1;
|
|
4037
4037
|
var other_0 = get_SEGMENT_SIZE();
|
|
4038
|
-
tmp_5.x13_1 =
|
|
4038
|
+
tmp_5.x13_1 = tmp0_0.d3(toLong(other_0)).j1();
|
|
4039
4039
|
if (!this.u13_1.uu_1.equals(this.w13_1)) {
|
|
4040
4040
|
this.y13_1 = findSegmentReceive(this.s13_1, this.w13_1, this.u13_1);
|
|
4041
4041
|
if (this.y13_1 == null) {
|
|
@@ -4725,7 +4725,7 @@
|
|
|
4725
4725
|
this.a13_1 = null;
|
|
4726
4726
|
}
|
|
4727
4727
|
protoOf(BufferedChannelIterator).z14 = function ($completion) {
|
|
4728
|
-
var tmp = new $hasNextCOROUTINE$
|
|
4728
|
+
var tmp = new $hasNextCOROUTINE$(this, $completion);
|
|
4729
4729
|
tmp.i9_1 = Unit_instance;
|
|
4730
4730
|
tmp.j9_1 = null;
|
|
4731
4731
|
return tmp.o9();
|
|
@@ -5052,19 +5052,19 @@
|
|
|
5052
5052
|
}
|
|
5053
5053
|
segment = tmp_1;
|
|
5054
5054
|
}
|
|
5055
|
-
var
|
|
5055
|
+
var tmp0_0 = suspendedSenders;
|
|
5056
5056
|
$l$block: {
|
|
5057
5057
|
// Inline function 'kotlinx.coroutines.internal.InlineList.forEachReversed' call
|
|
5058
|
-
var tmp0_subject = access$_get_holder__kkflen(
|
|
5058
|
+
var tmp0_subject = access$_get_holder__kkflen(tmp0_0);
|
|
5059
5059
|
if (tmp0_subject == null) {
|
|
5060
5060
|
break $l$block;
|
|
5061
5061
|
} else {
|
|
5062
5062
|
if (!(tmp0_subject instanceof ArrayList)) {
|
|
5063
|
-
var tmp_2 = access$_get_holder__kkflen(
|
|
5063
|
+
var tmp_2 = access$_get_holder__kkflen(tmp0_0);
|
|
5064
5064
|
var it = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
|
|
5065
5065
|
resumeSenderOnCancelledChannel($this, it);
|
|
5066
5066
|
} else {
|
|
5067
|
-
var tmp_3 = access$_get_holder__kkflen(
|
|
5067
|
+
var tmp_3 = access$_get_holder__kkflen(tmp0_0);
|
|
5068
5068
|
var list = tmp_3 instanceof ArrayList ? tmp_3 : THROW_CCE();
|
|
5069
5069
|
var inductionVariable_0 = list.s() - 1 | 0;
|
|
5070
5070
|
if (0 <= inductionVariable_0)
|
|
@@ -5132,19 +5132,19 @@
|
|
|
5132
5132
|
while (0 <= inductionVariable);
|
|
5133
5133
|
segment = segment.w12();
|
|
5134
5134
|
}
|
|
5135
|
-
var
|
|
5135
|
+
var tmp0_0 = suspendedReceivers;
|
|
5136
5136
|
$l$block: {
|
|
5137
5137
|
// Inline function 'kotlinx.coroutines.internal.InlineList.forEachReversed' call
|
|
5138
|
-
var tmp0_subject = access$_get_holder__kkflen(
|
|
5138
|
+
var tmp0_subject = access$_get_holder__kkflen(tmp0_0);
|
|
5139
5139
|
if (tmp0_subject == null) {
|
|
5140
5140
|
break $l$block;
|
|
5141
5141
|
} else {
|
|
5142
5142
|
if (!(tmp0_subject instanceof ArrayList)) {
|
|
5143
|
-
var tmp = access$_get_holder__kkflen(
|
|
5143
|
+
var tmp = access$_get_holder__kkflen(tmp0_0);
|
|
5144
5144
|
var it = (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
5145
5145
|
resumeReceiverOnClosedChannel($this, it);
|
|
5146
5146
|
} else {
|
|
5147
|
-
var tmp_0 = access$_get_holder__kkflen(
|
|
5147
|
+
var tmp_0 = access$_get_holder__kkflen(tmp0_0);
|
|
5148
5148
|
var list = tmp_0 instanceof ArrayList ? tmp_0 : THROW_CCE();
|
|
5149
5149
|
var inductionVariable_0 = list.s() - 1 | 0;
|
|
5150
5150
|
if (0 <= inductionVariable_0)
|
|
@@ -5181,12 +5181,12 @@
|
|
|
5181
5181
|
_this__u8e3s4.r9(tmp$ret$2);
|
|
5182
5182
|
} else {
|
|
5183
5183
|
if (_this__u8e3s4 instanceof ReceiveCatching) {
|
|
5184
|
-
var
|
|
5184
|
+
var tmp0 = _this__u8e3s4.p14_1;
|
|
5185
5185
|
// Inline function 'kotlin.coroutines.resume' call
|
|
5186
5186
|
// Inline function 'kotlin.Companion.success' call
|
|
5187
5187
|
var value = new ChannelResult(Companion_getInstance().e15($this.c13()));
|
|
5188
5188
|
var tmp$ret$4 = _Result___init__impl__xyqfz8(value);
|
|
5189
|
-
|
|
5189
|
+
tmp0.r9(tmp$ret$4);
|
|
5190
5190
|
} else {
|
|
5191
5191
|
if (_this__u8e3s4 instanceof BufferedChannelIterator) {
|
|
5192
5192
|
_this__u8e3s4.a15();
|
|
@@ -5269,39 +5269,39 @@
|
|
|
5269
5269
|
}
|
|
5270
5270
|
function findSegmentSend($this, id, startFrom) {
|
|
5271
5271
|
var tmp0 = $this.f12_1;
|
|
5272
|
-
var
|
|
5272
|
+
var tmp6 = createSegmentFunction();
|
|
5273
5273
|
var tmp$ret$2;
|
|
5274
5274
|
$l$block_2: {
|
|
5275
5275
|
// Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
|
|
5276
5276
|
while (true) {
|
|
5277
|
-
var s = findSegmentInternal(startFrom, id,
|
|
5277
|
+
var s = findSegmentInternal(startFrom, id, tmp6);
|
|
5278
5278
|
var tmp;
|
|
5279
5279
|
if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(s)) {
|
|
5280
5280
|
tmp = true;
|
|
5281
5281
|
} else {
|
|
5282
|
-
var
|
|
5282
|
+
var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
|
|
5283
5283
|
var tmp$ret$0;
|
|
5284
5284
|
$l$block_1: {
|
|
5285
5285
|
// Inline function 'kotlinx.coroutines.internal.moveForward' call
|
|
5286
5286
|
while (true) {
|
|
5287
5287
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
5288
|
-
if (cur.uu_1.e1(
|
|
5288
|
+
if (cur.uu_1.e1(tmp2.uu_1) >= 0) {
|
|
5289
5289
|
tmp$ret$0 = true;
|
|
5290
5290
|
break $l$block_1;
|
|
5291
5291
|
}
|
|
5292
|
-
if (!
|
|
5292
|
+
if (!tmp2.p12()) {
|
|
5293
5293
|
tmp$ret$0 = false;
|
|
5294
5294
|
break $l$block_1;
|
|
5295
5295
|
}
|
|
5296
|
-
if (tmp0.atomicfu$compareAndSet(cur,
|
|
5296
|
+
if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
|
|
5297
5297
|
if (cur.q12()) {
|
|
5298
5298
|
cur.r4();
|
|
5299
5299
|
}
|
|
5300
5300
|
tmp$ret$0 = true;
|
|
5301
5301
|
break $l$block_1;
|
|
5302
5302
|
}
|
|
5303
|
-
if (
|
|
5304
|
-
|
|
5303
|
+
if (tmp2.q12()) {
|
|
5304
|
+
tmp2.r4();
|
|
5305
5305
|
}
|
|
5306
5306
|
}
|
|
5307
5307
|
tmp$ret$0 = Unit_instance;
|
|
@@ -5330,15 +5330,15 @@
|
|
|
5330
5330
|
var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
|
|
5331
5331
|
var tmp_1;
|
|
5332
5332
|
if (segment.uu_1.e1(id) > 0) {
|
|
5333
|
-
var
|
|
5333
|
+
var tmp0_1 = segment.uu_1;
|
|
5334
5334
|
// Inline function 'kotlin.Long.times' call
|
|
5335
5335
|
var other_0 = get_SEGMENT_SIZE();
|
|
5336
|
-
var tmp$ret$4 =
|
|
5336
|
+
var tmp$ret$4 = tmp0_1.b3(toLong(other_0));
|
|
5337
5337
|
updateSendersCounterIfLower($this, tmp$ret$4);
|
|
5338
|
-
var
|
|
5338
|
+
var tmp0_2 = segment.uu_1;
|
|
5339
5339
|
// Inline function 'kotlin.Long.times' call
|
|
5340
5340
|
var other_1 = get_SEGMENT_SIZE();
|
|
5341
|
-
if (
|
|
5341
|
+
if (tmp0_2.b3(toLong(other_1)).e1($this.j14()) < 0) {
|
|
5342
5342
|
segment.x12();
|
|
5343
5343
|
}
|
|
5344
5344
|
tmp_1 = null;
|
|
@@ -5352,39 +5352,39 @@
|
|
|
5352
5352
|
}
|
|
5353
5353
|
function findSegmentReceive($this, id, startFrom) {
|
|
5354
5354
|
var tmp0 = $this.g12_1;
|
|
5355
|
-
var
|
|
5355
|
+
var tmp6 = createSegmentFunction();
|
|
5356
5356
|
var tmp$ret$2;
|
|
5357
5357
|
$l$block_2: {
|
|
5358
5358
|
// Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
|
|
5359
5359
|
while (true) {
|
|
5360
|
-
var s = findSegmentInternal(startFrom, id,
|
|
5360
|
+
var s = findSegmentInternal(startFrom, id, tmp6);
|
|
5361
5361
|
var tmp;
|
|
5362
5362
|
if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(s)) {
|
|
5363
5363
|
tmp = true;
|
|
5364
5364
|
} else {
|
|
5365
|
-
var
|
|
5365
|
+
var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
|
|
5366
5366
|
var tmp$ret$0;
|
|
5367
5367
|
$l$block_1: {
|
|
5368
5368
|
// Inline function 'kotlinx.coroutines.internal.moveForward' call
|
|
5369
5369
|
while (true) {
|
|
5370
5370
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
5371
|
-
if (cur.uu_1.e1(
|
|
5371
|
+
if (cur.uu_1.e1(tmp2.uu_1) >= 0) {
|
|
5372
5372
|
tmp$ret$0 = true;
|
|
5373
5373
|
break $l$block_1;
|
|
5374
5374
|
}
|
|
5375
|
-
if (!
|
|
5375
|
+
if (!tmp2.p12()) {
|
|
5376
5376
|
tmp$ret$0 = false;
|
|
5377
5377
|
break $l$block_1;
|
|
5378
5378
|
}
|
|
5379
|
-
if (tmp0.atomicfu$compareAndSet(cur,
|
|
5379
|
+
if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
|
|
5380
5380
|
if (cur.q12()) {
|
|
5381
5381
|
cur.r4();
|
|
5382
5382
|
}
|
|
5383
5383
|
tmp$ret$0 = true;
|
|
5384
5384
|
break $l$block_1;
|
|
5385
5385
|
}
|
|
5386
|
-
if (
|
|
5387
|
-
|
|
5386
|
+
if (tmp2.q12()) {
|
|
5387
|
+
tmp2.r4();
|
|
5388
5388
|
}
|
|
5389
5389
|
}
|
|
5390
5390
|
tmp$ret$0 = Unit_instance;
|
|
@@ -5413,27 +5413,27 @@
|
|
|
5413
5413
|
var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
|
|
5414
5414
|
var tmp_1;
|
|
5415
5415
|
if (!_get_isRendezvousOrUnlimited__3mdufi($this)) {
|
|
5416
|
-
var
|
|
5416
|
+
var tmp0_1 = _get_bufferEndCounter__2d4hee($this);
|
|
5417
5417
|
// Inline function 'kotlin.Long.div' call
|
|
5418
5418
|
var other_0 = get_SEGMENT_SIZE();
|
|
5419
|
-
var tmp$ret$4 =
|
|
5419
|
+
var tmp$ret$4 = tmp0_1.c3(toLong(other_0));
|
|
5420
5420
|
tmp_1 = id.e1(tmp$ret$4) <= 0;
|
|
5421
5421
|
} else {
|
|
5422
5422
|
tmp_1 = false;
|
|
5423
5423
|
}
|
|
5424
5424
|
if (tmp_1) {
|
|
5425
|
-
var
|
|
5425
|
+
var tmp0_2 = $this.h12_1;
|
|
5426
5426
|
$l$block_5: {
|
|
5427
5427
|
// Inline function 'kotlinx.coroutines.internal.moveForward' call
|
|
5428
5428
|
while (true) {
|
|
5429
|
-
var cur_0 =
|
|
5429
|
+
var cur_0 = tmp0_2.kotlinx$atomicfu$value;
|
|
5430
5430
|
if (cur_0.uu_1.e1(segment.uu_1) >= 0) {
|
|
5431
5431
|
break $l$block_5;
|
|
5432
5432
|
}
|
|
5433
5433
|
if (!segment.p12()) {
|
|
5434
5434
|
break $l$block_5;
|
|
5435
5435
|
}
|
|
5436
|
-
if (
|
|
5436
|
+
if (tmp0_2.atomicfu$compareAndSet(cur_0, segment)) {
|
|
5437
5437
|
if (cur_0.q12()) {
|
|
5438
5438
|
cur_0.r4();
|
|
5439
5439
|
}
|
|
@@ -5447,15 +5447,15 @@
|
|
|
5447
5447
|
}
|
|
5448
5448
|
var tmp_2;
|
|
5449
5449
|
if (segment.uu_1.e1(id) > 0) {
|
|
5450
|
-
var
|
|
5450
|
+
var tmp0_3 = segment.uu_1;
|
|
5451
5451
|
// Inline function 'kotlin.Long.times' call
|
|
5452
5452
|
var other_1 = get_SEGMENT_SIZE();
|
|
5453
|
-
var tmp$ret$7 =
|
|
5453
|
+
var tmp$ret$7 = tmp0_3.b3(toLong(other_1));
|
|
5454
5454
|
updateReceiversCounterIfLower($this, tmp$ret$7);
|
|
5455
|
-
var
|
|
5455
|
+
var tmp0_4 = segment.uu_1;
|
|
5456
5456
|
// Inline function 'kotlin.Long.times' call
|
|
5457
5457
|
var other_2 = get_SEGMENT_SIZE();
|
|
5458
|
-
if (
|
|
5458
|
+
if (tmp0_4.b3(toLong(other_2)).e1($this.d13()) < 0) {
|
|
5459
5459
|
segment.x12();
|
|
5460
5460
|
}
|
|
5461
5461
|
tmp_2 = null;
|
|
@@ -5469,39 +5469,39 @@
|
|
|
5469
5469
|
}
|
|
5470
5470
|
function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
|
|
5471
5471
|
var tmp0 = $this.h12_1;
|
|
5472
|
-
var
|
|
5472
|
+
var tmp6 = createSegmentFunction();
|
|
5473
5473
|
var tmp$ret$2;
|
|
5474
5474
|
$l$block_2: {
|
|
5475
5475
|
// Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
|
|
5476
5476
|
while (true) {
|
|
5477
|
-
var s = findSegmentInternal(startFrom, id,
|
|
5477
|
+
var s = findSegmentInternal(startFrom, id, tmp6);
|
|
5478
5478
|
var tmp;
|
|
5479
5479
|
if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(s)) {
|
|
5480
5480
|
tmp = true;
|
|
5481
5481
|
} else {
|
|
5482
|
-
var
|
|
5482
|
+
var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
|
|
5483
5483
|
var tmp$ret$0;
|
|
5484
5484
|
$l$block_1: {
|
|
5485
5485
|
// Inline function 'kotlinx.coroutines.internal.moveForward' call
|
|
5486
5486
|
while (true) {
|
|
5487
5487
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
5488
|
-
if (cur.uu_1.e1(
|
|
5488
|
+
if (cur.uu_1.e1(tmp2.uu_1) >= 0) {
|
|
5489
5489
|
tmp$ret$0 = true;
|
|
5490
5490
|
break $l$block_1;
|
|
5491
5491
|
}
|
|
5492
|
-
if (!
|
|
5492
|
+
if (!tmp2.p12()) {
|
|
5493
5493
|
tmp$ret$0 = false;
|
|
5494
5494
|
break $l$block_1;
|
|
5495
5495
|
}
|
|
5496
|
-
if (tmp0.atomicfu$compareAndSet(cur,
|
|
5496
|
+
if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
|
|
5497
5497
|
if (cur.q12()) {
|
|
5498
5498
|
cur.r4();
|
|
5499
5499
|
}
|
|
5500
5500
|
tmp$ret$0 = true;
|
|
5501
5501
|
break $l$block_1;
|
|
5502
5502
|
}
|
|
5503
|
-
if (
|
|
5504
|
-
|
|
5503
|
+
if (tmp2.q12()) {
|
|
5504
|
+
tmp2.r4();
|
|
5505
5505
|
}
|
|
5506
5506
|
}
|
|
5507
5507
|
tmp$ret$0 = Unit_instance;
|
|
@@ -5528,15 +5528,15 @@
|
|
|
5528
5528
|
if (segment.uu_1.e1(id) > 0) {
|
|
5529
5529
|
// Inline function 'kotlin.Long.plus' call
|
|
5530
5530
|
var tmp_2 = currentBufferEndCounter.z2(toLong(1));
|
|
5531
|
-
var
|
|
5531
|
+
var tmp0_0 = segment.uu_1;
|
|
5532
5532
|
// Inline function 'kotlin.Long.times' call
|
|
5533
5533
|
var other = get_SEGMENT_SIZE();
|
|
5534
|
-
var tmp$ret$4 =
|
|
5534
|
+
var tmp$ret$4 = tmp0_0.b3(toLong(other));
|
|
5535
5535
|
if ($this.d12_1.atomicfu$compareAndSet(tmp_2, tmp$ret$4)) {
|
|
5536
|
-
var
|
|
5536
|
+
var tmp0_1 = segment.uu_1;
|
|
5537
5537
|
// Inline function 'kotlin.Long.times' call
|
|
5538
5538
|
var other_0 = get_SEGMENT_SIZE();
|
|
5539
|
-
var tmp$ret$5 =
|
|
5539
|
+
var tmp$ret$5 = tmp0_1.b3(toLong(other_0));
|
|
5540
5540
|
incCompletedExpandBufferAttempts($this, tmp$ret$5.a3(currentBufferEndCounter));
|
|
5541
5541
|
} else {
|
|
5542
5542
|
incCompletedExpandBufferAttempts$default($this);
|
|
@@ -5574,29 +5574,29 @@
|
|
|
5574
5574
|
segment = tmp_0;
|
|
5575
5575
|
}
|
|
5576
5576
|
var tmp0 = $this.h12_1;
|
|
5577
|
-
var
|
|
5577
|
+
var tmp2 = segment;
|
|
5578
5578
|
var tmp$ret$0;
|
|
5579
5579
|
$l$block_1: {
|
|
5580
5580
|
// Inline function 'kotlinx.coroutines.internal.moveForward' call
|
|
5581
5581
|
while (true) {
|
|
5582
5582
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
5583
|
-
if (cur.uu_1.e1(
|
|
5583
|
+
if (cur.uu_1.e1(tmp2.uu_1) >= 0) {
|
|
5584
5584
|
tmp$ret$0 = true;
|
|
5585
5585
|
break $l$block_1;
|
|
5586
5586
|
}
|
|
5587
|
-
if (!
|
|
5587
|
+
if (!tmp2.p12()) {
|
|
5588
5588
|
tmp$ret$0 = false;
|
|
5589
5589
|
break $l$block_1;
|
|
5590
5590
|
}
|
|
5591
|
-
if (tmp0.atomicfu$compareAndSet(cur,
|
|
5591
|
+
if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
|
|
5592
5592
|
if (cur.q12()) {
|
|
5593
5593
|
cur.r4();
|
|
5594
5594
|
}
|
|
5595
5595
|
tmp$ret$0 = true;
|
|
5596
5596
|
break $l$block_1;
|
|
5597
5597
|
}
|
|
5598
|
-
if (
|
|
5599
|
-
|
|
5598
|
+
if (tmp2.q12()) {
|
|
5599
|
+
tmp2.r4();
|
|
5600
5600
|
}
|
|
5601
5601
|
}
|
|
5602
5602
|
tmp$ret$0 = Unit_instance;
|
|
@@ -5662,9 +5662,10 @@
|
|
|
5662
5662
|
return BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda$lambda(element, this$0, select);
|
|
5663
5663
|
};
|
|
5664
5664
|
}
|
|
5665
|
-
function BufferedChannel$onCancellationChannelResultImplDoNotCall$ref(
|
|
5666
|
-
var l = function (
|
|
5667
|
-
|
|
5665
|
+
function BufferedChannel$onCancellationChannelResultImplDoNotCall$ref(p0) {
|
|
5666
|
+
var l = function (_this__u8e3s4, p0_0, p1) {
|
|
5667
|
+
var tmp0 = p0;
|
|
5668
|
+
onCancellationChannelResultImplDoNotCall(tmp0, _this__u8e3s4, p0_0.h15_1, p1);
|
|
5668
5669
|
return Unit_instance;
|
|
5669
5670
|
};
|
|
5670
5671
|
l.callableName = 'onCancellationChannelResultImplDoNotCall';
|
|
@@ -5676,20 +5677,21 @@
|
|
|
5676
5677
|
return Unit_instance;
|
|
5677
5678
|
};
|
|
5678
5679
|
}
|
|
5679
|
-
function BufferedChannel$onCancellationImplDoNotCall$ref(
|
|
5680
|
-
var l = function (
|
|
5681
|
-
|
|
5680
|
+
function BufferedChannel$onCancellationImplDoNotCall$ref(p0) {
|
|
5681
|
+
var l = function (_this__u8e3s4, p0_0, p1) {
|
|
5682
|
+
var tmp0 = p0;
|
|
5683
|
+
onCancellationImplDoNotCall(tmp0, _this__u8e3s4, p0_0, p1);
|
|
5682
5684
|
return Unit_instance;
|
|
5683
5685
|
};
|
|
5684
5686
|
l.callableName = 'onCancellationImplDoNotCall';
|
|
5685
5687
|
return l;
|
|
5686
5688
|
}
|
|
5687
|
-
function $sendCOROUTINE$
|
|
5689
|
+
function $sendCOROUTINE$(_this__u8e3s4, element, resultContinuation) {
|
|
5688
5690
|
CoroutineImpl.call(this, resultContinuation);
|
|
5689
5691
|
this.q15_1 = _this__u8e3s4;
|
|
5690
5692
|
this.r15_1 = element;
|
|
5691
5693
|
}
|
|
5692
|
-
protoOf($sendCOROUTINE$
|
|
5694
|
+
protoOf($sendCOROUTINE$).o9 = function () {
|
|
5693
5695
|
var suspendResult = this.i9_1;
|
|
5694
5696
|
$sm: do
|
|
5695
5697
|
try {
|
|
@@ -5727,9 +5729,9 @@
|
|
|
5727
5729
|
var other = get_SEGMENT_SIZE();
|
|
5728
5730
|
tmp_4.d16_1 = tmp0.c3(toLong(other));
|
|
5729
5731
|
var tmp_5 = this;
|
|
5730
|
-
var
|
|
5732
|
+
var tmp0_0 = this.b16_1;
|
|
5731
5733
|
var other_0 = get_SEGMENT_SIZE();
|
|
5732
|
-
tmp_5.e16_1 =
|
|
5734
|
+
tmp_5.e16_1 = tmp0_0.d3(toLong(other_0)).j1();
|
|
5733
5735
|
if (!this.z15_1.uu_1.equals(this.d16_1)) {
|
|
5734
5736
|
this.f16_1 = findSegmentSend(this.w15_1, this.d16_1, this.z15_1);
|
|
5735
5737
|
if (this.f16_1 == null) {
|
|
@@ -5939,7 +5941,7 @@
|
|
|
5939
5941
|
return this.c12_1.kotlinx$atomicfu$value;
|
|
5940
5942
|
};
|
|
5941
5943
|
protoOf(BufferedChannel).q16 = function (element, $completion) {
|
|
5942
|
-
var tmp = new $sendCOROUTINE$
|
|
5944
|
+
var tmp = new $sendCOROUTINE$(this, element, $completion);
|
|
5943
5945
|
tmp.i9_1 = Unit_instance;
|
|
5944
5946
|
tmp.j9_1 = null;
|
|
5945
5947
|
return tmp.o9();
|
|
@@ -5947,7 +5949,7 @@
|
|
|
5947
5949
|
protoOf(BufferedChannel).r16 = function (element) {
|
|
5948
5950
|
if (shouldSendSuspend0(this, this.b12_1.kotlinx$atomicfu$value))
|
|
5949
5951
|
return Companion_getInstance().s16();
|
|
5950
|
-
var
|
|
5952
|
+
var tmp4 = get_INTERRUPTED_SEND();
|
|
5951
5953
|
var tmp$ret$4;
|
|
5952
5954
|
$l$block_4: {
|
|
5953
5955
|
// Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
|
|
@@ -5979,7 +5981,7 @@
|
|
|
5979
5981
|
}
|
|
5980
5982
|
segment = tmp;
|
|
5981
5983
|
}
|
|
5982
|
-
switch (updateCellSend(this, segment, i, element, s,
|
|
5984
|
+
switch (updateCellSend(this, segment, i, element, s, tmp4, closed)) {
|
|
5983
5985
|
case 0:
|
|
5984
5986
|
segment.x12();
|
|
5985
5987
|
tmp$ret$4 = Companion_getInstance().o14(Unit_instance);
|
|
@@ -5994,7 +5996,7 @@
|
|
|
5994
5996
|
break $l$block_4;
|
|
5995
5997
|
}
|
|
5996
5998
|
|
|
5997
|
-
var tmp2_safe_receiver = (!(
|
|
5999
|
+
var tmp2_safe_receiver = (!(tmp4 == null) ? isInterface(tmp4, Waiter) : false) ? tmp4 : null;
|
|
5998
6000
|
if (tmp2_safe_receiver == null)
|
|
5999
6001
|
null;
|
|
6000
6002
|
else {
|
|
@@ -6072,13 +6074,13 @@
|
|
|
6072
6074
|
prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
|
|
6073
6075
|
}
|
|
6074
6076
|
|
|
6075
|
-
var
|
|
6077
|
+
var tmp0 = segment.uu_1;
|
|
6076
6078
|
// Inline function 'kotlin.Long.times' call
|
|
6077
6079
|
|
|
6078
6080
|
var other_1 = get_SEGMENT_SIZE();
|
|
6079
6081
|
// Inline function 'kotlin.Long.plus' call
|
|
6080
6082
|
|
|
6081
|
-
var tmp$ret$5 =
|
|
6083
|
+
var tmp$ret$5 = tmp0.b3(toLong(other_1)).z2(toLong(i));
|
|
6082
6084
|
this.c15(tmp$ret$5);
|
|
6083
6085
|
return Companion_getInstance().o14(Unit_instance);
|
|
6084
6086
|
case 4:
|
|
@@ -6108,10 +6110,10 @@
|
|
|
6108
6110
|
var r = this.c12_1.kotlinx$atomicfu$value;
|
|
6109
6111
|
// Inline function 'kotlin.Long.plus' call
|
|
6110
6112
|
var other = this.z11_1;
|
|
6111
|
-
var
|
|
6113
|
+
var tmp0 = r.z2(toLong(other));
|
|
6112
6114
|
// Inline function 'kotlin.math.max' call
|
|
6113
6115
|
var b = _get_bufferEndCounter__2d4hee(this);
|
|
6114
|
-
var tmp$ret$2 =
|
|
6116
|
+
var tmp$ret$2 = tmp0.e1(b) >= 0 ? tmp0 : b;
|
|
6115
6117
|
if (globalCellIndex.e1(tmp$ret$2) < 0)
|
|
6116
6118
|
return Unit_instance;
|
|
6117
6119
|
// Inline function 'kotlin.Long.plus' call
|
|
@@ -6177,15 +6179,15 @@
|
|
|
6177
6179
|
return Unit_instance;
|
|
6178
6180
|
}
|
|
6179
6181
|
while (inductionVariable < times);
|
|
6180
|
-
var
|
|
6182
|
+
var tmp0 = this.e12_1;
|
|
6181
6183
|
$l$block: {
|
|
6182
6184
|
// Inline function 'kotlinx.atomicfu.update' call
|
|
6183
6185
|
while (true) {
|
|
6184
|
-
var cur =
|
|
6186
|
+
var cur = tmp0.kotlinx$atomicfu$value;
|
|
6185
6187
|
// Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
|
|
6186
6188
|
var tmp$ret$3 = cur.m3(new Long(-1, 1073741823));
|
|
6187
6189
|
var upd = constructEBCompletedAndPauseFlag(tmp$ret$3, true);
|
|
6188
|
-
if (
|
|
6190
|
+
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
6189
6191
|
break $l$block;
|
|
6190
6192
|
}
|
|
6191
6193
|
}
|
|
@@ -6198,15 +6200,15 @@
|
|
|
6198
6200
|
// Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
|
|
6199
6201
|
var pauseExpandBuffers = !ebCompletedAndBit.m3(new Long(0, 1073741824)).equals(new Long(0, 0));
|
|
6200
6202
|
if (b_0.equals(ebCompleted_0) && b_0.equals(_get_bufferEndCounter__2d4hee(this))) {
|
|
6201
|
-
var
|
|
6203
|
+
var tmp0_0 = this.e12_1;
|
|
6202
6204
|
$l$block_0: {
|
|
6203
6205
|
// Inline function 'kotlinx.atomicfu.update' call
|
|
6204
6206
|
while (true) {
|
|
6205
|
-
var cur_0 =
|
|
6207
|
+
var cur_0 = tmp0_0.kotlinx$atomicfu$value;
|
|
6206
6208
|
// Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
|
|
6207
6209
|
var tmp$ret$8 = cur_0.m3(new Long(-1, 1073741823));
|
|
6208
6210
|
var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$8, false);
|
|
6209
|
-
if (
|
|
6211
|
+
if (tmp0_0.atomicfu$compareAndSet(cur_0, upd_0)) {
|
|
6210
6212
|
break $l$block_0;
|
|
6211
6213
|
}
|
|
6212
6214
|
}
|
|
@@ -6359,11 +6361,11 @@
|
|
|
6359
6361
|
process_cell: do {
|
|
6360
6362
|
var i = inductionVariable;
|
|
6361
6363
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6362
|
-
var
|
|
6364
|
+
var tmp0_0 = segment.uu_1;
|
|
6363
6365
|
// Inline function 'kotlin.Long.times' call
|
|
6364
6366
|
var other = get_SEGMENT_SIZE();
|
|
6365
6367
|
// Inline function 'kotlin.Long.plus' call
|
|
6366
|
-
var globalCellIndex =
|
|
6368
|
+
var globalCellIndex = tmp0_0.b3(toLong(other)).z2(toLong(i));
|
|
6367
6369
|
if (globalCellIndex.e1(s) >= 0 && globalCellIndex.e1(r) >= 0)
|
|
6368
6370
|
break append_elements;
|
|
6369
6371
|
var cellState = segment.v11(i);
|
|
@@ -6824,12 +6826,12 @@
|
|
|
6824
6826
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
6825
6827
|
return new asFlow$$inlined$unsafeFlow$1(_this__u8e3s4);
|
|
6826
6828
|
}
|
|
6827
|
-
function $collectCOROUTINE$
|
|
6829
|
+
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
6828
6830
|
CoroutineImpl.call(this, resultContinuation);
|
|
6829
6831
|
this.n18_1 = _this__u8e3s4;
|
|
6830
6832
|
this.o18_1 = collector;
|
|
6831
6833
|
}
|
|
6832
|
-
protoOf($collectCOROUTINE$
|
|
6834
|
+
protoOf($collectCOROUTINE$).o9 = function () {
|
|
6833
6835
|
var suspendResult = this.i9_1;
|
|
6834
6836
|
$sm: do
|
|
6835
6837
|
try {
|
|
@@ -6886,7 +6888,7 @@
|
|
|
6886
6888
|
this.x18_1 = $this_asFlow;
|
|
6887
6889
|
}
|
|
6888
6890
|
protoOf(asFlow$$inlined$unsafeFlow$1).z18 = function (collector, $completion) {
|
|
6889
|
-
var tmp = new $collectCOROUTINE$
|
|
6891
|
+
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
6890
6892
|
tmp.i9_1 = Unit_instance;
|
|
6891
6893
|
tmp.j9_1 = null;
|
|
6892
6894
|
return tmp.o9();
|
|
@@ -6901,17 +6903,17 @@
|
|
|
6901
6903
|
throw _this__u8e3s4;
|
|
6902
6904
|
}
|
|
6903
6905
|
function firstOrNull(_this__u8e3s4, predicate, $completion) {
|
|
6904
|
-
var tmp = new $firstOrNullCOROUTINE$
|
|
6906
|
+
var tmp = new $firstOrNullCOROUTINE$(_this__u8e3s4, predicate, $completion);
|
|
6905
6907
|
tmp.i9_1 = Unit_instance;
|
|
6906
6908
|
tmp.j9_1 = null;
|
|
6907
6909
|
return tmp.o9();
|
|
6908
6910
|
}
|
|
6909
|
-
function $emitCOROUTINE$
|
|
6911
|
+
function $emitCOROUTINE$(_this__u8e3s4, value, resultContinuation) {
|
|
6910
6912
|
CoroutineImpl.call(this, resultContinuation);
|
|
6911
6913
|
this.y19_1 = _this__u8e3s4;
|
|
6912
6914
|
this.z19_1 = value;
|
|
6913
6915
|
}
|
|
6914
|
-
protoOf($emitCOROUTINE$
|
|
6916
|
+
protoOf($emitCOROUTINE$).o9 = function () {
|
|
6915
6917
|
var suspendResult = this.i9_1;
|
|
6916
6918
|
$sm: do
|
|
6917
6919
|
try {
|
|
@@ -6973,7 +6975,7 @@
|
|
|
6973
6975
|
this.e1a_1 = $result;
|
|
6974
6976
|
}
|
|
6975
6977
|
protoOf(firstOrNull$$inlined$collectWhile$1).f1a = function (value, $completion) {
|
|
6976
|
-
var tmp = new $emitCOROUTINE$
|
|
6978
|
+
var tmp = new $emitCOROUTINE$(this, value, $completion);
|
|
6977
6979
|
tmp.i9_1 = Unit_instance;
|
|
6978
6980
|
tmp.j9_1 = null;
|
|
6979
6981
|
return tmp.o9();
|
|
@@ -6981,12 +6983,12 @@
|
|
|
6981
6983
|
protoOf(firstOrNull$$inlined$collectWhile$1).y18 = function (value, $completion) {
|
|
6982
6984
|
return this.f1a((value == null ? true : !(value == null)) ? value : THROW_CCE(), $completion);
|
|
6983
6985
|
};
|
|
6984
|
-
function $firstOrNullCOROUTINE$
|
|
6986
|
+
function $firstOrNullCOROUTINE$(_this__u8e3s4, predicate, resultContinuation) {
|
|
6985
6987
|
CoroutineImpl.call(this, resultContinuation);
|
|
6986
6988
|
this.k19_1 = _this__u8e3s4;
|
|
6987
6989
|
this.l19_1 = predicate;
|
|
6988
6990
|
}
|
|
6989
|
-
protoOf($firstOrNullCOROUTINE$
|
|
6991
|
+
protoOf($firstOrNullCOROUTINE$).o9 = function () {
|
|
6990
6992
|
var suspendResult = this.i9_1;
|
|
6991
6993
|
$sm: do
|
|
6992
6994
|
try {
|
|
@@ -7693,6 +7695,7 @@
|
|
|
7693
7695
|
Exception_init_$Init$('Coroutine dispatcher ' + dispatcher.toString() + ' threw an exception, context = ' + toString(context), cause, this);
|
|
7694
7696
|
captureStack(this, DispatchException);
|
|
7695
7697
|
this.ex_1 = cause;
|
|
7698
|
+
delete this.cause;
|
|
7696
7699
|
}
|
|
7697
7700
|
protoOf(DispatchException).ba = function () {
|
|
7698
7701
|
return this.ex_1;
|
|
@@ -8082,12 +8085,12 @@
|
|
|
8082
8085
|
protoOf(SelectClause1Impl).n1a = function () {
|
|
8083
8086
|
return this.r1a_1;
|
|
8084
8087
|
};
|
|
8085
|
-
function $invokeBlockCOROUTINE$
|
|
8088
|
+
function $invokeBlockCOROUTINE$(_this__u8e3s4, argument, resultContinuation) {
|
|
8086
8089
|
CoroutineImpl.call(this, resultContinuation);
|
|
8087
8090
|
this.a1b_1 = _this__u8e3s4;
|
|
8088
8091
|
this.b1b_1 = argument;
|
|
8089
8092
|
}
|
|
8090
|
-
protoOf($invokeBlockCOROUTINE$
|
|
8093
|
+
protoOf($invokeBlockCOROUTINE$).o9 = function () {
|
|
8091
8094
|
var suspendResult = this.i9_1;
|
|
8092
8095
|
$sm: do
|
|
8093
8096
|
try {
|
|
@@ -8147,7 +8150,7 @@
|
|
|
8147
8150
|
return tmp instanceof ClauseData;
|
|
8148
8151
|
}
|
|
8149
8152
|
function doSelectSuspend($this, $completion) {
|
|
8150
|
-
var tmp = new $doSelectSuspendCOROUTINE$
|
|
8153
|
+
var tmp = new $doSelectSuspendCOROUTINE$($this, $completion);
|
|
8151
8154
|
tmp.i9_1 = Unit_instance;
|
|
8152
8155
|
tmp.j9_1 = null;
|
|
8153
8156
|
return tmp.o9();
|
|
@@ -8315,13 +8318,13 @@
|
|
|
8315
8318
|
return tmp_0;
|
|
8316
8319
|
}
|
|
8317
8320
|
function complete($this, $completion) {
|
|
8318
|
-
var tmp = new $completeCOROUTINE$
|
|
8321
|
+
var tmp = new $completeCOROUTINE$($this, $completion);
|
|
8319
8322
|
tmp.i9_1 = Unit_instance;
|
|
8320
8323
|
tmp.j9_1 = null;
|
|
8321
8324
|
return tmp.o9();
|
|
8322
8325
|
}
|
|
8323
8326
|
function processResultAndInvokeBlockRecoveringException($this, clause, internalResult, $completion) {
|
|
8324
|
-
var tmp = new $processResultAndInvokeBlockRecoveringExceptionCOROUTINE$
|
|
8327
|
+
var tmp = new $processResultAndInvokeBlockRecoveringExceptionCOROUTINE$($this, clause, internalResult, $completion);
|
|
8325
8328
|
tmp.i9_1 = Unit_instance;
|
|
8326
8329
|
tmp.j9_1 = null;
|
|
8327
8330
|
return tmp.o9();
|
|
@@ -8369,7 +8372,7 @@
|
|
|
8369
8372
|
return this.g1b_1(this.e1b_1, this.h1b_1, result);
|
|
8370
8373
|
};
|
|
8371
8374
|
protoOf(ClauseData).a1d = function (argument, $completion) {
|
|
8372
|
-
var tmp = new $invokeBlockCOROUTINE$
|
|
8375
|
+
var tmp = new $invokeBlockCOROUTINE$(this, argument, $completion);
|
|
8373
8376
|
tmp.i9_1 = Unit_instance;
|
|
8374
8377
|
tmp.j9_1 = null;
|
|
8375
8378
|
return tmp.o9();
|
|
@@ -8397,11 +8400,11 @@
|
|
|
8397
8400
|
var tmp0_safe_receiver = this.j1b_1;
|
|
8398
8401
|
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver(select, this.h1b_1, internalResult);
|
|
8399
8402
|
};
|
|
8400
|
-
function $doSelectCOROUTINE$
|
|
8403
|
+
function $doSelectCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
8401
8404
|
CoroutineImpl.call(this, resultContinuation);
|
|
8402
8405
|
this.j1d_1 = _this__u8e3s4;
|
|
8403
8406
|
}
|
|
8404
|
-
protoOf($doSelectCOROUTINE$
|
|
8407
|
+
protoOf($doSelectCOROUTINE$).o9 = function () {
|
|
8405
8408
|
var suspendResult = this.i9_1;
|
|
8406
8409
|
$sm: do
|
|
8407
8410
|
try {
|
|
@@ -8449,11 +8452,11 @@
|
|
|
8449
8452
|
}
|
|
8450
8453
|
while (true);
|
|
8451
8454
|
};
|
|
8452
|
-
function $doSelectSuspendCOROUTINE$
|
|
8455
|
+
function $doSelectSuspendCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
8453
8456
|
CoroutineImpl.call(this, resultContinuation);
|
|
8454
8457
|
this.v1b_1 = _this__u8e3s4;
|
|
8455
8458
|
}
|
|
8456
|
-
protoOf($doSelectSuspendCOROUTINE$
|
|
8459
|
+
protoOf($doSelectSuspendCOROUTINE$).o9 = function () {
|
|
8457
8460
|
var suspendResult = this.i9_1;
|
|
8458
8461
|
$sm: do
|
|
8459
8462
|
try {
|
|
@@ -8492,11 +8495,11 @@
|
|
|
8492
8495
|
}
|
|
8493
8496
|
while (true);
|
|
8494
8497
|
};
|
|
8495
|
-
function $completeCOROUTINE$
|
|
8498
|
+
function $completeCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
8496
8499
|
CoroutineImpl.call(this, resultContinuation);
|
|
8497
8500
|
this.g1c_1 = _this__u8e3s4;
|
|
8498
8501
|
}
|
|
8499
|
-
protoOf($completeCOROUTINE$
|
|
8502
|
+
protoOf($completeCOROUTINE$).o9 = function () {
|
|
8500
8503
|
var suspendResult = this.i9_1;
|
|
8501
8504
|
$sm: do
|
|
8502
8505
|
try {
|
|
@@ -8550,13 +8553,13 @@
|
|
|
8550
8553
|
}
|
|
8551
8554
|
while (true);
|
|
8552
8555
|
};
|
|
8553
|
-
function $processResultAndInvokeBlockRecoveringExceptionCOROUTINE$
|
|
8556
|
+
function $processResultAndInvokeBlockRecoveringExceptionCOROUTINE$(_this__u8e3s4, clause, internalResult, resultContinuation) {
|
|
8554
8557
|
CoroutineImpl.call(this, resultContinuation);
|
|
8555
8558
|
this.t1c_1 = _this__u8e3s4;
|
|
8556
8559
|
this.u1c_1 = clause;
|
|
8557
8560
|
this.v1c_1 = internalResult;
|
|
8558
8561
|
}
|
|
8559
|
-
protoOf($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$
|
|
8562
|
+
protoOf($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$).o9 = function () {
|
|
8560
8563
|
var suspendResult = this.i9_1;
|
|
8561
8564
|
$sm: do
|
|
8562
8565
|
try {
|
|
@@ -8618,7 +8621,7 @@
|
|
|
8618
8621
|
return this.s14_1;
|
|
8619
8622
|
};
|
|
8620
8623
|
protoOf(SelectImplementation).l1d = function ($completion) {
|
|
8621
|
-
var tmp = new $doSelectCOROUTINE$
|
|
8624
|
+
var tmp = new $doSelectCOROUTINE$(this, $completion);
|
|
8622
8625
|
tmp.i9_1 = Unit_instance;
|
|
8623
8626
|
tmp.j9_1 = null;
|
|
8624
8627
|
return tmp.o9();
|
|
@@ -9044,42 +9047,42 @@
|
|
|
9044
9047
|
var curTail = $this.f1e_1.kotlinx$atomicfu$value;
|
|
9045
9048
|
var enqIdx = $this.g1e_1.atomicfu$getAndIncrement$long();
|
|
9046
9049
|
var createNewSegment = createSegment$ref_0();
|
|
9047
|
-
var
|
|
9050
|
+
var tmp0 = $this.f1e_1;
|
|
9048
9051
|
// Inline function 'kotlin.Long.div' call
|
|
9049
9052
|
var other = get_SEGMENT_SIZE_0();
|
|
9050
|
-
var
|
|
9053
|
+
var tmp2 = enqIdx.c3(toLong(other));
|
|
9051
9054
|
var tmp$ret$3;
|
|
9052
9055
|
$l$block_2: {
|
|
9053
9056
|
// Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
|
|
9054
9057
|
while (true) {
|
|
9055
|
-
var s = findSegmentInternal(curTail,
|
|
9058
|
+
var s = findSegmentInternal(curTail, tmp2, createNewSegment);
|
|
9056
9059
|
var tmp;
|
|
9057
9060
|
if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(s)) {
|
|
9058
9061
|
tmp = true;
|
|
9059
9062
|
} else {
|
|
9060
|
-
var
|
|
9063
|
+
var tmp2_0 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
|
|
9061
9064
|
var tmp$ret$1;
|
|
9062
9065
|
$l$block_1: {
|
|
9063
9066
|
// Inline function 'kotlinx.coroutines.internal.moveForward' call
|
|
9064
9067
|
while (true) {
|
|
9065
|
-
var cur =
|
|
9066
|
-
if (cur.uu_1.e1(
|
|
9068
|
+
var cur = tmp0.kotlinx$atomicfu$value;
|
|
9069
|
+
if (cur.uu_1.e1(tmp2_0.uu_1) >= 0) {
|
|
9067
9070
|
tmp$ret$1 = true;
|
|
9068
9071
|
break $l$block_1;
|
|
9069
9072
|
}
|
|
9070
|
-
if (!
|
|
9073
|
+
if (!tmp2_0.p12()) {
|
|
9071
9074
|
tmp$ret$1 = false;
|
|
9072
9075
|
break $l$block_1;
|
|
9073
9076
|
}
|
|
9074
|
-
if (
|
|
9077
|
+
if (tmp0.atomicfu$compareAndSet(cur, tmp2_0)) {
|
|
9075
9078
|
if (cur.q12()) {
|
|
9076
9079
|
cur.r4();
|
|
9077
9080
|
}
|
|
9078
9081
|
tmp$ret$1 = true;
|
|
9079
9082
|
break $l$block_1;
|
|
9080
9083
|
}
|
|
9081
|
-
if (
|
|
9082
|
-
|
|
9084
|
+
if (tmp2_0.q12()) {
|
|
9085
|
+
tmp2_0.r4();
|
|
9083
9086
|
}
|
|
9084
9087
|
}
|
|
9085
9088
|
tmp$ret$1 = Unit_instance;
|
|
@@ -9101,10 +9104,10 @@
|
|
|
9101
9104
|
waiter.vv(segment, i);
|
|
9102
9105
|
return true;
|
|
9103
9106
|
}
|
|
9104
|
-
var
|
|
9107
|
+
var tmp4 = get_PERMIT();
|
|
9105
9108
|
// Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.cas' call
|
|
9106
9109
|
var value = get_TAKEN();
|
|
9107
|
-
if (segment.v1e_1.atomicfu$get(i).atomicfu$compareAndSet(
|
|
9110
|
+
if (segment.v1e_1.atomicfu$get(i).atomicfu$compareAndSet(tmp4, value)) {
|
|
9108
9111
|
if (isInterface(waiter, CancellableContinuation)) {
|
|
9109
9112
|
if (!isInterface(waiter, CancellableContinuation))
|
|
9110
9113
|
THROW_CCE();
|
|
@@ -9130,7 +9133,7 @@
|
|
|
9130
9133
|
var other = get_SEGMENT_SIZE_0();
|
|
9131
9134
|
var id = deqIdx.c3(toLong(other));
|
|
9132
9135
|
var createNewSegment = createSegment$ref_1();
|
|
9133
|
-
var
|
|
9136
|
+
var tmp0 = $this.d1e_1;
|
|
9134
9137
|
var tmp$ret$3;
|
|
9135
9138
|
$l$block_2: {
|
|
9136
9139
|
// Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
|
|
@@ -9140,29 +9143,29 @@
|
|
|
9140
9143
|
if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(s)) {
|
|
9141
9144
|
tmp = true;
|
|
9142
9145
|
} else {
|
|
9143
|
-
var
|
|
9146
|
+
var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
|
|
9144
9147
|
var tmp$ret$1;
|
|
9145
9148
|
$l$block_1: {
|
|
9146
9149
|
// Inline function 'kotlinx.coroutines.internal.moveForward' call
|
|
9147
9150
|
while (true) {
|
|
9148
|
-
var cur =
|
|
9149
|
-
if (cur.uu_1.e1(
|
|
9151
|
+
var cur = tmp0.kotlinx$atomicfu$value;
|
|
9152
|
+
if (cur.uu_1.e1(tmp2.uu_1) >= 0) {
|
|
9150
9153
|
tmp$ret$1 = true;
|
|
9151
9154
|
break $l$block_1;
|
|
9152
9155
|
}
|
|
9153
|
-
if (!
|
|
9156
|
+
if (!tmp2.p12()) {
|
|
9154
9157
|
tmp$ret$1 = false;
|
|
9155
9158
|
break $l$block_1;
|
|
9156
9159
|
}
|
|
9157
|
-
if (
|
|
9160
|
+
if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
|
|
9158
9161
|
if (cur.q12()) {
|
|
9159
9162
|
cur.r4();
|
|
9160
9163
|
}
|
|
9161
9164
|
tmp$ret$1 = true;
|
|
9162
9165
|
break $l$block_1;
|
|
9163
9166
|
}
|
|
9164
|
-
if (
|
|
9165
|
-
|
|
9167
|
+
if (tmp2.q12()) {
|
|
9168
|
+
tmp2.r4();
|
|
9166
9169
|
}
|
|
9167
9170
|
}
|
|
9168
9171
|
tmp$ret$1 = Unit_instance;
|
|
@@ -9198,10 +9201,10 @@
|
|
|
9198
9201
|
return true;
|
|
9199
9202
|
}
|
|
9200
9203
|
while (inductionVariable < times);
|
|
9201
|
-
var
|
|
9204
|
+
var tmp4 = get_PERMIT();
|
|
9202
9205
|
// Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.cas' call
|
|
9203
9206
|
var value_0 = get_BROKEN();
|
|
9204
|
-
return !segment.v1e_1.atomicfu$get(i).atomicfu$compareAndSet(
|
|
9207
|
+
return !segment.v1e_1.atomicfu$get(i).atomicfu$compareAndSet(tmp4, value_0);
|
|
9205
9208
|
} else if (cellState === get_CANCELLED())
|
|
9206
9209
|
return false;
|
|
9207
9210
|
else
|