@doordeck/doordeck-headless-sdk 0.85.0 → 0.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,26 +3,26 @@
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
5
  var Unit_instance = kotlin_kotlin.$_$.k5;
6
- var protoOf = kotlin_kotlin.$_$.ub;
7
- var THROW_CCE = kotlin_kotlin.$_$.of;
6
+ var protoOf = kotlin_kotlin.$_$.tb;
7
+ var THROW_CCE = kotlin_kotlin.$_$.nf;
8
8
  var Continuation = kotlin_kotlin.$_$.o9;
9
- var initMetadataForClass = kotlin_kotlin.$_$.sa;
9
+ var initMetadataForClass = kotlin_kotlin.$_$.ra;
10
10
  var VOID = kotlin_kotlin.$_$.h;
11
11
  var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.s4;
12
12
  var createCoroutineUnintercepted = kotlin_kotlin.$_$.g9;
13
13
  var CoroutineImpl = kotlin_kotlin.$_$.u9;
14
14
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
15
- var initMetadataForCoroutine = kotlin_kotlin.$_$.ua;
16
- var isInterface = kotlin_kotlin.$_$.hb;
17
- var initMetadataForInterface = kotlin_kotlin.$_$.wa;
15
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
16
+ var isInterface = kotlin_kotlin.$_$.gb;
17
+ var initMetadataForInterface = kotlin_kotlin.$_$.va;
18
18
  var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.n2;
19
- var toString = kotlin_kotlin.$_$.yb;
19
+ var toString = kotlin_kotlin.$_$.xb;
20
20
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
21
- var toString_0 = kotlin_kotlin.$_$.rg;
21
+ var toString_0 = kotlin_kotlin.$_$.qg;
22
22
  var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
23
23
  var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
24
- var initMetadataForObject = kotlin_kotlin.$_$.ya;
25
- var hashCode = kotlin_kotlin.$_$.ra;
24
+ var initMetadataForObject = kotlin_kotlin.$_$.xa;
25
+ var hashCode = kotlin_kotlin.$_$.qa;
26
26
  var equals = kotlin_kotlin.$_$.ka;
27
27
  var atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.b;
28
28
  var CancellationException_init_$Create$ = kotlin_kotlin.$_$.d1;
@@ -35,22 +35,22 @@
35
35
  var minusKey = kotlin_kotlin.$_$.m9;
36
36
  var ContinuationInterceptor = kotlin_kotlin.$_$.n9;
37
37
  var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.l2;
38
- var addSuppressed = kotlin_kotlin.$_$.bg;
39
- var getStringHashCode = kotlin_kotlin.$_$.qa;
40
- var Enum = kotlin_kotlin.$_$.df;
38
+ var addSuppressed = kotlin_kotlin.$_$.ag;
39
+ var getStringHashCode = kotlin_kotlin.$_$.pa;
40
+ var Enum = kotlin_kotlin.$_$.cf;
41
41
  var startCoroutine = kotlin_kotlin.$_$.v9;
42
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ng;
43
- var Long = kotlin_kotlin.$_$.if;
42
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.mg;
43
+ var Long = kotlin_kotlin.$_$.hf;
44
44
  var intercepted = kotlin_kotlin.$_$.h9;
45
45
  var ArrayDeque_init_$Create$ = kotlin_kotlin.$_$.n;
46
- var RuntimeException = kotlin_kotlin.$_$.nf;
46
+ var RuntimeException = kotlin_kotlin.$_$.mf;
47
47
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.k2;
48
48
  var captureStack = kotlin_kotlin.$_$.ca;
49
- var Error_0 = kotlin_kotlin.$_$.ef;
49
+ var Error_0 = kotlin_kotlin.$_$.df;
50
50
  var Error_init_$Init$ = kotlin_kotlin.$_$.l1;
51
51
  var Element = kotlin_kotlin.$_$.s9;
52
52
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.j1;
53
- var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.qg;
53
+ var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.pg;
54
54
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.o;
55
55
  var CancellationException = kotlin_kotlin.$_$.d9;
56
56
  var ArrayList = kotlin_kotlin.$_$.l5;
@@ -62,33 +62,33 @@
62
62
  var anyToString = kotlin_kotlin.$_$.z9;
63
63
  var Companion_instance = kotlin_kotlin.$_$.f5;
64
64
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.b3;
65
- var createFailure = kotlin_kotlin.$_$.fg;
66
- var UnsupportedOperationException = kotlin_kotlin.$_$.ag;
65
+ var createFailure = kotlin_kotlin.$_$.eg;
66
+ var UnsupportedOperationException = kotlin_kotlin.$_$.zf;
67
67
  var atomicfu$AtomicRefArray$ofNulls = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
68
- var ensureNotNull = kotlin_kotlin.$_$.gg;
69
- var toLong = kotlin_kotlin.$_$.wb;
68
+ var ensureNotNull = kotlin_kotlin.$_$.fg;
69
+ var toLong = kotlin_kotlin.$_$.vb;
70
70
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
71
71
  var atomic$long$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.c;
72
72
  var listOf = kotlin_kotlin.$_$.v7;
73
73
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.p;
74
74
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.e2;
75
75
  var compareTo = kotlin_kotlin.$_$.ia;
76
- var last = kotlin_kotlin.$_$.hd;
76
+ var last = kotlin_kotlin.$_$.gd;
77
77
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
78
- var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
79
- var IllegalStateException = kotlin_kotlin.$_$.hf;
78
+ var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
79
+ var IllegalStateException = kotlin_kotlin.$_$.gf;
80
80
  var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.z1;
81
- var NoSuchElementException = kotlin_kotlin.$_$.jf;
81
+ var NoSuchElementException = kotlin_kotlin.$_$.if;
82
82
  var NoSuchElementException_init_$Init$ = kotlin_kotlin.$_$.f2;
83
83
  var getKClass = kotlin_kotlin.$_$.f;
84
- var Unit = kotlin_kotlin.$_$.zf;
85
- var Exception = kotlin_kotlin.$_$.ff;
84
+ var Unit = kotlin_kotlin.$_$.yf;
85
+ var Exception = kotlin_kotlin.$_$.ef;
86
86
  var Exception_init_$Init$ = kotlin_kotlin.$_$.q1;
87
87
  var defineProp = kotlin_kotlin.$_$.ja;
88
- var toLongOrNull = kotlin_kotlin.$_$.he;
88
+ var toLongOrNull = kotlin_kotlin.$_$.ge;
89
89
  var createCoroutineUnintercepted_0 = kotlin_kotlin.$_$.f9;
90
90
  var startCoroutineUninterceptedOrReturnNonGeneratorVersion = kotlin_kotlin.$_$.i9;
91
- var isSuspendFunction = kotlin_kotlin.$_$.kb;
91
+ var isSuspendFunction = kotlin_kotlin.$_$.jb;
92
92
  var Collection = kotlin_kotlin.$_$.m5;
93
93
  var KtList = kotlin_kotlin.$_$.r5;
94
94
  var plus_0 = kotlin_kotlin.$_$.c8;
@@ -97,7 +97,7 @@
97
97
  var Exception_init_$Create$ = kotlin_kotlin.$_$.p1;
98
98
  var removeFirstOrNull = kotlin_kotlin.$_$.d8;
99
99
  var KtMutableList = kotlin_kotlin.$_$.v5;
100
- var coerceIn = kotlin_kotlin.$_$.dc;
100
+ var coerceIn = kotlin_kotlin.$_$.cc;
101
101
  var CancellationException_init_$Init$ = kotlin_kotlin.$_$.e1;
102
102
  var CancellationException_init_$Create$_0 = kotlin_kotlin.$_$.f1;
103
103
  var CancellationException_init_$Init$_0 = kotlin_kotlin.$_$.c1;
@@ -251,7 +251,7 @@
251
251
  initMetadataForCoroutine($doSelectSuspendCOROUTINE$21, CoroutineImpl);
252
252
  initMetadataForCoroutine($completeCOROUTINE$22, CoroutineImpl);
253
253
  initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$23, CoroutineImpl);
254
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
254
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
255
255
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
256
256
  initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [CoroutineDispatcher, Delay], [1]);
257
257
  initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
@@ -276,7 +276,7 @@
276
276
  if (initParentJob) {
277
277
  this.do(parentContext.t9(Key_instance_3));
278
278
  }
279
- this.go_1 = parentContext.gh(this);
279
+ this.go_1 = parentContext.kh(this);
280
280
  }
