@cruglobal/godtools-shared 1.3.2 → 1.3.3-PR1150-SNAPSHOT.2285

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.
@@ -16,18 +16,17 @@
16
16
  'use strict';
17
17
  //region block: imports
18
18
  var imul = Math.imul;
19
- var Unit_instance = kotlin_kotlin.$_$.l2;
19
+ var Unit_instance = kotlin_kotlin.$_$.g;
20
20
  var protoOf = kotlin_kotlin.$_$.k7;
21
- var THROW_CCE = kotlin_kotlin.$_$.u9;
22
21
  var Continuation = kotlin_kotlin.$_$.h5;
23
22
  var initMetadataForClass = kotlin_kotlin.$_$.v6;
24
23
  var VOID = kotlin_kotlin.$_$.b;
25
24
  var toString = kotlin_kotlin.$_$.m7;
26
25
  var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
27
26
  var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.q5;
28
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.e;
29
- var Companion_instance = kotlin_kotlin.$_$.k2;
30
- var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.y1;
27
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
28
+ var Companion_instance = kotlin_kotlin.$_$.f;
29
+ var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.d2;
31
30
  var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
32
31
  var intercepted = kotlin_kotlin.$_$.a5;
33
32
  var CoroutineImpl = kotlin_kotlin.$_$.n5;
@@ -35,51 +34,52 @@
35
34
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y4;
36
35
  var emptyList = kotlin_kotlin.$_$.m3;
37
36
  var initMetadataForCoroutine = kotlin_kotlin.$_$.x6;
38
- var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.i2;
39
- var Key_instance = kotlin_kotlin.$_$.h2;
37
+ var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.d;
38
+ var Key_instance = kotlin_kotlin.$_$.c;
40
39
  var equals = kotlin_kotlin.$_$.o6;
41
40
  var createCoroutineUnintercepted = kotlin_kotlin.$_$.z4;
42
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.e1;
41
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.j1;
43
42
  var initMetadataForInterface = kotlin_kotlin.$_$.y6;
44
- var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.s1;
43
+ var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.x1;
45
44
  var isInterface = kotlin_kotlin.$_$.d7;
45
+ var THROW_CCE = kotlin_kotlin.$_$.u9;
46
46
  var toString_0 = kotlin_kotlin.$_$.ha;
47
47
  var initMetadataForObject = kotlin_kotlin.$_$.a7;
48
48
  var hashCode = kotlin_kotlin.$_$.u6;
49
49
  var createFailure = kotlin_kotlin.$_$.aa;
50
50
  var atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.b;
51
- var CancellationException_init_$Create$ = kotlin_kotlin.$_$.n;
52
- var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.z1;
53
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.a2;
51
+ var CancellationException_init_$Create$ = kotlin_kotlin.$_$.s;
52
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.e2;
53
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.f2;
54
54
  var AbstractCoroutineContextKey = kotlin_kotlin.$_$.d5;
55
55
  var AbstractCoroutineContextElement = kotlin_kotlin.$_$.c5;
56
56
  var get = kotlin_kotlin.$_$.e5;
57
57
  var minusKey = kotlin_kotlin.$_$.f5;
58
58
  var ContinuationInterceptor = kotlin_kotlin.$_$.g5;
59
- var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.q1;
59
+ var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.v1;
60
60
  var addSuppressed = kotlin_kotlin.$_$.z9;
61
61
  var Enum = kotlin_kotlin.$_$.k9;
62
62
  var startCoroutine = kotlin_kotlin.$_$.o5;
63
63
  var noWhenBranchMatchedException = kotlin_kotlin.$_$.ea;
64
64
  var Long = kotlin_kotlin.$_$.p9;
65
- var ArrayDeque_init_$Create$ = kotlin_kotlin.$_$.d;
65
+ var ArrayDeque_init_$Create$ = kotlin_kotlin.$_$.i;
66
66
  var compare = kotlin_kotlin.$_$.v5;
67
67
  var add = kotlin_kotlin.$_$.t5;
68
68
  var subtract = kotlin_kotlin.$_$.e6;
69
69
  var RuntimeException = kotlin_kotlin.$_$.t9;
70
- var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.p1;
70
+ var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.u1;
71
71
  var captureStack = kotlin_kotlin.$_$.h6;
72
72
  var Error_0 = kotlin_kotlin.$_$.l9;
73
- var Error_init_$Init$ = kotlin_kotlin.$_$.v;
73
+ var Error_init_$Init$ = kotlin_kotlin.$_$.a1;
74
74
  var Element = kotlin_kotlin.$_$.l5;
75
75
  var CancellationException = kotlin_kotlin.$_$.x4;
76
76
  var ArrayList = kotlin_kotlin.$_$.o2;
77
- var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.f1;
77
+ var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.k1;
78
78
  var plus = kotlin_kotlin.$_$.m5;
79
79
  var get_0 = kotlin_kotlin.$_$.j5;
80
80
  var fold = kotlin_kotlin.$_$.i5;
81
81
  var minusKey_0 = kotlin_kotlin.$_$.k5;
82
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.t;
82
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.y;
83
83
  var anyToString = kotlin_kotlin.$_$.g6;
84
84
  var UnsupportedOperationException = kotlin_kotlin.$_$.y9;
85
85
  var atomicfu$AtomicRefArray$ofNulls = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
@@ -92,20 +92,20 @@
92
92
  var equalsLong = kotlin_kotlin.$_$.y5;
93
93
  var bitwiseAnd = kotlin_kotlin.$_$.u5;
94
94
  var shiftRight = kotlin_kotlin.$_$.d6;
95
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
95
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.f1;
96
96
  var atomic$long$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.c;
97
97
  var listOf = kotlin_kotlin.$_$.f4;
98
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.f;
99
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.i1;
98
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
99
+ var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.n1;
100
100
  var compareTo = kotlin_kotlin.$_$.m6;
101
101
  var last = kotlin_kotlin.$_$.n8;
102
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
102
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.y1;
103
103
  var shiftLeft = kotlin_kotlin.$_$.c6;
104
104
  var initMetadataForCompanion = kotlin_kotlin.$_$.w6;
105
105
  var IllegalStateException = kotlin_kotlin.$_$.o9;
106
- var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.d1;
106
+ var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.i1;
107
107
  var NoSuchElementException = kotlin_kotlin.$_$.q9;
108
- var NoSuchElementException_init_$Init$ = kotlin_kotlin.$_$.j1;
108
+ var NoSuchElementException_init_$Init$ = kotlin_kotlin.$_$.o1;
109
109
  var getKClass = kotlin_kotlin.$_$.y7;
110
110
  var Unit = kotlin_kotlin.$_$.x9;
111
111
  var copyOf = kotlin_kotlin.$_$.i3;
@@ -121,22 +121,22 @@
121
121
  var arrayCopy = kotlin_kotlin.$_$.y2;
122
122
  var throwKotlinNothingValueException = kotlin_kotlin.$_$.ga;
123
123
  var Exception = kotlin_kotlin.$_$.m9;
124
- var Exception_init_$Init$ = kotlin_kotlin.$_$.z;
124
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.e1;
125
125
  var defineProp = kotlin_kotlin.$_$.n6;
126
126
  var toLongOrNull = kotlin_kotlin.$_$.d9;
127
127
  var plus_0 = kotlin_kotlin.$_$.l4;
128
128
  var KtList = kotlin_kotlin.$_$.r2;
129
129
  var listOf_0 = kotlin_kotlin.$_$.e4;
130
130
  var getKClassFromExpression = kotlin_kotlin.$_$.x7;
131
- var Exception_init_$Create$ = kotlin_kotlin.$_$.y;
131
+ var Exception_init_$Create$ = kotlin_kotlin.$_$.d1;
132
132
  var removeFirstOrNull = kotlin_kotlin.$_$.m4;
133
133
  var Collection = kotlin_kotlin.$_$.p2;
134
- var CancellationException_init_$Init$ = kotlin_kotlin.$_$.o;
134
+ var CancellationException_init_$Init$ = kotlin_kotlin.$_$.t;
135
135
  var getStringHashCode = kotlin_kotlin.$_$.t6;
136
- var CancellationException_init_$Create$_0 = kotlin_kotlin.$_$.p;
137
- var HashSet_init_$Create$ = kotlin_kotlin.$_$.i;
138
- var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.n1;
139
- var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.m;
136
+ var CancellationException_init_$Create$_0 = kotlin_kotlin.$_$.u;
137
+ var HashSet_init_$Create$ = kotlin_kotlin.$_$.n;
138
+ var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.s1;
139
+ var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.r;
140
140
  //endregion
141
141
  //region block: pre-declaration
142
142
  function cancel$default(cause, $super) {
@@ -154,13 +154,13 @@
154
154
  initMetadataForInterface(ParentJob, 'ParentJob', VOID, VOID, [Job], [0]);
155
155
  initMetadataForClass(JobSupport, 'JobSupport', VOID, VOID, [Job, ParentJob], [0]);
156
156
  initMetadataForInterface(CoroutineScope, 'CoroutineScope');
157
- initMetadataForClass(AbstractCoroutine, 'AbstractCoroutine', VOID, JobSupport, [JobSupport, Job, Continuation, CoroutineScope], [0]);
157
+ initMetadataForClass(AbstractCoroutine, 'AbstractCoroutine', VOID, JobSupport, [Job, Continuation, CoroutineScope], [0]);
158
158
  initMetadataForInterface(NotCompleted, 'NotCompleted');
159
159
  initMetadataForInterface(CancelHandler, 'CancelHandler', VOID, VOID, [NotCompleted]);
160
160
  initMetadataForClass(DisposeHandlersOnCancel, 'DisposeHandlersOnCancel', VOID, VOID, [CancelHandler]);
161
161
  initMetadataForClass(LockFreeLinkedListNode, 'LockFreeLinkedListNode', LockFreeLinkedListNode);
162
162
  initMetadataForInterface(Incomplete, 'Incomplete');
163
- initMetadataForClass(JobNode, 'JobNode', VOID, LockFreeLinkedListNode, [LockFreeLinkedListNode, Incomplete]);
163
+ initMetadataForClass(JobNode, 'JobNode', VOID, LockFreeLinkedListNode, [Incomplete]);
164
164
  initMetadataForClass(AwaitAllNode, 'AwaitAllNode', VOID, JobNode);
165
165
  initMetadataForClass(AwaitAll, 'AwaitAll', VOID, VOID, VOID, [0]);
166
166
  initMetadataForCoroutine($awaitAllCOROUTINE$, CoroutineImpl);
@@ -168,7 +168,7 @@
168
168
  initMetadataForClass(LazyStandaloneCoroutine, 'LazyStandaloneCoroutine', VOID, StandaloneCoroutine, VOID, [0]);
169
169
  initMetadataForClass(ScopeCoroutine, 'ScopeCoroutine', VOID, AbstractCoroutine, VOID, [0]);
170
170
  initMetadataForClass(DispatchedCoroutine, 'DispatchedCoroutine', VOID, ScopeCoroutine, VOID, [0]);
171
- initMetadataForClass(DeferredCoroutine, 'DeferredCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, Job], [0]);
171
+ initMetadataForClass(DeferredCoroutine, 'DeferredCoroutine', VOID, AbstractCoroutine, [Job], [0]);
172
172
  initMetadataForClass(LazyDeferredCoroutine, 'LazyDeferredCoroutine', VOID, DeferredCoroutine, VOID, [0]);
173
173
  initMetadataForInterface(CancellableContinuation, 'CancellableContinuation', VOID, VOID, [Continuation]);
174
174
  initMetadataForClass(DisposeOnCancel, 'DisposeOnCancel', VOID, VOID, [CancelHandler]);
@@ -176,15 +176,15 @@
176
176
  initMetadataForClass(SchedulerTask, 'SchedulerTask', VOID, VOID, [Runnable]);
177
177
  initMetadataForClass(DispatchedTask, 'DispatchedTask', VOID, SchedulerTask);
178
178
  initMetadataForInterface(Waiter, 'Waiter');
179
- initMetadataForClass(CancellableContinuationImpl, 'CancellableContinuationImpl', VOID, DispatchedTask, [DispatchedTask, CancellableContinuation, Waiter]);
179
+ initMetadataForClass(CancellableContinuationImpl, 'CancellableContinuationImpl', VOID, DispatchedTask, [CancellableContinuation, Waiter]);
180
180
  initMetadataForObject(Active, 'Active', VOID, VOID, [NotCompleted]);
181
181
  initMetadataForClass(CompletedContinuation, 'CompletedContinuation');
182
182
  initMetadataForClass(ChildContinuation, 'ChildContinuation', VOID, JobNode);
183
- initMetadataForClass(CompletableDeferredImpl, 'CompletableDeferredImpl', VOID, JobSupport, [JobSupport, Job], [0]);
183
+ initMetadataForClass(CompletableDeferredImpl, 'CompletableDeferredImpl', VOID, JobSupport, [Job], [0]);
184
184
  initMetadataForClass(CompletedExceptionally, 'CompletedExceptionally');
185
185
  initMetadataForClass(CancelledContinuation, 'CancelledContinuation', VOID, CompletedExceptionally);
186
186
  initMetadataForObject(Key, 'Key', VOID, AbstractCoroutineContextKey);
187
- initMetadataForClass(CoroutineDispatcher, 'CoroutineDispatcher', VOID, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, ContinuationInterceptor]);
187
+ initMetadataForClass(CoroutineDispatcher, 'CoroutineDispatcher', VOID, AbstractCoroutineContextElement, [ContinuationInterceptor]);
188
188
  initMetadataForObject(Key_0, 'Key');
189
189
  initMetadataForObject(GlobalScope, 'GlobalScope', VOID, VOID, [CoroutineScope]);
190
190
  initMetadataForClass(CoroutineStart, 'CoroutineStart', VOID, Enum);
@@ -195,12 +195,12 @@
195
195
  initMetadataForObject(Key_1, 'Key');
196
196
  initMetadataForObject(NonDisposableHandle, 'NonDisposableHandle');
197
197
  initMetadataForClass(SynchronizedObject, 'SynchronizedObject', SynchronizedObject);
198
- initMetadataForClass(Finishing, 'Finishing', VOID, SynchronizedObject, [SynchronizedObject, Incomplete]);
198
+ initMetadataForClass(Finishing, 'Finishing', VOID, SynchronizedObject, [Incomplete]);
199
199
  initMetadataForClass(ChildCompletion, 'ChildCompletion', VOID, JobNode);
200
- initMetadataForClass(JobImpl, 'JobImpl', VOID, JobSupport, [JobSupport, Job], [0]);
200
+ initMetadataForClass(JobImpl, 'JobImpl', VOID, JobSupport, [Job], [0]);
201
201
  initMetadataForClass(Empty, 'Empty', VOID, VOID, [Incomplete]);
202
202
  initMetadataForClass(LockFreeLinkedListHead, 'LockFreeLinkedListHead', LockFreeLinkedListHead, LockFreeLinkedListNode);
203
- initMetadataForClass(NodeList, 'NodeList', NodeList, LockFreeLinkedListHead, [LockFreeLinkedListHead, Incomplete]);
203
+ initMetadataForClass(NodeList, 'NodeList', NodeList, LockFreeLinkedListHead, [Incomplete]);
204
204
  initMetadataForClass(IncompleteStateBox, 'IncompleteStateBox');
205
205
  initMetadataForClass(InactiveNodeList, 'InactiveNodeList', VOID, VOID, [Incomplete]);
206
206
  initMetadataForClass(InvokeOnCompletion, 'InvokeOnCompletion', VOID, JobNode);
@@ -213,7 +213,7 @@
213
213
  initMetadataForClass(YieldContext, 'YieldContext', YieldContext, AbstractCoroutineContextElement);
214
214
  initMetadataForClass(BufferOverflow, 'BufferOverflow', VOID, Enum);
215
215
  initMetadataForClass(ConcurrentLinkedListNode, 'ConcurrentLinkedListNode');
216
- initMetadataForClass(Segment, 'Segment', VOID, ConcurrentLinkedListNode, [ConcurrentLinkedListNode, NotCompleted]);
216
+ initMetadataForClass(Segment, 'Segment', VOID, ConcurrentLinkedListNode, [NotCompleted]);
217
217
  initMetadataForClass(ChannelSegment, 'ChannelSegment', VOID, Segment);
218
218
  initMetadataForCoroutine($hasNextCOROUTINE$, CoroutineImpl);
219
219
  initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
@@ -247,10 +247,10 @@
247
247
  initMetadataForClass(ChannelResult, 'ChannelResult');
248
248
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
249
249
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
250
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
250
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [1, 0]);
251
251
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
252
252
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
253
- initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
253
+ initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
254
254
  initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
