@doordeck/doordeck-headless-sdk 0.44.0 → 0.46.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.
Files changed (69) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1395 -1465
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +19 -21
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -8
  4. package/kotlin/Stately-stately-concurrency.js +6 -8
  5. package/kotlin/Stately-stately-concurrent-collections.js +53 -55
  6. package/kotlin/Stately-stately-strict.js +0 -2
  7. package/kotlin/doordeck-sdk.js +11754 -11221
  8. package/kotlin/kotlin-kotlin-stdlib.js +1938 -1924
  9. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +0 -2
  10. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +0 -2
  11. package/kotlin/kotlinx-atomicfu.js +13 -15
  12. package/kotlin/kotlinx-coroutines-core.js +2055 -2093
  13. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +0 -2
  14. package/kotlin/kotlinx-io-kotlinx-io-core.js +559 -550
  15. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1849 -1872
  16. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js +0 -2
  17. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1523 -1523
  18. package/kotlin/ktor-ktor-client-ktor-client-core.js +2832 -2843
  19. package/kotlin/ktor-ktor-client-ktor-client-js.js +0 -2
  20. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +388 -391
  21. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +198 -199
  22. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js +0 -2
  23. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js +0 -2
  24. package/kotlin/ktor-ktor-http.js +833 -860
  25. package/kotlin/ktor-ktor-io.js +641 -653
  26. package/kotlin/ktor-ktor-shared-ktor-events.js +7 -10
  27. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -9
  28. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +266 -263
  29. package/kotlin/ktor-ktor-shared-ktor-serialization.js +113 -111
  30. package/kotlin/ktor-ktor-shared-ktor-sse.js +0 -2
  31. package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js +0 -2
  32. package/kotlin/ktor-ktor-shared-ktor-websockets.js +46 -46
  33. package/kotlin/ktor-ktor-utils.js +590 -606
  34. package/kotlin/projects-core-koin-core.js +299 -316
  35. package/package.json +4 -3
  36. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +0 -1
  37. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +0 -1
  38. package/kotlin/MultiplatformSettings-multiplatform-settings.js.map +0 -1
  39. package/kotlin/Stately-stately-concurrency.js.map +0 -1
  40. package/kotlin/Stately-stately-concurrent-collections.js.map +0 -1
  41. package/kotlin/Stately-stately-strict.js.map +0 -1
  42. package/kotlin/doordeck-sdk.js.map +0 -1
  43. package/kotlin/kotlin-kotlin-stdlib.js.map +0 -1
  44. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
  45. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +0 -1
  46. package/kotlin/kotlinx-atomicfu.js.map +0 -1
  47. package/kotlin/kotlinx-coroutines-core.js.map +0 -1
  48. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js.map +0 -1
  49. package/kotlin/kotlinx-io-kotlinx-io-core.js.map +0 -1
  50. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +0 -1
  51. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js.map +0 -1
  52. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +0 -1
  53. package/kotlin/ktor-ktor-client-ktor-client-core.js.map +0 -1
  54. package/kotlin/ktor-ktor-client-ktor-client-js.js.map +0 -1
  55. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js.map +0 -1
  56. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js.map +0 -1
  57. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js.map +0 -1
  58. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js.map +0 -1
  59. package/kotlin/ktor-ktor-http.js.map +0 -1
  60. package/kotlin/ktor-ktor-io.js.map +0 -1
  61. package/kotlin/ktor-ktor-shared-ktor-events.js.map +0 -1
  62. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js.map +0 -1
  63. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js.map +0 -1
  64. package/kotlin/ktor-ktor-shared-ktor-serialization.js.map +0 -1
  65. package/kotlin/ktor-ktor-shared-ktor-sse.js.map +0 -1
  66. package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js.map +0 -1
  67. package/kotlin/ktor-ktor-shared-ktor-websockets.js.map +0 -1
  68. package/kotlin/ktor-ktor-utils.js.map +0 -1
  69. package/kotlin/projects-core-koin-core.js.map +0 -1
@@ -42,10 +42,10 @@
42
42
  endIndex = endIndex === VOID ? source.length : endIndex;
43
43
  var tmp;
44
44
  if ($super === VOID) {
45
- this.c1c(source, startIndex, endIndex);
45
+ this.d1d(source, startIndex, endIndex);
46
46
  tmp = Unit_instance;
47
47
  } else {
48
- tmp = $super.c1c.call(this, source, startIndex, endIndex);
48
+ tmp = $super.d1d.call(this, source, startIndex, endIndex);
49
49
  }
50
50
  return tmp;
51
51
  }
@@ -97,22 +97,21 @@
97
97
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + $this.s().toString() + ', required: ' + byteCount.toString() + ')');
98
98
  }
99
99
  function Buffer() {
100
- this.q1a_1 = null;
101
- this.r1a_1 = null;
102
- this.s1a_1 = new Long(0, 0);
100
+ this.r1b_1 = null;
101
+ this.s1b_1 = null;
102
+ this.t1b_1 = new Long(0, 0);
103
103
  }
104
104
  protoOf(Buffer).s = function () {
105
- return this.s1a_1;
105
+ return this.t1b_1;
106
106
  };