281
281
  protoOf(AbstractCoroutine).m9 = function () {
282
282
  return this.go_1;
@@ -451,7 +451,6 @@
451
451
  } else {
452
452
  // Inline function 'kotlin.takeIf' call
453
453
  var tmp_0;
454
- // Inline function 'kotlinx.coroutines.getOrCreateCancellableContinuation.<anonymous>' call
455
454
  if (tmp0_safe_receiver.es()) {
456
455
  tmp_0 = tmp0_safe_receiver;
457
456
  } else {
@@ -512,13 +511,11 @@
512
511
  var index = $this.qr_1.kotlinx$atomicfu$value & 536870911;
513
512
  // Inline function 'kotlin.check' call
514
513
  if (!!(index === 536870911)) {
515
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.callSegmentOnCancellation.<anonymous>' call
516
514
  var message = 'The index for Segment.onCancellation(..) is broken';
517
515
  throw IllegalStateException_init_$Create$(toString(message));
518
516
  }
519
517
  // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.callCancelHandlerSafely' call
520
518
  try {
521
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.callSegmentOnCancellation.<anonymous>' call
522
519
  segment.ms(index, cause, $this.m9());
523
520
  } catch ($p) {
524
521
  if ($p instanceof Error) {
@@ -533,7 +530,6 @@
533
530
  // Inline function 'kotlinx.atomicfu.loop' call
534
531
  var this_0 = $this.qr_1;
535
532
  while (true) {
536
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.trySuspend.<anonymous>' call
537
533
  var cur = this_0.kotlinx$atomicfu$value;
538
534
  // Inline function 'kotlinx.coroutines.decision' call
539
535
  switch (cur >> 29) {
@@ -560,7 +556,6 @@
560
556
  // Inline function 'kotlinx.atomicfu.loop' call
561
557
  var this_0 = $this.qr_1;
562
558
  while (true) {
563
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.tryResume.<anonymous>' call
564
559
  var cur = this_0.kotlinx$atomicfu$value;
565
560
  // Inline function 'kotlinx.coroutines.decision' call
566
561
  switch (cur >> 29) {
@@ -601,7 +596,6 @@
601
596
  // Inline function 'kotlinx.atomicfu.loop' call
602
597
  var this_0 = $this.rr_1;
603
598
  while (true) {
604
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.invokeOnCancellationImpl.<anonymous>' call
605
599
  var state = this_0.kotlinx$atomicfu$value;
606
600
  if (state instanceof Active) {
607
601
  if ($this.rr_1.atomicfu$compareAndSet(state, handler))
@@ -708,7 +702,6 @@
708
702
  while (true) {
709
703
  var tmp1 = this_0.kotlinx$atomicfu$value;
710
704
  $l$block: {
711
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.tryResumeImpl.<anonymous>' call
712
705
  if (!(tmp1 == null) ? isInterface(tmp1, NotCompleted) : false) {
713
706
  var update = resumedState($this, tmp1, proposedUpdate, $this.gs_1, onCancellation, idempotent);
714
707
  if (!$this.rr_1.atomicfu$compareAndSet(tmp1, update)) {
@@ -750,8 +743,8 @@
750
743
  this.pr_1 = this.or_1.m9();
751
744
  var tmp = this;
752
745
  // Inline function 'kotlinx.coroutines.decisionAndIndex' call
753
- var tmp$ret$0 = (0 << 29) + 536870911 | 0;
754
- tmp.qr_1 = atomic$int$1(tmp$ret$0);
746
+ var tmp$ret$1 = (0 << 29) + 536870911 | 0;
747
+ tmp.qr_1 = atomic$int$1(tmp$ret$1);
755
748
  this.rr_1 = atomic$ref$1(Active_instance);
756
749
  this.sr_1 = atomic$ref$1(null);
757
750
  }
@@ -813,7 +806,6 @@
813
806
  protoOf(CancellableContinuationImpl).at = function (takenState, cause) {
814
807
  var this_0 = this.rr_1;
815
808
  while (true) {
816
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.cancelCompletedResult.<anonymous>' call
817
809
  var state = this_0.kotlinx$atomicfu$value;
818
810
  if (!(state == null) ? isInterface(state, NotCompleted) : false) {
819
811
  // Inline function 'kotlin.error' call
@@ -826,7 +818,6 @@
826
818
  if (state instanceof CompletedContinuation) {
827
819
  // Inline function 'kotlin.check' call
828
820
  if (!!state.ts()) {
829
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.cancelCompletedResult.<anonymous>.<anonymous>' call
830
821
  var message_0 = 'Must be called at most once';
831
822
  throw IllegalStateException_init_$Create$(toString(message_0));
832
823
  }
@@ -851,7 +842,6 @@
851
842
  while (true) {
852
843
  var tmp1 = this_0.kotlinx$atomicfu$value;
853
844
  $l$block: {
854
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.cancel.<anonymous>' call
855
845
  if (!(!(tmp1 == null) ? isInterface(tmp1, NotCompleted) : false))
856
846
  return false;
857
847
  var tmp;
@@ -884,22 +874,18 @@
884
874
  detachChildIfNonReusable(this);
885
875
  };
886
876
  protoOf(CancellableContinuationImpl).ss = function (handler, cause) {
887
- var tmp;
877
+ // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.callCancelHandlerSafely' call
888
878
  try {
889
879
  handler.vr(cause);
890
- tmp = Unit_instance;
891
880
  } catch ($p) {
892
- var tmp_0;
893
881
  if ($p instanceof Error) {
894
882
  var ex = $p;
895
883
  handleCoroutineException(this.m9(), new CompletionHandlerException('Exception in invokeOnCancellation handler for ' + this.toString(), ex));
896
- tmp_0 = Unit_instance;
897
884
  } else {
898
885
  throw $p;
899
886
  }
900
- tmp = tmp_0;
901
887
  }
902
- return tmp;
888
+ return Unit_instance;
903
889
  };
904
890
  protoOf(CancellableContinuationImpl).et = function (onCancellation, cause, value) {
905
891
  try {
@@ -969,11 +955,9 @@
969
955
  // Inline function 'kotlinx.atomicfu.update' call
970
956
  while (true) {
971
957
  var cur = tmp0.kotlinx$atomicfu$value;
972
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.invokeOnCancellation.<anonymous>' call
973
958
  // Inline function 'kotlinx.coroutines.index' call
974
959
  // Inline function 'kotlin.check' call
975
960
  if (!((cur & 536870911) === 536870911)) {
976
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.invokeOnCancellation.<anonymous>.<anonymous>' call
977
961
  var message = 'invokeOnCancellation should be called at most once';
978
962
  throw IllegalStateException_init_$Create$(toString(message));
979
963
  }
@@ -999,7 +983,6 @@
999
983
  while (true) {
1000
984
  var tmp1 = this_0.kotlinx$atomicfu$value;
1001
985
  $l$block: {
1002
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.resumeImpl.<anonymous>' call
1003
986
  if (!(tmp1 == null) ? isInterface(tmp1, NotCompleted) : false) {
1004
987
  var update = resumedState(this, tmp1, proposedUpdate, resumeMode, onCancellation, null);
1005
988
  if (!this.rr_1.atomicfu$compareAndSet(tmp1, update)) {
@@ -1015,7 +998,6 @@
1015
998
  null;
1016
999
  else {
1017
1000
  // Inline function 'kotlin.let' call
1018
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.resumeImpl.<anonymous>.<anonymous>' call
1019
1001
  this.et(onCancellation, tmp1.no_1, proposedUpdate);
1020
1002
  }
1021
1003
  return Unit_instance;
@@ -1084,7 +1066,6 @@
1084
1066
  tmp = null;
1085
1067
  } else {
1086
1068
  // Inline function 'kotlin.let' call
1087
- // Inline function 'kotlinx.coroutines.CancellableContinuationImpl.getExceptionalResult.<anonymous>' call
1088
1069
  tmp = recoverStackTrace(tmp0_safe_receiver, this.or_1);
1089
1070
  }
1090
1071
  return tmp;
@@ -1137,7 +1118,6 @@
1137
1118
  null;
1138
1119
  else {
1139
1120
  // Inline function 'kotlin.let' call
1140
- // Inline function 'kotlinx.coroutines.CompletedContinuation.invokeHandlers.<anonymous>' call
1141
1121
  cont.ss(tmp0_safe_receiver, cause);
1142
1122
  }
1143
1123
  var tmp1_safe_receiver = this.ps_1;
@@ -1145,7 +1125,6 @@
1145
1125
  null;
1146
1126
  else {
1147
1127
  // Inline function 'kotlin.let' call
1148
- // Inline function 'kotlinx.coroutines.CompletedContinuation.invokeHandlers.<anonymous>' call
1149
1128
  cont.et(tmp1_safe_receiver, cause, this.ns_1);
1150
1129
  }
1151
1130
  };
@@ -1275,7 +1254,6 @@
1275
1254
  function CompletableDeferred_0(value) {
1276
1255
  // Inline function 'kotlin.apply' call
1277
1256
  var this_0 = new CompletableDeferredImpl(null);
1278
- // Inline function 'kotlinx.coroutines.CompletableDeferred.<anonymous>' call
1279
1257
  this_0.av(value);
1280
1258
  return this_0;
1281
1259
  }
@@ -1310,7 +1288,6 @@
1310
1288
  var tmp_0 = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
1311
1289
  tmp = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
1312
1290
  } else {
1313
- // Inline function 'kotlinx.coroutines.toState.<anonymous>' call
1314
1291
  tmp = new CompletedExceptionally(recoverStackTrace(exception, caller));
1315
1292
  }
1316
1293
  return tmp;
@@ -1323,7 +1300,6 @@
1323
1300
  var tmp_0 = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
1324
1301
  tmp = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
1325
1302
  } else {
1326
- // Inline function 'kotlinx.coroutines.toState.<anonymous>' call
1327
1303
  tmp = new CompletedExceptionally(exception);
1328
1304
  }
1329
1305
  return tmp;
@@ -1398,7 +1374,6 @@
1398
1374
  return originalException;
1399
1375
  // Inline function 'kotlin.apply' call
1400
1376
  var this_0 = RuntimeException_init_$Create$('Exception while trying to handle coroutine exception', thrownException);
1401
- // Inline function 'kotlinx.coroutines.handlerException.<anonymous>' call
1402
1377
  addSuppressed(this_0, originalException);
1403
1378
  return this_0;
1404
1379
  }
@@ -1440,7 +1415,7 @@
1440
1415
  return GlobalScope_instance;
1441
1416
  }
1442
1417
  function CoroutineScope_0(context) {
1443
- return new ContextScope(!(context.t9(Key_instance_3) == null) ? context : context.gh(Job_0()));
1418
+ return new ContextScope(!(context.t9(Key_instance_3) == null) ? context : context.kh(Job_0()));
1444
1419
  }
1445
1420
  function cancel(_this__u8e3s4, message, cause) {
1446
1421
  cause = cause === VOID ? null : cause;
@@ -1523,10 +1498,8 @@
1523
1498
  function delay(timeMillis, $completion) {
1524
1499
  if (timeMillis.e1(new Long(0, 0)) <= 0)
1525
1500
  return Unit_instance;
1526
- // Inline function 'kotlinx.coroutines.suspendCancellableCoroutine.<anonymous>' call
1527
1501
  var cancellable = new CancellableContinuationImpl(intercepted($completion), 1);
1528
1502
  cancellable.ys();
1529
- // Inline function 'kotlinx.coroutines.delay.<anonymous>' call
1530
1503
  if (timeMillis.e1(new Long(-1, 2147483647)) < 0) {
1531
1504
  get_delay(cancellable.m9()).ov(timeMillis, cancellable);
1532
1505
  }
@@ -1550,7 +1523,7 @@
1550
1523
  tmp = tmp0_elvis_lhs;
1551
1524
  }
1552
1525
  var queue = tmp;
1553
- var tmp1_elvis_lhs = queue.rf();
1526
+ var tmp1_elvis_lhs = queue.vf();
1554
1527
  var tmp_0;
1555
1528
  if (tmp1_elvis_lhs == null) {
1556
1529
  return false;
@@ -1567,14 +1540,13 @@
1567
1540
  if (tmp0_elvis_lhs == null) {
1568
1541
  // Inline function 'kotlin.also' call
1569
1542
  var this_0 = ArrayDeque_init_$Create$();
1570
- // Inline function 'kotlinx.coroutines.EventLoop.dispatchUnconfined.<anonymous>' call
1571
1543
  this.sv_1 = this_0;
1572
1544
  tmp = this_0;
1573
1545
  } else {
1574
1546
  tmp = tmp0_elvis_lhs;
1575
1547
  }
1576
1548
  var queue = tmp;
1577
- queue.pf(task);
1549
+ queue.tf(task);
1578
1550
  };
1579
1551
  protoOf(EventLoop).vv = function () {
1580
1552
  return this.qv_1.e1(delta(this, true)) >= 0;
@@ -1610,7 +1582,6 @@
1610
1582
  if (tmp0_elvis_lhs == null) {
1611
1583
  // Inline function 'kotlin.also' call
1612
1584
  var this_0 = createEventLoop();
1613
- // Inline function 'kotlinx.coroutines.ThreadLocalEventLoop.<get-eventLoop>.<anonymous>' call
1614
1585
  ThreadLocalEventLoop_getInstance().aw_1.ew(this_0);
1615
1586
  tmp = this_0;
1616
1587
  } else {
@@ -1779,7 +1750,6 @@
1779
1750
  // Inline function 'kotlin.text.buildString' call
1780
1751
  // Inline function 'kotlin.apply' call
1781
1752
  var this_0 = StringBuilder_init_$Create$();
1782
- // Inline function 'kotlinx.coroutines.NodeList.getString.<anonymous>' call
1783
1753
  this_0.r8('List{');
1784
1754
  this_0.r8(state);
1785
1755
  this_0.r8('}[');
@@ -1787,7 +1757,6 @@
1787
1757
  // Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListHead.forEach' call
1788
1758
  var cur = this.ju_1;
1789
1759
  while (!equals(cur, this)) {
1790
- // Inline function 'kotlinx.coroutines.NodeList.getString.<anonymous>.<anonymous>' call
1791
1760
  var node = cur;
1792
1761
  if (node instanceof JobNode) {
1793
1762
  if (first) {
@@ -1845,7 +1814,6 @@
1845
1814
  var wasCancelling;
1846
1815
  // Inline function 'kotlinx.coroutines.internal.synchronized' call
1847
1816
  // Inline function 'kotlinx.coroutines.internal.synchronizedImpl' call
1848
- // Inline function 'kotlinx.coroutines.JobSupport.finalizeFinishingState.<anonymous>' call
1849
1817
  wasCancelling = state.pw();
1850
1818
  var exceptions = state.qw(proposedException);
1851
1819
  var finalCause = getFinalRootCause($this, state, exceptions);
@@ -1883,7 +1851,6 @@
1883
1851
  var _iterator__ex2g4s = exceptions.p();
1884
1852
  while (_iterator__ex2g4s.q()) {
1885
1853
  var element = _iterator__ex2g4s.r();
1886
- // Inline function 'kotlinx.coroutines.JobSupport.getFinalRootCause.<anonymous>' call
1887
1854
  if (!(element instanceof CancellationException)) {
1888
1855
  tmp$ret$2 = element;
1889
1856
  break $l$block;
@@ -1902,7 +1869,6 @@
1902
1869
  var _iterator__ex2g4s_0 = exceptions.p();
1903
1870
  while (_iterator__ex2g4s_0.q()) {
1904
1871
  var element_0 = _iterator__ex2g4s_0.r();
1905
- // Inline function 'kotlinx.coroutines.JobSupport.getFinalRootCause.<anonymous>' call
1906
1872
  var tmp;
1907
1873
  if (!(element_0 === first)) {
1908
1874
  tmp = element_0 instanceof TimeoutCancellationException;
@@ -1964,7 +1930,6 @@
1964
1930
  null;
1965
1931
  else {
1966
1932
  // Inline function 'kotlin.let' call
1967
- // Inline function 'kotlinx.coroutines.JobSupport.completeStateFinalization.<anonymous>' call
1968
1933
  tmp0_safe_receiver.wr();
1969
1934
  $this.zo(NonDisposableHandle_instance);
1970
1935
  }
@@ -1986,7 +1951,7 @@
1986
1951
  if (tmp2_safe_receiver == null)
1987
1952
  null;
1988
1953
  else {
1989
- notifyCompletion(tmp2_safe_receiver, $this, cause);
1954
+ notifyCompletion($this, tmp2_safe_receiver, cause);
1990
1955
  }
1991
1956
  }
1992
1957
  }
@@ -1998,11 +1963,9 @@
1998
1963
  // Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListHead.forEach' call
1999
1964
  var cur = list.ju_1;
2000
1965
  while (!equals(cur, list)) {
2001
- // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers.<anonymous>' call
2002
1966
  var node = cur;
2003
1967
  var tmp;
2004
1968
  if (node instanceof JobNode) {
2005
- // Inline function 'kotlinx.coroutines.JobSupport.notifyCancelling.<anonymous>' call
2006
1969
  tmp = node.cu();
2007
1970
  } else {
2008
1971
  tmp = false;
@@ -2019,13 +1982,11 @@
2019
1982
  tmp_0 = null;
2020
1983
  } else {
2021
1984
  // Inline function 'kotlin.apply' call
2022
- // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers.<anonymous>.<anonymous>' call
2023
1985
  addSuppressed(tmp0_safe_receiver, ex);
2024
1986
  tmp_0 = tmp0_safe_receiver;
2025
1987
  }
2026
1988
  if (tmp_0 == null) {
2027
1989
  // Inline function 'kotlin.run' call
2028
- // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers.<anonymous>.<anonymous>' call
2029
1990
  exception = new CompletionHandlerException('Exception in completion handler ' + node.toString() + ' for ' + $this.toString(), ex);
2030
1991
  }
2031
1992
  } else {
@@ -2040,7 +2001,6 @@
2040
2001
  null;
2041
2002
  else {
2042
2003
  // Inline function 'kotlin.let' call
2043
- // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers.<anonymous>' call
2044
2004
  $this.to(tmp0_safe_receiver_0);
2045
2005
  }
2046
2006
  cancelParent($this, cause);
@@ -2055,18 +2015,16 @@
2055
2015
  }
2056
2016
  return parent.tp(cause) || isCancellation;
2057
2017
  }
2058
- function notifyCompletion(_this__u8e3s4, $this, cause) {
2018
+ function notifyCompletion($this, _this__u8e3s4, cause) {
2059
2019
  _this__u8e3s4.kw(1);
2060
2020
  // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers' call
2061
2021
  var exception = null;
2062
2022
  // Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListHead.forEach' call
2063
2023
  var cur = _this__u8e3s4.ju_1;
2064
2024
  while (!equals(cur, _this__u8e3s4)) {
2065
- // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers.<anonymous>' call
2066
2025
  var node = cur;
2067
2026
  var tmp;
2068
2027
  if (node instanceof JobNode) {
2069
- // Inline function 'kotlinx.coroutines.JobSupport.notifyCompletion.<anonymous>' call
2070
2028
  tmp = true;
2071
2029
  } else {
2072
2030
  tmp = false;
@@ -2083,13 +2041,11 @@
2083
2041
  tmp_0 = null;
2084
2042
  } else {
2085
2043
  // Inline function 'kotlin.apply' call
2086
- // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers.<anonymous>.<anonymous>' call
2087
2044
  addSuppressed(tmp0_safe_receiver, ex);
2088
2045
  tmp_0 = tmp0_safe_receiver;
2089
2046
  }
2090
2047
  if (tmp_0 == null) {
2091
2048
  // Inline function 'kotlin.run' call
2092
- // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers.<anonymous>.<anonymous>' call
2093
2049
  exception = new CompletionHandlerException('Exception in completion handler ' + node.toString() + ' for ' + $this.toString(), ex);
2094
2050
  }
2095
2051
  } else {
@@ -2104,7 +2060,6 @@
2104
2060
  null;
2105
2061
  else {
2106
2062
  // Inline function 'kotlin.let' call
2107
- // Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers.<anonymous>' call
2108
2063
  $this.to(tmp0_safe_receiver_0);
2109
2064
  }
2110
2065
  }
@@ -2141,7 +2096,6 @@
2141
2096
  function joinInternal($this) {
2142
2097
  // Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
2143
2098
  while (true) {
2144
- // Inline function 'kotlinx.coroutines.JobSupport.joinInternal.<anonymous>' call
2145
2099
  var state = $this.bp();
2146
2100
  if (!(!(state == null) ? isInterface(state, Incomplete) : false))
2147
2101
  return false;
@@ -2150,17 +2104,14 @@
2150
2104
  }
2151
2105
  }
2152
2106
  function joinSuspend($this, $completion) {
2153
- // Inline function 'kotlinx.coroutines.suspendCancellableCoroutine.<anonymous>' call
2154
2107
  var cancellable = new CancellableContinuationImpl(intercepted($completion), 1);
2155
2108
  cancellable.ys();
2156
- // Inline function 'kotlinx.coroutines.JobSupport.joinSuspend.<anonymous>' call
2157
2109
  disposeOnCancellation(cancellable, invokeOnCompletion($this, VOID, new ResumeOnCompletion(cancellable)));
2158
2110
  return cancellable.gt();
2159
2111
  }
2160
2112
  function cancelMakeCompleting($this, cause) {
2161
2113
  // Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
2162
2114
  while (true) {
2163
- // Inline function 'kotlinx.coroutines.JobSupport.cancelMakeCompleting.<anonymous>' call
2164
2115
  var state = $this.bp();
2165
2116
  var tmp;
2166
2117
  if (!(!(state == null) ? isInterface(state, Incomplete) : false)) {
@@ -2205,11 +2156,9 @@
2205
2156
  while (true) {
2206
2157
  var tmp1 = $this.bp();
2207
2158
  $l$block: {
2208
- // Inline function 'kotlinx.coroutines.JobSupport.makeCancelling.<anonymous>' call
2209
2159
  if (tmp1 instanceof Finishing) {
2210
2160
  // Inline function 'kotlinx.coroutines.internal.synchronized' call
2211
2161
  // Inline function 'kotlinx.coroutines.internal.synchronizedImpl' call
2212
- // Inline function 'kotlinx.coroutines.JobSupport.makeCancelling.<anonymous>.<anonymous>' call
2213
2162
  if (tmp1.tw())
2214
2163
  return get_TOO_LATE_TO_CANCEL();
2215
2164
  var wasCancelling = tmp1.pw();
@@ -2219,7 +2168,6 @@
2219
2168
  if (tmp0_elvis_lhs == null) {
2220
2169
  // Inline function 'kotlin.also' call
2221
2170
  var this_0 = createCauseException($this, cause);
2222
- // Inline function 'kotlinx.coroutines.JobSupport.makeCancelling.<anonymous>.<anonymous>.<anonymous>' call
2223
2171
  causeExceptionCache = this_0;
2224
2172
  tmp = this_0;
2225
2173
  } else {
@@ -2231,7 +2179,6 @@
2231
2179
  // Inline function 'kotlin.takeIf' call
2232
2180
  var this_1 = tmp1.vw();
2233
2181
  var tmp_0;
2234
- // Inline function 'kotlinx.coroutines.JobSupport.makeCancelling.<anonymous>.<anonymous>.<anonymous>' call
2235
2182
  if (!wasCancelling) {
2236
2183
  tmp_0 = this_1;
2237
2184
  } else {
@@ -2242,7 +2189,6 @@
2242
2189
  null;
2243
2190
  else {
2244
2191
  // Inline function 'kotlin.let' call
2245
- // Inline function 'kotlinx.coroutines.JobSupport.makeCancelling.<anonymous>.<anonymous>' call
2246
2192
  notifyCancelling($this, tmp1.lw_1, notifyRootCause);
2247
2193
  }
2248
2194
  return get_COMPLETING_ALREADY();
@@ -2253,7 +2199,6 @@
2253
2199
  if (tmp2_elvis_lhs == null) {
2254
2200
  // Inline function 'kotlin.also' call
2255
2201
  var this_2 = createCauseException($this, cause);
2256
- // Inline function 'kotlinx.coroutines.JobSupport.makeCancelling.<anonymous>.<anonymous>' call
2257
2202
  causeExceptionCache = this_2;
2258
2203
  tmp_1 = this_2;
2259
2204
  } else {
@@ -2377,13 +2322,11 @@
2377
2322
  null;
2378
2323
  else {
2379
2324
  // Inline function 'kotlin.let' call
2380
- // Inline function 'kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath.<anonymous>.<anonymous>' call
2381
2325
  finishing.uw(tmp0_safe_receiver.no_1);
2382
2326
  }
2383
2327
  // Inline function 'kotlin.takeIf' call
2384
2328
  var this_0 = finishing.vw();
2385
2329
  var tmp_0;
2386
- // Inline function 'kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath.<anonymous>.<anonymous>' call
2387
2330
  if (!wasCancelling) {
2388
2331
  tmp_0 = this_0;
2389
2332
  } else {
@@ -2394,19 +2337,18 @@
2394
2337
  null;
2395
2338
  else {
2396
2339
  // Inline function 'kotlin.let' call
2397
- // Inline function 'kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath.<anonymous>' call
2398
2340
  notifyCancelling($this, list, notifyRootCause);
2399
2341
  }
2400
- var child = nextChild(list, $this);
2342
+ var child = nextChild($this, list);
2401
2343
  if (!(child == null) && tryWaitForChild($this, finishing, child, proposedUpdate))
2402
2344
  return get_COMPLETING_WAITING_CHILDREN();
2403
2345
  list.kw(2);
2404
- var anotherChild = nextChild(list, $this);
2346
+ var anotherChild = nextChild($this, list);
2405
2347
  if (!(anotherChild == null) && tryWaitForChild($this, finishing, anotherChild, proposedUpdate))
2406
2348
  return get_COMPLETING_WAITING_CHILDREN();
2407
2349
  return finalizeFinishingState($this, finishing, proposedUpdate);
2408
2350
  }
2409
- function _get_exceptionOrNull__b3j7js(_this__u8e3s4, $this) {
2351
+ function _get_exceptionOrNull__b3j7js($this, _this__u8e3s4) {
2410
2352
  var tmp0_safe_receiver = _this__u8e3s4 instanceof CompletedExceptionally ? _this__u8e3s4 : null;
2411
2353
  return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.no_1;
2412
2354
  }
@@ -2420,7 +2362,7 @@
2420
2362
  var handle = invokeOnCompletion(child_0.bx_1, false, new ChildCompletion($this_0, state_0, child_0, proposedUpdate_0));
2421
2363
  if (!(handle === NonDisposableHandle_instance))
2422
2364
  return true;
2423
- var tmp0_elvis_lhs = nextChild(child_0, $this_0);
2365
+ var tmp0_elvis_lhs = nextChild($this_0, child_0);
2424
2366
  var tmp;
2425
2367
  if (tmp0_elvis_lhs == null) {
2426
2368
  return false;
@@ -2443,18 +2385,18 @@
2443
2385
  }
2444
2386
  function continueCompleting($this, state, lastChild, proposedUpdate) {
2445
2387
  // Inline function 'kotlinx.coroutines.assert' call
2446
- var waitChild = nextChild(lastChild, $this);
2388
+ var waitChild = nextChild($this, lastChild);
2447
2389
  if (!(waitChild == null) && tryWaitForChild($this, state, waitChild, proposedUpdate))
2448
2390
  return Unit_instance;
2449
2391
  state.lw_1.kw(2);
2450
- var waitChildAgain = nextChild(lastChild, $this);
2392
+ var waitChildAgain = nextChild($this, lastChild);
2451
2393
  if (!(waitChildAgain == null) && tryWaitForChild($this, state, waitChildAgain, proposedUpdate)) {
2452
2394
  return Unit_instance;
2453
2395
  }
2454
2396
  var finalState = finalizeFinishingState($this, state, proposedUpdate);
2455
2397
  $this.so(finalState);
2456
2398
  }
2457
- function nextChild(_this__u8e3s4, $this) {
2399
+ function nextChild($this, _this__u8e3s4) {
2458
2400
  var cur = _this__u8e3s4;
2459
2401
  $l$loop: while (true) {
2460
2402
  // Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListNode.isRemoved' call
@@ -2533,7 +2475,6 @@
2533
2475
  if (eh instanceof Error) {
2534
2476
  // Inline function 'kotlin.also' call
2535
2477
  var this_0 = allocateList(this);
2536
- // Inline function 'kotlinx.coroutines.Finishing.sealLocked.<anonymous>' call
2537
2478
  this_0.k(eh);
2538
2479
  tmp = this_0;
2539
2480
  } else {
@@ -2551,7 +2492,6 @@
2551
2492
  null;
2552
2493
  else {
2553
2494
  // Inline function 'kotlin.let' call
2554
- // Inline function 'kotlinx.coroutines.Finishing.sealLocked.<anonymous>' call
2555
2495
  list.g2(0, rootCause);
2556
2496
  }
2557
2497
  if (!(proposedException == null) && !equals(proposedException, rootCause)) {
@@ -2577,7 +2517,6 @@
2577
2517
  return Unit_instance;
2578
2518
  // Inline function 'kotlin.apply' call
2579
2519
  var this_0 = allocateList(this);
2580
- // Inline function 'kotlinx.coroutines.Finishing.addExceptionLocked.<anonymous>' call
2581
2520
  this_0.k(eh);
2582
2521
  this_0.k(exception);
2583
2522
  _set_exceptionsHolder__tqm22h(this, this_0);
@@ -2631,7 +2570,6 @@
2631
2570
  return 'AwaitContinuation';
2632
2571
  };
2633
2572
  function awaitSuspend($this, $completion) {
2634
- // Inline function 'kotlinx.coroutines.JobSupport.awaitSuspend.<anonymous>' call
2635
2573
  var cont = new AwaitContinuation(intercepted($completion), $this);
2636
2574
  cont.ys();
2637
2575
  disposeOnCancellation(cont, invokeOnCompletion($this, VOID, new ResumeAwaitOnCompletion(cont)));
@@ -2759,7 +2697,6 @@
2759
2697
  protoOf(JobSupport).ep = function () {
2760
2698
  // Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
2761
2699
  while (true) {
2762
- // Inline function 'kotlinx.coroutines.JobSupport.start.<anonymous>' call
2763
2700
  var state = this.bp();
2764
2701
  var tmp0_subject = startInternal(this, state);
2765
2702
  if (tmp0_subject === 0)
@@ -2832,7 +2769,6 @@
2832
2769
  // Inline function 'kotlinx.coroutines.JobSupport.tryPutNodeIntoList' call
2833
2770
  // Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
2834
2771
  while (true) {
2835
- // Inline function 'kotlinx.coroutines.JobSupport.tryPutNodeIntoList.<anonymous>' call
2836
2772
  var state = this.bp();
2837
2773
  if (state instanceof Empty) {
2838
2774
  if (state.fw_1) {
@@ -2849,7 +2785,6 @@
2849
2785
  if (list == null) {
2850
2786
  promoteSingleToNodeList(this, state instanceof JobNode ? state : THROW_CCE());
2851
2787
  } else {
2852
- // Inline function 'kotlinx.coroutines.JobSupport.invokeOnCompletionInternal.<anonymous>' call
2853
2788
  var tmp;
2854
2789
  if (node.cu()) {
2855
2790
  var tmp0_safe_receiver = state instanceof Finishing ? state : null;
@@ -2901,7 +2836,6 @@
2901
2836
  protoOf(JobSupport).np = function (node) {
2902
2837
  // Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
2903
2838
  while (true) {
2904
- // Inline function 'kotlinx.coroutines.JobSupport.removeNode.<anonymous>' call
2905
2839
  var state = this.bp();
2906
2840
  if (state instanceof JobNode) {
2907
2841
  if (!(state === node))
@@ -2999,7 +2933,6 @@
2999
2933
  while (true) {
3000
2934
  var tmp1 = this.bp();
3001
2935
  $l$block: {
3002
- // Inline function 'kotlinx.coroutines.JobSupport.makeCompleting.<anonymous>' call
3003
2936
  var finalState = tryMakeCompleting(this, tmp1, proposedUpdate);
3004
2937
  if (finalState === get_COMPLETING_ALREADY())
3005
2938
  return false;
@@ -3019,10 +2952,9 @@
3019
2952
  while (true) {
3020
2953
  var tmp1 = this.bp();
3021
2954
  $l$block: {
3022
- // Inline function 'kotlinx.coroutines.JobSupport.makeCompletingOnce.<anonymous>' call
3023
2955
  var finalState = tryMakeCompleting(this, tmp1, proposedUpdate);
3024
2956
  if (finalState === get_COMPLETING_ALREADY())
3025
- throw IllegalStateException_init_$Create$_0('Job ' + this.toString() + ' is already complete or completing, ' + ('but is being completed with ' + toString_0(proposedUpdate)), _get_exceptionOrNull__b3j7js(proposedUpdate, this));
2957
+ throw IllegalStateException_init_$Create$_0('Job ' + this.toString() + ' is already complete or completing, ' + ('but is being completed with ' + toString_0(proposedUpdate)), _get_exceptionOrNull__b3j7js(this, proposedUpdate));
3026
2958
  else if (finalState === get_COMPLETING_RETRY()) {
3027
2959
  break $l$block;
3028
2960
  } else
@@ -3033,20 +2965,18 @@
3033
2965
  protoOf(JobSupport).xp = function (child) {
3034
2966
  // Inline function 'kotlin.also' call
3035
2967
  var this_0 = new ChildHandleNode(child);
3036
- // Inline function 'kotlinx.coroutines.JobSupport.attachChild.<anonymous>' call
3037
2968
  this_0.gu_1 = this;
3038
2969
  var node = this_0;
3039
- var tmp$ret$1;
2970
+ var tmp$ret$2;
3040
2971
  $l$block_1: {
3041
2972
  // Inline function 'kotlinx.coroutines.JobSupport.tryPutNodeIntoList' call
3042
2973
  // Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
3043
2974
  while (true) {
3044
- // Inline function 'kotlinx.coroutines.JobSupport.tryPutNodeIntoList.<anonymous>' call
3045
2975
  var state = this.bp();
3046
2976
  if (state instanceof Empty) {
3047
2977
  if (state.fw_1) {
3048
2978
  if (this.bo_1.atomicfu$compareAndSet(state, node)) {
3049
- tmp$ret$1 = true;
2979
+ tmp$ret$2 = true;
3050
2980
  break $l$block_1;
3051
2981
  }
3052
2982
  } else {
@@ -3058,7 +2988,6 @@
3058
2988
  if (list == null) {
3059
2989
  promoteSingleToNodeList(this, state instanceof JobNode ? state : THROW_CCE());
3060
2990
  } else {
3061
- // Inline function 'kotlinx.coroutines.JobSupport.attachChild.<anonymous>' call
3062
2991
  var addedBeforeCancellation = list.mu(node, 7);
3063
2992
  var tmp;
3064
2993
  if (addedBeforeCancellation) {
@@ -3086,18 +3015,18 @@
3086
3015
  tmp = tmp_1;
3087
3016
  }
3088
3017
  if (tmp) {
3089
- tmp$ret$1 = true;
3018
+ tmp$ret$2 = true;
3090
3019
  break $l$block_1;
3091
3020
  }
3092
3021
  }
3093
3022
  } else {
3094
- tmp$ret$1 = false;
3023
+ tmp$ret$2 = false;
3095
3024
  break $l$block_1;
3096
3025
  }
3097
3026
  }
3098
3027
  }
3099
3028
  }
3100
- var added = tmp$ret$1;
3029
+ var added = tmp$ret$2;
3101
3030
  if (added)
3102
3031
  return node;
3103
3032
  var tmp_2 = this.bp();
@@ -3136,17 +3065,15 @@
3136
3065
  var state = this.bp();
3137
3066
  // Inline function 'kotlin.check' call
3138
3067
  if (!!(!(state == null) ? isInterface(state, Incomplete) : false)) {
3139
- // Inline function 'kotlinx.coroutines.JobSupport.getCompletionExceptionOrNull.<anonymous>' call
3140
3068
  var message = 'This job has not completed yet';
3141
3069
  throw IllegalStateException_init_$Create$(toString(message));
3142
3070
  }
3143
- return _get_exceptionOrNull__b3j7js(state, this);
3071
+ return _get_exceptionOrNull__b3j7js(this, state);
3144
3072
  };
3145
3073
  protoOf(JobSupport).eq = function () {
3146
3074
  var state = this.bp();
3147
3075
  // Inline function 'kotlin.check' call
3148
3076
  if (!!(!(state == null) ? isInterface(state, Incomplete) : false)) {
3149
- // Inline function 'kotlinx.coroutines.JobSupport.getCompletedInternal.<anonymous>' call
3150
3077
  var message = 'This job has not completed yet';
3151
3078
  throw IllegalStateException_init_$Create$(toString(message));
3152
3079
  }
@@ -3268,16 +3195,16 @@
3268
3195
  // Inline function 'kotlin.coroutines.resumeWithException' call
3269
3196
  // Inline function 'kotlin.Companion.failure' call
3270
3197
  var exception = state.no_1;
3271
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
3272
- tmp0.r9(tmp$ret$0);
3198
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
3199
+ tmp0.r9(tmp$ret$1);
3273
3200
  } else {
3274
3201
  var tmp2 = this.wy_1;
3275
3202
  var tmp = unboxState(state);
3276
3203
  // Inline function 'kotlin.coroutines.resume' call
3277
3204
  // Inline function 'kotlin.Companion.success' call
3278
3205
  var value = (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
3279
- var tmp$ret$2 = _Result___init__impl__xyqfz8(value);
3280
- tmp2.r9(tmp$ret$2);
3206
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(value);
3207
+ tmp2.r9(tmp$ret$3);
3281
3208
  }
3282
3209
  };
3283
3210
  function IncompleteStateBox(state) {
@@ -3559,7 +3486,6 @@
3559
3486
  protoOf(ChannelSegment).yz = function (index) {
3560
3487
  // Inline function 'kotlin.also' call
3561
3488
  var this_0 = this.xz(index);
3562
- // Inline function 'kotlinx.coroutines.channels.ChannelSegment.retrieveElement.<anonymous>' call
3563
3489
  this.zz(index);
3564
3490
  return this_0;
3565
3491
  };
@@ -3662,16 +3588,14 @@
3662
3588
  throw recoverStackTrace_0(cause);
3663
3589
  }
3664
3590
  function hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
3665
- // Inline function 'kotlinx.coroutines.suspendCancellableCoroutineReusable.<anonymous>' call
3666
3591
  var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
3667
3592
  try {
3668
- // Inline function 'kotlinx.coroutines.channels.BufferedChannelIterator.hasNextOnNoWaiterSuspend.<anonymous>' call
3669
3593
  $this.f11_1 = cancellable;
3670
3594
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImplOnNoWaiter' call
3671
3595
  var this_0 = $this.g11_1;
3672
3596
  var updCellResult = updateCellReceive(this_0, segment, index, r, $this);
3673
3597
  if (updCellResult === get_SUSPEND()) {
3674
- prepareReceiverForSuspension($this, this_0, segment, index);
3598
+ prepareReceiverForSuspension(this_0, $this, segment, index);
3675
3599
  } else if (updCellResult === get_FAILED()) {
3676
3600
  if (r.e1(this_0.i11()) < 0) {
3677
3601
  segment.c11();
@@ -3681,7 +3605,6 @@
3681
3605
  var segment_0 = this_0.l10_1.kotlinx$atomicfu$value;
3682
3606
  $l$loop_0: while (true) {
3683
3607
  if (this_0.j11()) {
3684
- // Inline function 'kotlinx.coroutines.channels.BufferedChannelIterator.hasNextOnNoWaiterSuspend.<anonymous>.<anonymous>' call
3685
3608
  onClosedHasNextNoWaiterSuspend($this);
3686
3609
  break $l$block_0;
3687
3610
  }
@@ -3708,39 +3631,35 @@
3708
3631
  if (tmp1_safe_receiver == null)
3709
3632
  null;
3710
3633
  else {
3711
- prepareReceiverForSuspension(tmp1_safe_receiver, this_0, segment_0, i);
3634
+ prepareReceiverForSuspension(this_0, tmp1_safe_receiver, segment_0, i);
3712
3635
  }
3713
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImplOnNoWaiter.<anonymous>' call
3714
3636
  } else if (updCellResult_0 === get_FAILED()) {
3715
3637
  if (r_0.e1(this_0.i11()) < 0) {
3716
3638
  segment_0.c11();
3717
3639
  }
3718
3640
  continue $l$loop_0;
3719
3641
  } else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
3720
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl.<anonymous>' call
3721
3642
  // Inline function 'kotlin.error' call
3722
3643
  var message = 'unexpected';
3723
3644
  throw IllegalStateException_init_$Create$(toString(message));
3724
3645
  } else {
3725
3646
  segment_0.c11();
3726
- // Inline function 'kotlinx.coroutines.channels.BufferedChannelIterator.hasNextOnNoWaiterSuspend.<anonymous>.<anonymous>' call
3727
3647
  var element = (updCellResult_0 == null ? true : !(updCellResult_0 == null)) ? updCellResult_0 : THROW_CCE();
3728
3648
  $this.e11_1 = element;
3729
3649
  $this.f11_1 = null;
3730
3650
  var tmp0_safe_receiver = $this.g11_1.f10_1;
3731
- cancellable.mr(true, tmp0_safe_receiver == null ? null : bindCancellationFun(tmp0_safe_receiver, $this.g11_1, element));
3651
+ cancellable.mr(true, tmp0_safe_receiver == null ? null : bindCancellationFun($this.g11_1, tmp0_safe_receiver, element));
3732
3652
  }
3733
3653
  break $l$block_0;
3734
3654
  }
3735
3655
  }
3736
3656
  } else {
3737
3657
  segment.c11();
3738
- // Inline function 'kotlinx.coroutines.channels.BufferedChannelIterator.hasNextOnNoWaiterSuspend.<anonymous>.<anonymous>' call
3739
3658
  var element_0 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
3740
3659
  $this.e11_1 = element_0;
3741
3660
  $this.f11_1 = null;
3742
3661
  var tmp0_safe_receiver_0 = $this.g11_1.f10_1;
3743
- cancellable.mr(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun(tmp0_safe_receiver_0, $this.g11_1, element_0));
3662
+ cancellable.mr(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun($this.g11_1, tmp0_safe_receiver_0, element_0));
3744
3663
  }
3745
3664
  } catch ($p) {
3746
3665
  if ($p instanceof Error) {
@@ -3858,7 +3777,7 @@
3858
3777
  if (tmp1_safe_receiver == null)
3859
3778
  null;
3860
3779
  else {
3861
- prepareReceiverForSuspension(tmp1_safe_receiver, this.x11_1, this.z11_1, this.c12_1);
3780
+ prepareReceiverForSuspension(this.x11_1, tmp1_safe_receiver, this.z11_1, this.c12_1);
3862
3781
  }
3863
3782
  this.z11_1;
3864
3783
  this.c12_1;
@@ -3943,16 +3862,13 @@
3943
3862
  }
3944
3863
  function _get_isRendezvousOrUnlimited__3mdufi($this) {
3945
3864
  // Inline function 'kotlin.let' call
3946
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.<get-isRendezvousOrUnlimited>.<anonymous>' call
3947
3865
  var it = _get_bufferEndCounter__2d4hee($this);
3948
3866
  return it.equals(new Long(0, 0)) || it.equals(new Long(-1, 2147483647));
3949
3867
  }
3950
3868
  function onClosedSend($this, element, $completion) {
3951
- // Inline function 'kotlinx.coroutines.suspendCancellableCoroutine.<anonymous>' call
3952
3869
  var cancellable = new CancellableContinuationImpl(intercepted($completion), 1);
3953
3870
  cancellable.ys();
3954
3871
  $l$block: {
3955
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.onClosedSend.<anonymous>' call
3956
3872
  var tmp0_safe_receiver = $this.f10_1;
3957
3873
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp0_safe_receiver, element);
3958
3874
  if (tmp1_safe_receiver == null)
@@ -3971,22 +3887,18 @@
3971
3887
  var exception_0 = $this.n12();
3972
3888
  // Inline function 'kotlin.Companion.failure' call
3973
3889
  var exception_1 = recoverStackTrace(exception_0, cancellable);
3974
- var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception_1));
3975
- cancellable.r9(tmp$ret$3);
3890
+ var tmp$ret$4 = _Result___init__impl__xyqfz8(createFailure(exception_1));
3891
+ cancellable.r9(tmp$ret$4);
3976
3892
  }
3977
3893
  return cancellable.gt();
3978
3894
  }
3979
3895
  function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
3980
- // Inline function 'kotlinx.coroutines.suspendCancellableCoroutineReusable.<anonymous>' call
3981
3896
  var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
3982
3897
  try {
3983
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendOnNoWaiterSuspend.<anonymous>' call
3984
3898
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImplOnNoWaiter' call
3985
3899
  switch (updateCellSend($this, segment, index, element, s, cancellable, false)) {
3986
3900
  case 0:
3987
3901
  segment.c11();
3988
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendOnNoWaiterSuspend.<anonymous>.<anonymous>' call
3989
-
3990
3902
  // Inline function 'kotlin.coroutines.resume' call
3991
3903
 
3992
3904
  // Inline function 'kotlin.Companion.success' call
@@ -3995,25 +3907,21 @@
3995
3907
  cancellable.r9(tmp$ret$0);
3996
3908
  break;
3997
3909
  case 1:
3998
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendOnNoWaiterSuspend.<anonymous>.<anonymous>' call
3999
-
4000
3910
  // Inline function 'kotlin.coroutines.resume' call
4001
3911
 
4002
3912
  // Inline function 'kotlin.Companion.success' call
4003
3913
 
4004
- var tmp$ret$2 = _Result___init__impl__xyqfz8(Unit_instance);
4005
- cancellable.r9(tmp$ret$2);
3914
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
3915
+ cancellable.r9(tmp$ret$3);
4006
3916
  break;
4007
3917
  case 2:
4008
- prepareSenderForSuspension(cancellable, $this, segment, index);
3918
+ prepareSenderForSuspension($this, cancellable, segment, index);
4009
3919
  break;
4010
3920
  case 4:
4011
3921
  if (s.e1($this.o12()) < 0) {
4012
3922
  segment.c11();
4013
3923
  }
4014
3924
 
4015
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendOnNoWaiterSuspend.<anonymous>.<anonymous>' call
4016
-
4017
3925
  onClosedSendOnNoWaiterSuspend($this, element, cancellable);
4018
3926
  break;
4019
3927
  case 5:
@@ -4025,7 +3933,7 @@
4025
3933
  var sendersAndCloseStatusCur = $this.g10_1.atomicfu$getAndIncrement$long();
4026
3934
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
4027
3935
  var s_0 = sendersAndCloseStatusCur.m3(new Long(-1, 268435455));
4028
- var closed = _get_isClosedForSend0__kxgf9m(sendersAndCloseStatusCur, $this);
3936
+ var closed = _get_isClosedForSend0__kxgf9m($this, sendersAndCloseStatusCur);
4029
3937
  // Inline function 'kotlin.Long.div' call
4030
3938
  var other = get_SEGMENT_SIZE();
4031
3939
  var id = s_0.c3(toLong(other));
@@ -4038,7 +3946,6 @@
4038
3946
  if (tmp0_elvis_lhs == null) {
4039
3947
  var tmp_0;
4040
3948
  if (closed) {
4041
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendOnNoWaiterSuspend.<anonymous>.<anonymous>' call
4042
3949
  onClosedSendOnNoWaiterSuspend($this, element, cancellable);
4043
3950
  break $l$block_5;
4044
3951
  } else {
@@ -4052,29 +3959,24 @@
4052
3959
  switch (updateCellSend($this, segment_0, i, element, s_0, cancellable, closed)) {
4053
3960
  case 0:
4054
3961
  segment_0.c11();
4055
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendOnNoWaiterSuspend.<anonymous>.<anonymous>' call
4056
-
4057
3962
  // Inline function 'kotlin.coroutines.resume' call
4058
3963
 
4059
3964
  // Inline function 'kotlin.Companion.success' call
4060
3965
 
4061
- var tmp$ret$8 = _Result___init__impl__xyqfz8(Unit_instance);
4062
- cancellable.r9(tmp$ret$8);
3966
+ var tmp$ret$12 = _Result___init__impl__xyqfz8(Unit_instance);
3967
+ cancellable.r9(tmp$ret$12);
4063
3968
  break $l$block_5;
4064
3969
  case 1:
4065
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendOnNoWaiterSuspend.<anonymous>.<anonymous>' call
4066
-
4067
3970
  // Inline function 'kotlin.coroutines.resume' call
4068
3971
 
4069
3972
  // Inline function 'kotlin.Companion.success' call
4070
3973
 
4071
- var tmp$ret$10 = _Result___init__impl__xyqfz8(Unit_instance);
4072
- cancellable.r9(tmp$ret$10);
3974
+ var tmp$ret$15 = _Result___init__impl__xyqfz8(Unit_instance);
3975
+ cancellable.r9(tmp$ret$15);
4073
3976
  break $l$block_5;
4074
3977
  case 2:
4075
3978
  if (closed) {
4076
3979
  segment_0.s10();
4077
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendOnNoWaiterSuspend.<anonymous>.<anonymous>' call
4078
3980
  onClosedSendOnNoWaiterSuspend($this, element, cancellable);
4079
3981
  break $l$block_5;
4080
3982
  }
@@ -4083,27 +3985,21 @@
4083
3985
  if (tmp2_safe_receiver == null)
4084
3986
  null;
4085
3987
  else {
4086
- prepareSenderForSuspension(tmp2_safe_receiver, $this, segment_0, i);
3988
+ prepareSenderForSuspension($this, tmp2_safe_receiver, segment_0, i);
4087
3989
  }
4088
3990
 
4089
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImplOnNoWaiter.<anonymous>' call
4090
-
4091
3991
  break $l$block_5;
4092
3992
  case 4:
4093
3993
  if (s_0.e1($this.o12()) < 0) {
4094
3994
  segment_0.c11();
4095
3995
  }
4096
3996
 
4097
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendOnNoWaiterSuspend.<anonymous>.<anonymous>' call
4098
-
4099
3997
  onClosedSendOnNoWaiterSuspend($this, element, cancellable);
4100
3998
  break $l$block_5;
4101
3999
  case 5:
4102
4000
  segment_0.c11();
4103
4001
  continue $l$loop_0;
4104
4002
  case 3:
4105
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl.<anonymous>' call
4106
-
4107
4003
  // Inline function 'kotlin.error' call
4108
4004
 
4109
4005
  var message = 'unexpected';
@@ -4130,7 +4026,7 @@
4130
4026
  }
4131
4027
  return cancellable.gt();
4132
4028
  }
4133
- function prepareSenderForSuspension(_this__u8e3s4, $this, segment, index) {
4029
+ function prepareSenderForSuspension($this, _this__u8e3s4, segment, index) {
4134
4030
  _this__u8e3s4.mt(segment, index + get_SEGMENT_SIZE() | 0);
4135
4031
  }
4136
4032
  function onClosedSendOnNoWaiterSuspend($this, element, cont) {
@@ -4170,7 +4066,7 @@
4170
4066
  if (!(state == null) ? isInterface(state, Waiter) : false) {
4171
4067
  segment.zz(index);
4172
4068
  var tmp;
4173
- if (tryResumeReceiver(state, $this, element)) {
4069
+ if (tryResumeReceiver($this, state, element)) {
4174
4070
  segment.b10(index, get_DONE_RCV());
4175
4071
  $this.p12();
4176
4072
  tmp = 0;
@@ -4229,7 +4125,7 @@
4229
4125
  }
4230
4126
  var receiver = tmp;
4231
4127
  var tmp_0;
4232
- if (tryResumeReceiver(receiver, $this, element)) {
4128
+ if (tryResumeReceiver($this, receiver, element)) {
4233
4129
  segment.b10(index, get_DONE_RCV());
4234
4130
  $this.p12();
4235
4131
  tmp_0 = 0;
@@ -4244,7 +4140,7 @@
4244
4140
  }
4245
4141
  }
4246
4142
  function shouldSendSuspend0($this, curSendersAndCloseStatus) {
4247
- if (_get_isClosedForSend0__kxgf9m(curSendersAndCloseStatus, $this))
4143
+ if (_get_isClosedForSend0__kxgf9m($this, curSendersAndCloseStatus))
4248
4144
  return false;
4249
4145
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
4250
4146
  var tmp$ret$0 = curSendersAndCloseStatus.m3(new Long(-1, 268435455));
@@ -4263,7 +4159,7 @@
4263
4159
  }
4264
4160
  return tmp;
4265
4161
  }
4266
- function tryResumeReceiver(_this__u8e3s4, $this, element) {
4162
+ function tryResumeReceiver($this, _this__u8e3s4, element) {
4267
4163
  var tmp;
4268
4164
  if (isInterface(_this__u8e3s4, SelectInstance)) {
4269
4165
  tmp = _this__u8e3s4.ay($this, element);
@@ -4273,7 +4169,7 @@
4273
4169
  THROW_CCE();
4274
4170
  var tmp_0 = Companion_getInstance().t12(element);
4275
4171
  var tmp1_safe_receiver = $this.f10_1;
4276
- tmp = tryResume0(_this__u8e3s4.u12_1, new ChannelResult(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult(tmp1_safe_receiver, $this));
4172
+ tmp = tryResume0(_this__u8e3s4.u12_1, new ChannelResult(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult($this, tmp1_safe_receiver));
4277
4173
  } else {
4278
4174
  if (_this__u8e3s4 instanceof BufferedChannelIterator) {
4279
4175
  if (!(_this__u8e3s4 instanceof BufferedChannelIterator))
@@ -4284,7 +4180,7 @@
4284
4180
  if (!isInterface(_this__u8e3s4, CancellableContinuation))
4285
4181
  THROW_CCE();
4286
4182
  var tmp2_safe_receiver = $this.f10_1;
4287
- tmp = tryResume0(_this__u8e3s4, element, tmp2_safe_receiver == null ? null : bindCancellationFun_0(tmp2_safe_receiver, $this));
4183
+ tmp = tryResume0(_this__u8e3s4, element, tmp2_safe_receiver == null ? null : bindCancellationFun_0($this, tmp2_safe_receiver));
4288
4184
  } else {
4289
4185
  var message = 'Unexpected receiver type: ' + toString(_this__u8e3s4);
4290
4186
  throw IllegalStateException_init_$Create$(toString(message));
@@ -4294,7 +4190,7 @@
4294
4190
  }
4295
4191
  return tmp;
4296
4192
  }
4297
- function prepareReceiverForSuspension(_this__u8e3s4, $this, segment, index) {
4193
+ function prepareReceiverForSuspension($this, _this__u8e3s4, segment, index) {
4298
4194
  $this.v12();
4299
4195
  _this__u8e3s4.mt(segment, index);
4300
4196
  }
@@ -4364,7 +4260,7 @@
4364
4260
  }
4365
4261
  var sender = tmp;
4366
4262
  var tmp_0;
4367
- if (tryResumeSender(sender, $this, segment, index)) {
4263
+ if (tryResumeSender($this, sender, segment, index)) {
4368
4264
  segment.b10(index, get_DONE_RCV());
4369
4265
  expandBuffer($this);
4370
4266
  tmp_0 = segment.yz(index);
@@ -4381,7 +4277,7 @@
4381
4277
  }
4382
4278
  }
4383
4279
  }
4384
- function tryResumeSender(_this__u8e3s4, $this, segment, index) {
4280
+ function tryResumeSender($this, _this__u8e3s4, segment, index) {
4385
4281
  var tmp;
4386
4282
  if (isInterface(_this__u8e3s4, CancellableContinuation)) {
4387
4283
  if (!isInterface(_this__u8e3s4, CancellableContinuation))
@@ -4452,7 +4348,7 @@
4452
4348
  if (b.e1($this.h10_1.kotlinx$atomicfu$value) >= 0) {
4453
4349
  if (segment.c10(index, state, get_RESUMING_BY_EB())) {
4454
4350
  var tmp;
4455
- if (tryResumeSender(state, $this, segment, index)) {
4351
+ if (tryResumeSender($this, state, segment, index)) {
4456
4352
  segment.b10(index, get_BUFFERED());
4457
4353
  tmp = true;
4458
4354
  } else {
@@ -4476,7 +4372,7 @@
4476
4372
  } else {
4477
4373
  if (segment.c10(index, state, get_RESUMING_BY_EB())) {
4478
4374
  var tmp;
4479
- if (tryResumeSender(state, $this, segment, index)) {
4375
+ if (tryResumeSender($this, state, segment, index)) {
4480
4376
  segment.b10(index, get_BUFFERED());
4481
4377
  tmp = true;
4482
4378
  } else {
@@ -4521,7 +4417,6 @@
4521
4417
  }
4522
4418
  function incCompletedExpandBufferAttempts($this, nAttempts) {
4523
4419
  // Inline function 'kotlin.also' call
4524
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.incCompletedExpandBufferAttempts.<anonymous>' call
4525
4420
  // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
4526
4421
  if (!$this.j10_1.atomicfu$addAndGet$long(nAttempts).m3(new Long(0, 1073741824)).equals(new Long(0, 0))) {
4527
4422
  $l$loop: while (true) {
@@ -4559,7 +4454,6 @@
4559
4454
  var result = this.e11_1;
4560
4455
  // Inline function 'kotlin.check' call
4561
4456
  if (!!(result === get_NO_RECEIVE_RESULT())) {
4562
- // Inline function 'kotlinx.coroutines.channels.BufferedChannelIterator.next.<anonymous>' call
4563
4457
  var message = '`hasNext()` has not been invoked';
4564
4458
  throw IllegalStateException_init_$Create$(toString(message));
4565
4459
  }
@@ -4573,7 +4467,7 @@
4573
4467
  this.f11_1 = null;
4574
4468
  this.e11_1 = element;
4575
4469
  var tmp0_safe_receiver = this.g11_1.f10_1;
4576
- return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(tmp0_safe_receiver, this.g11_1, element));
4470
+ return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(this.g11_1, tmp0_safe_receiver, element));
4577
4471
  };
4578
4472
  protoOf(BufferedChannelIterator).f13 = function () {
4579
4473
  var cont = ensureNotNull(this.f11_1);
@@ -4604,7 +4498,6 @@
4604
4498
  // Inline function 'kotlinx.atomicfu.getAndUpdate' call
4605
4499
  while (true) {
4606
4500
  var cur = tmp0.kotlinx$atomicfu$value;
4607
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.invokeCloseHandler.<anonymous>' call
4608
4501
  var tmp;
4609
4502
  if (cur === null) {
4610
4503
  tmp = get_CLOSE_HANDLER_CLOSED();
@@ -4637,7 +4530,6 @@
4637
4530
  // Inline function 'kotlinx.atomicfu.update' call
4638
4531
  while (true) {
4639
4532
  var cur = tmp0.kotlinx$atomicfu$value;
4640
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.markClosed.<anonymous>' call
4641
4533
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
4642
4534
  var tmp;
4643
4535
  switch (cur.k3(60).j1()) {
@@ -4662,6 +4554,7 @@
4662
4554
  break $l$block;
4663
4555
  }
4664
4556
  }
4557
+ tmp$ret$4 = Unit_instance;
4665
4558
  }
4666
4559
  return tmp$ret$4;
4667
4560
  }
@@ -4672,7 +4565,6 @@
4672
4565
  // Inline function 'kotlinx.atomicfu.update' call
4673
4566
  while (true) {
4674
4567
  var cur = tmp0.kotlinx$atomicfu$value;
4675
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.markCancelled.<anonymous>' call
4676
4568
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
4677
4569
  var tmp$ret$0 = cur.m3(new Long(-1, 268435455));
4678
4570
  var upd = constructSendersAndCloseStatus(tmp$ret$0, 3);
@@ -4681,6 +4573,7 @@
4681
4573
  break $l$block;
4682
4574
  }
4683
4575
  }
4576
+ tmp$ret$2 = Unit_instance;
4684
4577
  }
4685
4578
  return tmp$ret$2;
4686
4579
  }
@@ -4691,7 +4584,6 @@
4691
4584
  // Inline function 'kotlinx.atomicfu.update' call
4692
4585
  while (true) {
4693
4586
  var cur = tmp0.kotlinx$atomicfu$value;
4694
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.markCancellationStarted.<anonymous>' call
4695
4587
  var tmp;
4696
4588
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
4697
4589
  if (cur.k3(60).j1() === 0) {
@@ -4707,6 +4599,7 @@
4707
4599
  break $l$block;
4708
4600
  }
4709
4601
  }
4602
+ tmp$ret$3 = Unit_instance;
4710
4603
  }
4711
4604
  return tmp$ret$3;
4712
4605
  }
@@ -4731,12 +4624,10 @@
4731
4624
  function closeLinkedList($this) {
4732
4625
  var lastSegment = $this.m10_1.kotlinx$atomicfu$value;
4733
4626
  // Inline function 'kotlin.let' call
4734
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.closeLinkedList.<anonymous>' call
4735
4627
  var it = $this.k10_1.kotlinx$atomicfu$value;
4736
4628
  if (it.ks_1.e1(lastSegment.ks_1) > 0)
4737
4629
  lastSegment = it;
4738
4630
  // Inline function 'kotlin.let' call
4739
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.closeLinkedList.<anonymous>' call
4740
4631
  var it_0 = $this.l10_1.kotlinx$atomicfu$value;
4741
4632
  if (it_0.ks_1.e1(lastSegment.ks_1) > 0)
4742
4633
  lastSegment = it_0;
@@ -4882,9 +4773,8 @@
4882
4773
  } else {
4883
4774
  if (!(tmp0_subject instanceof ArrayList)) {
4884
4775
  var tmp_2 = access$_get_holder__kkflen(tmp4);
4885
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.removeUnprocessedElements.<anonymous>' call
4886
4776
  var it = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
4887
- resumeSenderOnCancelledChannel(it, $this);
4777
+ resumeSenderOnCancelledChannel($this, it);
4888
4778
  } else {
4889
4779
  var tmp_3 = access$_get_holder__kkflen(tmp4);
4890
4780
  var list = tmp_3 instanceof ArrayList ? tmp_3 : THROW_CCE();
@@ -4893,9 +4783,8 @@
4893
4783
  do {
4894
4784
  var i = inductionVariable_0;
4895
4785
  inductionVariable_0 = inductionVariable_0 + -1 | 0;
4896
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.removeUnprocessedElements.<anonymous>' call
4897
4786
  var it_0 = list.u(i);
4898
- resumeSenderOnCancelledChannel(it_0, $this);
4787
+ resumeSenderOnCancelledChannel($this, it_0);
4899
4788
  }
4900
4789
  while (0 <= inductionVariable_0);
4901
4790
  }
@@ -4964,9 +4853,8 @@
4964
4853
  } else {
4965
4854
  if (!(tmp0_subject instanceof ArrayList)) {
4966
4855
  var tmp = access$_get_holder__kkflen(tmp4);
4967
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.cancelSuspendedReceiveRequests.<anonymous>' call
4968
4856
  var it = (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
4969
- resumeReceiverOnClosedChannel(it, $this);
4857
+ resumeReceiverOnClosedChannel($this, it);
4970
4858
  } else {
4971
4859
  var tmp_0 = access$_get_holder__kkflen(tmp4);
4972
4860
  var list = tmp_0 instanceof ArrayList ? tmp_0 : THROW_CCE();
@@ -4975,22 +4863,21 @@
4975
4863
  do {
4976
4864
  var i = inductionVariable_0;
4977
4865
  inductionVariable_0 = inductionVariable_0 + -1 | 0;
4978
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.cancelSuspendedReceiveRequests.<anonymous>' call
4979
4866
  var it_0 = list.u(i);
4980
- resumeReceiverOnClosedChannel(it_0, $this);
4867
+ resumeReceiverOnClosedChannel($this, it_0);
4981
4868
  }
4982
4869
  while (0 <= inductionVariable_0);
4983
4870
  }
4984
4871
  }
4985
4872
  }
4986
4873
  }
4987
- function resumeReceiverOnClosedChannel(_this__u8e3s4, $this) {
4988
- return resumeWaiterOnClosedChannel(_this__u8e3s4, $this, true);
4874
+ function resumeReceiverOnClosedChannel($this, _this__u8e3s4) {
4875
+ return resumeWaiterOnClosedChannel($this, _this__u8e3s4, true);
4989
4876
  }
4990
- function resumeSenderOnCancelledChannel(_this__u8e3s4, $this) {
4991
- return resumeWaiterOnClosedChannel(_this__u8e3s4, $this, false);
4877
+ function resumeSenderOnCancelledChannel($this, _this__u8e3s4) {
4878
+ return resumeWaiterOnClosedChannel($this, _this__u8e3s4, false);
4992
4879
  }
4993
- function resumeWaiterOnClosedChannel(_this__u8e3s4, $this, receiver) {
4880
+ function resumeWaiterOnClosedChannel($this, _this__u8e3s4, receiver) {
4994
4881
  if (_this__u8e3s4 instanceof SendBroadcast) {
4995
4882
  // Inline function 'kotlin.coroutines.resume' call
4996
4883
  var this_0 = _this__u8e3s4.w12_1;
@@ -5028,10 +4915,10 @@
5028
4915
  }
5029
4916
  }
5030
4917
  }
5031
- function _get_isClosedForSend0__kxgf9m(_this__u8e3s4, $this) {
4918
+ function _get_isClosedForSend0__kxgf9m($this, _this__u8e3s4) {
5032
4919
  return isClosed($this, _this__u8e3s4, false);
5033
4920
  }
5034
- function _get_isClosedForReceive0__f7qknl(_this__u8e3s4, $this) {
4921
+ function _get_isClosedForReceive0__f7qknl($this, _this__u8e3s4) {
5035
4922
  return isClosed($this, _this__u8e3s4, true);
5036
4923
  }
5037
4924
  function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
@@ -5095,7 +4982,7 @@
5095
4982
  function findSegmentSend($this, id, startFrom) {
5096
4983
  var tmp0 = $this.k10_1;
5097
4984
  var tmp3 = createSegmentFunction();
5098
- var tmp$ret$1;
4985
+ var tmp$ret$2;
5099
4986
  $l$block_2: {
5100
4987
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
5101
4988
  while (true) {
@@ -5109,7 +4996,6 @@
5109
4996
  $l$block_1: {
5110
4997
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5111
4998
  while (true) {
5112
- // Inline function 'kotlinx.coroutines.internal.moveForward.<anonymous>' call
5113
4999
  var cur = tmp0.kotlinx$atomicfu$value;
5114
5000
  if (cur.ks_1.e1(tmp1.ks_1) >= 0) {
5115
5001
  tmp$ret$0 = true;
@@ -5135,14 +5021,13 @@
5135
5021
  tmp = tmp$ret$0;
5136
5022
  }
5137
5023
  if (tmp) {
5138
- tmp$ret$1 = s;
5024
+ tmp$ret$2 = s;
5139
5025
  break $l$block_2;
5140
5026
  }
5141
5027
  }
5142
5028
  }
5143
5029
  // Inline function 'kotlin.let' call
5144
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.findSegmentSend.<anonymous>' call
5145
- var it = tmp$ret$1;
5030
+ var it = tmp$ret$2;
5146
5031
  var tmp_0;
5147
5032
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
5148
5033
  completeCloseOrCancel($this);
@@ -5160,8 +5045,8 @@
5160
5045
  var tmp2 = segment.ks_1;
5161
5046
  // Inline function 'kotlin.Long.times' call
5162
5047
  var other_0 = get_SEGMENT_SIZE();
5163
- var tmp$ret$3 = tmp2.b3(toLong(other_0));
5164
- updateSendersCounterIfLower($this, tmp$ret$3);
5048
+ var tmp$ret$4 = tmp2.b3(toLong(other_0));
5049
+ updateSendersCounterIfLower($this, tmp$ret$4);
5165
5050
  var tmp4 = segment.ks_1;
5166
5051
  // Inline function 'kotlin.Long.times' call
5167
5052
  var other_1 = get_SEGMENT_SIZE();
@@ -5180,7 +5065,7 @@
5180
5065
  function findSegmentReceive($this, id, startFrom) {
5181
5066
  var tmp0 = $this.l10_1;
5182
5067
  var tmp3 = createSegmentFunction();
5183
- var tmp$ret$1;
5068
+ var tmp$ret$2;
5184
5069
  $l$block_2: {
5185
5070
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
5186
5071
  while (true) {
@@ -5194,7 +5079,6 @@
5194
5079
  $l$block_1: {
5195
5080
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5196
5081
  while (true) {
5197
- // Inline function 'kotlinx.coroutines.internal.moveForward.<anonymous>' call
5198
5082
  var cur = tmp0.kotlinx$atomicfu$value;
5199
5083
  if (cur.ks_1.e1(tmp1.ks_1) >= 0) {
5200
5084
  tmp$ret$0 = true;
@@ -5220,14 +5104,13 @@
5220
5104
  tmp = tmp$ret$0;
5221
5105
  }
5222
5106
  if (tmp) {
5223
- tmp$ret$1 = s;
5107
+ tmp$ret$2 = s;
5224
5108
  break $l$block_2;
5225
5109
  }
5226
5110
  }
5227
5111
  }
5228
5112
  // Inline function 'kotlin.let' call
5229
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.findSegmentReceive.<anonymous>' call
5230
- var it = tmp$ret$1;
5113
+ var it = tmp$ret$2;
5231
5114
  var tmp_0;
5232
5115
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
5233
5116
  completeCloseOrCancel($this);
@@ -5245,8 +5128,8 @@
5245
5128
  var tmp2 = _get_bufferEndCounter__2d4hee($this);
5246
5129
  // Inline function 'kotlin.Long.div' call
5247
5130
  var other_0 = get_SEGMENT_SIZE();
5248
- var tmp$ret$3 = tmp2.c3(toLong(other_0));
5249
- tmp_1 = id.e1(tmp$ret$3) <= 0;
5131
+ var tmp$ret$4 = tmp2.c3(toLong(other_0));
5132
+ tmp_1 = id.e1(tmp$ret$4) <= 0;
5250
5133
  } else {
5251
5134
  tmp_1 = false;
5252
5135
  }
@@ -5255,7 +5138,6 @@
5255
5138
  $l$block_5: {
5256
5139
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5257
5140
  while (true) {
5258
- // Inline function 'kotlinx.coroutines.internal.moveForward.<anonymous>' call
5259
5141
  var cur_0 = tmp4.kotlinx$atomicfu$value;
5260
5142
  if (cur_0.ks_1.e1(segment.ks_1) >= 0) {
5261
5143
  break $l$block_5;
@@ -5280,8 +5162,8 @@
5280
5162
  var tmp6 = segment.ks_1;
5281
5163
  // Inline function 'kotlin.Long.times' call
5282
5164
  var other_1 = get_SEGMENT_SIZE();
5283
- var tmp$ret$5 = tmp6.b3(toLong(other_1));
5284
- updateReceiversCounterIfLower($this, tmp$ret$5);
5165
+ var tmp$ret$7 = tmp6.b3(toLong(other_1));
5166
+ updateReceiversCounterIfLower($this, tmp$ret$7);
5285
5167
  var tmp8 = segment.ks_1;
5286
5168
  // Inline function 'kotlin.Long.times' call
5287
5169
  var other_2 = get_SEGMENT_SIZE();
@@ -5300,7 +5182,7 @@
5300
5182
  function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
5301
5183
  var tmp0 = $this.m10_1;
5302
5184
  var tmp3 = createSegmentFunction();
5303
- var tmp$ret$1;
5185
+ var tmp$ret$2;
5304
5186
  $l$block_2: {
5305
5187
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
5306
5188
  while (true) {
@@ -5314,7 +5196,6 @@
5314
5196
  $l$block_1: {
5315
5197
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5316
5198
  while (true) {
5317
- // Inline function 'kotlinx.coroutines.internal.moveForward.<anonymous>' call
5318
5199
  var cur = tmp0.kotlinx$atomicfu$value;
5319
5200
  if (cur.ks_1.e1(tmp1.ks_1) >= 0) {
5320
5201
  tmp$ret$0 = true;
@@ -5340,14 +5221,13 @@
5340
5221
  tmp = tmp$ret$0;
5341
5222
  }
5342
5223
  if (tmp) {
5343
- tmp$ret$1 = s;
5224
+ tmp$ret$2 = s;
5344
5225
  break $l$block_2;
5345
5226
  }
5346
5227
  }
5347
5228
  }
5348
5229
  // Inline function 'kotlin.let' call
5349
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.findSegmentBufferEnd.<anonymous>' call
5350
- var it = tmp$ret$1;
5230
+ var it = tmp$ret$2;
5351
5231
  var tmp_0;
5352
5232
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
5353
5233
  completeCloseOrCancel($this);
@@ -5363,13 +5243,13 @@
5363
5243
  var tmp2 = segment.ks_1;
5364
5244
  // Inline function 'kotlin.Long.times' call
5365
5245
  var other = get_SEGMENT_SIZE();
5366
- var tmp$ret$3 = tmp2.b3(toLong(other));
5367
- if ($this.i10_1.atomicfu$compareAndSet(tmp_2, tmp$ret$3)) {
5246
+ var tmp$ret$4 = tmp2.b3(toLong(other));
5247
+ if ($this.i10_1.atomicfu$compareAndSet(tmp_2, tmp$ret$4)) {
5368
5248
  var tmp4 = segment.ks_1;
5369
5249
  // Inline function 'kotlin.Long.times' call
5370
5250
  var other_0 = get_SEGMENT_SIZE();
5371
- var tmp$ret$4 = tmp4.b3(toLong(other_0));
5372
- incCompletedExpandBufferAttempts($this, tmp$ret$4.a3(currentBufferEndCounter));
5251
+ var tmp$ret$5 = tmp4.b3(toLong(other_0));
5252
+ incCompletedExpandBufferAttempts($this, tmp$ret$5.a3(currentBufferEndCounter));
5373
5253
  } else {
5374
5254
  incCompletedExpandBufferAttempts$default($this);
5375
5255
  }
@@ -5411,7 +5291,6 @@
5411
5291
  $l$block_1: {
5412
5292
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
5413
5293
  while (true) {
5414
- // Inline function 'kotlinx.coroutines.internal.moveForward.<anonymous>' call
5415
5294
  var cur = tmp0.kotlinx$atomicfu$value;
5416
5295
  if (cur.ks_1.e1(tmp1.ks_1) >= 0) {
5417
5296
  tmp$ret$0 = true;
@@ -5441,7 +5320,6 @@
5441
5320
  function updateSendersCounterIfLower($this, value) {
5442
5321
  var this_0 = $this.g10_1;
5443
5322
  while (true) {
5444
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.updateSendersCounterIfLower.<anonymous>' call
5445
5323
  var cur = this_0.kotlinx$atomicfu$value;
5446
5324
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
5447
5325
  var curCounter = cur.m3(new Long(-1, 268435455));
@@ -5458,7 +5336,6 @@
5458
5336
  function updateReceiversCounterIfLower($this, value) {
5459
5337
  var this_0 = $this.h10_1;
5460
5338
  while (true) {
5461
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.updateReceiversCounterIfLower.<anonymous>' call
5462
5339
  var cur = this_0.kotlinx$atomicfu$value;
5463
5340
  if (cur.e1(value) >= 0)
5464
5341
  return Unit_instance;
@@ -5467,16 +5344,16 @@
5467
5344
  }
5468
5345
  return Unit_instance;
5469
5346
  }
5470
- function bindCancellationFunResult(_this__u8e3s4, $this) {
5347
+ function bindCancellationFunResult($this, _this__u8e3s4) {
5471
5348
  return BufferedChannel$onCancellationChannelResultImplDoNotCall$ref($this);
5472
5349
  }
5473
5350
  function onCancellationChannelResultImplDoNotCall($this, cause, element, context) {
5474
5351
  callUndeliveredElement(ensureNotNull($this.f10_1), ensureNotNull(ChannelResult__getOrNull_impl_f5e07h(element)), context);
5475
5352
  }
5476
- function bindCancellationFun(_this__u8e3s4, $this, element) {
5353
+ function bindCancellationFun($this, _this__u8e3s4, element) {
5477
5354
  return BufferedChannel$bindCancellationFun$lambda(_this__u8e3s4, element);
5478
5355
  }
5479
- function bindCancellationFun_0(_this__u8e3s4, $this) {
5356
+ function bindCancellationFun_0($this, _this__u8e3s4) {
5480
5357
  return BufferedChannel$onCancellationImplDoNotCall$ref($this);
5481
5358
  }
5482
5359
  function onCancellationImplDoNotCall($this, cause, element, context) {
@@ -5556,7 +5433,7 @@
5556
5433
  this.f14_1 = this.b14_1.g10_1.atomicfu$getAndIncrement$long();
5557
5434
  var tmp_3 = this;
5558
5435
  tmp_3.g14_1 = this.f14_1.m3(new Long(-1, 268435455));
5559
- this.h14_1 = _get_isClosedForSend0__kxgf9m(this.f14_1, this.b14_1);
5436
+ this.h14_1 = _get_isClosedForSend0__kxgf9m(this.b14_1, this.f14_1);
5560
5437
  var tmp_4 = this;
5561
5438
  var tmp0 = this.g14_1;
5562
5439
  var other = get_SEGMENT_SIZE();
@@ -5686,7 +5563,7 @@
5686
5563
  if (tmp2_safe_receiver == null)
5687
5564
  null;
5688
5565
  else {
5689
- prepareSenderForSuspension(tmp2_safe_receiver, this.b14_1, this.e14_1, this.j14_1);
5566
+ prepareSenderForSuspension(this.b14_1, tmp2_safe_receiver, this.e14_1, this.j14_1);
5690
5567
  }
5691
5568
 
5692
5569
  var tmp_15 = this;
@@ -5735,7 +5612,6 @@
5735
5612
  this.f10_1 = onUndeliveredElement;
5736
5613
  // Inline function 'kotlin.require' call
5737
5614
  if (!(this.e10_1 >= 0)) {
5738
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.<anonymous>' call
5739
5615
  var message = 'Invalid channel capacity: ' + this.e10_1 + ', should be >=0';
5740
5616
  throw IllegalArgumentException_init_$Create$(toString(message));
5741
5617
  }
@@ -5761,7 +5637,6 @@
5761
5637
  tmp_3 = null;
5762
5638
  } else {
5763
5639
  // Inline function 'kotlin.let' call
5764
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.onUndeliveredElementReceiveCancellationConstructor.<anonymous>' call
5765
5640
  tmp_3 = BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda(this);
5766
5641
  }
5767
5642
  tmp_2.n10_1 = tmp_3;
@@ -5793,7 +5668,7 @@
5793
5668
  var sendersAndCloseStatusCur = this.g10_1.atomicfu$getAndIncrement$long();
5794
5669
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
5795
5670
  var s = sendersAndCloseStatusCur.m3(new Long(-1, 268435455));
5796
- var closed = _get_isClosedForSend0__kxgf9m(sendersAndCloseStatusCur, this);
5671
+ var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
5797
5672
  // Inline function 'kotlin.Long.div' call
5798
5673
  var other = get_SEGMENT_SIZE();
5799
5674
  var id = s.c3(toLong(other));
@@ -5806,7 +5681,6 @@
5806
5681
  if (tmp0_elvis_lhs == null) {
5807
5682
  var tmp_0;
5808
5683
  if (closed) {
5809
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.trySend.<anonymous>' call
5810
5684
  tmp$ret$4 = Companion_getInstance().j13(this.n12());
5811
5685
  break $l$block_4;
5812
5686
  } else {
@@ -5820,19 +5694,14 @@
5820
5694
  switch (updateCellSend(this, segment, i, element, s, tmp2, closed)) {
5821
5695
  case 0:
5822
5696
  segment.c11();
5823
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.trySend.<anonymous>' call
5824
-
5825
5697
  tmp$ret$4 = Companion_getInstance().t12(Unit_instance);
5826
5698
  break $l$block_4;
5827
5699
  case 1:
5828
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.trySend.<anonymous>' call
5829
-
5830
5700
  tmp$ret$4 = Companion_getInstance().t12(Unit_instance);
5831
5701
  break $l$block_4;
5832
5702
  case 2:
5833
5703
  if (closed) {
5834
5704
  segment.s10();
5835
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.trySend.<anonymous>' call
5836
5705
  tmp$ret$4 = Companion_getInstance().j13(this.n12());
5837
5706
  break $l$block_4;
5838
5707
  }
@@ -5841,11 +5710,9 @@
5841
5710
  if (tmp2_safe_receiver == null)
5842
5711
  null;
5843
5712
  else {
5844
- prepareSenderForSuspension(tmp2_safe_receiver, this, segment, i);
5713
+ prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
5845
5714
  }
5846
5715
 
5847
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.trySend.<anonymous>' call
5848
-
5849
5716
  segment.s10();
5850
5717
  tmp$ret$4 = Companion_getInstance().x14();
5851
5718
  break $l$block_4;
@@ -5854,8 +5721,6 @@
5854
5721
  segment.c11();
5855
5722
  }
5856
5723
 
5857
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.trySend.<anonymous>' call
5858
-
5859
5724
  tmp$ret$4 = Companion_getInstance().j13(this.n12());
5860
5725
  break $l$block_4;
5861
5726
  case 5:
@@ -5878,7 +5743,7 @@
5878
5743
  var sendersAndCloseStatusCur = this.g10_1.atomicfu$getAndIncrement$long();
5879
5744
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
5880
5745
  var s = sendersAndCloseStatusCur.m3(new Long(-1, 268435455));
5881
- var closed = _get_isClosedForSend0__kxgf9m(sendersAndCloseStatusCur, this);
5746
+ var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
5882
5747
  // Inline function 'kotlin.Long.div' call
5883
5748
  var other = get_SEGMENT_SIZE();
5884
5749
  var id = s.c3(toLong(other));
@@ -5916,7 +5781,7 @@
5916
5781
  if (tmp2_safe_receiver == null)
5917
5782
  null;
5918
5783
  else {
5919
- prepareSenderForSuspension(tmp2_safe_receiver, this, segment, i);
5784
+ prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
5920
5785
  }
5921
5786
 
5922
5787
  var tmp4 = segment.ks_1;
@@ -5958,12 +5823,12 @@
5958
5823
  var tmp2 = r.z2(toLong(other));
5959
5824
  // Inline function 'kotlin.math.max' call
5960
5825
  var b = _get_bufferEndCounter__2d4hee(this);
5961
- var tmp$ret$1 = tmp2.e1(b) >= 0 ? tmp2 : b;
5962
- if (globalCellIndex.e1(tmp$ret$1) < 0)
5826
+ var tmp$ret$2 = tmp2.e1(b) >= 0 ? tmp2 : b;
5827
+ if (globalCellIndex.e1(tmp$ret$2) < 0)
5963
5828
  return Unit_instance;
5964
5829
  // Inline function 'kotlin.Long.plus' call
5965
- var tmp$ret$2 = r.z2(toLong(1));
5966
- if (!this.h10_1.atomicfu$compareAndSet(r, tmp$ret$2))
5830
+ var tmp$ret$3 = r.z2(toLong(1));
5831
+ if (!this.h10_1.atomicfu$compareAndSet(r, tmp$ret$3))
5967
5832
  continue $l$loop_0;
5968
5833
  // Inline function 'kotlin.Long.div' call
5969
5834
  var other_0 = get_SEGMENT_SIZE();
@@ -6017,7 +5882,6 @@
6017
5882
  do {
6018
5883
  var index = inductionVariable;
6019
5884
  inductionVariable = inductionVariable + 1 | 0;
6020
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.waitExpandBufferCompletion.<anonymous>' call
6021
5885
  var b = _get_bufferEndCounter__2d4hee(this);
6022
5886
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
6023
5887
  var ebCompleted = this.j10_1.kotlinx$atomicfu$value.m3(new Long(-1, 1073741823));
@@ -6030,10 +5894,9 @@
6030
5894
  // Inline function 'kotlinx.atomicfu.update' call
6031
5895
  while (true) {
6032
5896
  var cur = tmp2.kotlinx$atomicfu$value;
6033
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.waitExpandBufferCompletion.<anonymous>' call
6034
5897
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
6035
- var tmp$ret$1 = cur.m3(new Long(-1, 1073741823));
6036
- var upd = constructEBCompletedAndPauseFlag(tmp$ret$1, true);
5898
+ var tmp$ret$3 = cur.m3(new Long(-1, 1073741823));
5899
+ var upd = constructEBCompletedAndPauseFlag(tmp$ret$3, true);
6037
5900
  if (tmp2.atomicfu$compareAndSet(cur, upd)) {
6038
5901
  break $l$block;
6039
5902
  }
@@ -6052,10 +5915,9 @@
6052
5915
  // Inline function 'kotlinx.atomicfu.update' call
6053
5916
  while (true) {
6054
5917
  var cur_0 = tmp4.kotlinx$atomicfu$value;
6055
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.waitExpandBufferCompletion.<anonymous>' call
6056
5918
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
6057
- var tmp$ret$6 = cur_0.m3(new Long(-1, 1073741823));
6058
- var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$6, false);
5919
+ var tmp$ret$8 = cur_0.m3(new Long(-1, 1073741823));
5920
+ var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$8, false);
6059
5921
  if (tmp4.atomicfu$compareAndSet(cur_0, upd_0)) {
6060
5922
  break $l$block_0;
6061
5923
  }
@@ -6102,7 +5964,6 @@
6102
5964
  }
6103
5965
  completeCloseOrCancel(this);
6104
5966
  // Inline function 'kotlin.also' call
6105
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.closeOrCancelImpl.<anonymous>' call
6106
5967
  this.z14();
6107
5968
  if (closedByThisOperation) {
6108
5969
  invokeCloseHandler(this);
@@ -6113,10 +5974,10 @@
6113
5974
  return false;
6114
5975
  };
6115
5976
  protoOf(BufferedChannel).g13 = function () {
6116
- return _get_isClosedForSend0__kxgf9m(this.g10_1.kotlinx$atomicfu$value, this);
5977
+ return _get_isClosedForSend0__kxgf9m(this, this.g10_1.kotlinx$atomicfu$value);
6117
5978
  };
6118
5979
  protoOf(BufferedChannel).j11 = function () {
6119
- return _get_isClosedForReceive0__f7qknl(this.g10_1.kotlinx$atomicfu$value, this);
5980
+ return _get_isClosedForReceive0__f7qknl(this, this.g10_1.kotlinx$atomicfu$value);
6120
5981
  };
6121
5982
  protoOf(BufferedChannel).k13 = function () {
6122
5983
  $l$loop: while (true) {
@@ -6172,7 +6033,6 @@
6172
6033
  var _iterator__ex2g4s = tmp0.p();
6173
6034
  while (_iterator__ex2g4s.q()) {
6174
6035
  var element = _iterator__ex2g4s.r();
6175
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.toString.<anonymous>' call
6176
6036
  if (!(element === get_NULL_SEGMENT())) {
6177
6037
  destination.k(element);
6178
6038
  }
@@ -6188,11 +6048,9 @@
6188
6048
  tmp$ret$4 = minElem;
6189
6049
  break $l$block;
6190
6050
  }
6191
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.toString.<anonymous>' call
6192
6051
  var minValue = minElem.ks_1;
6193
6052
  do {
6194
6053
  var e = iterator.r();
6195
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.toString.<anonymous>' call
6196
6054
  var v = e.ks_1;
6197
6055
  if (compareTo(minValue, v) > 0) {
6198
6056
  minElem = e;
@@ -6298,7 +6156,6 @@
6298
6156
  onCancellation = onCancellation === VOID ? null : onCancellation;
6299
6157
  _init_properties_BufferedChannel_kt__d6uc4y();
6300
6158
  // Inline function 'kotlin.let' call
6301
- // Inline function 'kotlinx.coroutines.channels.tryResume0.<anonymous>' call
6302
6159
  var token = _this__u8e3s4.ir(value, null, onCancellation);
6303
6160
  var tmp;
6304
6161
  if (!(token == null)) {
@@ -6507,7 +6364,6 @@
6507
6364
  // Inline function 'kotlin.require' call
6508
6365
 
6509
6366
  if (!onBufferOverflow.equals(BufferOverflow_SUSPEND_getInstance())) {
6510
- // Inline function 'kotlinx.coroutines.channels.Channel.<anonymous>' call
6511
6367
  var message = 'CONFLATED capacity cannot be used with non-default onBufferOverflow';
6512
6368
  throw IllegalArgumentException_init_$Create$(toString(message));
6513
6369
  }
@@ -6568,7 +6424,6 @@
6568
6424
  tmp = null;
6569
6425
  } else {
6570
6426
  // Inline function 'kotlin.let' call
6571
- // Inline function 'kotlinx.coroutines.channels.cancelConsumed.<anonymous>' call
6572
6427
  var tmp0_elvis_lhs = cause instanceof CancellationException ? cause : null;
6573
6428
  tmp = tmp0_elvis_lhs == null ? CancellationException_0('Channel was consumed, consumer had failed', cause) : tmp0_elvis_lhs;
6574
6429
  }
@@ -6600,13 +6455,11 @@
6600
6455
  this.e16_1 = onBufferOverflow;
6601
6456
  // Inline function 'kotlin.require' call
6602
6457
  if (!!(this.e16_1 === BufferOverflow_SUSPEND_getInstance())) {
6603
- // Inline function 'kotlinx.coroutines.channels.ConflatedBufferedChannel.<anonymous>' call
6604
6458
  var message = 'This implementation does not support suspension for senders, use ' + getKClass(BufferedChannel).kb() + ' instead';
6605
6459
  throw IllegalArgumentException_init_$Create$(toString(message));
6606
6460
  }
6607
6461
  // Inline function 'kotlin.require' call
6608
6462
  if (!(this.d16_1 >= 1)) {
6609
- // Inline function 'kotlinx.coroutines.channels.ConflatedBufferedChannel.<anonymous>' call
6610
6463
  var message_0 = 'Buffered channel capacity must be at least 1, but ' + this.d16_1 + ' was specified';
6611
6464
  throw IllegalArgumentException_init_$Create$(toString(message_0));
6612
6465
  }
@@ -6619,7 +6472,6 @@
6619
6472
  var this_0 = trySendImpl(this, element, true);
6620
6473
  var tmp = _ChannelResult___get_holder__impl__pm9gzw(this_0);
6621
6474
  if (tmp instanceof Closed) {
6622
- // Inline function 'kotlinx.coroutines.channels.ConflatedBufferedChannel.send.<anonymous>' call
6623
6475
  ChannelResult__exceptionOrNull_impl_16ei30(this_0);
6624
6476
  var tmp0_safe_receiver = this.f10_1;
6625
6477
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp0_safe_receiver, element);
@@ -6922,7 +6774,6 @@
6922
6774
  // Inline function 'kotlinx.coroutines.internal.addConditionally' call
6923
6775
  while (true) {
6924
6776
  var cur = tmp0.kotlinx$atomicfu$value;
6925
- // Inline function 'kotlinx.coroutines.internal.Segment.tryIncPointers.<anonymous>' call
6926
6777
  if (!(!(cur === this.vz()) || this.a11())) {
6927
6778
  tmp$ret$1 = false;
6928
6779
  break $l$block_0;
@@ -6950,11 +6801,9 @@
6950
6801
  // Inline function 'kotlinx.coroutines.internal.ConcurrentLinkedListNode.nextOrIfClosed' call
6951
6802
  var this_0 = cur;
6952
6803
  // Inline function 'kotlin.let' call
6953
- // Inline function 'kotlinx.coroutines.internal.ConcurrentLinkedListNode.nextOrIfClosed.<anonymous>' call
6954
6804
  var it = access$_get_nextOrClosed__ywzond(this_0);
6955
6805
  var tmp;
6956
6806
  if (it === access$_get_CLOSED_$tConcurrentLinkedListKt_wmtpdy()) {
6957
- // Inline function 'kotlinx.coroutines.internal.close.<anonymous>' call
6958
6807
  return cur;
6959
6808
  } else {
6960
6809
  tmp = (it == null ? true : it instanceof ConcurrentLinkedListNode) ? it : THROW_CCE();
@@ -7048,11 +6897,9 @@
7048
6897
  protoOf(ConcurrentLinkedListNode).y10 = function () {
7049
6898
  // Inline function 'kotlinx.coroutines.internal.ConcurrentLinkedListNode.nextOrIfClosed' call
7050
6899
  // Inline function 'kotlin.let' call
7051
- // Inline function 'kotlinx.coroutines.internal.ConcurrentLinkedListNode.nextOrIfClosed.<anonymous>' call
7052
6900
  var it = access$_get_nextOrClosed__ywzond(this);
7053
6901
  var tmp;
7054
6902
  if (it === access$_get_CLOSED_$tConcurrentLinkedListKt_wmtpdy()) {
7055
- // Inline function 'kotlinx.coroutines.internal.ConcurrentLinkedListNode.<get-next>.<anonymous>' call
7056
6903
  return null;
7057
6904
  } else {
7058
6905
  tmp = (it == null ? true : it instanceof ConcurrentLinkedListNode) ? it : THROW_CCE();
@@ -7087,7 +6934,6 @@
7087
6934
  // Inline function 'kotlinx.atomicfu.update' call
7088
6935
  while (true) {
7089
6936
  var cur = tmp0.kotlinx$atomicfu$value;
7090
- // Inline function 'kotlinx.coroutines.internal.ConcurrentLinkedListNode.remove.<anonymous>' call
7091
6937
  var upd = cur === null ? null : prev;
7092
6938
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
7093
6939
  break $l$block;
@@ -7110,11 +6956,9 @@
7110
6956
  // Inline function 'kotlinx.coroutines.internal.ConcurrentLinkedListNode.nextOrIfClosed' call
7111
6957
  var this_0 = cur;
7112
6958
  // Inline function 'kotlin.let' call
7113
- // Inline function 'kotlinx.coroutines.internal.ConcurrentLinkedListNode.nextOrIfClosed.<anonymous>' call
7114
6959
  var it = access$_get_nextOrClosed__ywzond(this_0);
7115
6960
  var tmp;
7116
6961
  if (it === access$_get_CLOSED_$tConcurrentLinkedListKt_wmtpdy()) {
7117
- // Inline function 'kotlinx.coroutines.internal.findSegmentInternal.<anonymous>' call
7118
6962
  return _SegmentOrClosed___init__impl__jnexvb(get_CLOSED());
7119
6963
  } else {
7120
6964
  tmp = (it == null ? true : it instanceof ConcurrentLinkedListNode) ? it : THROW_CCE();
@@ -7207,7 +7051,6 @@
7207
7051
  // Inline function 'kotlinx.atomicfu.loop' call
7208
7052
  var this_0 = this.cs_1;
7209
7053
  while (true) {
7210
- // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.awaitReusability.<anonymous>' call
7211
7054
  if (!(this_0.kotlinx$atomicfu$value === get_REUSABLE_CLAIMED()))
7212
7055
  return Unit_instance;
7213
7056
  }
@@ -7225,7 +7068,6 @@
7225
7068
  // Inline function 'kotlinx.atomicfu.loop' call
7226
7069
  var this_0 = this.cs_1;
7227
7070
  while (true) {
7228
- // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.claimReusableCancellableContinuation.<anonymous>' call
7229
7071
  var state = this_0.kotlinx$atomicfu$value;
7230
7072
  if (state === null) {
7231
7073
  this.cs_1.kotlinx$atomicfu$value = get_REUSABLE_CLAIMED();
@@ -7251,7 +7093,6 @@
7251
7093
  // Inline function 'kotlinx.atomicfu.loop' call
7252
7094
  var this_0 = this.cs_1;
7253
7095
  while (true) {
7254
- // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.tryReleaseClaimedContinuation.<anonymous>' call
7255
7096
  var state = this_0.kotlinx$atomicfu$value;
7256
7097
  if (state === get_REUSABLE_CLAIMED()) {
7257
7098
  if (this.cs_1.atomicfu$compareAndSet(get_REUSABLE_CLAIMED(), continuation))
@@ -7261,7 +7102,6 @@
7261
7102
  // Inline function 'kotlin.require' call
7262
7103
  // Inline function 'kotlin.require' call
7263
7104
  if (!this.cs_1.atomicfu$compareAndSet(state, null)) {
7264
- // Inline function 'kotlin.require.<anonymous>' call
7265
7105
  var message = 'Failed requirement.';
7266
7106
  throw IllegalArgumentException_init_$Create$(toString(message));
7267
7107
  }
@@ -7278,7 +7118,6 @@
7278
7118
  // Inline function 'kotlinx.atomicfu.loop' call
7279
7119
  var this_0 = this.cs_1;
7280
7120
  while (true) {
7281
- // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.postponeCancellation.<anonymous>' call
7282
7121
  var state = this_0.kotlinx$atomicfu$value;
7283
7122
  if (equals(state, get_REUSABLE_CLAIMED())) {
7284
7123
  if (this.cs_1.atomicfu$compareAndSet(get_REUSABLE_CLAIMED(), cause))
@@ -7326,11 +7165,9 @@
7326
7165
  // Inline function 'kotlinx.coroutines.runUnconfinedEventLoop' call
7327
7166
  eventLoop.xv(true);
7328
7167
  try {
7329
- // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeWith.<anonymous>' call
7330
7168
  this.m9();
7331
7169
  // Inline function 'kotlinx.coroutines.withCoroutineContext' call
7332
7170
  this.bs_1;
7333
- // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeWith.<anonymous>.<anonymous>' call
7334
7171
  this.zr_1.r9(result);
7335
7172
  $l$loop: while (eventLoop.tv()) {
7336
7173
  }
@@ -7386,6 +7223,7 @@
7386
7223
  _init_properties_DispatchedContinuation_kt__tnmqc0();
7387
7224
  var tmp;
7388
7225
  if (_this__u8e3s4 instanceof DispatchedContinuation) {
7226
+ // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeCancellableWith' call
7389
7227
  var state = toState_0(result);
7390
7228
  if (safeIsDispatchNeeded(_this__u8e3s4.yr_1, _this__u8e3s4.m9())) {
7391
7229
  _this__u8e3s4.as_1 = state;
@@ -7409,8 +7247,7 @@
7409
7247
  // Inline function 'kotlinx.coroutines.runUnconfinedEventLoop' call
7410
7248
  eventLoop.xv(true);
7411
7249
  try {
7412
- // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeCancellableWith.<anonymous>' call
7413
- var tmp$ret$3;
7250
+ var tmp$ret$4;
7414
7251
  $l$block_0: {
7415
7252
  // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeCancelled' call
7416
7253
  var job = _this__u8e3s4.m9().t9(Key_instance_3);
@@ -7419,19 +7256,18 @@
7419
7256
  _this__u8e3s4.at(state, cause);
7420
7257
  // Inline function 'kotlin.coroutines.resumeWithException' call
7421
7258
  // Inline function 'kotlin.Companion.failure' call
7422
- var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(cause));
7423
- _this__u8e3s4.r9(tmp$ret$1);
7424
- tmp$ret$3 = true;
7259
+ var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(cause));
7260
+ _this__u8e3s4.r9(tmp$ret$2);
7261
+ tmp$ret$4 = true;
7425
7262
  break $l$block_0;
7426
7263
  }
7427
- tmp$ret$3 = false;
7264
+ tmp$ret$4 = false;
7428
7265
  }
7429
- if (!tmp$ret$3) {
7266
+ if (!tmp$ret$4) {
7430
7267
  // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeUndispatchedWith' call
7431
7268
  _this__u8e3s4.zr_1;
7432
7269
  // Inline function 'kotlinx.coroutines.withContinuationContext' call
7433
7270
  _this__u8e3s4.bs_1;
7434
- // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeUndispatchedWith.<anonymous>' call
7435
7271
  _this__u8e3s4.zr_1.r9(result);
7436
7272
  }
7437
7273
  $l$loop: while (eventLoop.tv()) {
@@ -7487,7 +7323,6 @@
7487
7323
  var continuation = delegate.zr_1;
7488
7324
  // Inline function 'kotlinx.coroutines.withContinuationContext' call
7489
7325
  delegate.bs_1;
7490
- // Inline function 'kotlinx.coroutines.DispatchedTask.run.<anonymous>' call
7491
7326
  var context = continuation.m9();
7492
7327
  var state = this.zs();
7493
7328
  var exception = this.rt(state);
@@ -7498,20 +7333,20 @@
7498
7333
  // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
7499
7334
  // Inline function 'kotlin.Companion.failure' call
7500
7335
  var exception_0 = recoverStackTrace(cause, continuation);
7501
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception_0));
7502
- continuation.r9(tmp$ret$0);
7336
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception_0));
7337
+ continuation.r9(tmp$ret$1);
7503
7338
  } else {
7504
7339
  if (!(exception == null)) {
7505
7340
  // Inline function 'kotlin.coroutines.resumeWithException' call
7506
7341
  // Inline function 'kotlin.Companion.failure' call
7507
- var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
7508
- continuation.r9(tmp$ret$1);
7342
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception));
7343
+ continuation.r9(tmp$ret$3);
7509
7344
  } else {
7510
7345
  // Inline function 'kotlin.coroutines.resume' call
7511
7346
  // Inline function 'kotlin.Companion.success' call
7512
7347
  var value = this.it(state);
7513
- var tmp$ret$3 = _Result___init__impl__xyqfz8(value);
7514
- continuation.r9(tmp$ret$3);
7348
+ var tmp$ret$5 = _Result___init__impl__xyqfz8(value);
7349
+ continuation.r9(tmp$ret$5);
7515
7350
  }
7516
7351
  }
7517
7352
  } catch ($p) {
@@ -7582,7 +7417,6 @@
7582
7417
  // Inline function 'kotlinx.coroutines.runUnconfinedEventLoop' call
7583
7418
  eventLoop.xv(true);
7584
7419
  try {
7585
- // Inline function 'kotlinx.coroutines.resumeUnconfined.<anonymous>' call
7586
7420
  resume(_this__u8e3s4, _this__u8e3s4.xs(), true);
7587
7421
  $l$loop: while (eventLoop.tv()) {
7588
7422
  }
@@ -7618,7 +7452,6 @@
7618
7452
  this_0.zr_1;
7619
7453
  // Inline function 'kotlinx.coroutines.withContinuationContext' call
7620
7454
  this_0.bs_1;
7621
- // Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeUndispatchedWith.<anonymous>' call
7622
7455
  this_0.zr_1.r9(result);
7623
7456
  } else {
7624
7457
  delegate.r9(result);
@@ -7661,7 +7494,6 @@
7661
7494
  null;
7662
7495
  else {
7663
7496
  // Inline function 'kotlin.let' call
7664
- // Inline function 'kotlinx.coroutines.internal.callUndeliveredElement.<anonymous>' call
7665
7497
  handleCoroutineException(context, tmp0_safe_receiver);
7666
7498
  }
7667
7499
  }
@@ -7735,46 +7567,38 @@
7735
7567
  return parsed;
7736
7568
  }
7737
7569
  function startCoroutineCancellable(_this__u8e3s4, receiver, completion) {
7738
- var tmp;
7570
+ // Inline function 'kotlinx.coroutines.intrinsics.runSafely' call
7739
7571
  try {
7740
- var tmp_0 = intercepted(createCoroutineUnintercepted(_this__u8e3s4, receiver, completion));
7572
+ var tmp = intercepted(createCoroutineUnintercepted(_this__u8e3s4, receiver, completion));
7741
7573
  // Inline function 'kotlin.Companion.success' call
7742
7574
  var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
7743
- resumeCancellableWith(tmp_0, tmp$ret$0);
7744
- tmp = Unit_instance;
7575
+ resumeCancellableWith(tmp, tmp$ret$0);
7745
7576
  } catch ($p) {
7746
- var tmp_1;
7747
7577
  if ($p instanceof Error) {
7748
7578
  var e = $p;
7749
7579
  dispatcherFailure(completion, e);
7750
- tmp_1 = Unit_instance;
7751
7580
  } else {
7752
7581
  throw $p;
7753
7582
  }
7754
- tmp = tmp_1;
7755
7583
  }
7756
- return tmp;
7584
+ return Unit_instance;
7757
7585
  }
7758
7586
  function startCoroutineCancellable_0(_this__u8e3s4, fatalCompletion) {
7759
- var tmp;
7587
+ // Inline function 'kotlinx.coroutines.intrinsics.runSafely' call
7760
7588
  try {
7761
- var tmp_0 = intercepted(_this__u8e3s4);
7589
+ var tmp = intercepted(_this__u8e3s4);
7762
7590
  // Inline function 'kotlin.Companion.success' call
7763
7591
  var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
7764
- resumeCancellableWith(tmp_0, tmp$ret$0);
7765
- tmp = Unit_instance;
7592
+ resumeCancellableWith(tmp, tmp$ret$0);
7766
7593
  } catch ($p) {
7767
- var tmp_1;
7768
7594
  if ($p instanceof Error) {
7769
7595
  var e = $p;
7770
7596
  dispatcherFailure(fatalCompletion, e);
7771
- tmp_1 = Unit_instance;
7772
7597
  } else {
7773
7598
  throw $p;
7774
7599
  }
7775
- tmp = tmp_1;
7776
7600
  }
7777
- return tmp;
7601
+ return Unit_instance;
7778
7602
  }
7779
7603
  function dispatcherFailure(completion, e) {
7780
7604
  var tmp;
@@ -7790,25 +7614,21 @@
7790
7614
  throw reportException;
7791
7615
  }
7792
7616
  function startCoroutineCancellable_1(_this__u8e3s4, completion) {
7793
- var tmp;
7617
+ // Inline function 'kotlinx.coroutines.intrinsics.runSafely' call
7794
7618
  try {
7795
- var tmp_0 = intercepted(createCoroutineUnintercepted_0(_this__u8e3s4, completion));
7619
+ var tmp = intercepted(createCoroutineUnintercepted_0(_this__u8e3s4, completion));
7796
7620
  // Inline function 'kotlin.Companion.success' call
7797
7621
  var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
7798
- resumeCancellableWith(tmp_0, tmp$ret$0);
7799
- tmp = Unit_instance;
7622
+ resumeCancellableWith(tmp, tmp$ret$0);
7800
7623
  } catch ($p) {
7801
- var tmp_1;
7802
7624
  if ($p instanceof Error) {
7803
7625
  var e = $p;
7804
7626
  dispatcherFailure(completion, e);
7805
- tmp_1 = Unit_instance;
7806
7627
  } else {
7807
7628
  throw $p;
7808
7629
  }
7809
- tmp = tmp_1;
7810
7630
  }
7811
- return tmp;
7631
+ return Unit_instance;
7812
7632
  }
7813
7633
  function startCoroutineUndispatched(_this__u8e3s4, receiver, completion) {
7814
7634
  // Inline function 'kotlinx.coroutines.internal.probeCoroutineCreated' call
@@ -7817,7 +7637,6 @@
7817
7637
  try {
7818
7638
  // Inline function 'kotlinx.coroutines.withCoroutineContext' call
7819
7639
  actualCompletion.m9();
7820
- // Inline function 'kotlinx.coroutines.intrinsics.startCoroutineUndispatched.<anonymous>' call
7821
7640
  // Inline function 'kotlinx.coroutines.internal.probeCoroutineResumed' call
7822
7641
  // Inline function 'kotlin.coroutines.intrinsics.startCoroutineUninterceptedOrReturn' call
7823
7642
  tmp = startCoroutineUninterceptedOrReturnNonGeneratorVersion(_this__u8e3s4, receiver, actualCompletion);
@@ -7834,8 +7653,8 @@
7834
7653
  var reportException = tmp_1;
7835
7654
  // Inline function 'kotlin.coroutines.resumeWithException' call
7836
7655
  // Inline function 'kotlin.Companion.failure' call
7837
- var tmp$ret$4 = _Result___init__impl__xyqfz8(createFailure(reportException));
7838
- actualCompletion.r9(tmp$ret$4);
7656
+ var tmp$ret$5 = _Result___init__impl__xyqfz8(createFailure(reportException));
7657
+ actualCompletion.r9(tmp$ret$5);
7839
7658
  return Unit_instance;
7840
7659
  } else {
7841
7660
  throw $p;
@@ -7846,8 +7665,8 @@
7846
7665
  // Inline function 'kotlin.coroutines.resume' call
7847
7666
  // Inline function 'kotlin.Companion.success' call
7848
7667
  var value_0 = (value == null ? true : !(value == null)) ? value : THROW_CCE();
7849
- var tmp$ret$6 = _Result___init__impl__xyqfz8(value_0);
7850
- actualCompletion.r9(tmp$ret$6);
7668
+ var tmp$ret$7 = _Result___init__impl__xyqfz8(value_0);
7669
+ actualCompletion.r9(tmp$ret$7);
7851
7670
  }
7852
7671
  }
7853
7672
  var DUMMY_PROCESS_RESULT_FUNCTION;
@@ -7987,7 +7806,6 @@
7987
7806
  var _iterator__ex2g4s = clauses.p();
7988
7807
  while (_iterator__ex2g4s.q()) {
7989
7808
  var element = _iterator__ex2g4s.r();
7990
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.checkClauseObject.<anonymous>' call
7991
7809
  if (element.i19_1 === clauseObject) {
7992
7810
  tmp$ret$0 = false;
7993
7811
  break $l$block_0;
@@ -7997,21 +7815,17 @@
7997
7815
  }
7998
7816
  // Inline function 'kotlin.check' call
7999
7817
  if (!tmp$ret$0) {
8000
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.checkClauseObject.<anonymous>' call
8001
7818
  var message = 'Cannot use select clauses on the same object: ' + toString(clauseObject);
8002
7819
  throw IllegalStateException_init_$Create$(toString(message));
8003
7820
  }
8004
7821
  }
8005
7822
  function waitUntilSelected($this, $completion) {
8006
- // Inline function 'kotlinx.coroutines.suspendCancellableCoroutine.<anonymous>' call
8007
7823
  var cancellable = new CancellableContinuationImpl(intercepted($completion), 1);
8008
7824
  cancellable.ys();
8009
7825
  $l$block_0: {
8010
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.waitUntilSelected.<anonymous>' call
8011
7826
  // Inline function 'kotlinx.atomicfu.loop' call
8012
7827
  var this_0 = $this.y12_1;
8013
7828
  while (true) {
8014
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.waitUntilSelected.<anonymous>.<anonymous>' call
8015
7829
  var curState = this_0.kotlinx$atomicfu$value;
8016
7830
  if (curState === get_STATE_REG()) {
8017
7831
  if ($this.y12_1.atomicfu$compareAndSet(curState, cancellable)) {
@@ -8027,7 +7841,6 @@
8027
7841
  var _iterator__ex2g4s = curState.p();
8028
7842
  while (_iterator__ex2g4s.q()) {
8029
7843
  var element = _iterator__ex2g4s.r();
8030
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.waitUntilSelected.<anonymous>.<anonymous>.<anonymous>' call
8031
7844
  reregisterClause($this, element);
8032
7845
  }
8033
7846
  }
@@ -8120,7 +7933,6 @@
8120
7933
  var _iterator__ex2g4s = clauses.p();
8121
7934
  while (_iterator__ex2g4s.q()) {
8122
7935
  var element = _iterator__ex2g4s.r();
8123
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.findClause.<anonymous>' call
8124
7936
  if (element.i19_1 === clauseObject) {
8125
7937
  tmp$ret$1 = element;
8126
7938
  break $l$block;
@@ -8164,7 +7976,6 @@
8164
7976
  var _iterator__ex2g4s = clauses.p();
8165
7977
  while (_iterator__ex2g4s.q()) {
8166
7978
  var element = _iterator__ex2g4s.r();
8167
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.cleanup.<anonymous>' call
8168
7979
  if (!(element === selectedClause)) {
8169
7980
  element.wr();
8170
7981
  }
@@ -8201,7 +8012,6 @@
8201
8012
  };
8202
8013
  protoOf(ClauseData).wr = function () {
8203
8014
  // Inline function 'kotlin.with' call
8204
- // Inline function 'kotlinx.coroutines.selects.ClauseData.dispose.<anonymous>' call
8205
8015
  var $this$with = this.o19_1;
8206
8016
  var tmp;
8207
8017
  if ($this$with instanceof Segment) {
@@ -8455,7 +8265,6 @@
8455
8265
  protoOf(SelectImplementation).b1a = function (_this__u8e3s4, reregister) {
8456
8266
  // Inline function 'kotlinx.coroutines.assert' call
8457
8267
  // Inline function 'kotlin.let' call
8458
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.register.<anonymous>' call
8459
8268
  if (this.y12_1.kotlinx$atomicfu$value instanceof ClauseData)
8460
8269
  return Unit_instance;
8461
8270
  if (!reregister) {
@@ -8507,7 +8316,6 @@
8507
8316
  // Inline function 'kotlinx.atomicfu.update' call
8508
8317
  while (true) {
8509
8318
  var cur = tmp0.kotlinx$atomicfu$value;
8510
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.invoke.<anonymous>' call
8511
8319
  if (cur === get_STATE_COMPLETED())
8512
8320
  return Unit_instance;
8513
8321
  var upd = get_STATE_CANCELLED();
@@ -8528,7 +8336,6 @@
8528
8336
  var _iterator__ex2g4s = clauses.p();
8529
8337
  while (_iterator__ex2g4s.q()) {
8530
8338
  var element = _iterator__ex2g4s.r();
8531
- // Inline function 'kotlinx.coroutines.selects.SelectImplementation.invoke.<anonymous>' call
8532
8339
  element.wr();
8533
8340
  }
8534
8341
  this.c13_1 = get_NO_RESULT();
@@ -8752,10 +8559,8 @@
8752
8559
  return window_0.setTimeout(handler, timeout);
8753
8560
  }
8754
8561
  function await_0(_this__u8e3s4, $completion) {
8755
- // Inline function 'kotlinx.coroutines.suspendCancellableCoroutine.<anonymous>' call
8756
8562
  var cancellable = new CancellableContinuationImpl(intercepted($completion), 1);
8757
8563
  cancellable.ys();
8758
- // Inline function 'kotlinx.coroutines.await.<anonymous>' call
8759
8564
  var tmp = await$lambda(cancellable);
8760
8565
  _this__u8e3s4.then(tmp, await$lambda_0(cancellable));
8761
8566
  return cancellable.gt();
@@ -8818,7 +8623,6 @@
8818
8623
  if (tmp0_elvis_lhs == null) {
8819
8624
  // Inline function 'kotlin.also' call
8820
8625
  var this_0 = new WindowDispatcher(_this__u8e3s4);
8821
- // Inline function 'kotlinx.coroutines.asCoroutineDispatcher.<anonymous>' call
8822
8626
  // Inline function 'kotlin.js.asDynamic' call
8823
8627
  _this__u8e3s4.coroutineDispatcher = this_0;
8824
8628
  tmp = this_0;
@@ -8858,7 +8662,6 @@
8858
8662
  function SetTimeoutBasedDispatcher$scheduleResumeAfterDelay$lambda($continuation, this$0) {
8859
8663
  return function () {
8860
8664
  // Inline function 'kotlin.with' call
8861
- // Inline function 'kotlinx.coroutines.SetTimeoutBasedDispatcher.scheduleResumeAfterDelay.<anonymous>.<anonymous>' call
8862
8665
  $continuation.lr(this$0, Unit_instance);
8863
8666
  return Unit_instance;
8864
8667
  };
@@ -8895,7 +8698,6 @@
8895
8698
  do {
8896
8699
  var index = inductionVariable;
8897
8700
  inductionVariable = inductionVariable + 1 | 0;
8898
- // Inline function 'kotlinx.coroutines.MessageQueue.process.<anonymous>' call
8899
8701
  var tmp0_elvis_lhs = removeFirstOrNull(this);
8900
8702
  var tmp;
8901
8703
  if (tmp0_elvis_lhs == null) {
@@ -8997,7 +8799,7 @@
8997
8799
  return this.c1c_1.asJsReadonlyArrayView();
8998
8800
  };
8999
8801
  protoOf(MessageQueue).s = function () {
9000
- return this.c1c_1.lf_1;
8802
+ return this.c1c_1.pf_1;
9001
8803
  };
9002
8804
  function WindowClearTimeout($outer, handle) {
9003
8805
  this.e1d_1 = $outer;
@@ -9009,7 +8811,6 @@
9009
8811
  function WindowDispatcher$scheduleResumeAfterDelay$lambda($continuation, this$0) {
9010
8812
  return function () {
9011
8813
  // Inline function 'kotlin.with' call
9012
- // Inline function 'kotlinx.coroutines.WindowDispatcher.scheduleResumeAfterDelay.<anonymous>.<anonymous>' call
9013
8814
  $continuation.lr(this$0, Unit_instance);
9014
8815
  return Unit_instance;
9015
8816
  };
@@ -9049,8 +8850,8 @@
9049
8850
  return isInterface(tmp, Delay) ? tmp : THROW_CCE();
9050
8851
  }
9051
8852
  function newCoroutineContext(_this__u8e3s4, context) {
9052
- var combined = _this__u8e3s4.ho().gh(context);
9053
- return !(combined === Dispatchers_getInstance().dz_1) && combined.t9(Key_instance) == null ? combined.gh(Dispatchers_getInstance().dz_1) : combined;
8853
+ var combined = _this__u8e3s4.ho().kh(context);
8854
+ return !(combined === Dispatchers_getInstance().dz_1) && combined.t9(Key_instance) == null ? combined.kh(Dispatchers_getInstance().dz_1) : combined;
9054
8855
  }
9055
8856
  function get_coroutineName(_this__u8e3s4) {
9056
8857
  return null;
@@ -9250,12 +9051,12 @@
9250
9051
  //region block: post-declaration
9251
9052
  protoOf(JobSupport).lp = invokeOnCompletion$default;
9252
9053
  protoOf(JobSupport).qp = cancel$default;
9253
- protoOf(JobSupport).gh = plus;
9054
+ protoOf(JobSupport).kh = plus;
9254
9055
  protoOf(JobSupport).t9 = get_0;
9255
- protoOf(JobSupport).fh = fold;
9256
- protoOf(JobSupport).eh = minusKey_0;
9056
+ protoOf(JobSupport).jh = fold;
9057
+ protoOf(JobSupport).ih = minusKey_0;
9257
9058
  protoOf(CoroutineDispatcher).t9 = get;
9258
- protoOf(CoroutineDispatcher).eh = minusKey;
9059
+ protoOf(CoroutineDispatcher).ih = minusKey;
9259
9060
  protoOf(BufferedChannel).c15 = close$default;
9260
9061
  protoOf(BufferedChannel).e15 = cancel$default_0;
9261
9062
  protoOf(ChannelCoroutine).c15 = close$default;