255
255
  initMetadataForClass(flowOf$$inlined$unsafeFlow$1, VOID, VOID, VOID, VOID, [1]);
256
256
  initMetadataForCoroutine($emitAllImplCOROUTINE$, CoroutineImpl);
@@ -265,12 +265,12 @@
265
265
  return $super === VOID ? this.w23(context, capacity, onBufferOverflow) : $super.w23.call(this, context, capacity, onBufferOverflow);
266
266
  }
267
267
  initMetadataForInterface(FusibleFlow, 'FusibleFlow', VOID, VOID, VOID, [1]);
268
- initMetadataForClass(SharedFlowImpl, 'SharedFlowImpl', VOID, AbstractSharedFlow, [AbstractSharedFlow, FlowCollector, FusibleFlow], [1]);
268
+ initMetadataForClass(SharedFlowImpl, 'SharedFlowImpl', VOID, AbstractSharedFlow, [FlowCollector, FusibleFlow], [1]);
269
269
  initMetadataForClass(AbstractSharedFlowSlot, 'AbstractSharedFlowSlot');
270
270
  initMetadataForClass(SharedFlowSlot, 'SharedFlowSlot', SharedFlowSlot, AbstractSharedFlowSlot);
271
271
  initMetadataForInterface(StateFlow, 'StateFlow', VOID, VOID, VOID, [1]);
272
272
  initMetadataForCoroutine($collectCOROUTINE$_1, CoroutineImpl);
273
- initMetadataForClass(StateFlowImpl, 'StateFlowImpl', VOID, AbstractSharedFlow, [AbstractSharedFlow, StateFlow, FlowCollector, FusibleFlow], [1]);
273
+ initMetadataForClass(StateFlowImpl, 'StateFlowImpl', VOID, AbstractSharedFlow, [FlowCollector, StateFlow, FusibleFlow], [1]);
274
274
  initMetadataForClass(StateFlowSlot, 'StateFlowSlot', StateFlowSlot, AbstractSharedFlowSlot, VOID, [0]);
275
275
  initMetadataForClass(ChannelFlow, 'ChannelFlow', VOID, VOID, [FusibleFlow], [1]);
276
276
  initMetadataForClass(ChannelFlowOperator, 'ChannelFlowOperator', VOID, ChannelFlow, VOID, [1, 2]);
@@ -309,18 +309,18 @@
309
309
  initMetadataForLambda(launchIn$slambda, CoroutineImpl, VOID, [1]);
310
310
  initMetadataForClass(SegmentOrClosed, 'SegmentOrClosed');
311
311
  initMetadataForObject(ExceptionSuccessfullyProcessed, 'ExceptionSuccessfullyProcessed', VOID, Exception);
312
- initMetadataForClass(DispatchedContinuation, 'DispatchedContinuation', VOID, DispatchedTask, [DispatchedTask, Continuation]);
312
+ initMetadataForClass(DispatchedContinuation, 'DispatchedContinuation', VOID, DispatchedTask, [Continuation]);
313
313
  initMetadataForClass(DispatchException, 'DispatchException', VOID, Exception);
314
314
  initMetadataForClass(UndeliveredElementException, 'UndeliveredElementException', VOID, RuntimeException);
315
315
  initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope]);
316
316
  initMetadataForClass(Symbol, 'Symbol');
317
317
  initMetadataForInterface(SelectInstance, 'SelectInstance');
318
318
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
319
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
319
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
320
320
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
321
321
  initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, VOID, [1]);
322
322
  initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
323
- initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [KtList, Collection]);
323
+ initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [Collection, KtList]);
324
324
  initMetadataForClass(ScheduledMessageQueue, 'ScheduledMessageQueue', VOID, MessageQueue);
325
325
  initMetadataForClass(WindowMessageQueue, 'WindowMessageQueue', VOID, MessageQueue);
326
326
  initMetadataForClass(UnconfinedEventLoop, 'UnconfinedEventLoop', UnconfinedEventLoop, EventLoop);
@@ -365,7 +365,7 @@
365
365
  if (state instanceof CompletedExceptionally) {
366
366
  this.a1k(state.d1k_1, state.f1k());
367
367
  } else {
368
- this.z1j((state == null ? true : !(state == null)) ? state : THROW_CCE());
368
+ this.z1j(state);
369
369
  }
370
370
  };
371
371
  protoOf(AbstractCoroutine).c8 = function (result) {
@@ -467,13 +467,13 @@
467
467
  while (inductionVariable < last) {
468
468
  var item = this_0[inductionVariable];
469
469
  inductionVariable = inductionVariable + 1 | 0;
470
- var tmp$ret$0 = item.z1m();
471
- destination.h(tmp$ret$0);
470
+ var tmp$ret$2 = item.z1m();
471
+ destination.h(tmp$ret$2);
472
472
  }
473
473
  // Inline function 'kotlin.coroutines.resume' call
474
474
  // Inline function 'kotlin.Companion.success' call
475
- var tmp$ret$3 = _Result___init__impl__xyqfz8(destination);
476
- tmp0.c8(tmp$ret$3);
475
+ var tmp$ret$4 = _Result___init__impl__xyqfz8(destination);
476
+ tmp0.c8(tmp$ret$4);
477
477
  }
478
478
  };
479
479
  function AwaitAll(deferreds) {
@@ -670,14 +670,13 @@
670
670
  var state = unboxState(this.s1k());
671
671
  if (state instanceof CompletedExceptionally)
672
672
  throw state.d1k_1;
673
- return (state == null ? true : !(state == null)) ? state : THROW_CCE();
673
+ return state;
674
674
  };
675
675
  function DeferredCoroutine(parentContext, active) {
676
676
  AbstractCoroutine.call(this, parentContext, true, active);
677
677
  }
678
678
  protoOf(DeferredCoroutine).z1m = function () {
679
- var tmp = this.v1l();
680
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
679
+ return this.v1l();
681
680
  };
682
681
  function LazyDeferredCoroutine(parentContext, block) {
683
682
  DeferredCoroutine.call(this, parentContext, false);
@@ -810,8 +809,8 @@
810
809
 
811
810
  // Inline function 'kotlinx.coroutines.decisionAndIndex' call
812
811
 
813
- var tmp$ret$2 = (1 << 29) + (cur & 536870911) | 0;
814
- if ($this.s1n_1.atomicfu$compareAndSet(cur, tmp$ret$2))
812
+ var tmp$ret$4 = (1 << 29) + (cur & 536870911) | 0;
813
+ if ($this.s1n_1.atomicfu$compareAndSet(cur, tmp$ret$4))
815
814
  return true;
816
815
  break;
817
816
  case 2:
@@ -836,8 +835,8 @@
836
835
 
837
836
  // Inline function 'kotlinx.coroutines.decisionAndIndex' call
838
837
 
839
- var tmp$ret$2 = (2 << 29) + (cur & 536870911) | 0;
840
- if ($this.s1n_1.atomicfu$compareAndSet(cur, tmp$ret$2))
838
+ var tmp$ret$4 = (2 << 29) + (cur & 536870911) | 0;
839
+ if ($this.s1n_1.atomicfu$compareAndSet(cur, tmp$ret$4))
841
840
  return true;
842
841
  break;
843
842
  case 1:
@@ -1072,6 +1071,8 @@
1072
1071
  return this.s1k();
1073
1072
  };
1074
1073
  protoOf(CancellableContinuationImpl).b1q = function (takenState, cause) {
1074
+ var tmp$ret$0;
1075
+ // Inline function 'kotlinx.atomicfu.loop' call
1075
1076
  var this_0 = this.t1n_1;
1076
1077
  while (true) {
1077
1078
  var state = this_0.kotlinx$atomicfu$value;
@@ -1102,7 +1103,7 @@
1102
1103
  }
1103
1104
  }
1104
1105
  }
1105
- return Unit_instance;
1106
+ return tmp$ret$0;
1106
1107
  };
1107
1108
  protoOf(CancellableContinuationImpl).d1q = function (cause) {
1108
1109
  // Inline function 'kotlinx.atomicfu.loop' call
@@ -1309,10 +1310,9 @@
1309
1310
  protoOf(CancellableContinuationImpl).i1q = function (state) {
1310
1311
  var tmp;
1311
1312
  if (state instanceof CompletedContinuation) {
1312
- var tmp_0 = state.p1p_1;
1313
- tmp = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
1313
+ tmp = state.p1p_1;
1314
1314
  } else {
1315
- tmp = (state == null ? true : !(state == null)) ? state : THROW_CCE();
1315
+ tmp = state;
1316
1316
  }
1317
1317
  return tmp;
1318
1318
  };
@@ -1445,8 +1445,7 @@
1445
1445
  return true;
1446
1446
  };
1447
1447
  protoOf(CompletableDeferredImpl).z1m = function () {
1448
- var tmp = this.v1l();
1449
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
1448
+ return this.v1l();
1450
1449
  };
1451
1450
  protoOf(CompletableDeferredImpl).e1r = function (value) {
1452
1451
  return this.n1l(value);
@@ -1459,8 +1458,7 @@
1459
1458
  tmp = _Result___init__impl__xyqfz8(createFailure(exception));
1460
1459
  } else {
1461
1460
  // Inline function 'kotlin.Companion.success' call
1462
- var value = (state == null ? true : !(state == null)) ? state : THROW_CCE();
1463
- tmp = _Result___init__impl__xyqfz8(value);
1461
+ tmp = _Result___init__impl__xyqfz8(state);
1464
1462
  }
1465
1463
  return tmp;
1466
1464
  }
@@ -1490,8 +1488,7 @@
1490
1488
  var exception = Result__exceptionOrNull_impl_p6xea9(_this__u8e3s4);
1491
1489
  var tmp;
1492
1490
  if (exception == null) {
1493
- var tmp_0 = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
1494
- tmp = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
1491
+ tmp = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
1495
1492
  } else {
1496
1493
  tmp = new CompletedExceptionally(recoverStackTrace(exception, caller));
1497
1494
  }
@@ -1502,8 +1499,7 @@
1502
1499
  var exception = Result__exceptionOrNull_impl_p6xea9(_this__u8e3s4);
1503
1500
  var tmp;
1504
1501
  if (exception == null) {
1505
- var tmp_0 = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
1506
- tmp = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
1502
+ tmp = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
1507
1503
  } else {
1508
1504
  tmp = new CompletedExceptionally(exception);
1509
1505
  }
@@ -1769,6 +1765,7 @@
1769
1765
  var tmp0_elvis_lhs = _this__u8e3s4.e8(Key_instance_2);
1770
1766
  var tmp;
1771
1767
  if (tmp0_elvis_lhs == null) {
1768
+ // Inline function 'kotlin.error' call
1772
1769
  var message = "Current context doesn't contain Job in it: " + toString(_this__u8e3s4);
1773
1770
  throw IllegalStateException_init_$Create$(toString(message));
1774
1771
  } else {
@@ -1943,25 +1940,25 @@
1943
1940
  }
1944
1941
  return null;
1945
1942
  }
1946
- var tmp$ret$2;
1943
+ var tmp$ret$1;
1947
1944
  $l$block: {
1948
1945
  // Inline function 'kotlin.collections.firstOrNull' call
1949
1946
  var _iterator__ex2g4s = exceptions.l();
1950
1947
  while (_iterator__ex2g4s.m()) {
1951
1948
  var element = _iterator__ex2g4s.n();
1952
1949
  if (!(element instanceof CancellationException)) {
1953
- tmp$ret$2 = element;
1950
+ tmp$ret$1 = element;
1954
1951
  break $l$block;
1955
1952
  }
1956
1953
  }
1957
- tmp$ret$2 = null;
1954
+ tmp$ret$1 = null;
1958
1955
  }
1959
- var firstNonCancellation = tmp$ret$2;
1956
+ var firstNonCancellation = tmp$ret$1;
1960
1957
  if (!(firstNonCancellation == null))
1961
1958
  return firstNonCancellation;
1962
1959
  var first = exceptions.p(0);
1963
1960
  if (first instanceof TimeoutCancellationException) {
1964
- var tmp$ret$4;
1961
+ var tmp$ret$3;
1965
1962
  $l$block_0: {
1966
1963
  // Inline function 'kotlin.collections.firstOrNull' call
1967
1964
  var _iterator__ex2g4s_0 = exceptions.l();
@@ -1974,13 +1971,13 @@
1974
1971
  tmp = false;
1975
1972
  }
1976
1973
  if (tmp) {
1977
- tmp$ret$4 = element_0;
1974
+ tmp$ret$3 = element_0;
1978
1975
  break $l$block_0;
1979
1976
  }
1980
1977
  }
1981
- tmp$ret$4 = null;
1978
+ tmp$ret$3 = null;
1982
1979
  }
1983
- var detailedTimeoutException = tmp$ret$4;
1980
+ var detailedTimeoutException = tmp$ret$3;
1984
1981
  if (!(detailedTimeoutException == null))
1985
1982
  return detailedTimeoutException;
1986
1983
  }
@@ -2113,13 +2110,13 @@
2113
2110
  }
2114
2111
  return parent.j1l(cause) || isCancellation;
2115
2112
  }