107
- protoOf(Buffer).t1a = function () {
107
+ protoOf(Buffer).u1b = function () {
108
108
  return this;
109
109
  };
110
- protoOf(Buffer).u1a = function () {
110
+ protoOf(Buffer).v1b = function () {
111
111
  return this.s().equals(new Long(0, 0));
112
112
  };
113
- protoOf(Buffer).v1a = function (byteCount) {
113
+ protoOf(Buffer).w1b = function (byteCount) {
114
114
  // Inline function 'kotlin.require' call
115
- // Inline function 'kotlin.contracts.contract' call
116
115
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
117
116
  // Inline function 'kotlinx.io.Buffer.require.<anonymous>' call
118
117
  var message = 'byteCount: ' + byteCount.toString();
@@ -122,9 +121,8 @@
122
121
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + this.s().toString() + ', required: ' + byteCount.toString() + ')');
123
122
  }
124
123
  };
125
- protoOf(Buffer).w1a = function (byteCount) {
124
+ protoOf(Buffer).x1b = function (byteCount) {
126
125
  // Inline function 'kotlin.require' call
127
- // Inline function 'kotlin.contracts.contract' call
128
126
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
129
127
  // Inline function 'kotlinx.io.Buffer.request.<anonymous>' call
130
128
  var message = 'byteCount: ' + byteCount.toString() + ' < 0';
@@ -132,8 +130,8 @@
132
130
  }
133
131
  return this.s().e1(byteCount) >= 0;
134
132
  };
135
- protoOf(Buffer).x1a = function () {
136
- var tmp0_elvis_lhs = this.q1a_1;
133
+ protoOf(Buffer).y1b = function () {
134
+ var tmp0_elvis_lhs = this.r1b_1;
137
135
  var tmp;
138
136
  if (tmp0_elvis_lhs == null) {
139
137
  throwEof(this, new Long(1, 0));
@@ -141,20 +139,20 @@
141
139
  tmp = tmp0_elvis_lhs;
142
140
  }
143
141
  var segment = tmp;
144
- var segmentSize = segment.f1b();
142
+ var segmentSize = segment.g1c();
145
143
  if (segmentSize === 0) {
146
- this.g1b();
147
- return this.x1a();
144
+ this.h1c();
145
+ return this.y1b();
148
146
  }
149
- var v = segment.h1b();
150
- this.s1a_1 = this.s1a_1.a3(new Long(1, 0));
147
+ var v = segment.i1c();
148
+ this.t1b_1 = this.t1b_1.a3(new Long(1, 0));
151
149
  if (segmentSize === 1) {
152
- this.g1b();
150
+ this.h1c();
153
151
  }
154
152
  return v;
155
153
  };
156
- protoOf(Buffer).i1b = function () {
157
- var tmp0_elvis_lhs = this.q1a_1;
154
+ protoOf(Buffer).j1c = function () {
155
+ var tmp0_elvis_lhs = this.r1b_1;
158
156
  var tmp;
159
157
  if (tmp0_elvis_lhs == null) {
160
158
  throwEof(this, new Long(2, 0));
@@ -162,83 +160,82 @@
162
160
  tmp = tmp0_elvis_lhs;
163
161
  }
164
162
  var segment = tmp;
165
- var segmentSize = segment.f1b();
163
+ var segmentSize = segment.g1c();
166
164
  if (segmentSize < 2) {
167
- this.v1a(new Long(2, 0));
165
+ this.w1b(new Long(2, 0));
168
166
  if (segmentSize === 0) {
169
- this.g1b();
170
- return this.i1b();
167
+ this.h1c();
168
+ return this.j1c();
171
169
  }
172
170
  // Inline function 'kotlinx.io.and' call
173
- var tmp_0 = (this.x1a() & 255) << 8;
171
+ var tmp_0 = (this.y1b() & 255) << 8;
174
172
  // Inline function 'kotlinx.io.and' call
175
- var tmp$ret$1 = this.x1a() & 255;
173
+ var tmp$ret$1 = this.y1b() & 255;
176
174
  return toShort(tmp_0 | tmp$ret$1);
177
175
  }
178
- var v = segment.j1b();
179
- this.s1a_1 = this.s1a_1.a3(new Long(2, 0));
176
+ var v = segment.k1c();
177
+ this.t1b_1 = this.t1b_1.a3(new Long(2, 0));
180
178
  if (segmentSize === 2) {
181
- this.g1b();
179
+ this.h1c();
182
180
  }
183
181
  return v;
184
182
  };
185
- protoOf(Buffer).k1b = function () {
183
+ protoOf(Buffer).l1c = function () {
186
184
  return Unit_instance;
187
185
  };
188
- protoOf(Buffer).l1b = function (out, startIndex, endIndex) {
186
+ protoOf(Buffer).m1c = function (out, startIndex, endIndex) {
189
187
  checkBounds(this.s(), startIndex, endIndex);
190
188
  if (startIndex.equals(endIndex))
191
189
  return Unit_instance;
192
190
  var currentOffset = startIndex;
193
191
  var remainingByteCount = endIndex.a3(startIndex);
194
- out.s1a_1 = out.s1a_1.z2(remainingByteCount);
195
- var s = this.q1a_1;
196
- while (currentOffset.e1(toLong(ensureNotNull(s).a1b_1 - s.z1a_1 | 0)) >= 0) {
197
- currentOffset = currentOffset.a3(toLong(s.a1b_1 - s.z1a_1 | 0));
198
- s = s.d1b_1;
192
+ out.t1b_1 = out.t1b_1.z2(remainingByteCount);
193
+ var s = this.r1b_1;
194
+ while (currentOffset.e1(toLong(ensureNotNull(s).b1c_1 - s.a1c_1 | 0)) >= 0) {
195
+ currentOffset = currentOffset.a3(toLong(s.b1c_1 - s.a1c_1 | 0));
196
+ s = s.e1c_1;
199
197
  }
200
198
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
201
- var copy = ensureNotNull(s).m1b();
202
- copy.z1a_1 = copy.z1a_1 + currentOffset.j1() | 0;
199
+ var copy = ensureNotNull(s).n1c();
200
+ copy.a1c_1 = copy.a1c_1 + currentOffset.j1() | 0;
203
201
  var tmp = copy;
202
+ var tmp0 = copy.a1c_1 + remainingByteCount.j1() | 0;
204
203
  // Inline function 'kotlin.comparisons.minOf' call
205
- var a = copy.z1a_1 + remainingByteCount.j1() | 0;
206
- var b = copy.a1b_1;
207
- tmp.a1b_1 = Math.min(a, b);
204
+ var b = copy.b1c_1;
205
+ tmp.b1c_1 = Math.min(tmp0, b);
208
206
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
209
- if (out.q1a_1 == null) {
210
- out.q1a_1 = copy;
211
- out.r1a_1 = copy;
207
+ if (out.r1b_1 == null) {
208
+ out.r1b_1 = copy;
209
+ out.s1b_1 = copy;
212
210
  } else if (false) {
213
- out.r1a_1 = ensureNotNull(out.r1a_1).n1b(copy).o1b();
214
- if (ensureNotNull(out.r1a_1).e1b_1 == null) {
215
- out.q1a_1 = out.r1a_1;
211
+ out.s1b_1 = ensureNotNull(out.s1b_1).o1c(copy).p1c();
212
+ if (ensureNotNull(out.s1b_1).f1c_1 == null) {
213
+ out.r1b_1 = out.s1b_1;
216
214
  }
217
215
  } else {
218
- out.r1a_1 = ensureNotNull(out.r1a_1).n1b(copy);
216
+ out.s1b_1 = ensureNotNull(out.s1b_1).o1c(copy);
219
217
  }
220
- remainingByteCount = remainingByteCount.a3(toLong(copy.a1b_1 - copy.z1a_1 | 0));
218
+ remainingByteCount = remainingByteCount.a3(toLong(copy.b1c_1 - copy.a1c_1 | 0));
221
219
  currentOffset = new Long(0, 0);
222
- s = s.d1b_1;
220
+ s = s.e1c_1;
223
221
  }
224
222
  };
225
- protoOf(Buffer).p1b = function () {
223
+ protoOf(Buffer).q1c = function () {
226
224
  var result = this.s();
227
225
  if (result.equals(new Long(0, 0)))
228
226
  return new Long(0, 0);
229
- var tail = ensureNotNull(this.r1a_1);
230
- if (tail.a1b_1 < 8192 && tail.c1b_1) {
231
- result = result.a3(toLong(tail.a1b_1 - tail.z1a_1 | 0));
227
+ var tail = ensureNotNull(this.s1b_1);
228
+ if (tail.b1c_1 < 8192 && tail.d1c_1) {
229
+ result = result.a3(toLong(tail.b1c_1 - tail.a1c_1 | 0));
232
230
  }
233
231
  return result;
234
232
  };
235
233
  protoOf(Buffer).e2 = function () {
236
- return this.q1b(this.s());
234
+ return this.r1c(this.s());
237
235
  };
238
- protoOf(Buffer).q1b = function (byteCount) {
236
+ protoOf(Buffer).r1c = function (byteCount) {
239
237
  // Inline function 'kotlinx.io.checkByteCount' call
240
238
  // Inline function 'kotlin.require' call
241
- // Inline function 'kotlin.contracts.contract' call
242
239
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
243
240
  // Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
244
241
  var message = 'byteCount (' + byteCount.toString() + ') < 0';
@@ -246,7 +243,7 @@
246
243
  }
247
244
  var remainingByteCount = byteCount;
248
245
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
249
- var tmp0_elvis_lhs = this.q1a_1;
246
+ var tmp0_elvis_lhs = this.r1b_1;
250
247
  var tmp;
251
248
  if (tmp0_elvis_lhs == null) {
252
249
  throw EOFException_init_$Create$_0('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
@@ -254,25 +251,25 @@
254
251
  tmp = tmp0_elvis_lhs;
255
252
  }
256
253
  var head = tmp;
254
+ var tmp1 = remainingByteCount;
257
255
  // Inline function 'kotlinx.io.minOf' call
258
- var a = remainingByteCount;
259
- var b = head.a1b_1 - head.z1a_1 | 0;
256
+ var b = head.b1c_1 - head.a1c_1 | 0;
260
257
  // Inline function 'kotlin.comparisons.minOf' call
261
258
  var b_0 = toLong(b);
262
- var toSkip = (a.e1(b_0) <= 0 ? a : b_0).j1();
263
- this.s1a_1 = this.s1a_1.a3(toLong(toSkip));
259
+ var toSkip = (tmp1.e1(b_0) <= 0 ? tmp1 : b_0).j1();
260
+ this.t1b_1 = this.t1b_1.a3(toLong(toSkip));
264
261
  remainingByteCount = remainingByteCount.a3(toLong(toSkip));
265
- head.z1a_1 = head.z1a_1 + toSkip | 0;
266
- if (head.z1a_1 === head.a1b_1) {
267
- this.g1b();
262
+ head.a1c_1 = head.a1c_1 + toSkip | 0;
263
+ if (head.a1c_1 === head.b1c_1) {
264
+ this.h1c();
268
265
  }
269
266
  }
270
267
  };
271
- protoOf(Buffer).r1b = function (sink, startIndex, endIndex) {
268
+ protoOf(Buffer).s1c = function (sink, startIndex, endIndex) {
272
269
  // Inline function 'kotlinx.io.checkBounds' call
273
270
  var size = sink.length;
274
271
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
275
- var tmp0_elvis_lhs = this.q1a_1;
272
+ var tmp0_elvis_lhs = this.r1b_1;
276
273
  var tmp;
277
274
  if (tmp0_elvis_lhs == null) {
278
275
  return -1;
@@ -280,21 +277,20 @@
280
277
  tmp = tmp0_elvis_lhs;
281
278
  }
282
279
  var s = tmp;
280
+ var tmp3 = endIndex - startIndex | 0;
283
281
  // Inline function 'kotlin.comparisons.minOf' call
284
- var a = endIndex - startIndex | 0;
285
- var b = s.f1b();
286
- var toCopy = Math.min(a, b);
287
- s.s1b(sink, startIndex, startIndex + toCopy | 0);
288
- this.s1a_1 = this.s1a_1.a3(toLong(toCopy));
282
+ var b = s.g1c();
283
+ var toCopy = Math.min(tmp3, b);
284
+ s.t1c(sink, startIndex, startIndex + toCopy | 0);
285
+ this.t1b_1 = this.t1b_1.a3(toLong(toCopy));
289
286
  if (isEmpty(s)) {
290
- this.g1b();
287
+ this.h1c();
291
288
  }
292
289
  return toCopy;
293
290
  };
294
- protoOf(Buffer).t1b = function (sink, byteCount) {
291
+ protoOf(Buffer).u1c = function (sink, byteCount) {
295
292
  // Inline function 'kotlinx.io.checkByteCount' call
296
293
  // Inline function 'kotlin.require' call
297
- // Inline function 'kotlin.contracts.contract' call
298
294
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
299
295
  // Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
300
296
  var message = 'byteCount (' + byteCount.toString() + ') < 0';
@@ -303,152 +299,149 @@
303
299
  if (this.s().equals(new Long(0, 0)))
304
300
  return new Long(-1, -1);
305
301
  var bytesWritten = byteCount.e1(this.s()) > 0 ? this.s() : byteCount;
306
- sink.u1b(this, bytesWritten);
302
+ sink.v1c(this, bytesWritten);
307
303
  return bytesWritten;
308
304
  };
309
- protoOf(Buffer).v1b = function (sink, byteCount) {
305
+ protoOf(Buffer).w1c = function (sink, byteCount) {
310
306
  // Inline function 'kotlinx.io.checkByteCount' call
311
307
  // Inline function 'kotlin.require' call
312
- // Inline function 'kotlin.contracts.contract' call
313
308
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
314
309
  // Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
315
310
  var message = 'byteCount (' + byteCount.toString() + ') < 0';
316
311
  throw IllegalArgumentException_init_$Create$(toString(message));
317
312
  }
318
313
  if (this.s().e1(byteCount) < 0) {
319
- sink.u1b(this, this.s());
314
+ sink.v1c(this, this.s());
320
315
  throw EOFException_init_$Create$_0('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.s().toString() + ' bytes were written.');
321
316
  }
322
- sink.u1b(this, byteCount);
317
+ sink.v1c(this, byteCount);
323
318
  };
324
- protoOf(Buffer).w1b = function (sink) {
319
+ protoOf(Buffer).x1c = function (sink) {
325
320
  var byteCount = this.s();
326
321
  if (byteCount.e1(new Long(0, 0)) > 0) {
327
- sink.u1b(this, byteCount);
322
+ sink.v1c(this, byteCount);
328
323
  }
329
324
  return byteCount;
330
325
  };
331
- protoOf(Buffer).x1b = function () {
326
+ protoOf(Buffer).y1c = function () {
332
327
  return buffered(new PeekSource(this));
333
328
  };
334
- protoOf(Buffer).y1b = function (minimumCapacity) {
329
+ protoOf(Buffer).z1c = function (minimumCapacity) {
335
330
  // Inline function 'kotlin.require' call
336
- // Inline function 'kotlin.contracts.contract' call
337
331
  if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
338
332
  // Inline function 'kotlinx.io.Buffer.writableSegment.<anonymous>' call
339
333
  var message = 'unexpected capacity';
340
334
  throw IllegalArgumentException_init_$Create$(toString(message));
341
335
  }
342
- if (this.r1a_1 == null) {
343
- var result = SegmentPool_instance.b1c();
344
- this.q1a_1 = result;
345
- this.r1a_1 = result;
336
+ if (this.s1b_1 == null) {
337
+ var result = SegmentPool_instance.c1d();
338
+ this.r1b_1 = result;
339
+ this.s1b_1 = result;
346
340
  return result;
347
341
  }
348
- var t = ensureNotNull(this.r1a_1);
349
- if ((t.a1b_1 + minimumCapacity | 0) > 8192 || !t.c1b_1) {
350
- var newTail = t.n1b(SegmentPool_instance.b1c());
351
- this.r1a_1 = newTail;
342
+ var t = ensureNotNull(this.s1b_1);
343
+ if ((t.b1c_1 + minimumCapacity | 0) > 8192 || !t.d1c_1) {
344
+ var newTail = t.o1c(SegmentPool_instance.c1d());
345
+ this.s1b_1 = newTail;
352
346
  return newTail;
353
347
  }
354
348
  return t;
355
349
  };
356
- protoOf(Buffer).c1c = function (source, startIndex, endIndex) {
350
+ protoOf(Buffer).d1d = function (source, startIndex, endIndex) {
357
351
  // Inline function 'kotlinx.io.checkBounds' call
358
352
  var size = source.length;
359
353
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
360
354
  var currentOffset = startIndex;
361
355
  while (currentOffset < endIndex) {
362
- var tail = this.y1b(1);
356
+ var tail = this.z1c(1);
357
+ var tmp3 = endIndex - currentOffset | 0;
363
358
  // Inline function 'kotlin.comparisons.minOf' call
364
- var a = endIndex - currentOffset | 0;
365
- var b = tail.d1c();
366
- var toCopy = Math.min(a, b);
367
- tail.e1c(source, currentOffset, currentOffset + toCopy | 0);
359
+ var b = tail.e1d();
360
+ var toCopy = Math.min(tmp3, b);
361
+ tail.f1d(source, currentOffset, currentOffset + toCopy | 0);
368
362
  currentOffset = currentOffset + toCopy | 0;
369
363
  }
370
364
  var tmp = this;
365
+ var tmp5 = this.t1b_1;
371
366
  // Inline function 'kotlin.Long.plus' call
372
- var this_0 = this.s1a_1;
373
367
  var other = endIndex - startIndex | 0;
374
- tmp.s1a_1 = this_0.z2(toLong(other));
368
+ tmp.t1b_1 = tmp5.z2(toLong(other));
375
369
  };
376
- protoOf(Buffer).u1b = function (source, byteCount) {
370
+ protoOf(Buffer).v1c = function (source, byteCount) {
377
371
  // Inline function 'kotlin.require' call
378
- // Inline function 'kotlin.contracts.contract' call
379
372
  if (!!(source === this)) {
380
373
  // Inline function 'kotlinx.io.Buffer.write.<anonymous>' call
381
374
  var message = 'source == this';
382
375
  throw IllegalArgumentException_init_$Create$(toString(message));
383
376
  }
384
- checkOffsetAndCount(source.s1a_1, new Long(0, 0), byteCount);
377
+ checkOffsetAndCount(source.t1b_1, new Long(0, 0), byteCount);
385
378
  var remainingByteCount = byteCount;
386
379
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
387
- if (remainingByteCount.e1(toLong(ensureNotNull(source.q1a_1).f1b())) < 0) {
388
- var tail = this.r1a_1;
380
+ if (remainingByteCount.e1(toLong(ensureNotNull(source.r1b_1).g1c())) < 0) {
381
+ var tail = this.s1b_1;
389
382
  var tmp;
390
- if (!(tail == null) && tail.c1b_1) {
391
- // Inline function 'kotlin.Long.minus' call
383
+ if (!(tail == null) && tail.d1c_1) {
384
+ var tmp1 = remainingByteCount;
392
385
  // Inline function 'kotlin.Long.plus' call
393
- var this_0 = remainingByteCount;
394
- var other = tail.a1b_1;
395
- var this_1 = this_0.z2(toLong(other));
396
- var other_0 = tail.g1c() ? 0 : tail.z1a_1;
397
- tmp = this_1.a3(toLong(other_0)).e1(new Long(8192, 0)) <= 0;
386
+ var other = tail.b1c_1;
387
+ var tmp3 = tmp1.z2(toLong(other));
388
+ // Inline function 'kotlin.Long.minus' call
389
+ var other_0 = tail.h1d() ? 0 : tail.a1c_1;
390
+ tmp = tmp3.a3(toLong(other_0)).e1(new Long(8192, 0)) <= 0;
398
391
  } else {
399
392
  tmp = false;
400
393
  }
401
394
  if (tmp) {
402
- ensureNotNull(source.q1a_1).i1c(tail, remainingByteCount.j1());
403
- source.s1a_1 = source.s1a_1.a3(remainingByteCount);
404
- this.s1a_1 = this.s1a_1.z2(remainingByteCount);
395
+ ensureNotNull(source.r1b_1).j1d(tail, remainingByteCount.j1());
396
+ source.t1b_1 = source.t1b_1.a3(remainingByteCount);
397
+ this.t1b_1 = this.t1b_1.z2(remainingByteCount);
405
398
  return Unit_instance;
406
399
  } else {
407
- source.q1a_1 = ensureNotNull(source.q1a_1).h1c(remainingByteCount.j1());
400
+ source.r1b_1 = ensureNotNull(source.r1b_1).i1d(remainingByteCount.j1());
408
401
  }
409
402
  }
410
- var segmentToMove = ensureNotNull(source.q1a_1);
411
- var movedByteCount = toLong(segmentToMove.f1b());
412
- source.q1a_1 = segmentToMove.j1c();
413
- if (source.q1a_1 == null) {
414
- source.r1a_1 = null;
403
+ var segmentToMove = ensureNotNull(source.r1b_1);
404
+ var movedByteCount = toLong(segmentToMove.g1c());
405
+ source.r1b_1 = segmentToMove.k1d();
406
+ if (source.r1b_1 == null) {
407
+ source.s1b_1 = null;
415
408
  }
416
409
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
417
- if (this.q1a_1 == null) {
418
- this.q1a_1 = segmentToMove;
419
- this.r1a_1 = segmentToMove;
410
+ if (this.r1b_1 == null) {
411
+ this.r1b_1 = segmentToMove;
412
+ this.s1b_1 = segmentToMove;
420
413
  } else if (true) {
421
- this.r1a_1 = ensureNotNull(this.r1a_1).n1b(segmentToMove).o1b();
422
- if (ensureNotNull(this.r1a_1).e1b_1 == null) {
423
- this.q1a_1 = this.r1a_1;
414
+ this.s1b_1 = ensureNotNull(this.s1b_1).o1c(segmentToMove).p1c();
415
+ if (ensureNotNull(this.s1b_1).f1c_1 == null) {
416
+ this.r1b_1 = this.s1b_1;
424
417
  }
425
418
  } else {
426
- this.r1a_1 = ensureNotNull(this.r1a_1).n1b(segmentToMove);
419
+ this.s1b_1 = ensureNotNull(this.s1b_1).o1c(segmentToMove);
427
420
  }
428
- source.s1a_1 = source.s1a_1.a3(movedByteCount);
429
- this.s1a_1 = this.s1a_1.z2(movedByteCount);
421
+ source.t1b_1 = source.t1b_1.a3(movedByteCount);
422
+ this.t1b_1 = this.t1b_1.z2(movedByteCount);
430
423
  remainingByteCount = remainingByteCount.a3(movedByteCount);
431
424
  }
432
425
  };
433
- protoOf(Buffer).k1c = function (source) {
426
+ protoOf(Buffer).l1d = function (source) {
434
427
  var totalBytesRead = new Long(0, 0);
435
428
  $l$loop: while (true) {
436
- var readCount = source.t1b(this, new Long(8192, 0));
429
+ var readCount = source.u1c(this, new Long(8192, 0));
437
430
  if (readCount.equals(new Long(-1, -1)))
438
431
  break $l$loop;
439
432
  totalBytesRead = totalBytesRead.z2(readCount);
440
433
  }
441
434
  return totalBytesRead;
442
435
  };
443
- protoOf(Buffer).l1c = function (byte) {
444
- this.y1b(1).m1c(byte);
445
- this.s1a_1 = this.s1a_1.z2(new Long(1, 0));
436
+ protoOf(Buffer).m1d = function (byte) {
437
+ this.z1c(1).n1d(byte);
438
+ this.t1b_1 = this.t1b_1.z2(new Long(1, 0));
446
439
  };
447
- protoOf(Buffer).n1c = function (short) {
448
- this.y1b(2).o1c(short);
449
- this.s1a_1 = this.s1a_1.z2(new Long(2, 0));
440
+ protoOf(Buffer).o1d = function (short) {
441
+ this.z1c(2).p1d(short);
442
+ this.t1b_1 = this.t1b_1.z2(new Long(2, 0));
450
443
  };
451
- protoOf(Buffer).p1c = function () {
444
+ protoOf(Buffer).q1d = function () {
452
445
  return Unit_instance;
453
446
  };
454
447
  protoOf(Buffer).toString = function () {
@@ -463,90 +456,87 @@
463
456
  var builder = StringBuilder_init_$Create$(imul(len, 2) + (this.s().e1(toLong(maxPrintableBytes)) > 0 ? 1 : 0) | 0);
464
457
  var bytesWritten = 0;
465
458
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
466
- var curr = this.q1a_1;
459
+ var curr = this.r1b_1;
467
460
  while (!(curr == null)) {
461
+ var tmp4 = get_SegmentReadContextImpl();
468
462
  // Inline function 'kotlinx.io.Buffer.toString.<anonymous>' call
469
- var ctx = get_SegmentReadContextImpl();
470
463
  var segment = curr;
471
464
  var idx = 0;
472
- while (bytesWritten < len && idx < segment.f1b()) {
465
+ while (bytesWritten < len && idx < segment.g1c()) {
473
466
  var _unary__edvuaz = idx;
474
467
  idx = _unary__edvuaz + 1 | 0;
475
- var b_0 = ctx.q1c(segment, _unary__edvuaz);
468
+ var b_0 = tmp4.r1d(segment, _unary__edvuaz);
476
469
  bytesWritten = bytesWritten + 1 | 0;
477
470
  var tmp = get_HEX_DIGIT_CHARS();
478
471
  // Inline function 'kotlinx.io.shr' call
479
472
  var tmp$ret$2 = b_0 >> 4;
480
- var tmp_0 = builder.n8(tmp[tmp$ret$2 & 15]);
473
+ var tmp_0 = builder.q8(tmp[tmp$ret$2 & 15]);
481
474
  var tmp_1 = get_HEX_DIGIT_CHARS();
482
475
  // Inline function 'kotlinx.io.and' call
483
476
  var tmp$ret$3 = b_0 & 15;
484
- tmp_0.n8(tmp_1[tmp$ret$3]);
477
+ tmp_0.q8(tmp_1[tmp$ret$3]);
485
478
  }
486
- curr = curr.d1b_1;
479
+ curr = curr.e1c_1;
487
480
  }
488
481
  if (this.s().e1(toLong(maxPrintableBytes)) > 0) {
489
- builder.n8(_Char___init__impl__6a9atx(8230));
482
+ builder.q8(_Char___init__impl__6a9atx(8230));
490
483
  }
491
484
  return 'Buffer(size=' + this.s().toString() + ' hex=' + builder.toString() + ')';
492
485
  };
493
- protoOf(Buffer).g1b = function () {
494
- var oldHead = ensureNotNull(this.q1a_1);
495
- var nextHead = oldHead.d1b_1;
496
- this.q1a_1 = nextHead;
486
+ protoOf(Buffer).h1c = function () {
487
+ var oldHead = ensureNotNull(this.r1b_1);
488
+ var nextHead = oldHead.e1c_1;
489
+ this.r1b_1 = nextHead;
497
490
  if (nextHead == null) {
498
- this.r1a_1 = null;
491
+ this.s1b_1 = null;
499
492
  } else {
500
- nextHead.e1b_1 = null;
493
+ nextHead.f1c_1 = null;
501
494
  }
502
- oldHead.d1b_1 = null;
503
- SegmentPool_instance.r1c(oldHead);
495
+ oldHead.e1c_1 = null;
496
+ SegmentPool_instance.s1d(oldHead);
504
497
  };
505
- protoOf(Buffer).s1c = function () {
506
- var oldTail = ensureNotNull(this.r1a_1);
507
- var newTail = oldTail.e1b_1;
508
- this.r1a_1 = newTail;
498
+ protoOf(Buffer).t1d = function () {
499
+ var oldTail = ensureNotNull(this.s1b_1);
500
+ var newTail = oldTail.f1c_1;
501
+ this.s1b_1 = newTail;
509
502
  if (newTail == null) {
510
- this.q1a_1 = null;
503
+ this.r1b_1 = null;
511
504
  } else {
512
- newTail.d1b_1 = null;
505
+ newTail.e1c_1 = null;
513
506
  }
514
- oldTail.e1b_1 = null;
515
- SegmentPool_instance.r1c(oldTail);
507
+ oldTail.f1c_1 = null;
508
+ SegmentPool_instance.s1d(oldTail);
516
509
  };
517
510
  function buffered(_this__u8e3s4) {
518
511
  return new RealSource(_this__u8e3s4);
519
512
  }
520
513
  function PeekSource(upstream) {
521
- this.t1c_1 = upstream;
522
- this.u1c_1 = this.t1c_1.t1a();
523
- this.v1c_1 = this.u1c_1.q1a_1;
514
+ this.u1d_1 = upstream;
515
+ this.v1d_1 = this.u1d_1.u1b();
516
+ this.w1d_1 = this.v1d_1.r1b_1;
524
517
  var tmp = this;
525
- var tmp0_safe_receiver = this.u1c_1.q1a_1;
526
- var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z1a_1;
527
- tmp.w1c_1 = tmp0_elvis_lhs == null ? -1 : tmp0_elvis_lhs;
528
- this.x1c_1 = false;
529
- this.y1c_1 = new Long(0, 0);
518
+ var tmp0_safe_receiver = this.v1d_1.r1b_1;
519
+ var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a1c_1;
520
+ tmp.x1d_1 = tmp0_elvis_lhs == null ? -1 : tmp0_elvis_lhs;
521
+ this.y1d_1 = false;
522
+ this.z1d_1 = new Long(0, 0);
530
523
  }
531
- protoOf(PeekSource).t1b = function (sink, byteCount) {
524
+ protoOf(PeekSource).u1c = function (sink, byteCount) {
532
525
  // Inline function 'kotlin.check' call
533
- // Inline function 'kotlin.contracts.contract' call
534
- if (!!this.x1c_1) {
526
+ if (!!this.y1d_1) {
535
527
  // Inline function 'kotlinx.io.PeekSource.readAtMostTo.<anonymous>' call
536
528
  var message = 'Source is closed.';
537
529
  throw IllegalStateException_init_$Create$(toString(message));
538
530
  }
539
531
  // Inline function 'kotlinx.io.checkByteCount' call
540
532
  // Inline function 'kotlin.require' call
541
- // Inline function 'kotlin.contracts.contract' call
542
533
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
543
534
  // Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
544
535
  var message_0 = 'byteCount (' + byteCount.toString() + ') < 0';
545
536
  throw IllegalArgumentException_init_$Create$(toString(message_0));
546
537
  }
547
538
  // Inline function 'kotlin.check' call
548
- // Inline function 'kotlin.contracts.contract' call
549
- if (!(this.v1c_1 == null || (this.v1c_1 === this.u1c_1.q1a_1 && this.w1c_1 === ensureNotNull(this.u1c_1.q1a_1).z1a_1))) {
539
+ if (!(this.w1d_1 == null || (this.w1d_1 === this.v1d_1.r1b_1 && this.x1d_1 === ensureNotNull(this.v1d_1.r1b_1).a1c_1))) {
550
540
  // Inline function 'kotlinx.io.PeekSource.readAtMostTo.<anonymous>' call
551
541
  var message_1 = 'Peek source is invalid because upstream source was used';
552
542
  throw IllegalStateException_init_$Create$(toString(message_1));
@@ -554,170 +544,164 @@
554
544
  if (byteCount.equals(new Long(0, 0)))
555
545
  return new Long(0, 0);
556
546
  // Inline function 'kotlin.Long.plus' call
557
- var tmp$ret$3 = this.y1c_1.z2(toLong(1));
558
- if (!this.t1c_1.w1a(tmp$ret$3))
547
+ var tmp$ret$3 = this.z1d_1.z2(toLong(1));
548
+ if (!this.u1d_1.x1b(tmp$ret$3))
559
549
  return new Long(-1, -1);
560
- if (this.v1c_1 == null && !(this.u1c_1.q1a_1 == null)) {
561
- this.v1c_1 = this.u1c_1.q1a_1;
562
- this.w1c_1 = ensureNotNull(this.u1c_1.q1a_1).z1a_1;
550
+ if (this.w1d_1 == null && !(this.v1d_1.r1b_1 == null)) {
551
+ this.w1d_1 = this.v1d_1.r1b_1;
552
+ this.x1d_1 = ensureNotNull(this.v1d_1.r1b_1).a1c_1;
563
553
  }
564
554
  // Inline function 'kotlin.comparisons.minOf' call
565
- var b = this.u1c_1.s().a3(this.y1c_1);
555
+ var b = this.v1d_1.s().a3(this.z1d_1);
566
556
  var toCopy = byteCount.e1(b) <= 0 ? byteCount : b;
567
- this.u1c_1.l1b(sink, this.y1c_1, this.y1c_1.z2(toCopy));
568
- this.y1c_1 = this.y1c_1.z2(toCopy);
557
+ this.v1d_1.m1c(sink, this.z1d_1, this.z1d_1.z2(toCopy));
558
+ this.z1d_1 = this.z1d_1.z2(toCopy);
569
559
  return toCopy;
570
560
  };
571
- protoOf(PeekSource).p1c = function () {
572
- this.x1c_1 = true;
561
+ protoOf(PeekSource).q1d = function () {
562
+ this.y1d_1 = true;
573
563
  };
574
564
  function RealSource(source) {
575
- this.z1c_1 = source;
576
- this.a1d_1 = false;
577
- this.b1d_1 = new Buffer();
565
+ this.a1e_1 = source;
566
+ this.b1e_1 = false;
567
+ this.c1e_1 = new Buffer();
578
568
  }
579
- protoOf(RealSource).t1a = function () {
580
- return this.b1d_1;
569
+ protoOf(RealSource).u1b = function () {
570
+ return this.c1e_1;
581
571
  };
582
- protoOf(RealSource).t1b = function (sink, byteCount) {
572
+ protoOf(RealSource).u1c = function (sink, byteCount) {
583
573
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
584
574
  // Inline function 'kotlin.check' call
585
- // Inline function 'kotlin.contracts.contract' call
586
- if (!!this.a1d_1) {
575
+ if (!!this.b1e_1) {
587
576
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
588
577
  var message = 'Source is closed.';
589
578
  throw IllegalStateException_init_$Create$(toString(message));
590
579
  }
591
580
  // Inline function 'kotlin.require' call
592
- // Inline function 'kotlin.contracts.contract' call
593
581
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
594
582
  // Inline function 'kotlinx.io.RealSource.readAtMostTo.<anonymous>' call
595
583
  var message_0 = 'byteCount: ' + byteCount.toString();
596
584
  throw IllegalArgumentException_init_$Create$(toString(message_0));
597
585
  }
598
- if (this.b1d_1.s().equals(new Long(0, 0))) {
599
- var read = this.z1c_1.t1b(this.b1d_1, new Long(8192, 0));
586
+ if (this.c1e_1.s().equals(new Long(0, 0))) {
587
+ var read = this.a1e_1.u1c(this.c1e_1, new Long(8192, 0));
600
588
  if (read.equals(new Long(-1, -1)))
601
589
  return new Long(-1, -1);
602
590
  }
603
591
  // Inline function 'kotlin.comparisons.minOf' call
604
- var b = this.b1d_1.s();
592
+ var b = this.c1e_1.s();
605
593
  var toRead = byteCount.e1(b) <= 0 ? byteCount : b;
606
- return this.b1d_1.t1b(sink, toRead);
594
+ return this.c1e_1.u1c(sink, toRead);
607
595
  };
608
- protoOf(RealSource).u1a = function () {
596
+ protoOf(RealSource).v1b = function () {
609
597
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
610
598
  // Inline function 'kotlin.check' call
611
- // Inline function 'kotlin.contracts.contract' call
612
- if (!!this.a1d_1) {
599
+ if (!!this.b1e_1) {
613
600
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
614
601
  var message = 'Source is closed.';
615
602
  throw IllegalStateException_init_$Create$(toString(message));
616
603
  }
617
- return this.b1d_1.u1a() && this.z1c_1.t1b(this.b1d_1, new Long(8192, 0)).equals(new Long(-1, -1));
604
+ return this.c1e_1.v1b() && this.a1e_1.u1c(this.c1e_1, new Long(8192, 0)).equals(new Long(-1, -1));
618
605
  };
619
- protoOf(RealSource).v1a = function (byteCount) {
620
- if (!this.w1a(byteCount))
606
+ protoOf(RealSource).w1b = function (byteCount) {
607
+ if (!this.x1b(byteCount))
621
608
  throw EOFException_init_$Create$_0("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
622
609
  };
623
- protoOf(RealSource).w1a = function (byteCount) {
610
+ protoOf(RealSource).x1b = function (byteCount) {
624
611
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
625
612
  // Inline function 'kotlin.check' call
626
- // Inline function 'kotlin.contracts.contract' call
627
- if (!!this.a1d_1) {
613
+ if (!!this.b1e_1) {
628
614
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
629
615
  var message = 'Source is closed.';
630
616
  throw IllegalStateException_init_$Create$(toString(message));
631
617
  }
632
618
  // Inline function 'kotlin.require' call
633
- // Inline function 'kotlin.contracts.contract' call
634
619
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
635
620
  // Inline function 'kotlinx.io.RealSource.request.<anonymous>' call
636
621
  var message_0 = 'byteCount: ' + byteCount.toString();
637
622
  throw IllegalArgumentException_init_$Create$(toString(message_0));
638
623
  }
639
- while (this.b1d_1.s().e1(byteCount) < 0) {
640
- if (this.z1c_1.t1b(this.b1d_1, new Long(8192, 0)).equals(new Long(-1, -1)))
624
+ while (this.c1e_1.s().e1(byteCount) < 0) {
625
+ if (this.a1e_1.u1c(this.c1e_1, new Long(8192, 0)).equals(new Long(-1, -1)))
641
626
  return false;
642
627
  }
643
628
  return true;
644
629
  };
645
- protoOf(RealSource).r1b = function (sink, startIndex, endIndex) {
630
+ protoOf(RealSource).s1c = function (sink, startIndex, endIndex) {
646
631
  // Inline function 'kotlinx.io.checkBounds' call
647
632
  var size = sink.length;
648
633
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
649
- if (this.b1d_1.s().equals(new Long(0, 0))) {
650
- var read = this.z1c_1.t1b(this.b1d_1, new Long(8192, 0));
634
+ if (this.c1e_1.s().equals(new Long(0, 0))) {
635
+ var read = this.a1e_1.u1c(this.c1e_1, new Long(8192, 0));
651
636
  if (read.equals(new Long(-1, -1)))
652
637
  return -1;
653
638
  }
639
+ var tmp3 = endIndex - startIndex | 0;
654
640
  // Inline function 'kotlinx.io.minOf' call
655
- var a = endIndex - startIndex | 0;
656
- var b = this.b1d_1.s();
641
+ var b = this.c1e_1.s();
657
642
  // Inline function 'kotlin.comparisons.minOf' call
658
- var a_0 = toLong(a);
659
- var toRead = (a_0.e1(b) <= 0 ? a_0 : b).j1();
660
- return this.b1d_1.r1b(sink, startIndex, startIndex + toRead | 0);
643
+ var a = toLong(tmp3);
644
+ var toRead = (a.e1(b) <= 0 ? a : b).j1();
645
+ return this.c1e_1.s1c(sink, startIndex, startIndex + toRead | 0);
661
646
  };
662
- protoOf(RealSource).v1b = function (sink, byteCount) {
647
+ protoOf(RealSource).w1c = function (sink, byteCount) {
663
648
  try {
664
- this.v1a(byteCount);
649
+ this.w1b(byteCount);
665
650
  } catch ($p) {
666
651
  if ($p instanceof EOFException) {
667
652
  var e = $p;
668
- sink.u1b(this.b1d_1, this.b1d_1.s());
653
+ sink.v1c(this.c1e_1, this.c1e_1.s());
669
654
  throw e;
670
655
  } else {
671
656
  throw $p;
672
657
  }
673
658
  }
674
- this.b1d_1.v1b(sink, byteCount);
659
+ this.c1e_1.w1c(sink, byteCount);
675
660
  };
676
- protoOf(RealSource).w1b = function (sink) {
661
+ protoOf(RealSource).x1c = function (sink) {
677
662
  var totalBytesWritten = new Long(0, 0);
678
- while (!this.z1c_1.t1b(this.b1d_1, new Long(8192, 0)).equals(new Long(-1, -1))) {
679
- var emitByteCount = this.b1d_1.p1b();
663
+ while (!this.a1e_1.u1c(this.c1e_1, new Long(8192, 0)).equals(new Long(-1, -1))) {
664
+ var emitByteCount = this.c1e_1.q1c();
680
665
  if (emitByteCount.e1(new Long(0, 0)) > 0) {
681
666
  totalBytesWritten = totalBytesWritten.z2(emitByteCount);
682
- sink.u1b(this.b1d_1, emitByteCount);
667
+ sink.v1c(this.c1e_1, emitByteCount);
683
668
  }
684
669
  }
685
- if (this.b1d_1.s().e1(new Long(0, 0)) > 0) {
686
- totalBytesWritten = totalBytesWritten.z2(this.b1d_1.s());
687
- sink.u1b(this.b1d_1, this.b1d_1.s());
670
+ if (this.c1e_1.s().e1(new Long(0, 0)) > 0) {
671
+ totalBytesWritten = totalBytesWritten.z2(this.c1e_1.s());
672
+ sink.v1c(this.c1e_1, this.c1e_1.s());
688
673
  }
689
674
  return totalBytesWritten;
690
675
  };
691
- protoOf(RealSource).i1b = function () {
692
- this.v1a(new Long(2, 0));
693
- return this.b1d_1.i1b();
676
+ protoOf(RealSource).j1c = function () {
677
+ this.w1b(new Long(2, 0));
678
+ return this.c1e_1.j1c();
694
679
  };
695
- protoOf(RealSource).x1b = function () {
680
+ protoOf(RealSource).y1c = function () {
696
681
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
697
682
  // Inline function 'kotlin.check' call
698
- // Inline function 'kotlin.contracts.contract' call
699
- if (!!this.a1d_1) {
683
+ if (!!this.b1e_1) {
700
684
  // Inline function 'kotlinx.io.RealSource.checkNotClosed.<anonymous>' call
701
685
  var message = 'Source is closed.';
702
686
  throw IllegalStateException_init_$Create$(toString(message));
703
687
  }
704
688
  return buffered(new PeekSource(this));
705
689
  };
706
- protoOf(RealSource).p1c = function () {
707
- if (this.a1d_1)
690
+ protoOf(RealSource).q1d = function () {
691
+ if (this.b1e_1)
708
692
  return Unit_instance;
709
- this.a1d_1 = true;
710
- this.z1c_1.p1c();
711
- this.b1d_1.e2();
693
+ this.b1e_1 = true;
694
+ this.a1e_1.q1d();
695
+ this.c1e_1.e2();
712
696
  };
713
697
  protoOf(RealSource).toString = function () {
714
- return 'buffered(' + toString(this.z1c_1) + ')';
698
+ return 'buffered(' + toString(this.a1e_1) + ')';
715
699
  };
716
700
  function Segment_init_$Init$($this) {
717
701
  Segment.call($this);
718
- $this.y1a_1 = new Int8Array(8192);
719
- $this.c1b_1 = true;
720
- $this.b1b_1 = null;
702
+ $this.z1b_1 = new Int8Array(8192);
703
+ $this.d1c_1 = true;
704
+ $this.c1c_1 = null;
721
705
  return $this;
722
706
  }
723
707
  function Segment_init_$Create$() {
@@ -725,300 +709,290 @@
725
709
  }
726
710
  function Segment_init_$Init$_0(data, pos, limit, shareToken, owner, $this) {
727
711
  Segment.call($this);
728
- $this.y1a_1 = data;
729
- $this.z1a_1 = pos;
730
- $this.a1b_1 = limit;
731
- $this.b1b_1 = shareToken;
732
- $this.c1b_1 = owner;
712
+ $this.z1b_1 = data;
713
+ $this.a1c_1 = pos;
714
+ $this.b1c_1 = limit;
715
+ $this.c1c_1 = shareToken;
716
+ $this.d1c_1 = owner;
733
717
  return $this;
734
718
  }
735
719
  function Segment_init_$Create$_0(data, pos, limit, shareToken, owner) {
736
720
  return Segment_init_$Init$_0(data, pos, limit, shareToken, owner, objectCreate(protoOf(Segment)));
737
721
  }
738
722
  function Companion() {
739
- this.c1d_1 = 8192;
740
- this.d1d_1 = 1024;
723
+ this.d1e_1 = 8192;
724
+ this.e1e_1 = 1024;
741
725
  }
742
- protoOf(Companion).e1d = function () {
726
+ protoOf(Companion).f1e = function () {
743
727
  return Segment_init_$Create$();
744
728
  };
745
729
  var Companion_instance;
746
730
  function Companion_getInstance() {
747
731
  return Companion_instance;
748
732
  }
749
- protoOf(Segment).g1c = function () {
750
- var tmp1_safe_receiver = this.b1b_1;
751
- var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f1d();
733
+ protoOf(Segment).h1d = function () {
734
+ var tmp1_safe_receiver = this.c1c_1;
735
+ var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g1e();
752
736
  return tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
753
737
  };
754
- protoOf(Segment).m1b = function () {
755
- var tmp0_elvis_lhs = this.b1b_1;
738
+ protoOf(Segment).n1c = function () {
739
+ var tmp0_elvis_lhs = this.c1c_1;
756
740
  var tmp;
757
741
  if (tmp0_elvis_lhs == null) {
758
742
  // Inline function 'kotlin.also' call
759
- var this_0 = SegmentPool_instance.g1d();
760
- // Inline function 'kotlin.contracts.contract' call
743
+ var this_0 = SegmentPool_instance.h1e();
761
744
  // Inline function 'kotlinx.io.Segment.sharedCopy.<anonymous>' call
762
- this.b1b_1 = this_0;
745
+ this.c1c_1 = this_0;
763
746
  tmp = this_0;
764
747
  } else {
765
748
  tmp = tmp0_elvis_lhs;
766
749
  }
767
750
  var t = tmp;
768
- var tmp_0 = this.z1a_1;
769
- var tmp_1 = this.a1b_1;
751
+ var tmp_0 = this.a1c_1;
752
+ var tmp_1 = this.b1c_1;
770
753
  // Inline function 'kotlin.also' call
771
- // Inline function 'kotlin.contracts.contract' call
772
754
  // Inline function 'kotlinx.io.Segment.sharedCopy.<anonymous>' call
773
- t.h1d();
774
- return Segment_init_$Create$_0(this.y1a_1, tmp_0, tmp_1, t, false);
755
+ t.i1e();
756
+ return Segment_init_$Create$_0(this.z1b_1, tmp_0, tmp_1, t, false);
775
757
  };
776
- protoOf(Segment).j1c = function () {
777
- var result = this.d1b_1;
778
- if (!(this.e1b_1 == null)) {
779
- ensureNotNull(this.e1b_1).d1b_1 = this.d1b_1;
758
+ protoOf(Segment).k1d = function () {
759
+ var result = this.e1c_1;
760
+ if (!(this.f1c_1 == null)) {
761
+ ensureNotNull(this.f1c_1).e1c_1 = this.e1c_1;
780
762
  }
781
- if (!(this.d1b_1 == null)) {
782
- ensureNotNull(this.d1b_1).e1b_1 = this.e1b_1;
763
+ if (!(this.e1c_1 == null)) {
764
+ ensureNotNull(this.e1c_1).f1c_1 = this.f1c_1;
783
765
  }
784
- this.d1b_1 = null;
785
- this.e1b_1 = null;
766
+ this.e1c_1 = null;
767
+ this.f1c_1 = null;
786
768
  return result;
787
769
  };
788
- protoOf(Segment).n1b = function (segment) {
789
- segment.e1b_1 = this;
790
- segment.d1b_1 = this.d1b_1;
791
- if (!(this.d1b_1 == null)) {
792
- ensureNotNull(this.d1b_1).e1b_1 = segment;
770
+ protoOf(Segment).o1c = function (segment) {
771
+ segment.f1c_1 = this;
772
+ segment.e1c_1 = this.e1c_1;
773
+ if (!(this.e1c_1 == null)) {
774
+ ensureNotNull(this.e1c_1).f1c_1 = segment;
793
775
  }
794
- this.d1b_1 = segment;
776
+ this.e1c_1 = segment;
795
777
  return segment;
796
778
  };
797
- protoOf(Segment).h1c = function (byteCount) {
779
+ protoOf(Segment).i1d = function (byteCount) {
798
780
  // Inline function 'kotlin.require' call
799
- // Inline function 'kotlin.contracts.contract' call
800
- if (!(byteCount > 0 && byteCount <= (this.a1b_1 - this.z1a_1 | 0))) {
781
+ if (!(byteCount > 0 && byteCount <= (this.b1c_1 - this.a1c_1 | 0))) {
801
782
  // Inline function 'kotlinx.io.Segment.split.<anonymous>' call
802
783
  var message = 'byteCount out of range';
803
784
  throw IllegalArgumentException_init_$Create$(toString(message));
804
785
  }
805
786
  var prefix;
806
787
  if (byteCount >= 1024) {
807
- prefix = this.m1b();
788
+ prefix = this.n1c();
808
789
  } else {
809
- prefix = SegmentPool_instance.b1c();
790
+ prefix = SegmentPool_instance.c1d();
791
+ var tmp1 = this.z1b_1;
792
+ var tmp2 = prefix.z1b_1;
793
+ var tmp3 = this.a1c_1;
810
794
  // Inline function 'kotlin.collections.copyInto' call
811
- var this_0 = this.y1a_1;
812
- var destination = prefix.y1a_1;
813
- var startIndex = this.z1a_1;
814
- var endIndex = this.z1a_1 + byteCount | 0;
795
+ var endIndex = this.a1c_1 + byteCount | 0;
815
796
  // Inline function 'kotlin.js.unsafeCast' call
816
797
  // Inline function 'kotlin.js.asDynamic' call
817
- var tmp = this_0;
798
+ var tmp = tmp1;
818
799
  // Inline function 'kotlin.js.unsafeCast' call
819
800
  // Inline function 'kotlin.js.asDynamic' call
820
- arrayCopy(tmp, destination, 0, startIndex, endIndex);
801
+ arrayCopy(tmp, tmp2, 0, tmp3, endIndex);
821
802
  }
822
- prefix.a1b_1 = prefix.z1a_1 + byteCount | 0;
823
- this.z1a_1 = this.z1a_1 + byteCount | 0;
824
- if (!(this.e1b_1 == null)) {
825
- ensureNotNull(this.e1b_1).n1b(prefix);
803
+ prefix.b1c_1 = prefix.a1c_1 + byteCount | 0;
804
+ this.a1c_1 = this.a1c_1 + byteCount | 0;
805
+ if (!(this.f1c_1 == null)) {
806
+ ensureNotNull(this.f1c_1).o1c(prefix);
826
807
  } else {
827
- prefix.d1b_1 = this;
828
- this.e1b_1 = prefix;
808
+ prefix.e1c_1 = this;
809
+ this.f1c_1 = prefix;
829
810
  }
830
811
  return prefix;
831
812
  };
832
- protoOf(Segment).o1b = function () {
813
+ protoOf(Segment).p1c = function () {
833
814
  // Inline function 'kotlin.check' call
834
- // Inline function 'kotlin.contracts.contract' call
835
- if (!!(this.e1b_1 == null)) {
815
+ if (!!(this.f1c_1 == null)) {
836
816
  // Inline function 'kotlinx.io.Segment.compact.<anonymous>' call
837
817
  var message = 'cannot compact';
838
818
  throw IllegalStateException_init_$Create$(toString(message));
839
819
  }
840
- if (!ensureNotNull(this.e1b_1).c1b_1)
820
+ if (!ensureNotNull(this.f1c_1).d1c_1)
841
821
  return this;
842
- var byteCount = this.a1b_1 - this.z1a_1 | 0;
843
- var availableByteCount = (8192 - ensureNotNull(this.e1b_1).a1b_1 | 0) + (ensureNotNull(this.e1b_1).g1c() ? 0 : ensureNotNull(this.e1b_1).z1a_1) | 0;
822
+ var byteCount = this.b1c_1 - this.a1c_1 | 0;
823
+ var availableByteCount = (8192 - ensureNotNull(this.f1c_1).b1c_1 | 0) + (ensureNotNull(this.f1c_1).h1d() ? 0 : ensureNotNull(this.f1c_1).a1c_1) | 0;
844
824
  if (byteCount > availableByteCount)
845
825
  return this;
846
- var predecessor = this.e1b_1;
847
- this.i1c(ensureNotNull(predecessor), byteCount);
848
- var successor = this.j1c();
826
+ var predecessor = this.f1c_1;
827
+ this.j1d(ensureNotNull(predecessor), byteCount);
828
+ var successor = this.k1d();
849
829
  // Inline function 'kotlin.check' call
850
- // Inline function 'kotlin.contracts.contract' call
851
- // Inline function 'kotlin.check' call
852
- // Inline function 'kotlin.contracts.contract' call
853
830
  if (!(successor == null)) {
854
- // Inline function 'kotlin.check.<anonymous>' call
855
- var message_0 = 'Check failed.';
856
- throw IllegalStateException_init_$Create$(toString(message_0));
831
+ throw IllegalStateException_init_$Create$('Check failed.');
857
832
  }
858
- SegmentPool_instance.r1c(this);
833
+ SegmentPool_instance.s1d(this);
859
834
  return predecessor;
860
835
  };
861
- protoOf(Segment).m1c = function (byte) {
862
- var _unary__edvuaz = this.a1b_1;
863
- this.a1b_1 = _unary__edvuaz + 1 | 0;
864
- this.y1a_1[_unary__edvuaz] = byte;
836
+ protoOf(Segment).n1d = function (byte) {
837
+ var _unary__edvuaz = this.b1c_1;
838
+ this.b1c_1 = _unary__edvuaz + 1 | 0;
839
+ this.z1b_1[_unary__edvuaz] = byte;
865
840
  };
866
- protoOf(Segment).o1c = function (short) {
867
- var data = this.y1a_1;
868
- var limit = this.a1b_1;
841
+ protoOf(Segment).p1d = function (short) {
842
+ var data = this.z1b_1;
843
+ var limit = this.b1c_1;
869
844
  var _unary__edvuaz = limit;
870
845
  limit = _unary__edvuaz + 1 | 0;
871
846
  data[_unary__edvuaz] = toByte((short >>> 8 | 0) & 255);
872
847
  var _unary__edvuaz_0 = limit;
873
848
  limit = _unary__edvuaz_0 + 1 | 0;
874
849
  data[_unary__edvuaz_0] = toByte(short & 255);
875
- this.a1b_1 = limit;
850
+ this.b1c_1 = limit;
876
851
  };
877
- protoOf(Segment).h1b = function () {
878
- var _unary__edvuaz = this.z1a_1;
879
- this.z1a_1 = _unary__edvuaz + 1 | 0;
880
- return this.y1a_1[_unary__edvuaz];
852
+ protoOf(Segment).i1c = function () {
853
+ var _unary__edvuaz = this.a1c_1;
854
+ this.a1c_1 = _unary__edvuaz + 1 | 0;
855
+ return this.z1b_1[_unary__edvuaz];
881
856
  };
882
- protoOf(Segment).j1b = function () {
883
- var data = this.y1a_1;
884
- var pos = this.z1a_1;
885
- // Inline function 'kotlinx.io.and' call
857
+ protoOf(Segment).k1c = function () {
858
+ var data = this.z1b_1;
859
+ var pos = this.a1c_1;
886
860
  var _unary__edvuaz = pos;
887
861
  pos = _unary__edvuaz + 1 | 0;
888
- var tmp = (data[_unary__edvuaz] & 255) << 8;
889
862
  // Inline function 'kotlinx.io.and' call
863
+ var tmp = (data[_unary__edvuaz] & 255) << 8;
890
864
  var _unary__edvuaz_0 = pos;
891
865
  pos = _unary__edvuaz_0 + 1 | 0;
866
+ // Inline function 'kotlinx.io.and' call
892
867
  var tmp$ret$1 = data[_unary__edvuaz_0] & 255;
893
868
  var s = toShort(tmp | tmp$ret$1);
894
- this.z1a_1 = pos;
869
+ this.a1c_1 = pos;
895
870
  return s;
896
871
  };
897
- protoOf(Segment).i1c = function (sink, byteCount) {
872
+ protoOf(Segment).j1d = function (sink, byteCount) {
898
873
  // Inline function 'kotlin.check' call
899
- // Inline function 'kotlin.contracts.contract' call
900
- if (!sink.c1b_1) {
874
+ if (!sink.d1c_1) {
901
875
  // Inline function 'kotlinx.io.Segment.writeTo.<anonymous>' call
902
876
  var message = 'only owner can write';
903
877
  throw IllegalStateException_init_$Create$(toString(message));
904
878
  }
905
- if ((sink.a1b_1 + byteCount | 0) > 8192) {
906
- if (sink.g1c())
879
+ if ((sink.b1c_1 + byteCount | 0) > 8192) {
880
+ if (sink.h1d())
907
881
  throw IllegalArgumentException_init_$Create$_0();
908
- if (((sink.a1b_1 + byteCount | 0) - sink.z1a_1 | 0) > 8192)
882
+ if (((sink.b1c_1 + byteCount | 0) - sink.a1c_1 | 0) > 8192)
909
883
  throw IllegalArgumentException_init_$Create$_0();
884
+ var tmp1 = sink.z1b_1;
885
+ var tmp2 = sink.z1b_1;
886
+ var tmp3 = sink.a1c_1;
910
887
  // Inline function 'kotlin.collections.copyInto' call
911
- var this_0 = sink.y1a_1;
912
- var destination = sink.y1a_1;
913
- var startIndex = sink.z1a_1;
914
- var endIndex = sink.a1b_1;
888
+ var endIndex = sink.b1c_1;
915
889
  // Inline function 'kotlin.js.unsafeCast' call
916
890
  // Inline function 'kotlin.js.asDynamic' call
917
- var tmp = this_0;
891
+ var tmp = tmp1;
918
892
  // Inline function 'kotlin.js.unsafeCast' call
919
893
  // Inline function 'kotlin.js.asDynamic' call
920
- arrayCopy(tmp, destination, 0, startIndex, endIndex);
921
- sink.a1b_1 = sink.a1b_1 - sink.z1a_1 | 0;
922
- sink.z1a_1 = 0;
923
- }
894
+ arrayCopy(tmp, tmp2, 0, tmp3, endIndex);
895
+ sink.b1c_1 = sink.b1c_1 - sink.a1c_1 | 0;
896
+ sink.a1c_1 = 0;
897
+ }
898
+ var tmp6 = this.z1b_1;
899
+ var tmp7 = sink.z1b_1;
900
+ var tmp8 = sink.b1c_1;
901
+ var tmp9 = this.a1c_1;
924
902
  // Inline function 'kotlin.collections.copyInto' call
925
- var this_1 = this.y1a_1;
926
- var destination_0 = sink.y1a_1;
927
- var destinationOffset = sink.a1b_1;
928
- var startIndex_0 = this.z1a_1;
929
- var endIndex_0 = this.z1a_1 + byteCount | 0;
903
+ var endIndex_0 = this.a1c_1 + byteCount | 0;
930
904
  // Inline function 'kotlin.js.unsafeCast' call
931
905
  // Inline function 'kotlin.js.asDynamic' call
932
- var tmp_0 = this_1;
906
+ var tmp_0 = tmp6;
933
907
  // Inline function 'kotlin.js.unsafeCast' call
934
908
  // Inline function 'kotlin.js.asDynamic' call
935
- arrayCopy(tmp_0, destination_0, destinationOffset, startIndex_0, endIndex_0);
936
- sink.a1b_1 = sink.a1b_1 + byteCount | 0;
937
- this.z1a_1 = this.z1a_1 + byteCount | 0;
909
+ arrayCopy(tmp_0, tmp7, tmp8, tmp9, endIndex_0);
910
+ sink.b1c_1 = sink.b1c_1 + byteCount | 0;
911
+ this.a1c_1 = this.a1c_1 + byteCount | 0;
938
912
  };
939
- protoOf(Segment).s1b = function (dst, dstStartOffset, dstEndOffset) {
913
+ protoOf(Segment).t1c = function (dst, dstStartOffset, dstEndOffset) {
940
914
  var len = dstEndOffset - dstStartOffset | 0;
915
+ var tmp0 = this.z1b_1;
916
+ var tmp3 = this.a1c_1;
941
917
  // Inline function 'kotlin.collections.copyInto' call
942
- var this_0 = this.y1a_1;
943
- var startIndex = this.z1a_1;
944
- var endIndex = this.z1a_1 + len | 0;
918
+ var endIndex = this.a1c_1 + len | 0;
945
919
  // Inline function 'kotlin.js.unsafeCast' call
946
920
  // Inline function 'kotlin.js.asDynamic' call
947
- var tmp = this_0;
921
+ var tmp = tmp0;
948
922
  // Inline function 'kotlin.js.unsafeCast' call
949
923
  // Inline function 'kotlin.js.asDynamic' call
950
- arrayCopy(tmp, dst, dstStartOffset, startIndex, endIndex);
951
- this.z1a_1 = this.z1a_1 + len | 0;
924
+ arrayCopy(tmp, dst, dstStartOffset, tmp3, endIndex);
925
+ this.a1c_1 = this.a1c_1 + len | 0;
952
926
  };
953
- protoOf(Segment).e1c = function (src, srcStartOffset, srcEndOffset) {
927
+ protoOf(Segment).f1d = function (src, srcStartOffset, srcEndOffset) {
928
+ var tmp1 = this.z1b_1;
954
929
  // Inline function 'kotlin.collections.copyInto' call
955
- var destination = this.y1a_1;
956
- var destinationOffset = this.a1b_1;
930
+ var destinationOffset = this.b1c_1;
957
931
  // Inline function 'kotlin.js.unsafeCast' call
958
932
  // Inline function 'kotlin.js.asDynamic' call
959
933
  var tmp = src;
960
934
  // Inline function 'kotlin.js.unsafeCast' call
961
935
  // Inline function 'kotlin.js.asDynamic' call
962
- arrayCopy(tmp, destination, destinationOffset, srcStartOffset, srcEndOffset);
963
- this.a1b_1 = this.a1b_1 + (srcEndOffset - srcStartOffset | 0) | 0;
936
+ arrayCopy(tmp, tmp1, destinationOffset, srcStartOffset, srcEndOffset);
937
+ this.b1c_1 = this.b1c_1 + (srcEndOffset - srcStartOffset | 0) | 0;
964
938
  };
965
- protoOf(Segment).f1b = function () {
966
- return this.a1b_1 - this.z1a_1 | 0;
939
+ protoOf(Segment).g1c = function () {
940
+ return this.b1c_1 - this.a1c_1 | 0;
967
941
  };
968
- protoOf(Segment).d1c = function () {
969
- return this.y1a_1.length - this.a1b_1 | 0;
942
+ protoOf(Segment).e1d = function () {
943
+ return this.z1b_1.length - this.b1c_1 | 0;
970
944
  };
971
- protoOf(Segment).i1d = function (readOnly) {
972
- return this.y1a_1;
945
+ protoOf(Segment).j1e = function (readOnly) {
946
+ return this.z1b_1;
973
947
  };
974
- protoOf(Segment).j1d = function (index) {
975
- return this.y1a_1[this.z1a_1 + index | 0];
948
+ protoOf(Segment).k1e = function (index) {
949
+ return this.z1b_1[this.a1c_1 + index | 0];
976
950
  };
977
- protoOf(Segment).k1d = function (index, value) {
978
- this.y1a_1[this.a1b_1 + index | 0] = value;
951
+ protoOf(Segment).l1e = function (index, value) {
952
+ this.z1b_1[this.b1c_1 + index | 0] = value;
979
953
  };
980
- protoOf(Segment).l1d = function (index, b0, b1) {
981
- var d = this.y1a_1;
982
- var l = this.a1b_1;
954
+ protoOf(Segment).m1e = function (index, b0, b1) {
955
+ var d = this.z1b_1;
956
+ var l = this.b1c_1;
983
957
  d[l + index | 0] = b0;
984
958
  d[(l + index | 0) + 1 | 0] = b1;
985
959
  };
986
- protoOf(Segment).m1d = function (index, b0, b1, b2) {
987
- var d = this.y1a_1;
988
- var l = this.a1b_1;
960
+ protoOf(Segment).n1e = function (index, b0, b1, b2) {
961
+ var d = this.z1b_1;
962
+ var l = this.b1c_1;
989
963
  d[l + index | 0] = b0;
990
964
  d[(l + index | 0) + 1 | 0] = b1;
991
965
  d[(l + index | 0) + 2 | 0] = b2;
992
966
  };
993
- protoOf(Segment).n1d = function (index, b0, b1, b2, b3) {
994
- var d = this.y1a_1;
995
- var l = this.a1b_1;
967
+ protoOf(Segment).o1e = function (index, b0, b1, b2, b3) {
968
+ var d = this.z1b_1;
969
+ var l = this.b1c_1;
996
970
  d[l + index | 0] = b0;
997
971
  d[(l + index | 0) + 1 | 0] = b1;
998
972
  d[(l + index | 0) + 2 | 0] = b2;
999
973
  d[(l + index | 0) + 3 | 0] = b3;
1000
974
  };
1001
975
  function Segment() {
1002
- this.z1a_1 = 0;
1003
- this.a1b_1 = 0;
1004
- this.b1b_1 = null;
1005
- this.c1b_1 = false;
1006
- this.d1b_1 = null;
1007
- this.e1b_1 = null;
976
+ this.a1c_1 = 0;
977
+ this.b1c_1 = 0;
978
+ this.c1c_1 = null;
979
+ this.d1c_1 = false;
980
+ this.e1c_1 = null;
981
+ this.f1c_1 = null;
1008
982
  }
1009
983
  function SegmentCopyTracker() {
1010
984
  }
1011
985
  function isEmpty(_this__u8e3s4) {
1012
- return _this__u8e3s4.f1b() === 0;
986
+ return _this__u8e3s4.g1c() === 0;
1013
987
  }
1014
988
  function AlwaysSharedCopyTracker() {
1015
989
  AlwaysSharedCopyTracker_instance = this;
1016
990
  SegmentCopyTracker.call(this);
1017
991
  }
1018
- protoOf(AlwaysSharedCopyTracker).f1d = function () {
992
+ protoOf(AlwaysSharedCopyTracker).g1e = function () {
1019
993
  return true;
1020
994
  };
1021
- protoOf(AlwaysSharedCopyTracker).h1d = function () {
995
+ protoOf(AlwaysSharedCopyTracker).i1e = function () {
1022
996
  return Unit_instance;
1023
997
  };
1024
998
  var AlwaysSharedCopyTracker_instance;
@@ -1038,23 +1012,22 @@
1038
1012
  var arraySize = size;
1039
1013
  if (size === -1) {
1040
1014
  var fetchSize = new Long(2147483647, 0);
1041
- while (_this__u8e3s4.t1a().s().e1(new Long(2147483647, 0)) < 0 && _this__u8e3s4.w1a(fetchSize)) {
1015
+ while (_this__u8e3s4.u1b().s().e1(new Long(2147483647, 0)) < 0 && _this__u8e3s4.x1b(fetchSize)) {
1042
1016
  // Inline function 'kotlin.Long.times' call
1043
1017
  fetchSize = fetchSize.b3(toLong(2));
1044
1018
  }
1045
1019
  // Inline function 'kotlin.check' call
1046
- // Inline function 'kotlin.contracts.contract' call
1047
- if (!(_this__u8e3s4.t1a().s().e1(new Long(2147483647, 0)) < 0)) {
1020
+ if (!(_this__u8e3s4.u1b().s().e1(new Long(2147483647, 0)) < 0)) {
1048
1021
  // Inline function 'kotlinx.io.readByteArrayImpl.<anonymous>' call
1049
- var message = "Can't create an array of size " + _this__u8e3s4.t1a().s().toString();
1022
+ var message = "Can't create an array of size " + _this__u8e3s4.u1b().s().toString();
1050
1023
  throw IllegalStateException_init_$Create$(toString(message));
1051
1024
  }
1052
- arraySize = _this__u8e3s4.t1a().s().j1();
1025
+ arraySize = _this__u8e3s4.u1b().s().j1();
1053
1026
  } else {
1054
- _this__u8e3s4.v1a(toLong(size));
1027
+ _this__u8e3s4.w1b(toLong(size));
1055
1028
  }
1056
1029
  var array = new Int8Array(arraySize);
1057
- readTo(_this__u8e3s4.t1a(), array);
1030
+ readTo(_this__u8e3s4.u1b(), array);
1058
1031
  return array;
1059
1032
  }
1060
1033
  function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
@@ -1065,7 +1038,7 @@
1065
1038
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
1066
1039
  var offset = startIndex;
1067
1040
  while (offset < endIndex) {
1068
- var bytesRead = _this__u8e3s4.r1b(sink, offset, endIndex);
1041
+ var bytesRead = _this__u8e3s4.s1c(sink, offset, endIndex);
1069
1042
  if (bytesRead === -1) {
1070
1043
  throw EOFException_init_$Create$_0('Source exhausted before reading ' + (endIndex - startIndex | 0) + ' bytes. ' + ('Only ' + bytesRead + ' bytes were read.'));
1071
1044
  }
@@ -1076,7 +1049,6 @@
1076
1049
  // Inline function 'kotlinx.io.checkByteCount' call
1077
1050
  var byteCount_0 = toLong(byteCount);
1078
1051
  // Inline function 'kotlin.require' call
1079
- // Inline function 'kotlin.contracts.contract' call
1080
1052
  if (!(byteCount_0.e1(new Long(0, 0)) >= 0)) {
1081
1053
  // Inline function 'kotlinx.io.checkByteCount.<anonymous>' call
1082
1054
  var message = 'byteCount (' + byteCount_0.toString() + ') < 0';
@@ -1085,33 +1057,33 @@
1085
1057
  return readByteArrayImpl(_this__u8e3s4, byteCount);
1086
1058
  }
1087
1059
  function readString(_this__u8e3s4) {
1088
- _this__u8e3s4.w1a(new Long(-1, 2147483647));
1089
- return commonReadUtf8(_this__u8e3s4.t1a(), _this__u8e3s4.t1a().s());
1060
+ _this__u8e3s4.x1b(new Long(-1, 2147483647));
1061
+ return commonReadUtf8(_this__u8e3s4.u1b(), _this__u8e3s4.u1b().s());
1090
1062
  }
1091
1063
  function readString_0(_this__u8e3s4, byteCount) {
1092
- _this__u8e3s4.v1a(byteCount);
1093
- return commonReadUtf8(_this__u8e3s4.t1a(), byteCount);
1064
+ _this__u8e3s4.w1b(byteCount);
1065
+ return commonReadUtf8(_this__u8e3s4.u1b(), byteCount);
1094
1066
  }
1095
1067
  function commonReadUtf8(_this__u8e3s4, byteCount) {
1096
1068
  if (byteCount.equals(new Long(0, 0)))
1097
1069
  return '';
1098
1070
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
1099
- var curr = _this__u8e3s4.q1a_1;
1071
+ var curr = _this__u8e3s4.r1b_1;
1100
1072
  while (!(curr == null)) {
1101
- // Inline function 'kotlinx.io.commonReadUtf8.<anonymous>' call
1102
1073
  get_SegmentReadContextImpl();
1103
- if (toLong(curr.f1b()).e1(byteCount) >= 0) {
1074
+ // Inline function 'kotlinx.io.commonReadUtf8.<anonymous>' call
1075
+ if (toLong(curr.g1c()).e1(byteCount) >= 0) {
1104
1076
  var result = '';
1105
1077
  // Inline function 'kotlinx.io.unsafe.withData' call
1078
+ var tmp2 = curr.j1e(true);
1079
+ var tmp3 = curr.a1c_1;
1106
1080
  // Inline function 'kotlinx.io.commonReadUtf8.<anonymous>.<anonymous>' call
1107
- var data = curr.i1d(true);
1108
- var pos = curr.z1a_1;
1081
+ var tmp0 = curr.b1c_1;
1109
1082
  // Inline function 'kotlin.math.min' call
1110
- var a = curr.a1b_1;
1111
- var b = pos + byteCount.j1() | 0;
1112
- var tmp$ret$0 = Math.min(a, b);
1113
- result = commonToUtf8String(data, pos, tmp$ret$0);
1114
- _this__u8e3s4.q1b(byteCount);
1083
+ var b = tmp3 + byteCount.j1() | 0;
1084
+ var tmp$ret$0 = Math.min(tmp0, b);
1085
+ result = commonToUtf8String(tmp2, tmp3, tmp$ret$0);
1086
+ _this__u8e3s4.r1c(byteCount);
1115
1087
  return result;
1116
1088
  }
1117
1089
  return commonToUtf8String(readByteArray_0(_this__u8e3s4, byteCount.j1()));
@@ -1129,134 +1101,134 @@
1129
1101
  // Inline function 'kotlinx.io.writeToInternalBuffer' call
1130
1102
  // Inline function 'kotlinx.io.writeString.<anonymous>' call
1131
1103
  // Inline function 'kotlinx.io.commonWriteUtf8' call
1132
- var this_0 = _this__u8e3s4.t1a();
1104
+ var this_0 = _this__u8e3s4.u1b();
1133
1105
  var i = startIndex;
1134
1106
  while (i < endIndex) {
1135
- // Inline function 'kotlin.code' call
1107
+ // Inline function 'kotlinx.io.writeString.<anonymous>.stub_for_inlining' call
1136
1108
  var p0 = i;
1109
+ // Inline function 'kotlin.code' call
1137
1110
  var this_1 = charSequenceGet(string, p0);
1138
1111
  var c = Char__toInt_impl_vasixd(this_1);
1139
1112
  if (c < 128) {
1140
1113
  $l$block_0: {
1141
1114
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1142
- var tail = this_0.y1b(1);
1115
+ var tail = this_0.z1c(1);
1143
1116
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1144
1117
  var ctx = get_SegmentWriteContextImpl();
1145
1118
  var segmentOffset = -i | 0;
1146
1119
  // Inline function 'kotlin.comparisons.minOf' call
1147
- var b = i + tail.d1c() | 0;
1120
+ var b = i + tail.e1d() | 0;
1148
1121
  var runLimit = Math.min(endIndex, b);
1149
1122
  var _unary__edvuaz = i;
1150
1123
  i = _unary__edvuaz + 1 | 0;
1151
- ctx.r1d(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1124
+ ctx.s1e(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1152
1125
  $l$loop: while (i < runLimit) {
1153
- // Inline function 'kotlin.code' call
1126
+ // Inline function 'kotlinx.io.writeString.<anonymous>.stub_for_inlining' call
1154
1127
  var p0_0 = i;
1128
+ // Inline function 'kotlin.code' call
1155
1129
  var this_2 = charSequenceGet(string, p0_0);
1156
1130
  c = Char__toInt_impl_vasixd(this_2);
1157
1131
  if (c >= 128)
1158
1132
  break $l$loop;
1159
1133
  var _unary__edvuaz_0 = i;
1160
1134
  i = _unary__edvuaz_0 + 1 | 0;
1161
- ctx.r1d(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1135
+ ctx.s1e(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1162
1136
  }
1163
1137
  var bytesWritten = i + segmentOffset | 0;
1164
1138
  if (bytesWritten === 1) {
1165
- tail.a1b_1 = tail.a1b_1 + bytesWritten | 0;
1139
+ tail.b1c_1 = tail.b1c_1 + bytesWritten | 0;
1166
1140
  var tmp = this_0;
1167
1141
  // Inline function 'kotlin.Long.plus' call
1168
- tmp.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten));
1142
+ tmp.t1b_1 = this_0.t1b_1.z2(toLong(bytesWritten));
1169
1143
  break $l$block_0;
1170
1144
  }
1171
1145
  // Inline function 'kotlin.check' call
1172
- // Inline function 'kotlin.contracts.contract' call
1173
- if (!(0 <= bytesWritten ? bytesWritten <= tail.d1c() : false)) {
1146
+ if (!(0 <= bytesWritten ? bytesWritten <= tail.e1d() : false)) {
1174
1147
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1175
- var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.d1c();
1148
+ var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.e1d();
1176
1149
  throw IllegalStateException_init_$Create$(toString(message));
1177
1150
  }
1178
1151
  if (!(bytesWritten === 0)) {
1179
- tail.a1b_1 = tail.a1b_1 + bytesWritten | 0;
1152
+ tail.b1c_1 = tail.b1c_1 + bytesWritten | 0;
1180
1153
  var tmp_0 = this_0;
1181
1154
  // Inline function 'kotlin.Long.plus' call
1182
- tmp_0.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten));
1155
+ tmp_0.t1b_1 = this_0.t1b_1.z2(toLong(bytesWritten));
1183
1156
  break $l$block_0;
1184
1157
  }
1185
1158
  if (isEmpty(tail)) {
1186
- this_0.s1c();
1159
+ this_0.t1d();
1187
1160
  }
1188
1161
  }
1189
1162
  } else if (c < 2048) {
1190
1163
  $l$block_2: {
1191
1164
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1192
- var tail_0 = this_0.y1b(2);
1165
+ var tail_0 = this_0.z1c(2);
1193
1166
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1194
- get_SegmentWriteContextImpl().q1d(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1167
+ get_SegmentWriteContextImpl().r1e(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1195
1168
  var bytesWritten_0 = 2;
1196
1169
  if (bytesWritten_0 === 2) {
1197
- tail_0.a1b_1 = tail_0.a1b_1 + bytesWritten_0 | 0;
1170
+ tail_0.b1c_1 = tail_0.b1c_1 + bytesWritten_0 | 0;
1198
1171
  var tmp_1 = this_0;
1199
1172
  // Inline function 'kotlin.Long.plus' call
1200
- tmp_1.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_0));
1173
+ tmp_1.t1b_1 = this_0.t1b_1.z2(toLong(bytesWritten_0));
1201
1174
  break $l$block_2;
1202
1175
  }
1203
1176
  // Inline function 'kotlin.check' call
1204
- // Inline function 'kotlin.contracts.contract' call
1205
- if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.d1c() : false)) {
1177
+ if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.e1d() : false)) {
1206
1178
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1207
- var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.d1c();
1179
+ var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.e1d();
1208
1180
  throw IllegalStateException_init_$Create$(toString(message_0));
1209
1181
  }
1210
1182
  if (!(bytesWritten_0 === 0)) {
1211
- tail_0.a1b_1 = tail_0.a1b_1 + bytesWritten_0 | 0;
1183
+ tail_0.b1c_1 = tail_0.b1c_1 + bytesWritten_0 | 0;
1212
1184
  var tmp_2 = this_0;
1213
1185
  // Inline function 'kotlin.Long.plus' call
1214
- tmp_2.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_0));
1186
+ tmp_2.t1b_1 = this_0.t1b_1.z2(toLong(bytesWritten_0));
1215
1187
  break $l$block_2;
1216
1188
  }
1217
1189
  if (isEmpty(tail_0)) {
1218
- this_0.s1c();
1190
+ this_0.t1d();
1219
1191
  }
1220
1192
  }
1221
1193
  i = i + 1 | 0;
1222
1194
  } else if (c < 55296 || c > 57343) {
1223
1195
  $l$block_4: {
1224
1196
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1225
- var tail_1 = this_0.y1b(3);
1197
+ var tail_1 = this_0.z1c(3);
1226
1198
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1227
- get_SegmentWriteContextImpl().p1d(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1199
+ get_SegmentWriteContextImpl().q1e(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1228
1200
  var bytesWritten_1 = 3;
1229
1201
  if (bytesWritten_1 === 3) {
1230
- tail_1.a1b_1 = tail_1.a1b_1 + bytesWritten_1 | 0;
1202
+ tail_1.b1c_1 = tail_1.b1c_1 + bytesWritten_1 | 0;
1231
1203
  var tmp_3 = this_0;
1232
1204
  // Inline function 'kotlin.Long.plus' call
1233
- tmp_3.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_1));
1205
+ tmp_3.t1b_1 = this_0.t1b_1.z2(toLong(bytesWritten_1));
1234
1206
  break $l$block_4;
1235
1207
  }
1236
1208
  // Inline function 'kotlin.check' call
1237
- // Inline function 'kotlin.contracts.contract' call
1238
- if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.d1c() : false)) {
1209
+ if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.e1d() : false)) {
1239
1210
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1240
- var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.d1c();
1211
+ var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.e1d();
1241
1212
  throw IllegalStateException_init_$Create$(toString(message_1));
1242
1213
  }
1243
1214
  if (!(bytesWritten_1 === 0)) {
1244
- tail_1.a1b_1 = tail_1.a1b_1 + bytesWritten_1 | 0;
1215
+ tail_1.b1c_1 = tail_1.b1c_1 + bytesWritten_1 | 0;
1245
1216
  var tmp_4 = this_0;
1246
1217
  // Inline function 'kotlin.Long.plus' call
1247
- tmp_4.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_1));
1218
+ tmp_4.t1b_1 = this_0.t1b_1.z2(toLong(bytesWritten_1));
1248
1219
  break $l$block_4;
1249
1220
  }
1250
1221
  if (isEmpty(tail_1)) {
1251
- this_0.s1c();
1222
+ this_0.t1d();
1252
1223
  }
1253
1224
  }
1254
1225
  i = i + 1 | 0;
1255
1226
  } else {
1256
1227
  var tmp_5;
1257
1228
  if ((i + 1 | 0) < endIndex) {
1258
- // Inline function 'kotlin.code' call
1229
+ // Inline function 'kotlinx.io.writeString.<anonymous>.stub_for_inlining' call
1259
1230
  var p0_1 = i + 1 | 0;
1231
+ // Inline function 'kotlin.code' call
1260
1232
  var this_3 = charSequenceGet(string, p0_1);
1261
1233
  tmp_5 = Char__toInt_impl_vasixd(this_3);
1262
1234
  } else {
@@ -1264,46 +1236,48 @@
1264
1236
  }
1265
1237
  var low = tmp_5;
1266
1238
  if (c > 56319 || !(56320 <= low ? low <= 57343 : false)) {
1267
- this_0.l1c(63);
1239
+ // Inline function 'kotlin.code' call
1240
+ var this_4 = _Char___init__impl__6a9atx(63);
1241
+ var tmp$ret$23 = Char__toInt_impl_vasixd(this_4);
1242
+ this_0.m1d(toByte(tmp$ret$23));
1268
1243
  i = i + 1 | 0;
1269
1244
  } else {
1270
1245
  var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
1271
1246
  $l$block_6: {
1272
1247
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1273
- var tail_2 = this_0.y1b(4);
1248
+ var tail_2 = this_0.z1c(4);
1274
1249
  // Inline function 'kotlinx.io.commonWriteUtf8.<anonymous>' call
1275
- get_SegmentWriteContextImpl().o1d(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1250
+ get_SegmentWriteContextImpl().p1e(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1276
1251
  var bytesWritten_2 = 4;
1277
1252
  if (bytesWritten_2 === 4) {
1278
- tail_2.a1b_1 = tail_2.a1b_1 + bytesWritten_2 | 0;
1253
+ tail_2.b1c_1 = tail_2.b1c_1 + bytesWritten_2 | 0;
1279
1254
  var tmp_6 = this_0;
1280
1255
  // Inline function 'kotlin.Long.plus' call
1281
- tmp_6.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_2));
1256
+ tmp_6.t1b_1 = this_0.t1b_1.z2(toLong(bytesWritten_2));
1282
1257
  break $l$block_6;
1283
1258
  }
1284
1259
  // Inline function 'kotlin.check' call
1285
- // Inline function 'kotlin.contracts.contract' call
1286
- if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.d1c() : false)) {
1260
+ if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.e1d() : false)) {
1287
1261
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail.<anonymous>' call
1288
- var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.d1c();
1262
+ var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.e1d();
1289
1263
  throw IllegalStateException_init_$Create$(toString(message_2));
1290
1264
  }
1291
1265
  if (!(bytesWritten_2 === 0)) {
1292
- tail_2.a1b_1 = tail_2.a1b_1 + bytesWritten_2 | 0;
1266
+ tail_2.b1c_1 = tail_2.b1c_1 + bytesWritten_2 | 0;
1293
1267
  var tmp_7 = this_0;
1294
1268
  // Inline function 'kotlin.Long.plus' call
1295
- tmp_7.s1a_1 = this_0.s1a_1.z2(toLong(bytesWritten_2));
1269
+ tmp_7.t1b_1 = this_0.t1b_1.z2(toLong(bytesWritten_2));
1296
1270
  break $l$block_6;
1297
1271
  }
1298
1272
  if (isEmpty(tail_2)) {
1299
- this_0.s1c();
1273
+ this_0.t1d();
1300
1274
  }
1301
1275
  }
1302
1276
  i = i + 2 | 0;
1303
1277
  }
1304
1278
  }
1305
1279
  }
1306
- _this__u8e3s4.k1b();
1280
+ _this__u8e3s4.l1c();
1307
1281
  }
1308
1282
  function commonToUtf8String(_this__u8e3s4, beginIndex, endIndex) {
1309
1283
  beginIndex = beginIndex === VOID ? 0 : beginIndex;
@@ -1319,45 +1293,49 @@
1319
1293
  var b0 = _this__u8e3s4[index];
1320
1294
  if (b0 >= 0) {
1321
1295
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1296
+ var c = numberToChar(b0);
1322
1297
  var _unary__edvuaz = length;
1323
1298
  length = _unary__edvuaz + 1 | 0;
1324
- chars[_unary__edvuaz] = numberToChar(b0);
1299
+ chars[_unary__edvuaz] = c;
1325
1300
  index = index + 1 | 0;
1326
1301
  while (index < endIndex && _this__u8e3s4[index] >= 0) {
1327
- // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1328
1302
  var _unary__edvuaz_0 = index;
1329
1303
  index = _unary__edvuaz_0 + 1 | 0;
1304
+ // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1305
+ var c_0 = numberToChar(_this__u8e3s4[_unary__edvuaz_0]);
1330
1306
  var _unary__edvuaz_1 = length;
1331
1307
  length = _unary__edvuaz_1 + 1 | 0;
1332
- chars[_unary__edvuaz_1] = numberToChar(_this__u8e3s4[_unary__edvuaz_0]);
1308
+ chars[_unary__edvuaz_1] = c_0;
1333
1309
  }
1334
1310
  } else {
1335
1311
  // Inline function 'kotlinx.io.shr' call
1336
1312
  if (b0 >> 5 === -2) {
1337
1313
  var tmp = index;
1314
+ var tmp3 = index;
1338
1315
  var tmp$ret$1;
1339
1316
  $l$block_0: {
1340
1317
  // Inline function 'kotlinx.io.internal.process2Utf8Bytes' call
1341
- var beginIndex_0 = index;
1342
- if (endIndex <= (beginIndex_0 + 1 | 0)) {
1318
+ if (endIndex <= (tmp3 + 1 | 0)) {
1343
1319
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1344
1320
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1321
+ var c_1 = numberToChar(65533);
1345
1322
  var _unary__edvuaz_2 = length;
1346
1323
  length = _unary__edvuaz_2 + 1 | 0;
1347
- chars[_unary__edvuaz_2] = numberToChar(65533);
1324
+ chars[_unary__edvuaz_2] = c_1;
1348
1325
  tmp$ret$1 = 1;
1349
1326
  break $l$block_0;
1350
1327
  }
1351
- var b0_0 = _this__u8e3s4[beginIndex_0];
1352
- var b1 = _this__u8e3s4[beginIndex_0 + 1 | 0];
1328
+ var b0_0 = _this__u8e3s4[tmp3];
1329
+ var b1 = _this__u8e3s4[tmp3 + 1 | 0];
1353
1330
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1354
1331
  // Inline function 'kotlinx.io.and' call
1355
1332
  if (!((b1 & 192) === 128)) {
1356
1333
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1357
1334
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1335
+ var c_2 = numberToChar(65533);
1358
1336
  var _unary__edvuaz_3 = length;
1359
1337
  length = _unary__edvuaz_3 + 1 | 0;
1360
- chars[_unary__edvuaz_3] = numberToChar(65533);
1338
+ chars[_unary__edvuaz_3] = c_2;
1361
1339
  tmp$ret$1 = 1;
1362
1340
  break $l$block_0;
1363
1341
  }
@@ -1365,15 +1343,17 @@
1365
1343
  if (codePoint < 128) {
1366
1344
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1367
1345
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1346
+ var c_3 = numberToChar(65533);
1368
1347
  var _unary__edvuaz_4 = length;
1369
1348
  length = _unary__edvuaz_4 + 1 | 0;
1370
- chars[_unary__edvuaz_4] = numberToChar(65533);
1349
+ chars[_unary__edvuaz_4] = c_3;
1371
1350
  } else {
1372
1351
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1373
1352
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1353
+ var c_4 = numberToChar(codePoint);
1374
1354
  var _unary__edvuaz_5 = length;
1375
1355
  length = _unary__edvuaz_5 + 1 | 0;
1376
- chars[_unary__edvuaz_5] = numberToChar(codePoint);
1356
+ chars[_unary__edvuaz_5] = c_4;
1377
1357
  }
1378
1358
  tmp$ret$1 = 2;
1379
1359
  }
@@ -1382,23 +1362,24 @@
1382
1362
  // Inline function 'kotlinx.io.shr' call
1383
1363
  if (b0 >> 4 === -2) {
1384
1364
  var tmp_0 = index;
1365
+ var tmp12 = index;
1385
1366
  var tmp$ret$7;
1386
1367
  $l$block_4: {
1387
1368
  // Inline function 'kotlinx.io.internal.process3Utf8Bytes' call
1388
- var beginIndex_1 = index;
1389
- if (endIndex <= (beginIndex_1 + 2 | 0)) {
1369
+ if (endIndex <= (tmp12 + 2 | 0)) {
1390
1370
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1391
1371
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1372
+ var c_5 = numberToChar(65533);
1392
1373
  var _unary__edvuaz_6 = length;
1393
1374
  length = _unary__edvuaz_6 + 1 | 0;
1394
- chars[_unary__edvuaz_6] = numberToChar(65533);
1375
+ chars[_unary__edvuaz_6] = c_5;
1395
1376
  var tmp_1;
1396
- if (endIndex <= (beginIndex_1 + 1 | 0)) {
1377
+ if (endIndex <= (tmp12 + 1 | 0)) {
1397
1378
  tmp_1 = true;
1398
1379
  } else {
1399
1380
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1400
1381
  // Inline function 'kotlinx.io.and' call
1401
- tmp_1 = !((_this__u8e3s4[beginIndex_1 + 1 | 0] & 192) === 128);
1382
+ tmp_1 = !((_this__u8e3s4[tmp12 + 1 | 0] & 192) === 128);
1402
1383
  }
1403
1384
  if (tmp_1) {
1404
1385
  tmp$ret$7 = 1;
@@ -1408,28 +1389,30 @@
1408
1389
  break $l$block_4;
1409
1390
  }
1410
1391
  }
1411
- var b0_1 = _this__u8e3s4[beginIndex_1];
1412
- var b1_0 = _this__u8e3s4[beginIndex_1 + 1 | 0];
1392
+ var b0_1 = _this__u8e3s4[tmp12];
1393
+ var b1_0 = _this__u8e3s4[tmp12 + 1 | 0];
1413
1394
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1414
1395
  // Inline function 'kotlinx.io.and' call
1415
1396
  if (!((b1_0 & 192) === 128)) {
1416
1397
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1417
1398
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1399
+ var c_6 = numberToChar(65533);
1418
1400
  var _unary__edvuaz_7 = length;
1419
1401
  length = _unary__edvuaz_7 + 1 | 0;
1420
- chars[_unary__edvuaz_7] = numberToChar(65533);
1402
+ chars[_unary__edvuaz_7] = c_6;
1421
1403
  tmp$ret$7 = 1;
1422
1404
  break $l$block_4;
1423
1405
  }
1424
- var b2 = _this__u8e3s4[beginIndex_1 + 2 | 0];
1406
+ var b2 = _this__u8e3s4[tmp12 + 2 | 0];
1425
1407
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1426
1408
  // Inline function 'kotlinx.io.and' call
1427
1409
  if (!((b2 & 192) === 128)) {
1428
1410
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1429
1411
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1412
+ var c_7 = numberToChar(65533);
1430
1413
  var _unary__edvuaz_8 = length;
1431
1414
  length = _unary__edvuaz_8 + 1 | 0;
1432
- chars[_unary__edvuaz_8] = numberToChar(65533);
1415
+ chars[_unary__edvuaz_8] = c_7;
1433
1416
  tmp$ret$7 = 2;
1434
1417
  break $l$block_4;
1435
1418
  }
@@ -1437,21 +1420,24 @@
1437
1420
  if (codePoint_0 < 2048) {
1438
1421
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1439
1422
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1423
+ var c_8 = numberToChar(65533);
1440
1424
  var _unary__edvuaz_9 = length;
1441
1425
  length = _unary__edvuaz_9 + 1 | 0;
1442
- chars[_unary__edvuaz_9] = numberToChar(65533);
1426
+ chars[_unary__edvuaz_9] = c_8;
1443
1427
  } else if (55296 <= codePoint_0 ? codePoint_0 <= 57343 : false) {
1444
1428
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1445
1429
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1430
+ var c_9 = numberToChar(65533);
1446
1431
  var _unary__edvuaz_10 = length;
1447
1432
  length = _unary__edvuaz_10 + 1 | 0;
1448
- chars[_unary__edvuaz_10] = numberToChar(65533);
1433
+ chars[_unary__edvuaz_10] = c_9;
1449
1434
  } else {
1450
1435
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1451
1436
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1437
+ var c_10 = numberToChar(codePoint_0);
1452
1438
  var _unary__edvuaz_11 = length;
1453
1439
  length = _unary__edvuaz_11 + 1 | 0;
1454
- chars[_unary__edvuaz_11] = numberToChar(codePoint_0);
1440
+ chars[_unary__edvuaz_11] = c_10;
1455
1441
  }
1456
1442
  tmp$ret$7 = 3;
1457
1443
  }
@@ -1460,46 +1446,49 @@
1460
1446
  // Inline function 'kotlinx.io.shr' call
1461
1447
  if (b0 >> 3 === -2) {
1462
1448
  var tmp_2 = index;
1449
+ var tmp23 = index;
1463
1450
  var tmp$ret$15;
1464
1451
  $l$block_10: {
1465
1452
  // Inline function 'kotlinx.io.internal.process4Utf8Bytes' call
1466
- var beginIndex_2 = index;
1467
- if (endIndex <= (beginIndex_2 + 3 | 0)) {
1453
+ if (endIndex <= (tmp23 + 3 | 0)) {
1468
1454
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1469
1455
  if (!(65533 === 65533)) {
1470
1456
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1457
+ var c_11 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1471
1458
  var _unary__edvuaz_12 = length;
1472
1459
  length = _unary__edvuaz_12 + 1 | 0;
1473
- chars[_unary__edvuaz_12] = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1460
+ chars[_unary__edvuaz_12] = c_11;
1474
1461
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1462
+ var c_12 = numberToChar((65533 & 1023) + 56320 | 0);
1475
1463
  var _unary__edvuaz_13 = length;
1476
1464
  length = _unary__edvuaz_13 + 1 | 0;
1477
- chars[_unary__edvuaz_13] = numberToChar((65533 & 1023) + 56320 | 0);
1465
+ chars[_unary__edvuaz_13] = c_12;
1478
1466
  } else {
1479
1467
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1468
+ var c_13 = _Char___init__impl__6a9atx(65533);
1480
1469
  var _unary__edvuaz_14 = length;
1481
1470
  length = _unary__edvuaz_14 + 1 | 0;
1482
- chars[_unary__edvuaz_14] = _Char___init__impl__6a9atx(65533);
1471
+ chars[_unary__edvuaz_14] = c_13;
1483
1472
  }
1484
1473
  var tmp_3;
1485
- if (endIndex <= (beginIndex_2 + 1 | 0)) {
1474
+ if (endIndex <= (tmp23 + 1 | 0)) {
1486
1475
  tmp_3 = true;
1487
1476
  } else {
1488
1477
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1489
1478
  // Inline function 'kotlinx.io.and' call
1490
- tmp_3 = !((_this__u8e3s4[beginIndex_2 + 1 | 0] & 192) === 128);
1479
+ tmp_3 = !((_this__u8e3s4[tmp23 + 1 | 0] & 192) === 128);
1491
1480
  }
1492
1481
  if (tmp_3) {
1493
1482
  tmp$ret$15 = 1;
1494
1483
  break $l$block_10;
1495
1484
  } else {
1496
1485
  var tmp_4;
1497
- if (endIndex <= (beginIndex_2 + 2 | 0)) {
1486
+ if (endIndex <= (tmp23 + 2 | 0)) {
1498
1487
  tmp_4 = true;
1499
1488
  } else {
1500
1489
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1501
1490
  // Inline function 'kotlinx.io.and' call
1502
- tmp_4 = !((_this__u8e3s4[beginIndex_2 + 2 | 0] & 192) === 128);
1491
+ tmp_4 = !((_this__u8e3s4[tmp23 + 2 | 0] & 192) === 128);
1503
1492
  }
1504
1493
  if (tmp_4) {
1505
1494
  tmp$ret$15 = 2;
@@ -1510,72 +1499,81 @@
1510
1499
  }
1511
1500
  }
1512
1501
  }
1513
- var b0_2 = _this__u8e3s4[beginIndex_2];
1514
- var b1_1 = _this__u8e3s4[beginIndex_2 + 1 | 0];
1502
+ var b0_2 = _this__u8e3s4[tmp23];
1503
+ var b1_1 = _this__u8e3s4[tmp23 + 1 | 0];
1515
1504
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1516
1505
  // Inline function 'kotlinx.io.and' call
1517
1506
  if (!((b1_1 & 192) === 128)) {
1518
1507
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1519
1508
  if (!(65533 === 65533)) {
1520
1509
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1510
+ var c_14 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1521
1511
  var _unary__edvuaz_15 = length;
1522
1512
  length = _unary__edvuaz_15 + 1 | 0;
1523
- chars[_unary__edvuaz_15] = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1513
+ chars[_unary__edvuaz_15] = c_14;
1524
1514
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1515
+ var c_15 = numberToChar((65533 & 1023) + 56320 | 0);
1525
1516
  var _unary__edvuaz_16 = length;
1526
1517
  length = _unary__edvuaz_16 + 1 | 0;
1527
- chars[_unary__edvuaz_16] = numberToChar((65533 & 1023) + 56320 | 0);
1518
+ chars[_unary__edvuaz_16] = c_15;
1528
1519
  } else {
1529
1520
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1521
+ var c_16 = _Char___init__impl__6a9atx(65533);
1530
1522
  var _unary__edvuaz_17 = length;
1531
1523
  length = _unary__edvuaz_17 + 1 | 0;
1532
- chars[_unary__edvuaz_17] = _Char___init__impl__6a9atx(65533);
1524
+ chars[_unary__edvuaz_17] = c_16;
1533
1525
  }
1534
1526
  tmp$ret$15 = 1;
1535
1527
  break $l$block_10;
1536
1528
  }
1537
- var b2_0 = _this__u8e3s4[beginIndex_2 + 2 | 0];
1529
+ var b2_0 = _this__u8e3s4[tmp23 + 2 | 0];
1538
1530
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1539
1531
  // Inline function 'kotlinx.io.and' call
1540
1532
  if (!((b2_0 & 192) === 128)) {
1541
1533
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1542
1534
  if (!(65533 === 65533)) {
1543
1535
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1536
+ var c_17 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1544
1537
  var _unary__edvuaz_18 = length;
1545
1538
  length = _unary__edvuaz_18 + 1 | 0;
1546
- chars[_unary__edvuaz_18] = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1539
+ chars[_unary__edvuaz_18] = c_17;
1547
1540
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1541
+ var c_18 = numberToChar((65533 & 1023) + 56320 | 0);
1548
1542
  var _unary__edvuaz_19 = length;
1549
1543
  length = _unary__edvuaz_19 + 1 | 0;
1550
- chars[_unary__edvuaz_19] = numberToChar((65533 & 1023) + 56320 | 0);
1544
+ chars[_unary__edvuaz_19] = c_18;
1551
1545
  } else {
1552
1546
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1547
+ var c_19 = _Char___init__impl__6a9atx(65533);
1553
1548
  var _unary__edvuaz_20 = length;
1554
1549
  length = _unary__edvuaz_20 + 1 | 0;
1555
- chars[_unary__edvuaz_20] = _Char___init__impl__6a9atx(65533);
1550
+ chars[_unary__edvuaz_20] = c_19;
1556
1551
  }
1557
1552
  tmp$ret$15 = 2;
1558
1553
  break $l$block_10;
1559
1554
  }
1560
- var b3 = _this__u8e3s4[beginIndex_2 + 3 | 0];
1555
+ var b3 = _this__u8e3s4[tmp23 + 3 | 0];
1561
1556
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1562
1557
  // Inline function 'kotlinx.io.and' call
1563
1558
  if (!((b3 & 192) === 128)) {
1564
1559
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1565
1560
  if (!(65533 === 65533)) {
1566
1561
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1562
+ var c_20 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1567
1563
  var _unary__edvuaz_21 = length;
1568
1564
  length = _unary__edvuaz_21 + 1 | 0;
1569
- chars[_unary__edvuaz_21] = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1565
+ chars[_unary__edvuaz_21] = c_20;
1570
1566
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1567
+ var c_21 = numberToChar((65533 & 1023) + 56320 | 0);
1571
1568
  var _unary__edvuaz_22 = length;
1572
1569
  length = _unary__edvuaz_22 + 1 | 0;
1573
- chars[_unary__edvuaz_22] = numberToChar((65533 & 1023) + 56320 | 0);
1570
+ chars[_unary__edvuaz_22] = c_21;
1574
1571
  } else {
1575
1572
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1573
+ var c_22 = _Char___init__impl__6a9atx(65533);
1576
1574
  var _unary__edvuaz_23 = length;
1577
1575
  length = _unary__edvuaz_23 + 1 | 0;
1578
- chars[_unary__edvuaz_23] = _Char___init__impl__6a9atx(65533);
1576
+ chars[_unary__edvuaz_23] = c_22;
1579
1577
  }
1580
1578
  tmp$ret$15 = 3;
1581
1579
  break $l$block_10;
@@ -1585,69 +1583,81 @@
1585
1583
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1586
1584
  if (!(65533 === 65533)) {
1587
1585
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1586
+ var c_23 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1588
1587
  var _unary__edvuaz_24 = length;
1589
1588
  length = _unary__edvuaz_24 + 1 | 0;
1590
- chars[_unary__edvuaz_24] = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1589
+ chars[_unary__edvuaz_24] = c_23;
1591
1590
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1591
+ var c_24 = numberToChar((65533 & 1023) + 56320 | 0);
1592
1592
  var _unary__edvuaz_25 = length;
1593
1593
  length = _unary__edvuaz_25 + 1 | 0;
1594
- chars[_unary__edvuaz_25] = numberToChar((65533 & 1023) + 56320 | 0);
1594
+ chars[_unary__edvuaz_25] = c_24;
1595
1595
  } else {
1596
1596
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1597
+ var c_25 = _Char___init__impl__6a9atx(65533);
1597
1598
  var _unary__edvuaz_26 = length;
1598
1599
  length = _unary__edvuaz_26 + 1 | 0;
1599
- chars[_unary__edvuaz_26] = _Char___init__impl__6a9atx(65533);
1600
+ chars[_unary__edvuaz_26] = c_25;
1600
1601
  }
1601
1602
  } else if (55296 <= codePoint_1 ? codePoint_1 <= 57343 : false) {
1602
1603
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1603
1604
  if (!(65533 === 65533)) {
1604
1605
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1606
+ var c_26 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1605
1607
  var _unary__edvuaz_27 = length;
1606
1608
  length = _unary__edvuaz_27 + 1 | 0;
1607
- chars[_unary__edvuaz_27] = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1609
+ chars[_unary__edvuaz_27] = c_26;
1608
1610
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1611
+ var c_27 = numberToChar((65533 & 1023) + 56320 | 0);
1609
1612
  var _unary__edvuaz_28 = length;
1610
1613
  length = _unary__edvuaz_28 + 1 | 0;
1611
- chars[_unary__edvuaz_28] = numberToChar((65533 & 1023) + 56320 | 0);
1614
+ chars[_unary__edvuaz_28] = c_27;
1612
1615
  } else {
1613
1616
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1617
+ var c_28 = _Char___init__impl__6a9atx(65533);
1614
1618
  var _unary__edvuaz_29 = length;
1615
1619
  length = _unary__edvuaz_29 + 1 | 0;
1616
- chars[_unary__edvuaz_29] = _Char___init__impl__6a9atx(65533);
1620
+ chars[_unary__edvuaz_29] = c_28;
1617
1621
  }
1618
1622
  } else if (codePoint_1 < 65536) {
1619
1623
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1620
1624
  if (!(65533 === 65533)) {
1621
1625
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1626
+ var c_29 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1622
1627
  var _unary__edvuaz_30 = length;
1623
1628
  length = _unary__edvuaz_30 + 1 | 0;
1624
- chars[_unary__edvuaz_30] = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1629
+ chars[_unary__edvuaz_30] = c_29;
1625
1630
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1631
+ var c_30 = numberToChar((65533 & 1023) + 56320 | 0);
1626
1632
  var _unary__edvuaz_31 = length;
1627
1633
  length = _unary__edvuaz_31 + 1 | 0;
1628
- chars[_unary__edvuaz_31] = numberToChar((65533 & 1023) + 56320 | 0);
1634
+ chars[_unary__edvuaz_31] = c_30;
1629
1635
  } else {
1630
1636
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1637
+ var c_31 = _Char___init__impl__6a9atx(65533);
1631
1638
  var _unary__edvuaz_32 = length;
1632
1639
  length = _unary__edvuaz_32 + 1 | 0;
1633
- chars[_unary__edvuaz_32] = _Char___init__impl__6a9atx(65533);
1640
+ chars[_unary__edvuaz_32] = c_31;
1634
1641
  }
1635
1642
  } else {
1636
1643
  // Inline function 'kotlinx.io.internal.processUtf16Chars.<anonymous>' call
1637
1644
  if (!(codePoint_1 === 65533)) {
1638
1645
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1646
+ var c_32 = numberToChar((codePoint_1 >>> 10 | 0) + 55232 | 0);
1639
1647
  var _unary__edvuaz_33 = length;
1640
1648
  length = _unary__edvuaz_33 + 1 | 0;
1641
- chars[_unary__edvuaz_33] = numberToChar((codePoint_1 >>> 10 | 0) + 55232 | 0);
1649
+ chars[_unary__edvuaz_33] = c_32;
1642
1650
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1651
+ var c_33 = numberToChar((codePoint_1 & 1023) + 56320 | 0);
1643
1652
  var _unary__edvuaz_34 = length;
1644
1653
  length = _unary__edvuaz_34 + 1 | 0;
1645
- chars[_unary__edvuaz_34] = numberToChar((codePoint_1 & 1023) + 56320 | 0);
1654
+ chars[_unary__edvuaz_34] = c_33;
1646
1655
  } else {
1647
1656
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1657
+ var c_34 = _Char___init__impl__6a9atx(65533);
1648
1658
  var _unary__edvuaz_35 = length;
1649
1659
  length = _unary__edvuaz_35 + 1 | 0;
1650
- chars[_unary__edvuaz_35] = _Char___init__impl__6a9atx(65533);
1660
+ chars[_unary__edvuaz_35] = c_34;
1651
1661
  }
1652
1662
  }
1653
1663
  tmp$ret$15 = 4;
@@ -1655,9 +1665,10 @@
1655
1665
  index = tmp_2 + tmp$ret$15 | 0;
1656
1666
  } else {
1657
1667
  // Inline function 'kotlinx.io.internal.commonToUtf8String.<anonymous>' call
1668
+ var c_35 = _Char___init__impl__6a9atx(65533);
1658
1669
  var _unary__edvuaz_36 = length;
1659
1670
  length = _unary__edvuaz_36 + 1 | 0;
1660
- chars[_unary__edvuaz_36] = _Char___init__impl__6a9atx(65533);
1671
+ chars[_unary__edvuaz_36] = c_35;
1661
1672
  index = index + 1 | 0;
1662
1673
  }
1663
1674
  }
@@ -1685,27 +1696,27 @@
1685
1696
  }
1686
1697
  function SegmentReadContextImpl$1() {
1687
1698
  }
1688
- protoOf(SegmentReadContextImpl$1).q1c = function (segment, offset) {
1689
- return segment.j1d(offset);
1699
+ protoOf(SegmentReadContextImpl$1).r1d = function (segment, offset) {
1700
+ return segment.k1e(offset);
1690
1701
  };
1691
1702
  function SegmentWriteContextImpl$1() {
1692
1703
  }
1693
- protoOf(SegmentWriteContextImpl$1).r1d = function (segment, offset, value) {
1694
- segment.k1d(offset, value);
1704
+ protoOf(SegmentWriteContextImpl$1).s1e = function (segment, offset, value) {
1705
+ segment.l1e(offset, value);
1695
1706
  };
1696
- protoOf(SegmentWriteContextImpl$1).q1d = function (segment, offset, b0, b1) {
1697
- segment.l1d(offset, b0, b1);
1707
+ protoOf(SegmentWriteContextImpl$1).r1e = function (segment, offset, b0, b1) {
1708
+ segment.m1e(offset, b0, b1);
1698
1709
  };
1699
- protoOf(SegmentWriteContextImpl$1).p1d = function (segment, offset, b0, b1, b2) {
1700
- segment.m1d(offset, b0, b1, b2);
1710
+ protoOf(SegmentWriteContextImpl$1).q1e = function (segment, offset, b0, b1, b2) {
1711
+ segment.n1e(offset, b0, b1, b2);
1701
1712
  };
1702
- protoOf(SegmentWriteContextImpl$1).o1d = function (segment, offset, b0, b1, b2, b3) {
1703
- segment.n1d(offset, b0, b1, b2, b3);
1713
+ protoOf(SegmentWriteContextImpl$1).p1e = function (segment, offset, b0, b1, b2, b3) {
1714
+ segment.o1e(offset, b0, b1, b2, b3);
1704
1715
  };
1705
1716
  function BufferIterationContextImpl$1() {
1706
1717
  }
1707
- protoOf(BufferIterationContextImpl$1).q1c = function (segment, offset) {
1708
- return get_SegmentReadContextImpl().q1c(segment, offset);
1718
+ protoOf(BufferIterationContextImpl$1).r1d = function (segment, offset) {
1719
+ return get_SegmentReadContextImpl().r1d(segment, offset);
1709
1720
  };
1710
1721
  var properties_initialized_UnsafeBufferOperations_kt_2xfgoc;
1711
1722
  function _init_properties_UnsafeBufferOperations_kt__xw75gy() {
@@ -1773,15 +1784,15 @@
1773
1784
  captureStack(this, EOFException);
1774
1785
  }
1775
1786
  function SegmentPool() {
1776
- this.z1b_1 = 0;
1777
- this.a1c_1 = 0;
1787
+ this.a1d_1 = 0;
1788
+ this.b1d_1 = 0;
1778
1789
  }
1779
- protoOf(SegmentPool).b1c = function () {
1780
- return Companion_instance.e1d();
1790
+ protoOf(SegmentPool).c1d = function () {
1791
+ return Companion_instance.f1e();
1781
1792
  };
1782
- protoOf(SegmentPool).r1c = function (segment) {
1793
+ protoOf(SegmentPool).s1d = function (segment) {
1783
1794
  };
1784
- protoOf(SegmentPool).g1d = function () {
1795
+ protoOf(SegmentPool).h1e = function () {
1785
1796
  return AlwaysSharedCopyTracker_getInstance();
1786
1797
  };
1787
1798
  var SegmentPool_instance;
@@ -1789,7 +1800,7 @@
1789
1800
  return SegmentPool_instance;
1790
1801
  }
1791
1802
  //region block: post-declaration
1792
- protoOf(Buffer).f1c = write$default;
1803
+ protoOf(Buffer).g1d = write$default;
1793
1804
  //endregion
1794
1805
  //region block: init
1795
1806
  Companion_instance = new Companion();
@@ -1814,5 +1825,3 @@
1814
1825
  //endregion
1815
1826
  return _;
1816
1827
  }(module.exports, require('./kotlin-kotlin-stdlib.js')));
1817
-
1818
- //# sourceMappingURL=kotlinx-io-kotlinx-io-core.js.map