2116
- function notifyCompletion($this, _this__u8e3s4, cause) {
2117
- _this__u8e3s4.i1s(1);
2113
+ function notifyCompletion($this, $receiver, cause) {
2114
+ $receiver.i1s(1);
2118
2115
  // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers' call
2119
2116
  var exception = null;
2120
2117
  // Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListHead.forEach' call
2121
- var cur = _this__u8e3s4.i1n_1;
2122
- while (!equals(cur, _this__u8e3s4)) {
2118
+ var cur = $receiver.i1n_1;
2119
+ while (!equals(cur, $receiver)) {
2123
2120
  var node = cur;
2124
2121
  var tmp;
2125
2122
  if (node instanceof JobNode) {
@@ -2320,6 +2317,7 @@
2320
2317
  promoteSingleToNodeList($this, state);
2321
2318
  tmp_0 = null;
2322
2319
  } else {
2320
+ // Inline function 'kotlin.error' call
2323
2321
  var message = 'State should have list: ' + toString(state);
2324
2322
  throw IllegalStateException_init_$Create$(toString(message));
2325
2323
  }
@@ -2430,8 +2428,8 @@
2430
2428
  return get_COMPLETING_WAITING_CHILDREN();
2431
2429
  return finalizeFinishingState($this, finishing, proposedUpdate);
2432
2430
  }
2433
- function _get_exceptionOrNull__b3j7js($this, _this__u8e3s4) {
2434
- var tmp0_safe_receiver = _this__u8e3s4 instanceof CompletedExceptionally ? _this__u8e3s4 : null;
2431
+ function _get_exceptionOrNull__b3j7js($this, $receiver) {
2432
+ var tmp0_safe_receiver = $receiver instanceof CompletedExceptionally ? $receiver : null;
2435
2433
  return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d1k_1;
2436
2434
  }
2437
2435
  function tryWaitForChild($this, state, child, proposedUpdate) {
@@ -2478,8 +2476,8 @@
2478
2476
  var finalState = finalizeFinishingState($this, state, proposedUpdate);
2479
2477
  $this.i1k(finalState);
2480
2478
  }
2481
- function nextChild($this, _this__u8e3s4) {
2482
- var cur = _this__u8e3s4;
2479
+ function nextChild($this, $receiver) {
2480
+ var cur = $receiver;
2483
2481
  $l$loop: while (true) {
2484
2482
  // Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListNode.isRemoved' call
2485
2483
  if (!cur.k1n_1) {
@@ -2563,6 +2561,7 @@
2563
2561
  if (eh instanceof ArrayList) {
2564
2562
  tmp = eh instanceof ArrayList ? eh : THROW_CCE();
2565
2563
  } else {
2564
+ // Inline function 'kotlin.error' call
2566
2565
  var message = 'State is ' + toString_0(eh);
2567
2566
  throw IllegalStateException_init_$Create$(toString(message));
2568
2567
  }
@@ -2714,6 +2713,7 @@
2714
2713
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.y1k(tmp0_safe_receiver, get_classSimpleName(this) + ' is cancelling');
2715
2714
  var tmp_0;
2716
2715
  if (tmp1_elvis_lhs == null) {
2716
+ // Inline function 'kotlin.error' call
2717
2717
  var message = 'Job is still new or active: ' + this.toString();
2718
2718
  throw IllegalStateException_init_$Create$(toString(message));
2719
2719
  } else {
@@ -2722,6 +2722,7 @@
2722
2722
  tmp = tmp_0;
2723
2723
  } else {
2724
2724
  if (!(state == null) ? isInterface(state, Incomplete) : false) {
2725
+ // Inline function 'kotlin.error' call
2725
2726
  var message_0 = 'Job is still new or active: ' + this.toString();
2726
2727
  throw IllegalStateException_init_$Create$(toString(message_0));
2727
2728
  } else {
@@ -2907,6 +2908,7 @@
2907
2908
  tmp = state.d1k_1;
2908
2909
  } else {
2909
2910
  if (!(state == null) ? isInterface(state, Incomplete) : false) {
2911
+ // Inline function 'kotlin.error' call
2910
2912
  var message = 'Cannot be cancelling child in this state: ' + toString(state);
2911
2913
  throw IllegalStateException_init_$Create$(toString(message));
2912
2914
  } else {
@@ -3471,8 +3473,7 @@
3471
3473
  setElementLazy(this, index, element);
3472
3474
  };
3473
3475
  protoOf(ChannelSegment).q1u = function (index) {
3474
- var tmp = this.n1u_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value;
3475
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
3476
+ return this.n1u_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value;
3476
3477
  };
3477
3478
  protoOf(ChannelSegment).r1u = function (index) {
3478
3479
  // Inline function 'kotlin.also' call
@@ -3606,8 +3607,8 @@
3606
3607
  var id = divide(r_0, fromInt(other));
3607
3608
  // Inline function 'kotlin.Long.rem' call
3608
3609
  var other_0 = get_SEGMENT_SIZE();
3609
- var tmp$ret$3 = modulo(r_0, fromInt(other_0));
3610
- var i = convertToInt(tmp$ret$3);
3610
+ var tmp$ret$6 = modulo(r_0, fromInt(other_0));
3611
+ var i = convertToInt(tmp$ret$6);
3611
3612
  if (!equalsLong(segment_0.m1p_1, id)) {
3612
3613
  var tmp0_elvis_lhs = findSegmentReceive(this_0, id, segment_0);
3613
3614
  var tmp;
@@ -3637,22 +3638,20 @@
3637
3638
  throw IllegalStateException_init_$Create$(toString(message));
3638
3639
  } else {
3639
3640
  segment_0.v1v();
3640
- var element = (updCellResult_0 == null ? true : !(updCellResult_0 == null)) ? updCellResult_0 : THROW_CCE();
3641
- $this.x1v_1 = element;
3641
+ $this.x1v_1 = updCellResult_0;
3642
3642
  $this.y1v_1 = null;
3643
3643
  var tmp0_safe_receiver = $this.z1v_1.y1u_1;
3644
- cancellable.l1q(true, tmp0_safe_receiver == null ? null : bindCancellationFun($this.z1v_1, tmp0_safe_receiver, element));
3644
+ cancellable.l1q(true, tmp0_safe_receiver == null ? null : bindCancellationFun($this.z1v_1, tmp0_safe_receiver, updCellResult_0));
3645
3645
  }
3646
3646
  break $l$block_0;
3647
3647
  }
3648
3648
  }
3649
3649
  } else {
3650
3650
  segment.v1v();
3651
- var element_0 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
3652
- $this.x1v_1 = element_0;
3651
+ $this.x1v_1 = updCellResult;
3653
3652
  $this.y1v_1 = null;
3654
3653
  var tmp0_safe_receiver_0 = $this.z1v_1.y1u_1;
3655
- cancellable.l1q(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun($this.z1v_1, tmp0_safe_receiver_0, element_0));
3654
+ cancellable.l1q(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun($this.z1v_1, tmp0_safe_receiver_0, updCellResult));
3656
3655
  }
3657
3656
  } catch ($p) {
3658
3657
  if ($p instanceof Error) {
@@ -3673,14 +3672,14 @@
3673
3672
  if (cause == null) {
3674
3673
  // Inline function 'kotlin.coroutines.resume' call
3675
3674
  // Inline function 'kotlin.Companion.success' call
3676
- var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
3677
- cont.c8(tmp$ret$0);
3675
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(false);
3676
+ cont.c8(tmp$ret$1);
3678
3677
  } else {
3679
3678
  // Inline function 'kotlin.coroutines.resumeWithException' call
3680
3679
  // Inline function 'kotlin.Companion.failure' call
3681
3680
  var exception = recoverStackTrace(cause, cont);
3682
- var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
3683
- cont.c8(tmp$ret$2);
3681
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception));
3682
+ cont.c8(tmp$ret$3);
3684
3683
  }
3685
3684
  }
3686
3685
  function $hasNextCOROUTINE$(_this__u8e3s4, resultContinuation) {
@@ -3796,8 +3795,7 @@
3796
3795
  } else {
3797
3796
  var tmp_7 = this;
3798
3797
  this.p1w_1.v1v();
3799
- var element = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
3800
- this.l1w_1.x1v_1 = element;
3798
+ this.l1w_1.x1v_1 = updCellResult;
3801
3799
  tmp_7.o1w_1 = true;
3802
3800
  this.r7_1 = 7;
3803
3801
  continue $sm;
@@ -3862,16 +3860,16 @@
3862
3860
  // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
3863
3861
  // Inline function 'kotlin.Companion.failure' call
3864
3862
  var exception = recoverStackTrace(tmp1_safe_receiver, cancellable);
3865
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
3866
- cancellable.c8(tmp$ret$0);
3863
+ var tmp$ret$5 = _Result___init__impl__xyqfz8(createFailure(exception));
3864
+ cancellable.c8(tmp$ret$5);
3867
3865
  break $l$block;
3868
3866
  }
3869
3867
  // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
3870
3868
  var exception_0 = $this.x1w();
3871
3869
  // Inline function 'kotlin.Companion.failure' call
3872
3870
  var exception_1 = recoverStackTrace(exception_0, cancellable);
3873
- var tmp$ret$4 = _Result___init__impl__xyqfz8(createFailure(exception_1));
3874
- cancellable.c8(tmp$ret$4);
3871
+ var tmp$ret$7 = _Result___init__impl__xyqfz8(createFailure(exception_1));
3872
+ cancellable.c8(tmp$ret$7);
3875
3873
  }
3876
3874
  return cancellable.w1n();
3877
3875
  }
@@ -3886,16 +3884,16 @@
3886
3884
 
3887
3885
  // Inline function 'kotlin.Companion.success' call
3888
3886
 
3889
- var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
3890
- cancellable.c8(tmp$ret$0);
3887
+ var tmp$ret$5 = _Result___init__impl__xyqfz8(Unit_instance);
3888
+ cancellable.c8(tmp$ret$5);
3891
3889
  break;
3892
3890
  case 1:
3893
3891
  // Inline function 'kotlin.coroutines.resume' call
3894
3892
 
3895
3893
  // Inline function 'kotlin.Companion.success' call
3896
3894
 
3897
- var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
3898
- cancellable.c8(tmp$ret$3);
3895
+ var tmp$ret$8 = _Result___init__impl__xyqfz8(Unit_instance);
3896
+ cancellable.c8(tmp$ret$8);
3899
3897
  break;
3900
3898
  case 2:
3901
3899
  prepareSenderForSuspension($this, cancellable, segment, index);
@@ -3922,8 +3920,8 @@
3922
3920
  var id = divide(s_0, fromInt(other));
3923
3921
  // Inline function 'kotlin.Long.rem' call
3924
3922
  var other_0 = get_SEGMENT_SIZE();
3925
- var tmp$ret$9 = modulo(s_0, fromInt(other_0));
3926
- var i = convertToInt(tmp$ret$9);
3923
+ var tmp$ret$13 = modulo(s_0, fromInt(other_0));
3924
+ var i = convertToInt(tmp$ret$13);
3927
3925
  if (!equalsLong(segment_0.m1p_1, id)) {
3928
3926
  var tmp0_elvis_lhs = findSegmentSend($this, id, segment_0);
3929
3927
  var tmp;
@@ -3947,16 +3945,16 @@
3947
3945
 
3948
3946
  // Inline function 'kotlin.Companion.success' call
3949
3947
 
3950
- var tmp$ret$12 = _Result___init__impl__xyqfz8(Unit_instance);
3951
- cancellable.c8(tmp$ret$12);
3948
+ var tmp$ret$17 = _Result___init__impl__xyqfz8(Unit_instance);
3949
+ cancellable.c8(tmp$ret$17);
3952
3950
  break $l$block_5;
3953
3951
  case 1:
3954
3952
  // Inline function 'kotlin.coroutines.resume' call
3955
3953
 
3956
3954
  // Inline function 'kotlin.Companion.success' call
3957
3955
 
3958
- var tmp$ret$15 = _Result___init__impl__xyqfz8(Unit_instance);
3959
- cancellable.c8(tmp$ret$15);
3956
+ var tmp$ret$20 = _Result___init__impl__xyqfz8(Unit_instance);
3957
+ cancellable.c8(tmp$ret$20);
3960
3958
  break $l$block_5;
3961
3959
  case 2:
3962
3960
  if (closed) {
@@ -4010,8 +4008,8 @@
4010
4008
  }
4011
4009
  return cancellable.w1n();
4012
4010
  }
4013
- function prepareSenderForSuspension($this, _this__u8e3s4, segment, index) {
4014
- _this__u8e3s4.n1q(segment, index + get_SEGMENT_SIZE() | 0);
4011
+ function prepareSenderForSuspension($this, $receiver, segment, index) {
4012
+ $receiver.n1q(segment, index + get_SEGMENT_SIZE() | 0);
4015
4013
  }
4016
4014
  function onClosedSendOnNoWaiterSuspend($this, element, cont) {
4017
4015
  var tmp0_safe_receiver = $this.y1u_1;
@@ -4023,8 +4021,8 @@
4023
4021
  // Inline function 'kotlin.coroutines.resumeWithException' call
4024
4022
  // Inline function 'kotlin.Companion.failure' call
4025
4023
  var exception = recoverStackTrace($this.x1w(), cont);
4026
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
4027
- cont.c8(tmp$ret$0);
4024
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
4025
+ cont.c8(tmp$ret$1);
4028
4026
  }
4029
4027
  function SendBroadcast() {
4030
4028
  }
@@ -4143,30 +4141,31 @@
4143
4141
  }
4144
4142
  return tmp;
4145
4143
  }
4146
- function tryResumeReceiver($this, _this__u8e3s4, element) {
4144
+ function tryResumeReceiver($this, $receiver, element) {
4147
4145
  var tmp;
4148
- if (isInterface(_this__u8e3s4, SelectInstance)) {
4149
- tmp = _this__u8e3s4.f1x($this, element);
4146
+ if (isInterface($receiver, SelectInstance)) {
4147
+ tmp = $receiver.f1x($this, element);
4150
4148
  } else {
4151
- if (_this__u8e3s4 instanceof ReceiveCatching) {
4152
- if (!(_this__u8e3s4 instanceof ReceiveCatching))
4149
+ if ($receiver instanceof ReceiveCatching) {
4150
+ if (!($receiver instanceof ReceiveCatching))
4153
4151
  THROW_CCE();
4154
4152
  var tmp_0 = Companion_getInstance().d1x(element);
4155
4153
  var tmp1_safe_receiver = $this.y1u_1;
4156
- tmp = tryResume0(_this__u8e3s4.e1x_1, new ChannelResult(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult($this, tmp1_safe_receiver));
4154
+ tmp = tryResume0($receiver.e1x_1, new ChannelResult(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult($this, tmp1_safe_receiver));
4157
4155
  } else {
4158
- if (_this__u8e3s4 instanceof BufferedChannelIterator) {
4159
- if (!(_this__u8e3s4 instanceof BufferedChannelIterator))
4156
+ if ($receiver instanceof BufferedChannelIterator) {
4157
+ if (!($receiver instanceof BufferedChannelIterator))
4160
4158
  THROW_CCE();
4161
- tmp = _this__u8e3s4.b1x(element);
4159
+ tmp = $receiver.b1x(element);
4162
4160
  } else {
4163
- if (isInterface(_this__u8e3s4, CancellableContinuation)) {
4164
- if (!isInterface(_this__u8e3s4, CancellableContinuation))
4161
+ if (isInterface($receiver, CancellableContinuation)) {
4162
+ if (!isInterface($receiver, CancellableContinuation))
4165
4163
  THROW_CCE();
4166
4164
  var tmp2_safe_receiver = $this.y1u_1;
4167
- tmp = tryResume0(_this__u8e3s4, element, tmp2_safe_receiver == null ? null : bindCancellationFun_0($this, tmp2_safe_receiver));
4165
+ tmp = tryResume0($receiver, element, tmp2_safe_receiver == null ? null : bindCancellationFun_0($this, tmp2_safe_receiver));
4168
4166
  } else {
4169
- var message = 'Unexpected receiver type: ' + toString(_this__u8e3s4);
4167
+ // Inline function 'kotlin.error' call
4168
+ var message = 'Unexpected receiver type: ' + toString($receiver);
4170
4169
  throw IllegalStateException_init_$Create$(toString(message));
4171
4170
  }
4172
4171
  }
@@ -4174,9 +4173,9 @@
4174
4173
  }
4175
4174
  return tmp;
4176
4175
  }
4177
- function prepareReceiverForSuspension($this, _this__u8e3s4, segment, index) {
4176
+ function prepareReceiverForSuspension($this, $receiver, segment, index) {
4178
4177
  $this.g1x();
4179
- _this__u8e3s4.n1q(segment, index);
4178
+ $receiver.n1q(segment, index);
4180
4179
  }
4181
4180
  function receiveCatchingOnNoWaiterSuspend($this, segment, index, r, $completion) {
4182
4181
  var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
@@ -4204,8 +4203,8 @@
4204
4203
  var id = divide(r_0, fromInt(other));
4205
4204
  // Inline function 'kotlin.Long.rem' call
4206
4205
  var other_0 = get_SEGMENT_SIZE();
4207
- var tmp$ret$3 = modulo(r_0, fromInt(other_0));
4208
- var i = convertToInt(tmp$ret$3);
4206
+ var tmp$ret$6 = modulo(r_0, fromInt(other_0));
4207
+ var i = convertToInt(tmp$ret$6);
4209
4208
  if (!equalsLong(segment_0.m1p_1, id)) {
4210
4209
  var tmp0_elvis_lhs = findSegmentReceive($this, id, segment_0);
4211
4210
  var tmp;
@@ -4235,8 +4234,7 @@
4235
4234
  throw IllegalStateException_init_$Create$(toString(message));
4236
4235
  } else {
4237
4236
  segment_0.v1v();
4238
- var element = (updCellResult_0 == null ? true : !(updCellResult_0 == null)) ? updCellResult_0 : THROW_CCE();
4239
- var tmp_0 = Companion_getInstance().d1x(element);
4237
+ var tmp_0 = Companion_getInstance().d1x(updCellResult_0);
4240
4238
  var tmp0_safe_receiver = $this.y1u_1;
4241
4239
  cancellable.l1q(new ChannelResult(tmp_0), tmp0_safe_receiver == null ? null : bindCancellationFunResult($this, tmp0_safe_receiver));
4242
4240
  }
@@ -4245,8 +4243,7 @@
4245
4243
  }
4246
4244
  } else {
4247
4245
  segment.v1v();
4248
- var element_0 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
4249
- var tmp_1 = Companion_getInstance().d1x(element_0);
4246
+ var tmp_1 = Companion_getInstance().d1x(updCellResult);
4250
4247
  var tmp0_safe_receiver_0 = $this.y1u_1;
4251
4248
  cancellable.l1q(new ChannelResult(tmp_1), tmp0_safe_receiver_0 == null ? null : bindCancellationFunResult($this, tmp0_safe_receiver_0));
4252
4249
  }
@@ -4268,8 +4265,8 @@
4268
4265
  // Inline function 'kotlin.coroutines.resume' call
4269
4266
  // Inline function 'kotlin.Companion.success' call
4270
4267
  var value = new ChannelResult(Companion_getInstance().i1x($this.a1w()));
4271
- var tmp$ret$0 = _Result___init__impl__xyqfz8(value);
4272
- cont.c8(tmp$ret$0);
4268
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(value);
4269
+ cont.c8(tmp$ret$1);
4273
4270
  }
4274
4271
  function updateCellReceive($this, segment, index, r, waiter) {
4275
4272
  var state = segment.t1u(index);
@@ -4356,26 +4353,27 @@
4356
4353
  }
4357
4354
  }
4358
4355
  }
4359
- function tryResumeSender($this, _this__u8e3s4, segment, index) {
4356
+ function tryResumeSender($this, $receiver, segment, index) {
4360
4357
  var tmp;
4361
- if (isInterface(_this__u8e3s4, CancellableContinuation)) {
4362
- if (!isInterface(_this__u8e3s4, CancellableContinuation))
4358
+ if (isInterface($receiver, CancellableContinuation)) {
4359
+ if (!isInterface($receiver, CancellableContinuation))
4363
4360
  THROW_CCE();
4364
- tmp = tryResume0(_this__u8e3s4, Unit_instance);
4361
+ tmp = tryResume0($receiver, Unit_instance);
4365
4362
  } else {
4366
- if (isInterface(_this__u8e3s4, SelectInstance)) {
4367
- if (!(_this__u8e3s4 instanceof SelectImplementation))
4363
+ if (isInterface($receiver, SelectInstance)) {
4364
+ if (!($receiver instanceof SelectImplementation))
4368
4365
  THROW_CCE();
4369
- var trySelectResult = _this__u8e3s4.n1x($this, Unit_instance);
4366
+ var trySelectResult = $receiver.n1x($this, Unit_instance);
4370
4367
  if (trySelectResult === TrySelectDetailedResult_REREGISTER_getInstance()) {
4371
4368
  segment.s1u(index);
4372
4369
  }
4373
4370
  tmp = trySelectResult === TrySelectDetailedResult_SUCCESSFUL_getInstance();
4374
4371
  } else {
4375
- if (_this__u8e3s4 instanceof SendBroadcast) {
4376
- tmp = tryResume0(_this__u8e3s4.j1x_1, true);
4372
+ if ($receiver instanceof SendBroadcast) {
4373
+ tmp = tryResume0($receiver.j1x_1, true);
4377
4374
  } else {
4378
- var message = 'Unexpected waiter: ' + toString(_this__u8e3s4);
4375
+ // Inline function 'kotlin.error' call
4376
+ var message = 'Unexpected waiter: ' + toString($receiver);
4379
4377
  throw IllegalStateException_init_$Create$(toString(message));
4380
4378
  }
4381
4379
  }
@@ -4396,7 +4394,7 @@
4396
4394
  if (compare(segment.m1p_1, id) < 0 && !(segment.r1v() == null)) {
4397
4395
  moveSegmentBufferEndToSpecifiedOrLast($this, id, segment);
4398
4396
  }
4399
- incCompletedExpandBufferAttempts$default($this);
4397
+ incCompletedExpandBufferAttempts($this);
4400
4398
  return Unit_instance;
4401
4399
  }
4402
4400
  if (!equalsLong(segment.m1p_1, id)) {
@@ -4414,10 +4412,10 @@
4414
4412
  var tmp$ret$1 = modulo(b, fromInt(other_0));
4415
4413
  var i = convertToInt(tmp$ret$1);
4416
4414
  if (updateCellExpandBuffer($this, segment, i, b)) {
4417
- incCompletedExpandBufferAttempts$default($this);
4415
+ incCompletedExpandBufferAttempts($this);
4418
4416
  return Unit_instance;
4419
4417
  } else {
4420
- incCompletedExpandBufferAttempts$default($this);
4418
+ incCompletedExpandBufferAttempts($this);
4421
4419
  continue try_again;
4422
4420
  }
4423
4421
  }
@@ -4496,6 +4494,7 @@
4496
4494
  }
4497
4495
  }
4498
4496
  function incCompletedExpandBufferAttempts($this, nAttempts) {
4497
+ nAttempts = nAttempts === VOID ? new Long(1, 0) : nAttempts;
4499
4498
  // Inline function 'kotlin.also' call
4500
4499
  var this_0 = $this.c1v_1.atomicfu$addAndGet$long(nAttempts);
4501
4500
  // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
@@ -4509,10 +4508,6 @@
4509
4508
  }
4510
4509
  }
4511
4510
  }
4512
- function incCompletedExpandBufferAttempts$default($this, nAttempts, $super) {
4513
- nAttempts = nAttempts === VOID ? new Long(1, 0) : nAttempts;
4514
- return incCompletedExpandBufferAttempts($this, nAttempts);
4515
- }
4516
4511
  function BufferedChannelIterator($outer) {
4517
4512
  this.z1v_1 = $outer;
4518
4513
  this.x1v_1 = get_NO_RECEIVE_RESULT();
@@ -4542,7 +4537,7 @@
4542
4537
  this.x1v_1 = get_NO_RECEIVE_RESULT();
4543
4538
  if (result === get_CHANNEL_CLOSED())
4544
4539
  throw recoverStackTrace_0(_get_receiveException__foorc1(this.z1v_1));
4545
- return (result == null ? true : !(result == null)) ? result : THROW_CCE();
4540
+ return result;
4546
4541
  };
4547
4542
  protoOf(BufferedChannelIterator).b1x = function (element) {
4548
4543
  var cont = ensureNotNull(this.y1v_1);
@@ -4559,14 +4554,14 @@
4559
4554
  if (cause == null) {
4560
4555
  // Inline function 'kotlin.coroutines.resume' call
4561
4556
  // Inline function 'kotlin.Companion.success' call
4562
- var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
4563
- cont.c8(tmp$ret$0);
4557
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(false);
4558
+ cont.c8(tmp$ret$1);
4564
4559
  } else {
4565
4560
  // Inline function 'kotlin.coroutines.resumeWithException' call
4566
4561
  // Inline function 'kotlin.Companion.failure' call
4567
4562
  var exception = recoverStackTrace(cause, cont);
4568
- var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
4569
- cont.c8(tmp$ret$2);
4563
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception));
4564
+ cont.c8(tmp$ret$3);
4570
4565
  }
4571
4566
  };
4572
4567
  function _get_receiveException__foorc1($this) {
@@ -4575,7 +4570,7 @@
4575
4570
  }
4576
4571
  function invokeCloseHandler($this) {
4577
4572
  var tmp0 = $this.i1v_1;
4578
- var tmp$ret$1;
4573
+ var tmp$ret$0;
4579
4574
  $l$block: {
4580
4575
  // Inline function 'kotlinx.atomicfu.getAndUpdate' call
4581
4576
  while (true) {
@@ -4588,12 +4583,12 @@
4588
4583
  }
4589
4584
  var upd = tmp;
4590
4585
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
4591
- tmp$ret$1 = cur;
4586
+ tmp$ret$0 = cur;
4592
4587
  break $l$block;
4593
4588
  }
4594
4589
  }
4595
4590
  }
4596
- var tmp0_elvis_lhs = tmp$ret$1;
4591
+ var tmp0_elvis_lhs = tmp$ret$0;
4597
4592
  var tmp_0;
4598
4593
  if (tmp0_elvis_lhs == null) {
4599
4594
  return Unit_instance;
@@ -4607,7 +4602,7 @@
4607
4602
  }
4608
4603
  function markClosed($this) {
4609
4604
  var tmp0 = $this.z1u_1;
4610
- var tmp$ret$4;
4605
+ var tmp$ret$0;
4611
4606
  $l$block: {
4612
4607
  // Inline function 'kotlinx.atomicfu.update' call
4613
4608
  while (true) {
@@ -4618,50 +4613,50 @@
4618
4613
  case 0:
4619
4614
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
4620
4615
 
4621
- var tmp$ret$1 = bitwiseAnd(cur, new Long(-1, 268435455));
4622
- tmp = constructSendersAndCloseStatus(tmp$ret$1, 2);
4616
+ var tmp$ret$3 = bitwiseAnd(cur, new Long(-1, 268435455));
4617
+ tmp = constructSendersAndCloseStatus(tmp$ret$3, 2);
4623
4618
  break;
4624
4619
  case 1:
4625
4620
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
4626
4621
 
4627
- var tmp$ret$2 = bitwiseAnd(cur, new Long(-1, 268435455));
4628
- tmp = constructSendersAndCloseStatus(tmp$ret$2, 3);
4622
+ var tmp$ret$4 = bitwiseAnd(cur, new Long(-1, 268435455));
4623
+ tmp = constructSendersAndCloseStatus(tmp$ret$4, 3);
4629
4624
  break;
4630
4625
  default:
4631
4626
  return Unit_instance;
4632
4627
  }
4633
4628
  var upd = tmp;
4634
4629
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
4635
- tmp$ret$4 = Unit_instance;
4630
+ tmp$ret$0 = Unit_instance;
4636
4631
  break $l$block;
4637
4632
  }
4638
4633
  }
4639
- tmp$ret$4 = Unit_instance;
4634
+ tmp$ret$0 = Unit_instance;
4640
4635
  }
4641
- return tmp$ret$4;
4636
+ return tmp$ret$0;
4642
4637
  }
4643
4638
  function markCancelled($this) {
4644
4639
  var tmp0 = $this.z1u_1;
4645
- var tmp$ret$2;
4640
+ var tmp$ret$0;
4646
4641
  $l$block: {
4647
4642
  // Inline function 'kotlinx.atomicfu.update' call
4648
4643
  while (true) {
4649
4644
  var cur = tmp0.kotlinx$atomicfu$value;
4650
4645
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
4651
- var tmp$ret$0 = bitwiseAnd(cur, new Long(-1, 268435455));
4652
- var upd = constructSendersAndCloseStatus(tmp$ret$0, 3);
4646
+ var tmp$ret$2 = bitwiseAnd(cur, new Long(-1, 268435455));
4647
+ var upd = constructSendersAndCloseStatus(tmp$ret$2, 3);
4653
4648
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
4654
- tmp$ret$2 = Unit_instance;
4649
+ tmp$ret$0 = Unit_instance;
4655
4650
  break $l$block;
4656
4651
  }
4657
4652
  }
4658
- tmp$ret$2 = Unit_instance;
4653
+ tmp$ret$0 = Unit_instance;
4659
4654
  }
4660
- return tmp$ret$2;
4655
+ return tmp$ret$0;
4661
4656
  }
4662
4657
  function markCancellationStarted($this) {
4663
4658
  var tmp0 = $this.z1u_1;
4664
- var tmp$ret$3;
4659
+ var tmp$ret$0;
4665
4660
  $l$block: {
4666
4661
  // Inline function 'kotlinx.atomicfu.update' call
4667
4662
  while (true) {
@@ -4670,20 +4665,20 @@
4670
4665
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
4671
4666
  if (convertToInt(shiftRight(cur, 60)) === 0) {
4672
4667
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
4673
- var tmp$ret$1 = bitwiseAnd(cur, new Long(-1, 268435455));
4674
- tmp = constructSendersAndCloseStatus(tmp$ret$1, 1);
4668
+ var tmp$ret$3 = bitwiseAnd(cur, new Long(-1, 268435455));
4669
+ tmp = constructSendersAndCloseStatus(tmp$ret$3, 1);
4675
4670
  } else {
4676
4671
  return Unit_instance;
4677
4672
  }
4678
4673
  var upd = tmp;
4679
4674
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
4680
- tmp$ret$3 = Unit_instance;
4675
+ tmp$ret$0 = Unit_instance;
4681
4676
  break $l$block;
4682
4677
  }
4683
4678
  }
4684
- tmp$ret$3 = Unit_instance;
4679
+ tmp$ret$0 = Unit_instance;
4685
4680
  }
4686
- return tmp$ret$3;
4681
+ return tmp$ret$0;
4687
4682
  }
4688
4683
  function completeCloseOrCancel($this) {
4689
4684
  $this.q1x();
@@ -4856,12 +4851,11 @@
4856
4851
  break $l$block;
4857
4852
  } else {
4858
4853
  if (!(tmp0_subject instanceof ArrayList)) {
4859
- var tmp_2 = access$_get_holder__kkflen(tmp0_0);
4860
- var it = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
4854
+ var it = access$_get_holder__kkflen(tmp0_0);
4861
4855
  resumeSenderOnCancelledChannel($this, it);
4862
4856
  } else {
4863
- var tmp_3 = access$_get_holder__kkflen(tmp0_0);
4864
- var list = tmp_3 instanceof ArrayList ? tmp_3 : THROW_CCE();
4857
+ var tmp_2 = access$_get_holder__kkflen(tmp0_0);
4858
+ var list = tmp_2 instanceof ArrayList ? tmp_2 : THROW_CCE();
4865
4859
  var inductionVariable_0 = list.o() - 1 | 0;
4866
4860
  if (0 <= inductionVariable_0)
4867
4861
  do {
@@ -4938,12 +4932,11 @@
4938
4932
  break $l$block;
4939
4933
  } else {
4940
4934
  if (!(tmp0_subject instanceof ArrayList)) {
4941
- var tmp = access$_get_holder__kkflen(tmp0_0);
4942
- var it = (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
4935
+ var it = access$_get_holder__kkflen(tmp0_0);
4943
4936
  resumeReceiverOnClosedChannel($this, it);
4944
4937
  } else {
4945
- var tmp_0 = access$_get_holder__kkflen(tmp0_0);
4946
- var list = tmp_0 instanceof ArrayList ? tmp_0 : THROW_CCE();
4938
+ var tmp = access$_get_holder__kkflen(tmp0_0);
4939
+ var list = tmp instanceof ArrayList ? tmp : THROW_CCE();
4947
4940
  var inductionVariable_0 = list.o() - 1 | 0;
4948
4941
  if (0 <= inductionVariable_0)
4949
4942
  do {
@@ -4957,43 +4950,43 @@
4957
4950
  }
4958
4951
  }
4959
4952
  }
4960
- function resumeReceiverOnClosedChannel($this, _this__u8e3s4) {
4961
- return resumeWaiterOnClosedChannel($this, _this__u8e3s4, true);
4953
+ function resumeReceiverOnClosedChannel($this, $receiver) {
4954
+ return resumeWaiterOnClosedChannel($this, $receiver, true);
4962
4955
  }
4963
- function resumeSenderOnCancelledChannel($this, _this__u8e3s4) {
4964
- return resumeWaiterOnClosedChannel($this, _this__u8e3s4, false);
4956
+ function resumeSenderOnCancelledChannel($this, $receiver) {
4957
+ return resumeWaiterOnClosedChannel($this, $receiver, false);
4965
4958
  }
4966
- function resumeWaiterOnClosedChannel($this, _this__u8e3s4, receiver) {
4967
- if (_this__u8e3s4 instanceof SendBroadcast) {
4959
+ function resumeWaiterOnClosedChannel($this, $receiver, receiver) {
4960
+ if ($receiver instanceof SendBroadcast) {
4968
4961
  // Inline function 'kotlin.coroutines.resume' call
4969
- var this_0 = _this__u8e3s4.j1x_1;
4962
+ var this_0 = $receiver.j1x_1;
4970
4963
  // Inline function 'kotlin.Companion.success' call
4971
- var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
4972
- this_0.c8(tmp$ret$0);
4964
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(false);
4965
+ this_0.c8(tmp$ret$1);
4973
4966
  } else {
4974
- if (isInterface(_this__u8e3s4, CancellableContinuation)) {
4967
+ if (isInterface($receiver, CancellableContinuation)) {
4975
4968
  // Inline function 'kotlin.coroutines.resumeWithException' call
4976
4969
  // Inline function 'kotlin.Companion.failure' call
4977
4970
  var exception = receiver ? _get_receiveException__foorc1($this) : $this.x1w();
4978
- var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
4979
- _this__u8e3s4.c8(tmp$ret$2);
4971
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception));
4972
+ $receiver.c8(tmp$ret$3);
4980
4973
  } else {
4981
- if (_this__u8e3s4 instanceof ReceiveCatching) {
4982
- var tmp0 = _this__u8e3s4.e1x_1;
4974
+ if ($receiver instanceof ReceiveCatching) {
4975
+ var tmp0 = $receiver.e1x_1;
4983
4976
  // Inline function 'kotlin.coroutines.resume' call
4984
4977
  // Inline function 'kotlin.Companion.success' call
4985
4978
  var value = new ChannelResult(Companion_getInstance().i1x($this.a1w()));
4986
- var tmp$ret$4 = _Result___init__impl__xyqfz8(value);
4987
- tmp0.c8(tmp$ret$4);
4979
+ var tmp$ret$5 = _Result___init__impl__xyqfz8(value);
4980
+ tmp0.c8(tmp$ret$5);
4988
4981
  } else {
4989
- if (_this__u8e3s4 instanceof BufferedChannelIterator) {
4990
- _this__u8e3s4.p1x();
4982
+ if ($receiver instanceof BufferedChannelIterator) {
4983
+ $receiver.p1x();
4991
4984
  } else {
4992
- if (isInterface(_this__u8e3s4, SelectInstance))
4993
- _this__u8e3s4.f1x($this, get_CHANNEL_CLOSED());
4985
+ if (isInterface($receiver, SelectInstance))
4986
+ $receiver.f1x($this, get_CHANNEL_CLOSED());
4994
4987
  else {
4995
4988
  // Inline function 'kotlin.error' call
4996
- var message = 'Unexpected waiter: ' + toString(_this__u8e3s4);
4989
+ var message = 'Unexpected waiter: ' + toString($receiver);
4997
4990
  throw IllegalStateException_init_$Create$(toString(message));
4998
4991
  }
4999
4992
  }
@@ -5001,11 +4994,11 @@
5001
4994
  }
5002
4995
  }
5003
4996
  }
5004
- function _get_isClosedForSend0__kxgf9m($this, _this__u8e3s4) {
5005
- return isClosed($this, _this__u8e3s4, false);
4997
+ function _get_isClosedForSend0__kxgf9m($this, $receiver) {
4998
+ return isClosed($this, $receiver, false);
5006
4999
  }
5007
- function _get_isClosedForReceive0__f7qknl($this, _this__u8e3s4) {
5008
- return isClosed($this, _this__u8e3s4, true);
5000
+ function _get_isClosedForReceive0__f7qknl($this, $receiver) {
5001
+ return isClosed($this, $receiver, true);
5009
5002
  }
5010
5003
  function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
5011
5004
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
@@ -5034,6 +5027,8 @@
5034
5027
  default:
5035
5028
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
5036
5029
 
5030
+ // Inline function 'kotlin.error' call
5031
+
5037
5032
  var message = 'unexpected close status: ' + convertToInt(shiftRight(sendersAndCloseStatusCur, 60));
5038
5033
  throw IllegalStateException_init_$Create$(toString(message));
5039
5034
  }
@@ -5068,7 +5063,7 @@
5068
5063
  function findSegmentSend($this, id, startFrom) {
5069
5064
  var tmp0 = $this.d1v_1;
5070
5065
  var tmp6 = createSegmentFunction();
5071
- var tmp$ret$2;
5066
+ var tmp$ret$0;
5072
5067
  $l$block_2: {
5073
5068
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
5074
5069
  while (true) {
@@ -5078,50 +5073,52 @@
5078
5073
  tmp = true;
5079
5074
  } else {
5080
5075
  var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
5081
- var tmp$ret$0;
5076
+ var tmp$ret$1;
5082
5077
  $l$block_1: {
5083
5078
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5079
+ var tmp$ret$2;
5080
+ // Inline function 'kotlinx.atomicfu.loop' call
5084
5081
  while (true) {
5085
5082
  var cur = tmp0.kotlinx$atomicfu$value;
5086
5083
  if (compare(cur.m1p_1, tmp2.m1p_1) >= 0) {
5087
- tmp$ret$0 = true;
5084
+ tmp$ret$1 = true;
5088
5085
  break $l$block_1;
5089
5086
  }
5090
5087
  if (!tmp2.n1v()) {
5091
- tmp$ret$0 = false;
5088
+ tmp$ret$1 = false;
5092
5089
  break $l$block_1;
5093
5090
  }
5094
5091
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
5095
5092
  if (cur.o1v()) {
5096
5093
  cur.a3();
5097
5094
  }
5098
- tmp$ret$0 = true;
5095
+ tmp$ret$1 = true;
5099
5096
  break $l$block_1;
5100
5097
  }
5101
5098
  if (tmp2.o1v()) {
5102
5099
  tmp2.a3();
5103
5100
  }
5104
5101
  }
5105
- tmp$ret$0 = Unit_instance;
5102
+ tmp$ret$1 = tmp$ret$2;
5106
5103
  }
5107
- tmp = tmp$ret$0;
5104
+ tmp = tmp$ret$1;
5108
5105
  }
5109
5106
  if (tmp) {
5110
- tmp$ret$2 = s;
5107
+ tmp$ret$0 = s;
5111
5108
  break $l$block_2;
5112
5109
  }
5113
5110
  }
5114
5111
  }
5115
5112
  // Inline function 'kotlin.let' call
5116
- var it = tmp$ret$2;
5113
+ var it = tmp$ret$0;
5117
5114
  var tmp_0;
5118
5115
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
5119
5116
  completeCloseOrCancel($this);
5120
5117
  var tmp0_0 = startFrom.m1p_1;
5121
5118
  // Inline function 'kotlin.Long.times' call
5122
5119
  var other = get_SEGMENT_SIZE();
5123
- var tmp$ret$3 = multiply(tmp0_0, fromInt(other));
5124
- if (compare(tmp$ret$3, $this.y1w()) < 0) {
5120
+ var tmp$ret$6 = multiply(tmp0_0, fromInt(other));
5121
+ if (compare(tmp$ret$6, $this.y1w()) < 0) {
5125
5122
  startFrom.v1v();
5126
5123
  }
5127
5124
  tmp_0 = null;
@@ -5132,13 +5129,13 @@
5132
5129
  var tmp0_1 = segment.m1p_1;
5133
5130
  // Inline function 'kotlin.Long.times' call
5134
5131
  var other_0 = get_SEGMENT_SIZE();
5135
- var tmp$ret$4 = multiply(tmp0_1, fromInt(other_0));
5136
- updateSendersCounterIfLower($this, tmp$ret$4);
5132
+ var tmp$ret$7 = multiply(tmp0_1, fromInt(other_0));
5133
+ updateSendersCounterIfLower($this, tmp$ret$7);
5137
5134
  var tmp0_2 = segment.m1p_1;
5138
5135
  // Inline function 'kotlin.Long.times' call
5139
5136
  var other_1 = get_SEGMENT_SIZE();
5140
- var tmp$ret$5 = multiply(tmp0_2, fromInt(other_1));
5141
- if (compare(tmp$ret$5, $this.y1w()) < 0) {
5137
+ var tmp$ret$8 = multiply(tmp0_2, fromInt(other_1));
5138
+ if (compare(tmp$ret$8, $this.y1w()) < 0) {
5142
5139
  segment.v1v();
5143
5140
  }
5144
5141
  tmp_1 = null;
@@ -5153,7 +5150,7 @@
5153
5150
  function findSegmentReceive($this, id, startFrom) {
5154
5151
  var tmp0 = $this.e1v_1;
5155
5152
  var tmp6 = createSegmentFunction();
5156
- var tmp$ret$2;
5153
+ var tmp$ret$0;
5157
5154
  $l$block_2: {
5158
5155
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
5159
5156
  while (true) {
@@ -5163,50 +5160,52 @@
5163
5160
  tmp = true;
5164
5161
  } else {
5165
5162
  var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
5166
- var tmp$ret$0;
5163
+ var tmp$ret$1;
5167
5164
  $l$block_1: {
5168
5165
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5166
+ var tmp$ret$2;
5167
+ // Inline function 'kotlinx.atomicfu.loop' call
5169
5168
  while (true) {
5170
5169
  var cur = tmp0.kotlinx$atomicfu$value;
5171
5170
  if (compare(cur.m1p_1, tmp2.m1p_1) >= 0) {
5172
- tmp$ret$0 = true;
5171
+ tmp$ret$1 = true;
5173
5172
  break $l$block_1;
5174
5173
  }
5175
5174
  if (!tmp2.n1v()) {
5176
- tmp$ret$0 = false;
5175
+ tmp$ret$1 = false;
5177
5176
  break $l$block_1;
5178
5177
  }
5179
5178
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
5180
5179
  if (cur.o1v()) {
5181
5180
  cur.a3();
5182
5181
  }
5183
- tmp$ret$0 = true;
5182
+ tmp$ret$1 = true;
5184
5183
  break $l$block_1;
5185
5184
  }
5186
5185
  if (tmp2.o1v()) {
5187
5186
  tmp2.a3();
5188
5187
  }
5189
5188
  }
5190
- tmp$ret$0 = Unit_instance;
5189
+ tmp$ret$1 = tmp$ret$2;
5191
5190
  }
5192
- tmp = tmp$ret$0;
5191
+ tmp = tmp$ret$1;
5193
5192
  }
5194
5193
  if (tmp) {
5195
- tmp$ret$2 = s;
5194
+ tmp$ret$0 = s;
5196
5195
  break $l$block_2;
5197
5196
  }
5198
5197
  }
5199
5198
  }
5200
5199
  // Inline function 'kotlin.let' call
5201
- var it = tmp$ret$2;
5200
+ var it = tmp$ret$0;
5202
5201
  var tmp_0;
5203
5202
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
5204
5203
  completeCloseOrCancel($this);
5205
5204
  var tmp0_0 = startFrom.m1p_1;
5206
5205
  // Inline function 'kotlin.Long.times' call
5207
5206
  var other = get_SEGMENT_SIZE();
5208
- var tmp$ret$3 = multiply(tmp0_0, fromInt(other));
5209
- if (compare(tmp$ret$3, $this.b1w()) < 0) {
5207
+ var tmp$ret$6 = multiply(tmp0_0, fromInt(other));
5208
+ if (compare(tmp$ret$6, $this.b1w()) < 0) {
5210
5209
  startFrom.v1v();
5211
5210
  }
5212
5211
  tmp_0 = null;
@@ -5217,8 +5216,8 @@
5217
5216
  var tmp0_1 = _get_bufferEndCounter__2d4hee($this);
5218
5217
  // Inline function 'kotlin.Long.div' call
5219
5218
  var other_0 = get_SEGMENT_SIZE();
5220
- var tmp$ret$4 = divide(tmp0_1, fromInt(other_0));
5221
- tmp_1 = compare(id, tmp$ret$4) <= 0;
5219
+ var tmp$ret$7 = divide(tmp0_1, fromInt(other_0));
5220
+ tmp_1 = compare(id, tmp$ret$7) <= 0;
5222
5221
  } else {
5223
5222
  tmp_1 = false;
5224
5223
  }
@@ -5226,6 +5225,7 @@
5226
5225
  var tmp0_2 = $this.f1v_1;
5227
5226
  $l$block_5: {
5228
5227
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5228
+ // Inline function 'kotlinx.atomicfu.loop' call
5229
5229
  while (true) {
5230
5230
  var cur_0 = tmp0_2.kotlinx$atomicfu$value;
5231
5231
  if (compare(cur_0.m1p_1, segment.m1p_1) >= 0) {
@@ -5251,13 +5251,13 @@
5251
5251
  var tmp0_3 = segment.m1p_1;
5252
5252
  // Inline function 'kotlin.Long.times' call
5253
5253
  var other_1 = get_SEGMENT_SIZE();
5254
- var tmp$ret$7 = multiply(tmp0_3, fromInt(other_1));
5255
- updateReceiversCounterIfLower($this, tmp$ret$7);
5254
+ var tmp$ret$11 = multiply(tmp0_3, fromInt(other_1));
5255
+ updateReceiversCounterIfLower($this, tmp$ret$11);
5256
5256
  var tmp0_4 = segment.m1p_1;
5257
5257
  // Inline function 'kotlin.Long.times' call
5258
5258
  var other_2 = get_SEGMENT_SIZE();
5259
- var tmp$ret$8 = multiply(tmp0_4, fromInt(other_2));
5260
- if (compare(tmp$ret$8, $this.b1w()) < 0) {
5259
+ var tmp$ret$12 = multiply(tmp0_4, fromInt(other_2));
5260
+ if (compare(tmp$ret$12, $this.b1w()) < 0) {
5261
5261
  segment.v1v();
5262
5262
  }
5263
5263
  tmp_2 = null;
@@ -5272,7 +5272,7 @@
5272
5272
  function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
5273
5273
  var tmp0 = $this.f1v_1;
5274
5274
  var tmp6 = createSegmentFunction();
5275
- var tmp$ret$2;
5275
+ var tmp$ret$0;
5276
5276
  $l$block_2: {
5277
5277
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
5278
5278
  while (true) {
@@ -5282,47 +5282,49 @@
5282
5282
  tmp = true;
5283
5283
  } else {
5284
5284
  var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
5285
- var tmp$ret$0;
5285
+ var tmp$ret$1;
5286
5286
  $l$block_1: {
5287
5287
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5288
+ var tmp$ret$2;
5289
+ // Inline function 'kotlinx.atomicfu.loop' call
5288
5290
  while (true) {
5289
5291
  var cur = tmp0.kotlinx$atomicfu$value;
5290
5292
  if (compare(cur.m1p_1, tmp2.m1p_1) >= 0) {
5291
- tmp$ret$0 = true;
5293
+ tmp$ret$1 = true;
5292
5294
  break $l$block_1;
5293
5295
  }
5294
5296
  if (!tmp2.n1v()) {
5295
- tmp$ret$0 = false;
5297
+ tmp$ret$1 = false;
5296
5298
  break $l$block_1;
5297
5299
  }
5298
5300
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
5299
5301
  if (cur.o1v()) {
5300
5302
  cur.a3();
5301
5303
  }
5302
- tmp$ret$0 = true;
5304
+ tmp$ret$1 = true;
5303
5305
  break $l$block_1;
5304
5306
  }
5305
5307
  if (tmp2.o1v()) {
5306
5308
  tmp2.a3();
5307
5309
  }
5308
5310
  }
5309
- tmp$ret$0 = Unit_instance;
5311
+ tmp$ret$1 = tmp$ret$2;
5310
5312
  }
5311
- tmp = tmp$ret$0;
5313
+ tmp = tmp$ret$1;
5312
5314
  }
5313
5315
  if (tmp) {
5314
- tmp$ret$2 = s;
5316
+ tmp$ret$0 = s;
5315
5317
  break $l$block_2;
5316
5318
  }
5317
5319
  }
5318
5320
  }
5319
5321
  // Inline function 'kotlin.let' call
5320
- var it = tmp$ret$2;
5322
+ var it = tmp$ret$0;
5321
5323
  var tmp_0;
5322
5324
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
5323
5325
  completeCloseOrCancel($this);
5324
5326
  moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom);
5325
- incCompletedExpandBufferAttempts$default($this);
5327
+ incCompletedExpandBufferAttempts($this);
5326
5328
  tmp_0 = null;
5327
5329
  } else {
5328
5330
  var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
@@ -5333,15 +5335,15 @@
5333
5335
  var tmp0_0 = segment.m1p_1;
5334
5336
  // Inline function 'kotlin.Long.times' call
5335
5337
  var other = get_SEGMENT_SIZE();
5336
- var tmp$ret$4 = multiply(tmp0_0, fromInt(other));
5337
- if ($this.b1v_1.atomicfu$compareAndSet(tmp_2, tmp$ret$4)) {
5338
+ var tmp$ret$7 = multiply(tmp0_0, fromInt(other));
5339
+ if ($this.b1v_1.atomicfu$compareAndSet(tmp_2, tmp$ret$7)) {
5338
5340
  var tmp0_1 = segment.m1p_1;
5339
5341
  // Inline function 'kotlin.Long.times' call
5340
5342
  var other_0 = get_SEGMENT_SIZE();
5341
- var tmp$ret$5 = multiply(tmp0_1, fromInt(other_0));
5342
- incCompletedExpandBufferAttempts($this, subtract(tmp$ret$5, currentBufferEndCounter));
5343
+ var tmp$ret$8 = multiply(tmp0_1, fromInt(other_0));
5344
+ incCompletedExpandBufferAttempts($this, subtract(tmp$ret$8, currentBufferEndCounter));
5343
5345
  } else {
5344
- incCompletedExpandBufferAttempts$default($this);
5346
+ incCompletedExpandBufferAttempts($this);
5345
5347
  }
5346
5348
  tmp_1 = null;
5347
5349
  } else {
@@ -5380,6 +5382,8 @@
5380
5382
  var tmp$ret$0;
5381
5383
  $l$block_1: {
5382
5384
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5385
+ var tmp$ret$1;
5386
+ // Inline function 'kotlinx.atomicfu.loop' call
5383
5387
  while (true) {
5384
5388
  var cur = tmp0.kotlinx$atomicfu$value;
5385
5389
  if (compare(cur.m1p_1, tmp2.m1p_1) >= 0) {
@@ -5401,13 +5405,15 @@
5401
5405
  tmp2.a3();
5402
5406
  }
5403
5407
  }
5404
- tmp$ret$0 = Unit_instance;
5408
+ tmp$ret$0 = tmp$ret$1;
5405
5409
  }
5406
5410
  if (tmp$ret$0)
5407
5411
  return Unit_instance;
5408
5412
  }
5409
5413
  }
5410
5414
  function updateSendersCounterIfLower($this, value) {
5415
+ var tmp$ret$0;
5416
+ // Inline function 'kotlinx.atomicfu.loop' call
5411
5417
  var this_0 = $this.z1u_1;
5412
5418
  while (true) {
5413
5419
  var cur = this_0.kotlinx$atomicfu$value;
@@ -5416,14 +5422,16 @@
5416
5422
  if (compare(curCounter, value) >= 0)
5417
5423
  return Unit_instance;
5418
5424
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
5419
- var tmp$ret$1 = convertToInt(shiftRight(cur, 60));
5420
- var update = constructSendersAndCloseStatus(curCounter, tmp$ret$1);
5425
+ var tmp$ret$3 = convertToInt(shiftRight(cur, 60));
5426
+ var update = constructSendersAndCloseStatus(curCounter, tmp$ret$3);
5421
5427
  if ($this.z1u_1.atomicfu$compareAndSet(cur, update))
5422
5428
  return Unit_instance;
5423
5429
  }
5424
- return Unit_instance;
5430
+ return tmp$ret$0;
5425
5431
  }
5426
5432
  function updateReceiversCounterIfLower($this, value) {
5433
+ var tmp$ret$0;
5434
+ // Inline function 'kotlinx.atomicfu.loop' call
5427
5435
  var this_0 = $this.a1v_1;
5428
5436
  while (true) {
5429
5437
  var cur = this_0.kotlinx$atomicfu$value;
@@ -5432,18 +5440,18 @@
5432
5440
  if ($this.a1v_1.atomicfu$compareAndSet(cur, value))
5433
5441
  return Unit_instance;
5434
5442
  }
5435
- return Unit_instance;
5443
+ return tmp$ret$0;
5436
5444
  }
5437
- function bindCancellationFunResult($this, _this__u8e3s4) {
5445
+ function bindCancellationFunResult($this, $receiver) {
5438
5446
  return BufferedChannel$onCancellationChannelResultImplDoNotCall$ref($this);
5439
5447
  }
5440
5448
  function onCancellationChannelResultImplDoNotCall($this, cause, element, context) {
5441
5449
  callUndeliveredElement(ensureNotNull($this.y1u_1), ensureNotNull(ChannelResult__getOrNull_impl_f5e07h(element)), context);
5442
5450
  }
5443
- function bindCancellationFun($this, _this__u8e3s4, element) {
5444
- return BufferedChannel$bindCancellationFun$lambda(_this__u8e3s4, element);
5451
+ function bindCancellationFun($this, $receiver, element) {
5452
+ return BufferedChannel$bindCancellationFun$lambda($receiver, element);
5445
5453
  }
5446
- function bindCancellationFun_0($this, _this__u8e3s4) {
5454
+ function bindCancellationFun_0($this, $receiver) {
5447
5455
  return BufferedChannel$onCancellationImplDoNotCall$ref($this);
5448
5456
  }
5449
5457
  function onCancellationImplDoNotCall($this, cause, element, context) {
@@ -5453,7 +5461,7 @@
5453
5461
  return function (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) {
5454
5462
  var tmp;
5455
5463
  if (!($element === get_CHANNEL_CLOSED())) {
5456
- callUndeliveredElement(this$0.y1u_1, ($element == null ? true : !($element == null)) ? $element : THROW_CCE(), $select.x7());
5464
+ callUndeliveredElement(this$0.y1u_1, $element, $select.x7());
5457
5465
  tmp = Unit_instance;
5458
5466
  }
5459
5467
  return Unit_instance;
@@ -5779,8 +5787,7 @@
5779
5787
  } else {
5780
5788
  var tmp_6 = this;
5781
5789
  this.b1z_1.v1v();
5782
- var element = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
5783
- tmp_6.a1z_1 = new ChannelResult(Companion_getInstance().d1x(element));
5790
+ tmp_6.a1z_1 = new ChannelResult(Companion_getInstance().d1x(updCellResult));
5784
5791
  this.r7_1 = 8;
5785
5792
  continue $sm;
5786
5793
  }
@@ -5879,8 +5886,8 @@
5879
5886
  if (shouldSendSuspend0(this, this.z1u_1.kotlinx$atomicfu$value))
5880
5887
  return Companion_getInstance().l1z();
5881
5888
  var tmp4 = get_INTERRUPTED_SEND();
5882
- var tmp$ret$4;
5883
- $l$block_4: {
5889
+ var tmp$ret$0;
5890
+ $l$block_5: {
5884
5891
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
5885
5892
  var segment = this.d1v_1.kotlinx$atomicfu$value;
5886
5893
  $l$loop_0: while (true) {
@@ -5893,16 +5900,16 @@
5893
5900
  var id = divide(s, fromInt(other));
5894
5901
  // Inline function 'kotlin.Long.rem' call
5895
5902
  var other_0 = get_SEGMENT_SIZE();
5896
- var tmp$ret$2 = modulo(s, fromInt(other_0));
5897
- var i = convertToInt(tmp$ret$2);
5903
+ var tmp$ret$3 = modulo(s, fromInt(other_0));
5904
+ var i = convertToInt(tmp$ret$3);
5898
5905
  if (!equalsLong(segment.m1p_1, id)) {
5899
5906
  var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
5900
5907
  var tmp;
5901
5908
  if (tmp0_elvis_lhs == null) {
5902
5909
  var tmp_0;
5903
5910
  if (closed) {
5904
- tmp$ret$4 = Companion_getInstance().i1x(this.x1w());
5905
- break $l$block_4;
5911
+ tmp$ret$0 = Companion_getInstance().i1x(this.x1w());
5912
+ break $l$block_5;
5906
5913
  } else {
5907
5914
  continue $l$loop_0;
5908
5915
  }
@@ -5914,16 +5921,16 @@
5914
5921
  switch (updateCellSend(this, segment, i, element, s, tmp4, closed)) {
5915
5922
  case 0:
5916
5923
  segment.v1v();
5917
- tmp$ret$4 = Companion_getInstance().d1x(Unit_instance);
5918
- break $l$block_4;
5924
+ tmp$ret$0 = Companion_getInstance().d1x(Unit_instance);
5925
+ break $l$block_5;
5919
5926
  case 1:
5920
- tmp$ret$4 = Companion_getInstance().d1x(Unit_instance);
5921
- break $l$block_4;
5927
+ tmp$ret$0 = Companion_getInstance().d1x(Unit_instance);
5928
+ break $l$block_5;
5922
5929
  case 2:
5923
5930
  if (closed) {
5924
5931
  segment.l1v();
5925
- tmp$ret$4 = Companion_getInstance().i1x(this.x1w());
5926
- break $l$block_4;
5932
+ tmp$ret$0 = Companion_getInstance().i1x(this.x1w());
5933
+ break $l$block_5;
5927
5934
  }
5928
5935
 
5929
5936
  var tmp2_safe_receiver = (!(tmp4 == null) ? isInterface(tmp4, Waiter) : false) ? tmp4 : null;
@@ -5934,102 +5941,108 @@
5934
5941
  }
5935
5942
 
5936
5943
  segment.l1v();
5937
- tmp$ret$4 = Companion_getInstance().l1z();
5938
- break $l$block_4;
5944
+ tmp$ret$0 = Companion_getInstance().l1z();
5945
+ break $l$block_5;
5939
5946
  case 4:
5940
5947
  if (compare(s, this.y1w()) < 0) {
5941
5948
  segment.v1v();
5942
5949
  }
5943
5950
 
5944
- tmp$ret$4 = Companion_getInstance().i1x(this.x1w());
5945
- break $l$block_4;
5951
+ tmp$ret$0 = Companion_getInstance().i1x(this.x1w());
5952
+ break $l$block_5;
5946
5953
  case 5:
5947
5954
  segment.v1v();
5948
5955
  continue $l$loop_0;
5949
5956
  case 3:
5957
+ // Inline function 'kotlin.error' call
5958
+
5950
5959
  var message = 'unexpected';
5951
5960
  throw IllegalStateException_init_$Create$(toString(message));
5952
5961
  }
5953
5962
  }
5954
5963
  }
5955
- return tmp$ret$4;
5964
+ return tmp$ret$0;
5956
5965
  };
5957
5966
  protoOf(BufferedChannel).m1z = function (element) {
5958
- var tmp$ret$3;
5959
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
5960
- var waiter = get_BUFFERED();
5961
- var segment = this.d1v_1.kotlinx$atomicfu$value;
5962
- $l$loop_0: while (true) {
5963
- var sendersAndCloseStatusCur = this.z1u_1.atomicfu$getAndIncrement$long();
5964
- // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
5965
- var s = bitwiseAnd(sendersAndCloseStatusCur, new Long(-1, 268435455));
5966
- var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
5967
- // Inline function 'kotlin.Long.div' call
5968
- var other = get_SEGMENT_SIZE();
5969
- var id = divide(s, fromInt(other));
5970
- // Inline function 'kotlin.Long.rem' call
5971
- var other_0 = get_SEGMENT_SIZE();
5972
- var tmp$ret$2 = modulo(s, fromInt(other_0));
5973
- var i = convertToInt(tmp$ret$2);
5974
- if (!equalsLong(segment.m1p_1, id)) {
5975
- var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
5976
- var tmp;
5977
- if (tmp0_elvis_lhs == null) {
5978
- var tmp_0;
5979
- if (closed) {
5980
- return Companion_getInstance().i1x(this.x1w());
5967
+ var tmp4 = get_BUFFERED();
5968
+ var tmp$ret$0;
5969
+ $l$block_5: {
5970
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
5971
+ var segment = this.d1v_1.kotlinx$atomicfu$value;
5972
+ $l$loop_0: while (true) {
5973
+ var sendersAndCloseStatusCur = this.z1u_1.atomicfu$getAndIncrement$long();
5974
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
5975
+ var s = bitwiseAnd(sendersAndCloseStatusCur, new Long(-1, 268435455));
5976
+ var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
5977
+ // Inline function 'kotlin.Long.div' call
5978
+ var other = get_SEGMENT_SIZE();
5979
+ var id = divide(s, fromInt(other));
5980
+ // Inline function 'kotlin.Long.rem' call
5981
+ var other_0 = get_SEGMENT_SIZE();
5982
+ var tmp$ret$3 = modulo(s, fromInt(other_0));
5983
+ var i = convertToInt(tmp$ret$3);
5984
+ if (!equalsLong(segment.m1p_1, id)) {
5985
+ var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
5986
+ var tmp;
5987
+ if (tmp0_elvis_lhs == null) {
5988
+ var tmp_0;
5989
+ if (closed) {
5990
+ return Companion_getInstance().i1x(this.x1w());
5991
+ } else {
5992
+ continue $l$loop_0;
5993
+ }
5981
5994
  } else {
5982
- continue $l$loop_0;
5995
+ tmp = tmp0_elvis_lhs;
5983
5996
  }
5984
- } else {
5985
- tmp = tmp0_elvis_lhs;
5997
+ segment = tmp;
5986
5998
  }
5987
- segment = tmp;
5988
- }
5989
- switch (updateCellSend(this, segment, i, element, s, waiter, closed)) {
5990
- case 0:
5991
- segment.v1v();
5992
- return Companion_getInstance().d1x(Unit_instance);
5993
- case 1:
5994
- return Companion_getInstance().d1x(Unit_instance);
5995
- case 2:
5996
- if (closed) {
5997
- segment.l1v();
5998
- return Companion_getInstance().i1x(this.x1w());
5999
- }
5999
+ switch (updateCellSend(this, segment, i, element, s, tmp4, closed)) {
6000
+ case 0:
6001
+ segment.v1v();
6002
+ return Companion_getInstance().d1x(Unit_instance);
6003
+ case 1:
6004
+ return Companion_getInstance().d1x(Unit_instance);
6005
+ case 2:
6006
+ if (closed) {
6007
+ segment.l1v();
6008
+ return Companion_getInstance().i1x(this.x1w());
6009
+ }
6000
6010
 
6001
- var tmp2_safe_receiver = (!(waiter == null) ? isInterface(waiter, Waiter) : false) ? waiter : null;
6002
- if (tmp2_safe_receiver == null)
6003
- null;
6004
- else {
6005
- prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
6006
- }
6011
+ var tmp2_safe_receiver = (!(tmp4 == null) ? isInterface(tmp4, Waiter) : false) ? tmp4 : null;
6012
+ if (tmp2_safe_receiver == null)
6013
+ null;
6014
+ else {
6015
+ prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
6016
+ }
6007
6017
 
6008
- var tmp0 = segment.m1p_1;
6009
- // Inline function 'kotlin.Long.times' call
6018
+ var tmp0 = segment.m1p_1;
6019
+ // Inline function 'kotlin.Long.times' call
6010
6020
 
6011
- var other_1 = get_SEGMENT_SIZE();
6012
- // Inline function 'kotlin.Long.plus' call
6021
+ var other_1 = get_SEGMENT_SIZE();
6022
+ // Inline function 'kotlin.Long.plus' call
6013
6023
 
6014
- var this_0 = multiply(tmp0, fromInt(other_1));
6015
- var tmp$ret$5 = add(this_0, fromInt(i));
6016
- this.r1x(tmp$ret$5);
6017
- return Companion_getInstance().d1x(Unit_instance);
6018
- case 4:
6019
- if (compare(s, this.y1w()) < 0) {
6024
+ var this_0 = multiply(tmp0, fromInt(other_1));
6025
+ var tmp$ret$10 = add(this_0, fromInt(i));
6026
+ this.r1x(tmp$ret$10);
6027
+ return Companion_getInstance().d1x(Unit_instance);
6028
+ case 4:
6029
+ if (compare(s, this.y1w()) < 0) {
6030
+ segment.v1v();
6031
+ }
6032
+
6033
+ return Companion_getInstance().i1x(this.x1w());
6034
+ case 5:
6020
6035
  segment.v1v();
6021
- }
6036
+ continue $l$loop_0;
6037
+ case 3:
6038
+ // Inline function 'kotlin.error' call
6022
6039
 
6023
- return Companion_getInstance().i1x(this.x1w());
6024
- case 5:
6025
- segment.v1v();
6026
- continue $l$loop_0;
6027
- case 3:
6028
- var message = 'unexpected';
6029
- throw IllegalStateException_init_$Create$(toString(message));
6040
+ var message = 'unexpected';
6041
+ throw IllegalStateException_init_$Create$(toString(message));
6042
+ }
6030
6043
  }
6031
6044
  }
6032
- return tmp$ret$3;
6045
+ return tmp$ret$0;
6033
6046
  };
6034
6047
  protoOf(BufferedChannel).g1x = function () {
6035
6048
  };
@@ -6055,13 +6068,13 @@
6055
6068
  if (compare(r, s) >= 0)
6056
6069
  return Companion_getInstance().l1z();
6057
6070
  var tmp2 = get_INTERRUPTED_RCV();
6058
- var tmp$ret$2;
6071
+ var tmp$ret$1;
6059
6072
  $l$block_0: {
6060
6073
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
6061
6074
  var segment = this.e1v_1.kotlinx$atomicfu$value;
6062
6075
  $l$loop_0: while (true) {
6063
6076
  if (this.c1w()) {
6064
- tmp$ret$2 = Companion_getInstance().i1x(this.a1w());
6077
+ tmp$ret$1 = Companion_getInstance().i1x(this.a1w());
6065
6078
  break $l$block_0;
6066
6079
  }
6067
6080
  var r_0 = this.a1v_1.atomicfu$getAndIncrement$long();
@@ -6101,18 +6114,18 @@
6101
6114
  }
6102
6115
  continue $l$loop_0;
6103
6116
  } else if (updCellResult === get_SUSPEND_NO_WAITER()) {
6117
+ // Inline function 'kotlin.error' call
6104
6118
  var message = 'unexpected';
6105
6119
  throw IllegalStateException_init_$Create$(toString(message));
6106
6120
  } else {
6107
6121
  segment.v1v();
6108
- var element = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
6109
- tmp_0 = new ChannelResult(Companion_getInstance().d1x(element));
6122
+ tmp_0 = new ChannelResult(Companion_getInstance().d1x(updCellResult));
6110
6123
  }
6111
- tmp$ret$2 = tmp_0.h1x_1;
6124
+ tmp$ret$1 = tmp_0.h1x_1;
6112
6125
  break $l$block_0;
6113
6126
  }
6114
6127
  }
6115
- return tmp$ret$2;
6128
+ return tmp$ret$1;
6116
6129
  };
6117
6130
  protoOf(BufferedChannel).r1x = function (globalCellIndex) {
6118
6131
  // Inline function 'kotlinx.coroutines.assert' call
@@ -6156,13 +6169,7 @@
6156
6169
  } else {
6157
6170
  segment.v1v();
6158
6171
  var tmp1_safe_receiver = this.y1u_1;
6159
- var tmp_0;
6160
- if (tmp1_safe_receiver == null) {
6161
- tmp_0 = null;
6162
- } else {
6163
- tmp_0 = callUndeliveredElementCatchingException(tmp1_safe_receiver, (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE());
6164
- }
6165
- var tmp2_safe_receiver = tmp_0;
6172
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp1_safe_receiver, updCellResult);
6166
6173
  if (tmp2_safe_receiver == null)
6167
6174
  null;
6168
6175
  else {
@@ -6198,8 +6205,8 @@
6198
6205
  while (true) {
6199
6206
  var cur = tmp0.kotlinx$atomicfu$value;
6200
6207
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
6201
- var tmp$ret$3 = bitwiseAnd(cur, new Long(-1, 1073741823));
6202
- var upd = constructEBCompletedAndPauseFlag(tmp$ret$3, true);
6208
+ var tmp$ret$5 = bitwiseAnd(cur, new Long(-1, 1073741823));
6209
+ var upd = constructEBCompletedAndPauseFlag(tmp$ret$5, true);
6203
6210
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
6204
6211
  break $l$block;
6205
6212
  }
@@ -6219,8 +6226,8 @@
6219
6226
  while (true) {
6220
6227
  var cur_0 = tmp0_0.kotlinx$atomicfu$value;
6221
6228
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
6222
- var tmp$ret$8 = bitwiseAnd(cur_0, new Long(-1, 1073741823));
6223
- var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$8, false);
6229
+ var tmp$ret$10 = bitwiseAnd(cur_0, new Long(-1, 1073741823));
6230
+ var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$10, false);
6224
6231
  if (tmp0_0.atomicfu$compareAndSet(cur_0, upd_0)) {
6225
6232
  break $l$block_0;
6226
6233
  }
@@ -6558,8 +6565,7 @@
6558
6565
  var tmp;
6559
6566
  var tmp_0 = _ChannelResult___get_holder__impl__pm9gzw($this);
6560
6567
  if (!(tmp_0 instanceof Failed)) {
6561
- var tmp_1 = _ChannelResult___get_holder__impl__pm9gzw($this);
6562
- tmp = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
6568
+ tmp = _ChannelResult___get_holder__impl__pm9gzw($this);
6563
6569
  } else {
6564
6570
  tmp = null;
6565
6571
  }
@@ -7187,30 +7193,30 @@
7187
7193
  var resumes = get_EMPTY_RESUMES();
7188
7194
  // Inline function 'kotlinx.coroutines.internal.synchronized' call
7189
7195
  // Inline function 'kotlinx.coroutines.internal.synchronizedImpl' call
7190
- var tmp$ret$2;
7196
+ var tmp$ret$4;
7191
7197
  $l$block: {
7192
7198
  if (tryEmitLocked($this, value)) {
7193
7199
  // Inline function 'kotlin.coroutines.resume' call
7194
7200
  // Inline function 'kotlin.Companion.success' call
7195
- var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
7196
- cancellable.c8(tmp$ret$0);
7201
+ var tmp$ret$6 = _Result___init__impl__xyqfz8(Unit_instance);
7202
+ cancellable.c8(tmp$ret$6);
7197
7203
  resumes = findSlotsToResumeLocked($this, resumes);
7198
- tmp$ret$2 = null;
7204
+ tmp$ret$4 = null;
7199
7205
  break $l$block;
7200
7206
  }
7201
7207
  var tmp0 = _get_head__d7jo8b($this);
7202
7208
  // Inline function 'kotlin.Long.plus' call
7203
7209
  var other = _get_totalSize__xhdb3o($this);
7204
- var tmp$ret$3 = add(tmp0, fromInt(other));
7210
+ var tmp$ret$7 = add(tmp0, fromInt(other));
7205
7211
  // Inline function 'kotlin.also' call
7206
- var this_0 = new Emitter($this, tmp$ret$3, value, cancellable);
7212
+ var this_0 = new Emitter($this, tmp$ret$7, value, cancellable);
7207
7213
  enqueueLocked($this, this_0);
7208
7214
  $this.m22_1 = $this.m22_1 + 1 | 0;
7209
7215
  if ($this.g22_1 === 0)
7210
7216
  resumes = findSlotsToResumeLocked($this, resumes);
7211
- tmp$ret$2 = this_0;
7217
+ tmp$ret$4 = this_0;
7212
7218
  }
7213
- var emitter = tmp$ret$2;
7219
+ var emitter = tmp$ret$4;
7214
7220
  if (emitter == null)
7215
7221
  null;
7216
7222
  else {
@@ -7228,8 +7234,8 @@
7228
7234
  else {
7229
7235
  // Inline function 'kotlin.coroutines.resume' call
7230
7236
  // Inline function 'kotlin.Companion.success' call
7231
- var tmp$ret$10 = _Result___init__impl__xyqfz8(Unit_instance);
7232
- r.c8(tmp$ret$10);
7237
+ var tmp$ret$13 = _Result___init__impl__xyqfz8(Unit_instance);
7238
+ r.c8(tmp$ret$13);
7233
7239
  }
7234
7240
  }
7235
7241
  return cancellable.w1n();
@@ -7323,8 +7329,8 @@
7323
7329
  else {
7324
7330
  // Inline function 'kotlin.coroutines.resume' call
7325
7331
  // Inline function 'kotlin.Companion.success' call
7326
- var tmp$ret$4 = _Result___init__impl__xyqfz8(Unit_instance);
7327
- resume.c8(tmp$ret$4);
7332
+ var tmp$ret$5 = _Result___init__impl__xyqfz8(Unit_instance);
7333
+ resume.c8(tmp$ret$5);
7328
7334
  }
7329
7335
  }
7330
7336
  return value;
@@ -7363,8 +7369,8 @@
7363
7369
  } else {
7364
7370
  // Inline function 'kotlin.coroutines.resume' call
7365
7371
  // Inline function 'kotlin.Companion.success' call
7366
- var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
7367
- cancellable.c8(tmp$ret$0);
7372
+ var tmp$ret$6 = _Result___init__impl__xyqfz8(Unit_instance);
7373
+ cancellable.c8(tmp$ret$6);
7368
7374
  break $l$block;
7369
7375
  }
7370
7376
  slot.s22_1 = cancellable;
@@ -7406,8 +7412,8 @@
7406
7412
  var tmp_0 = resumes;
7407
7413
  // Inline function 'kotlin.comparisons.maxOf' call
7408
7414
  var b = imul(2, resumes.length);
7409
- var tmp$ret$2 = Math.max(2, b);
7410
- resumes = copyOf(tmp_0, tmp$ret$2);
7415
+ var tmp$ret$4 = Math.max(2, b);
7416
+ resumes = copyOf(tmp_0, tmp$ret$4);
7411
7417
  }
7412
7418
  var tmp_1 = resumes;
7413
7419
  var _unary__edvuaz = resumeCount;
@@ -7512,8 +7518,7 @@
7512
7518
  }
7513
7519
 
7514
7520
  this.r7_1 = 9;
7515
- var tmp_2 = this.j23_1;
7516
- suspendResult = this.h23_1.l21((tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE(), this);
7521
+ suspendResult = this.h23_1.l21(this.j23_1, this);
7517
7522
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
7518
7523
  return suspendResult;
7519
7524
  }
@@ -7568,8 +7573,7 @@
7568
7573
  // Inline function 'kotlin.Long.minus' call
7569
7574
  var this_0 = add(tmp0, fromInt(other));
7570
7575
  var tmp$ret$1 = subtract(this_0, fromInt(1));
7571
- var tmp_0 = getBufferAt(tmp, tmp$ret$1);
7572
- return (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
7576
+ return getBufferAt(tmp, tmp$ret$1);
7573
7577
  };
7574
7578
  protoOf(SharedFlowImpl).r23 = function (collector, $completion) {
7575
7579
  var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
@@ -7603,8 +7607,8 @@
7603
7607
  else {
7604
7608
  // Inline function 'kotlin.coroutines.resume' call
7605
7609
  // Inline function 'kotlin.Companion.success' call
7606
- var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
7607
- cont.c8(tmp$ret$3);
7610
+ var tmp$ret$4 = _Result___init__impl__xyqfz8(Unit_instance);
7611
+ cont.c8(tmp$ret$4);
7608
7612
  }
7609
7613
  }
7610
7614
  return emitted;
@@ -7906,13 +7910,7 @@
7906
7910
  this.r7_1 = 5;
7907
7911
  var tmp0 = get_NULL();
7908
7912
  var value = this.w24_1;
7909
- var tmp_2;
7910
- if (value === tmp0) {
7911
- tmp_2 = (null == null ? true : !(null == null)) ? null : THROW_CCE();
7912
- } else {
7913
- tmp_2 = (value == null ? true : !(value == null)) ? value : THROW_CCE();
7914
- }
7915
- suspendResult = this.t24_1.l21(tmp_2, this);
7913
+ suspendResult = this.t24_1.l21(value === tmp0 ? null : value, this);
7916
7914
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
7917
7915
  return suspendResult;
7918
7916
  }
@@ -8044,8 +8042,8 @@
8044
8042
  // Inline function 'kotlin.coroutines.resume' call
8045
8043
  var this_1 = state instanceof CancellableContinuationImpl ? state : THROW_CCE();
8046
8044
  // Inline function 'kotlin.Companion.success' call
8047
- var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
8048
- this_1.c8(tmp$ret$0);
8045
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
8046
+ this_1.c8(tmp$ret$3);
8049
8047
  return Unit_instance;
8050
8048
  }
8051
8049
  }
@@ -8067,8 +8065,8 @@
8067
8065
  // Inline function 'kotlinx.coroutines.assert' call
8068
8066
  // Inline function 'kotlin.coroutines.resume' call
8069
8067
  // Inline function 'kotlin.Companion.success' call
8070
- var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
8071
- cancellable.c8(tmp$ret$3);
8068
+ var tmp$ret$5 = _Result___init__impl__xyqfz8(Unit_instance);
8069
+ cancellable.c8(tmp$ret$5);
8072
8070
  }
8073
8071
  return cancellable.w1n();
8074
8072
  };
@@ -8173,8 +8171,8 @@
8173
8171
  else {
8174
8172
  // Inline function 'kotlin.coroutines.resume' call
8175
8173
  // Inline function 'kotlin.Companion.success' call
8176
- var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
8177
- cont.c8(tmp$ret$3);
8174
+ var tmp$ret$4 = _Result___init__impl__xyqfz8(Unit_instance);
8175
+ cont.c8(tmp$ret$4);
8178
8176
  }
8179
8177
  }
8180
8178
  if (subscriptionCount == null)
@@ -8582,7 +8580,7 @@
8582
8580
  return tmp.z7();
8583
8581
  };
8584
8582
  protoOf(UndispatchedContextCollector$emitRef$slambda).h8 = function (p1, $completion) {
8585
- return this.s28((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
8583
+ return this.s28(p1, $completion);
8586
8584
  };
8587
8585
  protoOf(UndispatchedContextCollector$emitRef$slambda).z7 = function () {
8588
8586
  var suspendResult = this.t7_1;
@@ -8662,7 +8660,7 @@
8662
8660
  return tmp.z7();
8663
8661
  };
8664
8662
  protoOf(combineInternal$slambda$slambda$slambda).h8 = function (p1, $completion) {
8665
- return this.s28((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
8663
+ return this.s28(p1, $completion);
8666
8664
  };
8667
8665
  protoOf(combineInternal$slambda$slambda$slambda).z7 = function () {
8668
8666
  var suspendResult = this.t7_1;
@@ -9012,7 +9010,7 @@
9012
9010
  return Unit_instance;
9013
9011
  };
9014
9012
  protoOf(NopCollector).l21 = function (value, $completion) {
9015
- return this.x2a((value == null ? true : !(value == null)) ? value : THROW_CCE(), $completion);
9013
+ return this.x2a(value, $completion);
9016
9014
  };
9017
9015
  var NopCollector_instance;
9018
9016
  function NopCollector_getInstance() {
@@ -9079,6 +9077,7 @@
9079
9077
  var emissionParentJob = transitiveCoroutineParent(isInterface(element, Job) ? element : THROW_CCE(), collectJob);
9080
9078
  var tmp_0;
9081
9079
  if (!(emissionParentJob === collectJob)) {
9080
+ // Inline function 'kotlin.error' call
9082
9081
  var message = 'Flow invariant is violated:\n\t\tEmission from another coroutine is detected.\n' + ('\t\tChild of ' + toString_0(emissionParentJob) + ', expected child of ' + toString_0(collectJob) + '.\n') + '\t\tFlowCollector is not thread-safe and concurrent emissions are prohibited.\n' + "\t\tTo mitigate this restriction please use 'channelFlow' builder instead of 'flow'";
9083
9082
  throw IllegalStateException_init_$Create$(toString(message));
9084
9083
  }
@@ -9203,7 +9202,7 @@
9203
9202
  return tmp.z7();
9204
9203
  };
9205
9204
  protoOf(DistinctFlowImpl$collect$slambda).h8 = function (p1, $completion) {
9206
- return this.s28((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
9205
+ return this.s28(p1, $completion);
9207
9206
  };
9208
9207
  protoOf(DistinctFlowImpl$collect$slambda).z7 = function () {
9209
9208
  var suspendResult = this.t7_1;
@@ -9525,7 +9524,7 @@
9525
9524
  return tmp.z7();
9526
9525
  };
9527
9526
  protoOf(onEach$o$collect$slambda).h8 = function (p1, $completion) {
9528
- return this.q2d((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
9527
+ return this.q2d(p1, $completion);
9529
9528
  };
9530
9529
  protoOf(onEach$o$collect$slambda).z7 = function () {
9531
9530
  var suspendResult = this.t7_1;
@@ -9664,10 +9663,7 @@
9664
9663
  case 0:
9665
9664
  this.s7_1 = 3;
9666
9665
  this.r7_1 = 1;
9667
- var tmp_0 = this.o2e_1[0];
9668
- var tmp_1 = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
9669
- var tmp_2 = this.o2e_1[1];
9670
- suspendResult = this.m2e_1(tmp_1, (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE(), this);
9666
+ suspendResult = this.m2e_1(this.o2e_1[0], this.o2e_1[1], this);
9671
9667
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
9672
9668
  return suspendResult;
9673
9669
  }
@@ -9852,22 +9848,22 @@
9852
9848
  };
9853
9849
  protoOf(Segment).n1v = function () {
9854
9850
  var tmp0 = this.n1p_1;
9855
- var tmp$ret$1;
9851
+ var tmp$ret$0;
9856
9852
  $l$block_0: {
9857
9853
  // Inline function 'kotlinx.coroutines.internal.addConditionally' call
9858
9854
  while (true) {
9859
9855
  var cur = tmp0.kotlinx$atomicfu$value;
9860
9856
  if (!(!(cur === this.o1u()) || this.t1v())) {
9861
- tmp$ret$1 = false;
9857
+ tmp$ret$0 = false;
9862
9858
  break $l$block_0;
9863
9859
  }
9864
9860
  if (tmp0.atomicfu$compareAndSet(cur, cur + 65536 | 0)) {
9865
- tmp$ret$1 = true;
9861
+ tmp$ret$0 = true;
9866
9862
  break $l$block_0;
9867
9863
  }
9868
9864
  }
9869
9865
  }
9870
- return tmp$ret$1;
9866
+ return tmp$ret$0;
9871
9867
  };
9872
9868
  protoOf(Segment).o1v = function () {
9873
9869
  return this.n1p_1.atomicfu$addAndGet(-65536) === this.o1u() && !this.t1v();
@@ -9912,6 +9908,7 @@
9912
9908
  function _SegmentOrClosed___get_segment__impl__jvcr9l($this) {
9913
9909
  var tmp;
9914
9910
  if (_get_value__a43j40($this) === get_CLOSED()) {
9911
+ // Inline function 'kotlin.error' call
9915
9912
  var message = 'Does not contain segment';
9916
9913
  throw IllegalStateException_init_$Create$(toString(message));
9917
9914
  } else {
@@ -10144,7 +10141,7 @@
10144
10141
  // Inline function 'kotlinx.coroutines.runUnconfinedEventLoop' call
10145
10142
  eventLoop.u1r(true);
10146
10143
  try {
10147
- var tmp$ret$4;
10144
+ var tmp$ret$5;
10148
10145
  $l$block_0: {
10149
10146
  // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeCancelled' call
10150
10147
  var job = _this__u8e3s4.x7().e8(Key_instance_2);
@@ -10153,14 +10150,14 @@
10153
10150
  _this__u8e3s4.b1q(state, cause);
10154
10151
  // Inline function 'kotlin.coroutines.resumeWithException' call
10155
10152
  // Inline function 'kotlin.Companion.failure' call
10156
- var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(cause));
10157
- _this__u8e3s4.c8(tmp$ret$2);
10158
- tmp$ret$4 = true;
10153
+ var tmp$ret$7 = _Result___init__impl__xyqfz8(createFailure(cause));
10154
+ _this__u8e3s4.c8(tmp$ret$7);
10155
+ tmp$ret$5 = true;
10159
10156
  break $l$block_0;
10160
10157
  }
10161
- tmp$ret$4 = false;
10158
+ tmp$ret$5 = false;
10162
10159
  }
10163
- if (!tmp$ret$4) {
10160
+ if (!tmp$ret$5) {
10164
10161
  // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeUndispatchedWith' call
10165
10162
  _this__u8e3s4.b1p_1;
10166
10163
  // Inline function 'kotlinx.coroutines.withContinuationContext' call
@@ -10385,13 +10382,13 @@
10385
10382
  }
10386
10383
  function yieldUndispatched(_this__u8e3s4) {
10387
10384
  _init_properties_DispatchedContinuation_kt__tnmqc0();
10388
- var tmp$ret$1;
10385
+ var tmp$ret$0;
10389
10386
  $l$block: {
10390
10387
  // Inline function 'kotlinx.coroutines.internal.executeUnconfined' call
10391
10388
  // Inline function 'kotlinx.coroutines.assert' call
10392
10389
  var eventLoop = ThreadLocalEventLoop_getInstance().y1r();
10393
10390
  if (true && eventLoop.t1r()) {
10394
- tmp$ret$1 = false;
10391
+ tmp$ret$0 = false;
10395
10392
  break $l$block;
10396
10393
  }
10397
10394
  var tmp;
@@ -10420,9 +10417,9 @@
10420
10417
  }
10421
10418
  tmp = false;
10422
10419
  }
10423
- tmp$ret$1 = tmp;
10420
+ tmp$ret$0 = tmp;
10424
10421
  }
10425
- return tmp$ret$1;
10422
+ return tmp$ret$0;
10426
10423
  }
10427
10424
  var properties_initialized_DispatchedContinuation_kt_2siadq;
10428
10425
  function _init_properties_DispatchedContinuation_kt__tnmqc0() {
@@ -10439,7 +10436,7 @@
10439
10436
  protoOf(DispatchedTask).b1q = function (takenState, cause) {
10440
10437
  };
10441
10438
  protoOf(DispatchedTask).i1q = function (state) {
10442
- return (state == null ? true : !(state == null)) ? state : THROW_CCE();
10439
+ return state;
10443
10440
  };
10444
10441
  protoOf(DispatchedTask).s1q = function (state) {
10445
10442
  var tmp0_safe_receiver = state instanceof CompletedExceptionally ? state : null;
@@ -10463,20 +10460,20 @@
10463
10460
  // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
10464
10461
  // Inline function 'kotlin.Companion.failure' call
10465
10462
  var exception_0 = recoverStackTrace(cause, continuation);
10466
- var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception_0));
10467
- continuation.c8(tmp$ret$1);
10463
+ var tmp$ret$4 = _Result___init__impl__xyqfz8(createFailure(exception_0));
10464
+ continuation.c8(tmp$ret$4);
10468
10465
  } else {
10469
10466
  if (!(exception == null)) {
10470
10467
  // Inline function 'kotlin.coroutines.resumeWithException' call
10471
10468
  // Inline function 'kotlin.Companion.failure' call
10472
- var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception));
10473
- continuation.c8(tmp$ret$3);
10469
+ var tmp$ret$6 = _Result___init__impl__xyqfz8(createFailure(exception));
10470
+ continuation.c8(tmp$ret$6);
10474
10471
  } else {
10475
10472
  // Inline function 'kotlin.coroutines.resume' call
10476
10473
  // Inline function 'kotlin.Companion.success' call
10477
10474
  var value = this.i1q(state);
10478
- var tmp$ret$5 = _Result___init__impl__xyqfz8(value);
10479
- continuation.c8(tmp$ret$5);
10475
+ var tmp$ret$8 = _Result___init__impl__xyqfz8(value);
10476
+ continuation.c8(tmp$ret$8);
10480
10477
  }
10481
10478
  }
10482
10479
  } catch ($p) {
@@ -10608,8 +10605,7 @@
10608
10605
  tmp = _InlineList___init__impl__z8n56(_get_holder__f6h5pd($this));
10609
10606
  } else {
10610
10607
  var list = ArrayList_init_$Create$(4);
10611
- var tmp_1 = _get_holder__f6h5pd($this);
10612
- list.h((tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE());
10608
+ list.h(_get_holder__f6h5pd($this));
10613
10609
  list.h(element);
10614
10610
  tmp = _InlineList___init__impl__z8n56(list);
10615
10611
  }
@@ -10699,6 +10695,7 @@
10699
10695
  var tmp1_elvis_lhs = toLongOrNull(value);
10700
10696
  var tmp_0;
10701
10697
  if (tmp1_elvis_lhs == null) {
10698
+ // Inline function 'kotlin.error' call
10702
10699
  var message = "System property '" + propertyName + "' has unrecognized value '" + value + "'";
10703
10700
  throw IllegalStateException_init_$Create$(toString(message));
10704
10701
  } else {
@@ -10717,8 +10714,8 @@
10717
10714
  try {
10718
10715
  var tmp = intercepted(createCoroutineUnintercepted(_this__u8e3s4, receiver, completion));
10719
10716
  // Inline function 'kotlin.Companion.success' call
10720
- var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
10721
- resumeCancellableWith(tmp, tmp$ret$0);
10717
+ var tmp$ret$2 = _Result___init__impl__xyqfz8(Unit_instance);
10718
+ resumeCancellableWith(tmp, tmp$ret$2);
10722
10719
  } catch ($p) {
10723
10720
  if ($p instanceof Error) {
10724
10721
  var e = $p;
@@ -10734,8 +10731,8 @@
10734
10731
  try {
10735
10732
  var tmp = intercepted(_this__u8e3s4);
10736
10733
  // Inline function 'kotlin.Companion.success' call
10737
- var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
10738
- resumeCancellableWith(tmp, tmp$ret$0);
10734
+ var tmp$ret$2 = _Result___init__impl__xyqfz8(Unit_instance);
10735
+ resumeCancellableWith(tmp, tmp$ret$2);
10739
10736
  } catch ($p) {
10740
10737
  if ($p instanceof Error) {
10741
10738
  var e = $p;
@@ -10785,8 +10782,8 @@
10785
10782
  var reportException = tmp_1;
10786
10783
  // Inline function 'kotlin.coroutines.resumeWithException' call
10787
10784
  // Inline function 'kotlin.Companion.failure' call
10788
- var tmp$ret$5 = _Result___init__impl__xyqfz8(createFailure(reportException));
10789
- actualCompletion.c8(tmp$ret$5);
10785
+ var tmp$ret$6 = _Result___init__impl__xyqfz8(createFailure(reportException));
10786
+ actualCompletion.c8(tmp$ret$6);
10790
10787
  return Unit_instance;
10791
10788
  } else {
10792
10789
  throw $p;
@@ -10796,9 +10793,8 @@
10796
10793
  if (!(value === get_COROUTINE_SUSPENDED())) {
10797
10794
  // Inline function 'kotlin.coroutines.resume' call
10798
10795
  // Inline function 'kotlin.Companion.success' call
10799
- var value_0 = (value == null ? true : !(value == null)) ? value : THROW_CCE();
10800
- var tmp$ret$7 = _Result___init__impl__xyqfz8(value_0);
10801
- actualCompletion.c8(tmp$ret$7);
10796
+ var tmp$ret$8 = _Result___init__impl__xyqfz8(value);
10797
+ actualCompletion.c8(tmp$ret$8);
10802
10798
  }
10803
10799
  }
10804
10800
  function startUndspatched(_this__u8e3s4, alwaysRethrow, receiver, block) {
@@ -10961,6 +10957,7 @@
10961
10957
  var tmp1_elvis_lhs = tmp$ret$1;
10962
10958
  var tmp_0;
10963
10959
  if (tmp1_elvis_lhs == null) {
10960
+ // Inline function 'kotlin.error' call
10964
10961
  var message = 'Clause with object ' + toString(clauseObject) + ' is not found';
10965
10962
  throw IllegalStateException_init_$Create$(toString(message));
10966
10963
  } else {
@@ -11013,6 +11010,8 @@
11013
11010
  tmp = TrySelectDetailedResult_ALREADY_SELECTED_getInstance();
11014
11011
  break;
11015
11012
  default:
11013
+ // Inline function 'kotlin.error' call
11014
+
11016
11015
  var message = 'Unexpected internal result: ' + trySelectInternalResult;
11017
11016
  throw IllegalStateException_init_$Create$(toString(message));
11018
11017
  }
@@ -11204,8 +11203,8 @@
11204
11203
  // Inline function 'kotlin.coroutines.resume' call
11205
11204
  var this_0 = $cont;
11206
11205
  // Inline function 'kotlin.Companion.success' call
11207
- var tmp$ret$0 = _Result___init__impl__xyqfz8(it);
11208
- this_0.c8(tmp$ret$0);
11206
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(it);
11207
+ this_0.c8(tmp$ret$1);
11209
11208
  return Unit_instance;
11210
11209
  };
11211
11210
  }
@@ -11216,8 +11215,8 @@
11216
11215
  // Inline function 'kotlin.coroutines.resumeWithException' call
11217
11216
  // Inline function 'kotlin.Companion.failure' call
11218
11217
  var exception = tmp0_elvis_lhs == null ? Exception_init_$Create$('Non-Kotlin exception ' + it.toString()) : tmp0_elvis_lhs;
11219
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
11220
- tmp0.c8(tmp$ret$0);
11218
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
11219
+ tmp0.c8(tmp$ret$1);
11221
11220
  return Unit_instance;
11222
11221
  };
11223
11222
  }
@@ -11667,8 +11666,7 @@
11667
11666
  this.z1r_1 = null;
11668
11667
  }
11669
11668
  protoOf(CommonThreadLocal).a1s = function () {
11670
- var tmp = this.z1r_1;
11671
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
11669
+ return this.z1r_1;
11672
11670
  };
11673
11671
  protoOf(CommonThreadLocal).q3 = function (value) {
11674
11672
  this.z1r_1 = value;
@@ -11707,12 +11705,12 @@
11707
11705
  //endregion
11708
11706
  //region block: exports
11709
11707
  _.$_$ = _.$_$ || {};
11710
- _.$_$.a = awaitAll;
11711
- _.$_$.b = await_0;
11712
- _.$_$.c = coroutineScope;
11713
- _.$_$.d = withContext;
11714
- _.$_$.e = Dispatchers_getInstance;
11715
- _.$_$.f = GlobalScope_instance;
11708
+ _.$_$.a = Dispatchers_getInstance;
11709
+ _.$_$.b = GlobalScope_instance;
11710
+ _.$_$.c = awaitAll;
11711
+ _.$_$.d = await_0;
11712
+ _.$_$.e = coroutineScope;
11713
+ _.$_$.f = withContext;
11716
11714
  _.$_$.g = FlowCollector;
11717
11715
  _.$_$.h = MutableSharedFlow;
11718
11716
  _.$_$.i = MutableStateFlow;