@solibo/home-api 1.1.0 → 1.1.1

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.
@@ -26,7 +26,7 @@
26
26
  var Unit_instance = kotlin_kotlin.$_$.y4;
27
27
  var toShort = kotlin_kotlin.$_$.wb;
28
28
  var add = kotlin_kotlin.$_$.l9;
29
- var ensureNotNull = kotlin_kotlin.$_$.mg;
29
+ var ensureNotNull = kotlin_kotlin.$_$.ng;
30
30
  var fromInt = kotlin_kotlin.$_$.q9;
31
31
  var convertToInt = kotlin_kotlin.$_$.n9;
32
32
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.b1;
@@ -34,7 +34,7 @@
34
34
  var VOID = kotlin_kotlin.$_$.b;
35
35
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
36
36
  var UnsafeByteStringOperations_instance = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.b;
37
- var AutoCloseable = kotlin_kotlin.$_$.ef;
37
+ var AutoCloseable = kotlin_kotlin.$_$.ff;
38
38
  var objectCreate = kotlin_kotlin.$_$.tb;
39
39
  var initMetadataForCompanion = kotlin_kotlin.$_$.ya;
40
40
  var arrayCopy = kotlin_kotlin.$_$.p5;
@@ -52,7 +52,7 @@
52
52
  var captureStack = kotlin_kotlin.$_$.fa;
53
53
  var Exception_init_$Init$_0 = kotlin_kotlin.$_$.h1;
54
54
  var Exception_init_$Init$_1 = kotlin_kotlin.$_$.j1;
55
- var Exception = kotlin_kotlin.$_$.nf;
55
+ var Exception = kotlin_kotlin.$_$.of;
56
56
  //endregion
57
57
  //region block: pre-declaration
58
58
  initMetadataForInterface(Source, 'Source', VOID, VOID, [AutoCloseable]);
@@ -61,10 +61,10 @@
61
61
  endIndex = endIndex === VOID ? source.length : endIndex;
62
62
  var tmp;
63
63
  if ($super === VOID) {
64
- this.so(source, startIndex, endIndex);
64
+ this.aq(source, startIndex, endIndex);
65
65
  tmp = Unit_instance;
66
66
  } else {
67
- tmp = $super.so.call(this, source, startIndex, endIndex);
67
+ tmp = $super.aq.call(this, source, startIndex, endIndex);
68
68
  }
69
69
  return tmp;
70
70
  }
@@ -116,20 +116,20 @@
116
116
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + $this.g1().toString() + ', required: ' + byteCount.toString() + ')');
117
117
  }
118
118
  function Buffer() {
119
- this.fn_1 = null;
120
- this.gn_1 = null;
121
- this.hn_1 = 0n;
119
+ this.no_1 = null;
120
+ this.oo_1 = null;
121
+ this.po_1 = 0n;
122
122
  }
123
123
  protoOf(Buffer).g1 = function () {
124
- return this.hn_1;
124
+ return this.po_1;
125
125
  };
126
- protoOf(Buffer).in = function () {
126
+ protoOf(Buffer).qo = function () {
127
127
  return this;
128
128
  };
129
- protoOf(Buffer).jn = function () {
129
+ protoOf(Buffer).ro = function () {
130
130
  return this.g1() === 0n;
131
131
  };
132
- protoOf(Buffer).kn = function (byteCount) {
132
+ protoOf(Buffer).so = function (byteCount) {
133
133
  // Inline function 'kotlin.require' call
134
134
  if (!(byteCount >= 0n)) {
135
135
  var message = 'byteCount: ' + byteCount.toString();
@@ -139,7 +139,7 @@
139
139
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + this.g1().toString() + ', required: ' + byteCount.toString() + ')');
140
140
  }
141
141
  };
142
- protoOf(Buffer).ln = function (byteCount) {
142
+ protoOf(Buffer).to = function (byteCount) {
143
143
  // Inline function 'kotlin.require' call
144
144
  if (!(byteCount >= 0n)) {
145
145
  var message = 'byteCount: ' + byteCount.toString() + ' < 0';
@@ -147,8 +147,8 @@
147
147
  }
148
148
  return this.g1() >= byteCount;
149
149
  };
150
- protoOf(Buffer).mn = function () {
151
- var tmp0_elvis_lhs = this.fn_1;
150
+ protoOf(Buffer).uo = function () {
151
+ var tmp0_elvis_lhs = this.no_1;
152
152
  var tmp;
153
153
  if (tmp0_elvis_lhs == null) {
154
154
  throwEof(this, 1n);
@@ -158,18 +158,18 @@
158
158
  var segment = tmp;
159
159
  var segmentSize = segment.g1();
160
160
  if (segmentSize === 0) {
161
- this.un();
162
- return this.mn();
161
+ this.cp();
162
+ return this.uo();
163
163
  }
164
- var v = segment.vn();
165
- this.hn_1 = subtract(this.hn_1, 1n);
164
+ var v = segment.dp();
165
+ this.po_1 = subtract(this.po_1, 1n);
166
166
  if (segmentSize === 1) {
167
- this.un();
167
+ this.cp();
168
168
  }
169
169
  return v;
170
170
  };
171
- protoOf(Buffer).wn = function () {
172
- var tmp0_elvis_lhs = this.fn_1;
171
+ protoOf(Buffer).ep = function () {
172
+ var tmp0_elvis_lhs = this.no_1;
173
173
  var tmp;
174
174
  if (tmp0_elvis_lhs == null) {
175
175
  throwEof(this, 2n);
@@ -179,119 +179,119 @@
179
179
  var segment = tmp;
180
180
  var segmentSize = segment.g1();
181
181
  if (segmentSize < 2) {
182
- this.kn(2n);
182
+ this.so(2n);
183
183
  if (segmentSize === 0) {
184
- this.un();
185
- return this.wn();
184
+ this.cp();
185
+ return this.ep();
186
186
  }
187
187
  // Inline function 'kotlinx.io.and' call
188
- var tmp_0 = (this.mn() & 255) << 8;
188
+ var tmp_0 = (this.uo() & 255) << 8;
189
189
  // Inline function 'kotlinx.io.and' call
190
- var tmp$ret$1 = this.mn() & 255;
190
+ var tmp$ret$1 = this.uo() & 255;
191
191
  return toShort(tmp_0 | tmp$ret$1);
192
192
  }
193
- var v = segment.xn();
194
- this.hn_1 = subtract(this.hn_1, 2n);
193
+ var v = segment.fp();
194
+ this.po_1 = subtract(this.po_1, 2n);
195
195
  if (segmentSize === 2) {
196
- this.un();
196
+ this.cp();
197
197
  }
198
198
  return v;
199
199
  };
200
- protoOf(Buffer).yn = function () {
200
+ protoOf(Buffer).gp = function () {
201
201
  return Unit_instance;
202
202
  };
203
- protoOf(Buffer).zn = function (out, startIndex, endIndex) {
203
+ protoOf(Buffer).hp = function (out, startIndex, endIndex) {
204
204
  checkBounds(this.g1(), startIndex, endIndex);
205
205
  if (startIndex === endIndex)
206
206
  return Unit_instance;
207
207
  var currentOffset = startIndex;
208
208
  var remainingByteCount = subtract(endIndex, startIndex);
209
- out.hn_1 = add(out.hn_1, remainingByteCount);
210
- var s = this.fn_1;
211
- while (currentOffset >= fromInt(ensureNotNull(s).pn_1 - s.on_1 | 0)) {
212
- currentOffset = subtract(currentOffset, fromInt(s.pn_1 - s.on_1 | 0));
213
- s = s.sn_1;
209
+ out.po_1 = add(out.po_1, remainingByteCount);
210
+ var s = this.no_1;
211
+ while (currentOffset >= fromInt(ensureNotNull(s).xo_1 - s.wo_1 | 0)) {
212
+ currentOffset = subtract(currentOffset, fromInt(s.xo_1 - s.wo_1 | 0));
213
+ s = s.ap_1;
214
214
  }
215
215
  while (remainingByteCount > 0n) {
216
- var copy = ensureNotNull(s).ao();
217
- copy.on_1 = copy.on_1 + convertToInt(currentOffset) | 0;
216
+ var copy = ensureNotNull(s).ip();
217
+ copy.wo_1 = copy.wo_1 + convertToInt(currentOffset) | 0;
218
218
  var tmp = copy;
219
- var tmp0 = copy.on_1 + convertToInt(remainingByteCount) | 0;
219
+ var tmp0 = copy.wo_1 + convertToInt(remainingByteCount) | 0;
220
220
  // Inline function 'kotlin.comparisons.minOf' call
221
- var b = copy.pn_1;
222
- tmp.pn_1 = Math.min(tmp0, b);
221
+ var b = copy.xo_1;
222
+ tmp.xo_1 = Math.min(tmp0, b);
223
223
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
224
- if (out.fn_1 == null) {
225
- out.fn_1 = copy;
226
- out.gn_1 = copy;
224
+ if (out.no_1 == null) {
225
+ out.no_1 = copy;
226
+ out.oo_1 = copy;
227
227
  } else if (false) {
228
- out.gn_1 = ensureNotNull(out.gn_1).bo(copy).co();
229
- if (ensureNotNull(out.gn_1).tn_1 == null) {
230
- out.fn_1 = out.gn_1;
228
+ out.oo_1 = ensureNotNull(out.oo_1).jp(copy).kp();
229
+ if (ensureNotNull(out.oo_1).bp_1 == null) {
230
+ out.no_1 = out.oo_1;
231
231
  }
232
232
  } else {
233
- out.gn_1 = ensureNotNull(out.gn_1).bo(copy);
233
+ out.oo_1 = ensureNotNull(out.oo_1).jp(copy);
234
234
  }
235
- remainingByteCount = subtract(remainingByteCount, fromInt(copy.pn_1 - copy.on_1 | 0));
235
+ remainingByteCount = subtract(remainingByteCount, fromInt(copy.xo_1 - copy.wo_1 | 0));
236
236
  currentOffset = 0n;
237
- s = s.sn_1;
237
+ s = s.ap_1;
238
238
  }
239
239
  };
240
- protoOf(Buffer).do = function () {
240
+ protoOf(Buffer).lp = function () {
241
241
  var result = this.g1();
242
242
  if (result === 0n)
243
243
  return 0n;
244
- var tail = ensureNotNull(this.gn_1);
245
- if (tail.pn_1 < 8192 && tail.rn_1) {
246
- result = subtract(result, fromInt(tail.pn_1 - tail.on_1 | 0));
244
+ var tail = ensureNotNull(this.oo_1);
245
+ if (tail.xo_1 < 8192 && tail.zo_1) {
246
+ result = subtract(result, fromInt(tail.xo_1 - tail.wo_1 | 0));
247
247
  }
248
248
  return result;
249
249
  };
250
- protoOf(Buffer).eo = function (position) {
250
+ protoOf(Buffer).mp = function (position) {
251
251
  if (position < 0n || position >= this.g1()) {
252
252
  throw IndexOutOfBoundsException_init_$Create$('position (' + position.toString() + ') is not within the range [0..size(' + this.g1().toString() + '))');
253
253
  }
254
254
  if (position === 0n) {
255
- return ensureNotNull(this.fn_1).fo(0);
255
+ return ensureNotNull(this.no_1).np(0);
256
256
  }
257
257
  // Inline function 'kotlinx.io.seek' call
258
- if (this.fn_1 == null) {
259
- return ensureNotNull(null).fo(convertToInt(subtract(position, -1n)));
258
+ if (this.no_1 == null) {
259
+ return ensureNotNull(null).np(convertToInt(subtract(position, -1n)));
260
260
  }
261
261
  if (subtract(this.g1(), position) < position) {
262
- var s = this.gn_1;
262
+ var s = this.oo_1;
263
263
  var offset = this.g1();
264
264
  $l$loop: while (!(s == null) && offset > position) {
265
- offset = subtract(offset, fromInt(s.pn_1 - s.on_1 | 0));
265
+ offset = subtract(offset, fromInt(s.xo_1 - s.wo_1 | 0));
266
266
  if (offset <= position)
267
267
  break $l$loop;
268
- s = s.tn_1;
268
+ s = s.bp_1;
269
269
  }
270
270
  var tmp0 = s;
271
271
  var offset_0 = offset;
272
- return ensureNotNull(tmp0).fo(convertToInt(subtract(position, offset_0)));
272
+ return ensureNotNull(tmp0).np(convertToInt(subtract(position, offset_0)));
273
273
  } else {
274
- var s_0 = this.fn_1;
274
+ var s_0 = this.no_1;
275
275
  var offset_1 = 0n;
276
276
  $l$loop_0: while (!(s_0 == null)) {
277
277
  var tmp0_0 = offset_1;
278
278
  // Inline function 'kotlin.Long.plus' call
279
- var other = s_0.pn_1 - s_0.on_1 | 0;
279
+ var other = s_0.xo_1 - s_0.wo_1 | 0;
280
280
  var nextOffset = add(tmp0_0, fromInt(other));
281
281
  if (nextOffset > position)
282
282
  break $l$loop_0;
283
- s_0 = s_0.sn_1;
283
+ s_0 = s_0.ap_1;
284
284
  offset_1 = nextOffset;
285
285
  }
286
286
  var tmp0_1 = s_0;
287
287
  var offset_2 = offset_1;
288
- return ensureNotNull(tmp0_1).fo(convertToInt(subtract(position, offset_2)));
288
+ return ensureNotNull(tmp0_1).np(convertToInt(subtract(position, offset_2)));
289
289
  }
290
290
  };
291
291
  protoOf(Buffer).n2 = function () {
292
- return this.go(this.g1());
292
+ return this.op(this.g1());
293
293
  };
294
- protoOf(Buffer).go = function (byteCount) {
294
+ protoOf(Buffer).op = function (byteCount) {
295
295
  // Inline function 'kotlinx.io.checkByteCount' call
296
296
  // Inline function 'kotlin.require' call
297
297
  if (!(byteCount >= 0n)) {
@@ -300,7 +300,7 @@
300
300
  }
301
301
  var remainingByteCount = byteCount;
302
302
  while (remainingByteCount > 0n) {
303
- var tmp0_elvis_lhs = this.fn_1;
303
+ var tmp0_elvis_lhs = this.no_1;
304
304
  var tmp;
305
305
  if (tmp0_elvis_lhs == null) {
306
306
  throw EOFException_init_$Create$_0('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
@@ -310,24 +310,24 @@
310
310
  var head = tmp;
311
311
  var tmp0 = remainingByteCount;
312
312
  // Inline function 'kotlinx.io.minOf' call
313
- var b = head.pn_1 - head.on_1 | 0;
313
+ var b = head.xo_1 - head.wo_1 | 0;
314
314
  // Inline function 'kotlin.comparisons.minOf' call
315
315
  var b_0 = fromInt(b);
316
316
  var tmp$ret$4 = tmp0 <= b_0 ? tmp0 : b_0;
317
317
  var toSkip = convertToInt(tmp$ret$4);
318
- this.hn_1 = subtract(this.hn_1, fromInt(toSkip));
318
+ this.po_1 = subtract(this.po_1, fromInt(toSkip));
319
319
  remainingByteCount = subtract(remainingByteCount, fromInt(toSkip));
320
- head.on_1 = head.on_1 + toSkip | 0;
321
- if (head.on_1 === head.pn_1) {
322
- this.un();
320
+ head.wo_1 = head.wo_1 + toSkip | 0;
321
+ if (head.wo_1 === head.xo_1) {
322
+ this.cp();
323
323
  }
324
324
  }
325
325
  };
326
- protoOf(Buffer).ho = function (sink, startIndex, endIndex) {
326
+ protoOf(Buffer).pp = function (sink, startIndex, endIndex) {
327
327
  // Inline function 'kotlinx.io.checkBounds' call
328
328
  var size = sink.length;
329
329
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
330
- var tmp0_elvis_lhs = this.fn_1;
330
+ var tmp0_elvis_lhs = this.no_1;
331
331
  var tmp;
332
332
  if (tmp0_elvis_lhs == null) {
333
333
  return -1;
@@ -339,14 +339,14 @@
339
339
  // Inline function 'kotlin.comparisons.minOf' call
340
340
  var b = s.g1();
341
341
  var toCopy = Math.min(tmp0, b);
342
- s.io(sink, startIndex, startIndex + toCopy | 0);
343
- this.hn_1 = subtract(this.hn_1, fromInt(toCopy));
342
+ s.qp(sink, startIndex, startIndex + toCopy | 0);
343
+ this.po_1 = subtract(this.po_1, fromInt(toCopy));
344
344
  if (isEmpty(s)) {
345
- this.un();
345
+ this.cp();
346
346
  }
347
347
  return toCopy;
348
348
  };
349
- protoOf(Buffer).jo = function (sink, byteCount) {
349
+ protoOf(Buffer).rp = function (sink, byteCount) {
350
350
  // Inline function 'kotlinx.io.checkByteCount' call
351
351
  // Inline function 'kotlin.require' call
352
352
  if (!(byteCount >= 0n)) {
@@ -356,10 +356,10 @@
356
356
  if (this.g1() === 0n)
357
357
  return -1n;
358
358
  var bytesWritten = byteCount > this.g1() ? this.g1() : byteCount;
359
- sink.ko(this, bytesWritten);
359
+ sink.sp(this, bytesWritten);
360
360
  return bytesWritten;
361
361
  };
362
- protoOf(Buffer).lo = function (sink, byteCount) {
362
+ protoOf(Buffer).tp = function (sink, byteCount) {
363
363
  // Inline function 'kotlinx.io.checkByteCount' call
364
364
  // Inline function 'kotlin.require' call
365
365
  if (!(byteCount >= 0n)) {
@@ -367,62 +367,62 @@
367
367
  throw IllegalArgumentException_init_$Create$(toString(message));
368
368
  }
369
369
  if (this.g1() < byteCount) {
370
- sink.ko(this, this.g1());
370
+ sink.sp(this, this.g1());
371
371
  throw EOFException_init_$Create$_0('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.g1().toString() + ' bytes were written.');
372
372
  }
373
- sink.ko(this, byteCount);
373
+ sink.sp(this, byteCount);
374
374
  };
375
- protoOf(Buffer).mo = function (sink) {
375
+ protoOf(Buffer).up = function (sink) {
376
376
  var byteCount = this.g1();
377
377
  if (byteCount > 0n) {
378
- sink.ko(this, byteCount);
378
+ sink.sp(this, byteCount);
379
379
  }
380
380
  return byteCount;
381
381
  };
382
- protoOf(Buffer).no = function () {
382
+ protoOf(Buffer).vp = function () {
383
383
  return buffered(new PeekSource(this));
384
384
  };
385
- protoOf(Buffer).oo = function (minimumCapacity) {
385
+ protoOf(Buffer).wp = function (minimumCapacity) {
386
386
  // Inline function 'kotlin.require' call
387
387
  if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
388
388
  var message = 'unexpected capacity (' + minimumCapacity + '), should be in range [1, 8192]';
389
389
  throw IllegalArgumentException_init_$Create$(toString(message));
390
390
  }
391
- if (this.gn_1 == null) {
392
- var result = SegmentPool_instance.ro();
393
- this.fn_1 = result;
394
- this.gn_1 = result;
391
+ if (this.oo_1 == null) {
392
+ var result = SegmentPool_instance.zp();
393
+ this.no_1 = result;
394
+ this.oo_1 = result;
395
395
  return result;
396
396
  }
397
- var t = ensureNotNull(this.gn_1);
398
- if ((t.pn_1 + minimumCapacity | 0) > 8192 || !t.rn_1) {
399
- var newTail = t.bo(SegmentPool_instance.ro());
400
- this.gn_1 = newTail;
397
+ var t = ensureNotNull(this.oo_1);
398
+ if ((t.xo_1 + minimumCapacity | 0) > 8192 || !t.zo_1) {
399
+ var newTail = t.jp(SegmentPool_instance.zp());
400
+ this.oo_1 = newTail;
401
401
  return newTail;
402
402
  }
403
403
  return t;
404
404
  };
405
- protoOf(Buffer).so = function (source, startIndex, endIndex) {
405
+ protoOf(Buffer).aq = function (source, startIndex, endIndex) {
406
406
  // Inline function 'kotlinx.io.checkBounds' call
407
407
  var size = source.length;
408
408
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
409
409
  var currentOffset = startIndex;
410
410
  while (currentOffset < endIndex) {
411
- var tail = this.oo(1);
411
+ var tail = this.wp(1);
412
412
  var tmp0 = endIndex - currentOffset | 0;
413
413
  // Inline function 'kotlin.comparisons.minOf' call
414
- var b = tail.to();
414
+ var b = tail.bq();
415
415
  var toCopy = Math.min(tmp0, b);
416
- tail.uo(source, currentOffset, currentOffset + toCopy | 0);
416
+ tail.cq(source, currentOffset, currentOffset + toCopy | 0);
417
417
  currentOffset = currentOffset + toCopy | 0;
418
418
  }
419
419
  var tmp = this;
420
- var tmp0_0 = this.hn_1;
420
+ var tmp0_0 = this.po_1;
421
421
  // Inline function 'kotlin.Long.plus' call
422
422
  var other = endIndex - startIndex | 0;
423
- tmp.hn_1 = add(tmp0_0, fromInt(other));
423
+ tmp.po_1 = add(tmp0_0, fromInt(other));
424
424
  };
425
- protoOf(Buffer).wo = function (source, byteCount) {
425
+ protoOf(Buffer).eq = function (source, byteCount) {
426
426
  // Inline function 'kotlinx.io.checkByteCount' call
427
427
  // Inline function 'kotlin.require' call
428
428
  if (!(byteCount >= 0n)) {
@@ -431,87 +431,87 @@
431
431
  }
432
432
  var remainingByteCount = byteCount;
433
433
  while (remainingByteCount > 0n) {
434
- var read = source.jo(this, remainingByteCount);
434
+ var read = source.rp(this, remainingByteCount);
435
435
  if (read === -1n) {
436
436
  throw EOFException_init_$Create$_0('Source exhausted before reading ' + byteCount.toString() + ' bytes. ' + ('Only ' + subtract(byteCount, remainingByteCount).toString() + ' were read.'));
437
437
  }
438
438
  remainingByteCount = subtract(remainingByteCount, read);
439
439
  }
440
440
  };
441
- protoOf(Buffer).ko = function (source, byteCount) {
441
+ protoOf(Buffer).sp = function (source, byteCount) {
442
442
  // Inline function 'kotlin.require' call
443
443
  if (!!(source === this)) {
444
444
  var message = 'source == this';
445
445
  throw IllegalArgumentException_init_$Create$(toString(message));
446
446
  }
447
- checkOffsetAndCount(source.hn_1, 0n, byteCount);
447
+ checkOffsetAndCount(source.po_1, 0n, byteCount);
448
448
  var remainingByteCount = byteCount;
449
449
  while (remainingByteCount > 0n) {
450
- if (remainingByteCount < fromInt(ensureNotNull(source.fn_1).g1())) {
451
- var tail = this.gn_1;
450
+ if (remainingByteCount < fromInt(ensureNotNull(source.no_1).g1())) {
451
+ var tail = this.oo_1;
452
452
  var tmp;
453
- if (!(tail == null) && tail.rn_1) {
453
+ if (!(tail == null) && tail.zo_1) {
454
454
  var tmp0 = remainingByteCount;
455
455
  // Inline function 'kotlin.Long.plus' call
456
- var other = tail.pn_1;
456
+ var other = tail.xo_1;
457
457
  var tmp0_0 = add(tmp0, fromInt(other));
458
458
  // Inline function 'kotlin.Long.minus' call
459
- var other_0 = tail.xo() ? 0 : tail.on_1;
459
+ var other_0 = tail.fq() ? 0 : tail.wo_1;
460
460
  tmp = subtract(tmp0_0, fromInt(other_0)) <= 8192n;
461
461
  } else {
462
462
  tmp = false;
463
463
  }
464
464
  if (tmp) {
465
- ensureNotNull(source.fn_1).zo(tail, convertToInt(remainingByteCount));
466
- source.hn_1 = subtract(source.hn_1, remainingByteCount);
467
- this.hn_1 = add(this.hn_1, remainingByteCount);
465
+ ensureNotNull(source.no_1).hq(tail, convertToInt(remainingByteCount));
466
+ source.po_1 = subtract(source.po_1, remainingByteCount);
467
+ this.po_1 = add(this.po_1, remainingByteCount);
468
468
  return Unit_instance;
469
469
  } else {
470
- source.fn_1 = ensureNotNull(source.fn_1).yo(convertToInt(remainingByteCount));
470
+ source.no_1 = ensureNotNull(source.no_1).gq(convertToInt(remainingByteCount));
471
471
  }
472
472
  }
473
- var segmentToMove = ensureNotNull(source.fn_1);
473
+ var segmentToMove = ensureNotNull(source.no_1);
474
474
  var movedByteCount = fromInt(segmentToMove.g1());
475
- source.fn_1 = segmentToMove.ap();
476
- if (source.fn_1 == null) {
477
- source.gn_1 = null;
475
+ source.no_1 = segmentToMove.iq();
476
+ if (source.no_1 == null) {
477
+ source.oo_1 = null;
478
478
  }
479
479
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
480
- if (this.fn_1 == null) {
481
- this.fn_1 = segmentToMove;
482
- this.gn_1 = segmentToMove;
480
+ if (this.no_1 == null) {
481
+ this.no_1 = segmentToMove;
482
+ this.oo_1 = segmentToMove;
483
483
  } else if (true) {
484
- this.gn_1 = ensureNotNull(this.gn_1).bo(segmentToMove).co();
485
- if (ensureNotNull(this.gn_1).tn_1 == null) {
486
- this.fn_1 = this.gn_1;
484
+ this.oo_1 = ensureNotNull(this.oo_1).jp(segmentToMove).kp();
485
+ if (ensureNotNull(this.oo_1).bp_1 == null) {
486
+ this.no_1 = this.oo_1;
487
487
  }
488
488
  } else {
489
- this.gn_1 = ensureNotNull(this.gn_1).bo(segmentToMove);
489
+ this.oo_1 = ensureNotNull(this.oo_1).jp(segmentToMove);
490
490
  }
491
- source.hn_1 = subtract(source.hn_1, movedByteCount);
492
- this.hn_1 = add(this.hn_1, movedByteCount);
491
+ source.po_1 = subtract(source.po_1, movedByteCount);
492
+ this.po_1 = add(this.po_1, movedByteCount);
493
493
  remainingByteCount = subtract(remainingByteCount, movedByteCount);
494
494
  }
495
495
  };
496
- protoOf(Buffer).bp = function (source) {
496
+ protoOf(Buffer).jq = function (source) {
497
497
  var totalBytesRead = 0n;
498
498
  $l$loop: while (true) {
499
- var readCount = source.jo(this, 8192n);
499
+ var readCount = source.rp(this, 8192n);
500
500
  if (readCount === -1n)
501
501
  break $l$loop;
502
502
  totalBytesRead = add(totalBytesRead, readCount);
503
503
  }
504
504
  return totalBytesRead;
505
505
  };
506
- protoOf(Buffer).cp = function (byte) {
507
- this.oo(1).dp(byte);
508
- this.hn_1 = add(this.hn_1, 1n);
506
+ protoOf(Buffer).kq = function (byte) {
507
+ this.wp(1).lq(byte);
508
+ this.po_1 = add(this.po_1, 1n);
509
509
  };
510
- protoOf(Buffer).ep = function (short) {
511
- this.oo(2).fp(short);
512
- this.hn_1 = add(this.hn_1, 2n);
510
+ protoOf(Buffer).mq = function (short) {
511
+ this.wp(2).nq(short);
512
+ this.po_1 = add(this.po_1, 2n);
513
513
  };
514
- protoOf(Buffer).g4 = function () {
514
+ protoOf(Buffer).j4 = function () {
515
515
  return Unit_instance;
516
516
  };
517
517
  protoOf(Buffer).toString = function () {
@@ -527,7 +527,7 @@
527
527
  var builder = StringBuilder_init_$Create$(imul(len, 2) + (this.g1() > fromInt(maxPrintableBytes) ? 1 : 0) | 0);
528
528
  var bytesWritten = 0;
529
529
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
530
- var curr = this.fn_1;
530
+ var curr = this.no_1;
531
531
  while (!(curr == null)) {
532
532
  var tmp0 = get_SegmentReadContextImpl();
533
533
  var segment = curr;
@@ -535,7 +535,7 @@
535
535
  while (bytesWritten < len && idx < segment.g1()) {
536
536
  var _unary__edvuaz = idx;
537
537
  idx = _unary__edvuaz + 1 | 0;
538
- var b_0 = tmp0.gp(segment, _unary__edvuaz);
538
+ var b_0 = tmp0.oq(segment, _unary__edvuaz);
539
539
  bytesWritten = bytesWritten + 1 | 0;
540
540
  var tmp = get_HEX_DIGIT_CHARS();
541
541
  // Inline function 'kotlinx.io.shr' call
@@ -546,36 +546,36 @@
546
546
  var tmp$ret$3 = b_0 & 15;
547
547
  tmp_0.s(tmp_1[tmp$ret$3]);
548
548
  }
549
- curr = curr.sn_1;
549
+ curr = curr.ap_1;
550
550
  }
551
551
  if (this.g1() > fromInt(maxPrintableBytes)) {
552
552
  builder.s(_Char___init__impl__6a9atx(8230));
553
553
  }
554
554
  return 'Buffer(size=' + this.g1().toString() + ' hex=' + builder.toString() + ')';
555
555
  };
556
- protoOf(Buffer).un = function () {
557
- var oldHead = ensureNotNull(this.fn_1);
558
- var nextHead = oldHead.sn_1;
559
- this.fn_1 = nextHead;
556
+ protoOf(Buffer).cp = function () {
557
+ var oldHead = ensureNotNull(this.no_1);
558
+ var nextHead = oldHead.ap_1;
559
+ this.no_1 = nextHead;
560
560
  if (nextHead == null) {
561
- this.gn_1 = null;
561
+ this.oo_1 = null;
562
562
  } else {
563
- nextHead.tn_1 = null;
563
+ nextHead.bp_1 = null;
564
564
  }
565
- oldHead.sn_1 = null;
566
- SegmentPool_instance.hp(oldHead);
565
+ oldHead.ap_1 = null;
566
+ SegmentPool_instance.pq(oldHead);
567
567
  };
568
- protoOf(Buffer).ip = function () {
569
- var oldTail = ensureNotNull(this.gn_1);
570
- var newTail = oldTail.tn_1;
571
- this.gn_1 = newTail;
568
+ protoOf(Buffer).qq = function () {
569
+ var oldTail = ensureNotNull(this.oo_1);
570
+ var newTail = oldTail.bp_1;
571
+ this.oo_1 = newTail;
572
572
  if (newTail == null) {
573
- this.fn_1 = null;
573
+ this.no_1 = null;
574
574
  } else {
575
- newTail.sn_1 = null;
575
+ newTail.ap_1 = null;
576
576
  }
577
- oldTail.tn_1 = null;
578
- SegmentPool_instance.hp(oldTail);
577
+ oldTail.bp_1 = null;
578
+ SegmentPool_instance.pq(oldTail);
579
579
  };
580
580
  function indexOf(_this__u8e3s4, byte, startIndex, endIndex) {
581
581
  startIndex = startIndex === VOID ? 0n : startIndex;
@@ -587,7 +587,7 @@
587
587
  if (startIndex === endOffset)
588
588
  return -1n;
589
589
  // Inline function 'kotlinx.io.seek' call
590
- if (_this__u8e3s4.fn_1 == null) {
590
+ if (_this__u8e3s4.no_1 == null) {
591
591
  if (-1n === -1n) {
592
592
  return -1n;
593
593
  }
@@ -615,19 +615,19 @@
615
615
  // Inline function 'kotlin.Long.plus' call
616
616
  var other = segment.g1();
617
617
  offset = add(tmp0_0, fromInt(other));
618
- segment = segment.sn_1;
618
+ segment = segment.ap_1;
619
619
  }
620
620
  while (!(segment == null) && offset < endOffset);
621
621
  return -1n;
622
622
  }
623
623
  if (subtract(_this__u8e3s4.g1(), startIndex) < startIndex) {
624
- var s = _this__u8e3s4.gn_1;
624
+ var s = _this__u8e3s4.oo_1;
625
625
  var offset_0 = _this__u8e3s4.g1();
626
626
  $l$loop: while (!(s == null) && offset_0 > startIndex) {
627
- offset_0 = subtract(offset_0, fromInt(s.pn_1 - s.on_1 | 0));
627
+ offset_0 = subtract(offset_0, fromInt(s.xo_1 - s.wo_1 | 0));
628
628
  if (offset_0 <= startIndex)
629
629
  break $l$loop;
630
- s = s.tn_1;
630
+ s = s.bp_1;
631
631
  }
632
632
  var tmp0_1 = s;
633
633
  var o = offset_0;
@@ -658,21 +658,21 @@
658
658
  // Inline function 'kotlin.Long.plus' call
659
659
  var other_0 = segment_0.g1();
660
660
  offset_1 = add(tmp0_3, fromInt(other_0));
661
- segment_0 = segment_0.sn_1;
661
+ segment_0 = segment_0.ap_1;
662
662
  }
663
663
  while (!(segment_0 == null) && offset_1 < endOffset);
664
664
  return -1n;
665
665
  } else {
666
- var s_0 = _this__u8e3s4.fn_1;
666
+ var s_0 = _this__u8e3s4.no_1;
667
667
  var offset_2 = 0n;
668
668
  $l$loop_0: while (!(s_0 == null)) {
669
669
  var tmp0_4 = offset_2;
670
670
  // Inline function 'kotlin.Long.plus' call
671
- var other_1 = s_0.pn_1 - s_0.on_1 | 0;
671
+ var other_1 = s_0.xo_1 - s_0.wo_1 | 0;
672
672
  var nextOffset = add(tmp0_4, fromInt(other_1));
673
673
  if (nextOffset > startIndex)
674
674
  break $l$loop_0;
675
- s_0 = s_0.sn_1;
675
+ s_0 = s_0.ap_1;
676
676
  offset_2 = nextOffset;
677
677
  }
678
678
  var tmp0_5 = s_0;
@@ -704,32 +704,32 @@
704
704
  // Inline function 'kotlin.Long.plus' call
705
705
  var other_2 = segment_1.g1();
706
706
  offset_3 = add(tmp0_7, fromInt(other_2));
707
- segment_1 = segment_1.sn_1;
707
+ segment_1 = segment_1.ap_1;
708
708
  }
709
709
  while (!(segment_1 == null) && offset_3 < endOffset);
710
710
  return -1n;
711
711
  }
712
712
  }
713
713
  function readByteString(_this__u8e3s4, byteCount) {
714
- return UnsafeByteStringOperations_instance.en(readByteArray_0(_this__u8e3s4, byteCount));
714
+ return UnsafeByteStringOperations_instance.mo(readByteArray_0(_this__u8e3s4, byteCount));
715
715
  }
716
716
  function buffered(_this__u8e3s4) {
717
717
  return new RealSource(_this__u8e3s4);
718
718
  }
719
719
  function PeekSource(upstream) {
720
- this.jp_1 = upstream;
721
- this.kp_1 = this.jp_1.in();
722
- this.lp_1 = this.kp_1.fn_1;
720
+ this.rq_1 = upstream;
721
+ this.sq_1 = this.rq_1.qo();
722
+ this.tq_1 = this.sq_1.no_1;
723
723
  var tmp = this;
724
- var tmp0_safe_receiver = this.kp_1.fn_1;
725
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.on_1;
726
- tmp.mp_1 = tmp1_elvis_lhs == null ? -1 : tmp1_elvis_lhs;
727
- this.np_1 = false;
728
- this.op_1 = 0n;
724
+ var tmp0_safe_receiver = this.sq_1.no_1;
725
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wo_1;
726
+ tmp.uq_1 = tmp1_elvis_lhs == null ? -1 : tmp1_elvis_lhs;
727
+ this.vq_1 = false;
728
+ this.wq_1 = 0n;
729
729
  }
730
- protoOf(PeekSource).jo = function (sink, byteCount) {
730
+ protoOf(PeekSource).rp = function (sink, byteCount) {
731
731
  // Inline function 'kotlin.check' call
732
- if (!!this.np_1) {
732
+ if (!!this.vq_1) {
733
733
  var message = 'Source is closed.';
734
734
  throw IllegalStateException_init_$Create$(toString(message));
735
735
  }
@@ -740,43 +740,43 @@
740
740
  throw IllegalArgumentException_init_$Create$(toString(message_0));
741
741
  }
742
742
  // Inline function 'kotlin.check' call
743
- if (!(this.lp_1 == null || (this.lp_1 === this.kp_1.fn_1 && this.mp_1 === ensureNotNull(this.kp_1.fn_1).on_1))) {
743
+ if (!(this.tq_1 == null || (this.tq_1 === this.sq_1.no_1 && this.uq_1 === ensureNotNull(this.sq_1.no_1).wo_1))) {
744
744
  var message_1 = 'Peek source is invalid because upstream source was used';
745
745
  throw IllegalStateException_init_$Create$(toString(message_1));
746
746
  }
747
747
  if (byteCount === 0n)
748
748
  return 0n;
749
749
  // Inline function 'kotlin.Long.plus' call
750
- var this_0 = this.op_1;
750
+ var this_0 = this.wq_1;
751
751
  var tmp$ret$7 = add(this_0, fromInt(1));
752
- if (!this.jp_1.ln(tmp$ret$7))
752
+ if (!this.rq_1.to(tmp$ret$7))
753
753
  return -1n;
754
- if (this.lp_1 == null && !(this.kp_1.fn_1 == null)) {
755
- this.lp_1 = this.kp_1.fn_1;
756
- this.mp_1 = ensureNotNull(this.kp_1.fn_1).on_1;
754
+ if (this.tq_1 == null && !(this.sq_1.no_1 == null)) {
755
+ this.tq_1 = this.sq_1.no_1;
756
+ this.uq_1 = ensureNotNull(this.sq_1.no_1).wo_1;
757
757
  }
758
758
  // Inline function 'kotlin.comparisons.minOf' call
759
- var b = subtract(this.kp_1.g1(), this.op_1);
759
+ var b = subtract(this.sq_1.g1(), this.wq_1);
760
760
  var toCopy = byteCount <= b ? byteCount : b;
761
- this.kp_1.zn(sink, this.op_1, add(this.op_1, toCopy));
762
- this.op_1 = add(this.op_1, toCopy);
761
+ this.sq_1.hp(sink, this.wq_1, add(this.wq_1, toCopy));
762
+ this.wq_1 = add(this.wq_1, toCopy);
763
763
  return toCopy;
764
764
  };
765
- protoOf(PeekSource).g4 = function () {
766
- this.np_1 = true;
765
+ protoOf(PeekSource).j4 = function () {
766
+ this.vq_1 = true;
767
767
  };
768
768
  function RealSource(source) {
769
- this.pp_1 = source;
770
- this.qp_1 = false;
771
- this.rp_1 = new Buffer();
769
+ this.xq_1 = source;
770
+ this.yq_1 = false;
771
+ this.zq_1 = new Buffer();
772
772
  }
773
- protoOf(RealSource).in = function () {
774
- return this.rp_1;
773
+ protoOf(RealSource).qo = function () {
774
+ return this.zq_1;
775
775
  };
776
- protoOf(RealSource).jo = function (sink, byteCount) {
776
+ protoOf(RealSource).rp = function (sink, byteCount) {
777
777
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
778
778
  // Inline function 'kotlin.check' call
779
- if (!!this.qp_1) {
779
+ if (!!this.yq_1) {
780
780
  var message = 'Source is closed.';
781
781
  throw IllegalStateException_init_$Create$(toString(message));
782
782
  }
@@ -785,33 +785,33 @@
785
785
  var message_0 = 'byteCount: ' + byteCount.toString();
786
786
  throw IllegalArgumentException_init_$Create$(toString(message_0));
787
787
  }
788
- if (this.rp_1.g1() === 0n) {
789
- var read = this.pp_1.jo(this.rp_1, 8192n);
788
+ if (this.zq_1.g1() === 0n) {
789
+ var read = this.xq_1.rp(this.zq_1, 8192n);
790
790
  if (read === -1n)
791
791
  return -1n;
792
792
  }
793
793
  // Inline function 'kotlin.comparisons.minOf' call
794
- var b = this.rp_1.g1();
794
+ var b = this.zq_1.g1();
795
795
  var toRead = byteCount <= b ? byteCount : b;
796
- return this.rp_1.jo(sink, toRead);
796
+ return this.zq_1.rp(sink, toRead);
797
797
  };
798
- protoOf(RealSource).jn = function () {
798
+ protoOf(RealSource).ro = function () {
799
799
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
800
800
  // Inline function 'kotlin.check' call
801
- if (!!this.qp_1) {
801
+ if (!!this.yq_1) {
802
802
  var message = 'Source is closed.';
803
803
  throw IllegalStateException_init_$Create$(toString(message));
804
804
  }
805
- return this.rp_1.jn() && this.pp_1.jo(this.rp_1, 8192n) === -1n;
805
+ return this.zq_1.ro() && this.xq_1.rp(this.zq_1, 8192n) === -1n;
806
806
  };
807
- protoOf(RealSource).kn = function (byteCount) {
808
- if (!this.ln(byteCount))
807
+ protoOf(RealSource).so = function (byteCount) {
808
+ if (!this.to(byteCount))
809
809
  throw EOFException_init_$Create$_0("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
810
810
  };
811
- protoOf(RealSource).ln = function (byteCount) {
811
+ protoOf(RealSource).to = function (byteCount) {
812
812
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
813
813
  // Inline function 'kotlin.check' call
814
- if (!!this.qp_1) {
814
+ if (!!this.yq_1) {
815
815
  var message = 'Source is closed.';
816
816
  throw IllegalStateException_init_$Create$(toString(message));
817
817
  }
@@ -820,91 +820,91 @@
820
820
  var message_0 = 'byteCount: ' + byteCount.toString();
821
821
  throw IllegalArgumentException_init_$Create$(toString(message_0));
822
822
  }
823
- while (this.rp_1.g1() < byteCount) {
824
- if (this.pp_1.jo(this.rp_1, 8192n) === -1n)
823
+ while (this.zq_1.g1() < byteCount) {
824
+ if (this.xq_1.rp(this.zq_1, 8192n) === -1n)
825
825
  return false;
826
826
  }
827
827
  return true;
828
828
  };
829
- protoOf(RealSource).mn = function () {
830
- this.kn(1n);
831
- return this.rp_1.mn();
829
+ protoOf(RealSource).uo = function () {
830
+ this.so(1n);
831
+ return this.zq_1.uo();
832
832
  };
833
- protoOf(RealSource).ho = function (sink, startIndex, endIndex) {
833
+ protoOf(RealSource).pp = function (sink, startIndex, endIndex) {
834
834
  // Inline function 'kotlinx.io.checkBounds' call
835
835
  var size = sink.length;
836
836
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
837
- if (this.rp_1.g1() === 0n) {
838
- var read = this.pp_1.jo(this.rp_1, 8192n);
837
+ if (this.zq_1.g1() === 0n) {
838
+ var read = this.xq_1.rp(this.zq_1, 8192n);
839
839
  if (read === -1n)
840
840
  return -1;
841
841
  }
842
842
  var tmp0 = endIndex - startIndex | 0;
843
843
  // Inline function 'kotlinx.io.minOf' call
844
- var b = this.rp_1.g1();
844
+ var b = this.zq_1.g1();
845
845
  // Inline function 'kotlin.comparisons.minOf' call
846
846
  var a = fromInt(tmp0);
847
847
  var tmp$ret$2 = a <= b ? a : b;
848
848
  var toRead = convertToInt(tmp$ret$2);
849
- return this.rp_1.ho(sink, startIndex, startIndex + toRead | 0);
849
+ return this.zq_1.pp(sink, startIndex, startIndex + toRead | 0);
850
850
  };
851
- protoOf(RealSource).lo = function (sink, byteCount) {
851
+ protoOf(RealSource).tp = function (sink, byteCount) {
852
852
  try {
853
- this.kn(byteCount);
853
+ this.so(byteCount);
854
854
  } catch ($p) {
855
855
  if ($p instanceof EOFException) {
856
856
  var e = $p;
857
- sink.ko(this.rp_1, this.rp_1.g1());
857
+ sink.sp(this.zq_1, this.zq_1.g1());
858
858
  throw e;
859
859
  } else {
860
860
  throw $p;
861
861
  }
862
862
  }
863
- this.rp_1.lo(sink, byteCount);
863
+ this.zq_1.tp(sink, byteCount);
864
864
  };
865
- protoOf(RealSource).mo = function (sink) {
865
+ protoOf(RealSource).up = function (sink) {
866
866
  var totalBytesWritten = 0n;
867
- while (!(this.pp_1.jo(this.rp_1, 8192n) === -1n)) {
868
- var emitByteCount = this.rp_1.do();
867
+ while (!(this.xq_1.rp(this.zq_1, 8192n) === -1n)) {
868
+ var emitByteCount = this.zq_1.lp();
869
869
  if (emitByteCount > 0n) {
870
870
  totalBytesWritten = add(totalBytesWritten, emitByteCount);
871
- sink.ko(this.rp_1, emitByteCount);
871
+ sink.sp(this.zq_1, emitByteCount);
872
872
  }
873
873
  }
874
- if (this.rp_1.g1() > 0n) {
875
- totalBytesWritten = add(totalBytesWritten, this.rp_1.g1());
876
- sink.ko(this.rp_1, this.rp_1.g1());
874
+ if (this.zq_1.g1() > 0n) {
875
+ totalBytesWritten = add(totalBytesWritten, this.zq_1.g1());
876
+ sink.sp(this.zq_1, this.zq_1.g1());
877
877
  }
878
878
  return totalBytesWritten;
879
879
  };
880
- protoOf(RealSource).wn = function () {
881
- this.kn(2n);
882
- return this.rp_1.wn();
880
+ protoOf(RealSource).ep = function () {
881
+ this.so(2n);
882
+ return this.zq_1.ep();
883
883
  };
884
- protoOf(RealSource).no = function () {
884
+ protoOf(RealSource).vp = function () {
885
885
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
886
886
  // Inline function 'kotlin.check' call
887
- if (!!this.qp_1) {
887
+ if (!!this.yq_1) {
888
888
  var message = 'Source is closed.';
889
889
  throw IllegalStateException_init_$Create$(toString(message));
890
890
  }
891
891
  return buffered(new PeekSource(this));
892
892
  };
893
- protoOf(RealSource).g4 = function () {
894
- if (this.qp_1)
893
+ protoOf(RealSource).j4 = function () {
894
+ if (this.yq_1)
895
895
  return Unit_instance;
896
- this.qp_1 = true;
897
- this.pp_1.g4();
898
- this.rp_1.n2();
896
+ this.yq_1 = true;
897
+ this.xq_1.j4();
898
+ this.zq_1.n2();
899
899
  };
900
900
  protoOf(RealSource).toString = function () {
901
- return 'buffered(' + toString(this.pp_1) + ')';
901
+ return 'buffered(' + toString(this.xq_1) + ')';
902
902
  };
903
903
  function Segment_init_$Init$($this) {
904
904
  Segment.call($this);
905
- $this.nn_1 = new Int8Array(8192);
906
- $this.rn_1 = true;
907
- $this.qn_1 = null;
905
+ $this.vo_1 = new Int8Array(8192);
906
+ $this.zo_1 = true;
907
+ $this.yo_1 = null;
908
908
  return $this;
909
909
  }
910
910
  function Segment_init_$Create$() {
@@ -912,87 +912,87 @@
912
912
  }
913
913
  function Segment_init_$Init$_0(data, pos, limit, shareToken, owner, $this) {
914
914
  Segment.call($this);
915
- $this.nn_1 = data;
916
- $this.on_1 = pos;
917
- $this.pn_1 = limit;
918
- $this.qn_1 = shareToken;
919
- $this.rn_1 = owner;
915
+ $this.vo_1 = data;
916
+ $this.wo_1 = pos;
917
+ $this.xo_1 = limit;
918
+ $this.yo_1 = shareToken;
919
+ $this.zo_1 = owner;
920
920
  return $this;
921
921
  }
922
922
  function Segment_init_$Create$_0(data, pos, limit, shareToken, owner) {
923
923
  return Segment_init_$Init$_0(data, pos, limit, shareToken, owner, objectCreate(protoOf(Segment)));
924
924
  }
925
925
  function Companion() {
926
- this.sp_1 = 8192;
927
- this.tp_1 = 1024;
926
+ this.ar_1 = 8192;
927
+ this.br_1 = 1024;
928
928
  }
929
- protoOf(Companion).up = function () {
929
+ protoOf(Companion).cr = function () {
930
930
  return Segment_init_$Create$();
931
931
  };
932
932
  var Companion_instance;
933
933
  function Companion_getInstance() {
934
934
  return Companion_instance;
935
935
  }
936
- protoOf(Segment).xo = function () {
937
- var tmp0_safe_receiver = this.qn_1;
938
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vp();
936
+ protoOf(Segment).fq = function () {
937
+ var tmp0_safe_receiver = this.yo_1;
938
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.dr();
939
939
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
940
940
  };
941
- protoOf(Segment).ao = function () {
942
- var tmp0_elvis_lhs = this.qn_1;
941
+ protoOf(Segment).ip = function () {
942
+ var tmp0_elvis_lhs = this.yo_1;
943
943
  var tmp;
944
944
  if (tmp0_elvis_lhs == null) {
945
945
  // Inline function 'kotlin.also' call
946
- var this_0 = SegmentPool_instance.wp();
947
- this.qn_1 = this_0;
946
+ var this_0 = SegmentPool_instance.er();
947
+ this.yo_1 = this_0;
948
948
  tmp = this_0;
949
949
  } else {
950
950
  tmp = tmp0_elvis_lhs;
951
951
  }
952
952
  var t = tmp;
953
- var tmp_0 = this.on_1;
954
- var tmp_1 = this.pn_1;
953
+ var tmp_0 = this.wo_1;
954
+ var tmp_1 = this.xo_1;
955
955
  // Inline function 'kotlin.also' call
956
- t.xp();
957
- return Segment_init_$Create$_0(this.nn_1, tmp_0, tmp_1, t, false);
956
+ t.fr();
957
+ return Segment_init_$Create$_0(this.vo_1, tmp_0, tmp_1, t, false);
958
958
  };
959
- protoOf(Segment).ap = function () {
960
- var result = this.sn_1;
961
- if (!(this.tn_1 == null)) {
962
- ensureNotNull(this.tn_1).sn_1 = this.sn_1;
959
+ protoOf(Segment).iq = function () {
960
+ var result = this.ap_1;
961
+ if (!(this.bp_1 == null)) {
962
+ ensureNotNull(this.bp_1).ap_1 = this.ap_1;
963
963
  }
964
- if (!(this.sn_1 == null)) {
965
- ensureNotNull(this.sn_1).tn_1 = this.tn_1;
964
+ if (!(this.ap_1 == null)) {
965
+ ensureNotNull(this.ap_1).bp_1 = this.bp_1;
966
966
  }
967
- this.sn_1 = null;
968
- this.tn_1 = null;
967
+ this.ap_1 = null;
968
+ this.bp_1 = null;
969
969
  return result;
970
970
  };
971
- protoOf(Segment).bo = function (segment) {
972
- segment.tn_1 = this;
973
- segment.sn_1 = this.sn_1;
974
- if (!(this.sn_1 == null)) {
975
- ensureNotNull(this.sn_1).tn_1 = segment;
971
+ protoOf(Segment).jp = function (segment) {
972
+ segment.bp_1 = this;
973
+ segment.ap_1 = this.ap_1;
974
+ if (!(this.ap_1 == null)) {
975
+ ensureNotNull(this.ap_1).bp_1 = segment;
976
976
  }
977
- this.sn_1 = segment;
977
+ this.ap_1 = segment;
978
978
  return segment;
979
979
  };
980
- protoOf(Segment).yo = function (byteCount) {
980
+ protoOf(Segment).gq = function (byteCount) {
981
981
  // Inline function 'kotlin.require' call
982
- if (!(byteCount > 0 && byteCount <= (this.pn_1 - this.on_1 | 0))) {
982
+ if (!(byteCount > 0 && byteCount <= (this.xo_1 - this.wo_1 | 0))) {
983
983
  var message = 'byteCount out of range';
984
984
  throw IllegalArgumentException_init_$Create$(toString(message));
985
985
  }
986
986
  var prefix;
987
987
  if (byteCount >= 1024) {
988
- prefix = this.ao();
988
+ prefix = this.ip();
989
989
  } else {
990
- prefix = SegmentPool_instance.ro();
991
- var tmp0 = this.nn_1;
992
- var tmp2 = prefix.nn_1;
993
- var tmp5 = this.on_1;
990
+ prefix = SegmentPool_instance.zp();
991
+ var tmp0 = this.vo_1;
992
+ var tmp2 = prefix.vo_1;
993
+ var tmp5 = this.wo_1;
994
994
  // Inline function 'kotlin.collections.copyInto' call
995
- var endIndex = this.on_1 + byteCount | 0;
995
+ var endIndex = this.wo_1 + byteCount | 0;
996
996
  // Inline function 'kotlin.js.unsafeCast' call
997
997
  // Inline function 'kotlin.js.asDynamic' call
998
998
  var tmp = tmp0;
@@ -1000,62 +1000,62 @@
1000
1000
  // Inline function 'kotlin.js.asDynamic' call
1001
1001
  arrayCopy(tmp, tmp2, 0, tmp5, endIndex);
1002
1002
  }
1003
- prefix.pn_1 = prefix.on_1 + byteCount | 0;
1004
- this.on_1 = this.on_1 + byteCount | 0;
1005
- if (!(this.tn_1 == null)) {
1006
- ensureNotNull(this.tn_1).bo(prefix);
1003
+ prefix.xo_1 = prefix.wo_1 + byteCount | 0;
1004
+ this.wo_1 = this.wo_1 + byteCount | 0;
1005
+ if (!(this.bp_1 == null)) {
1006
+ ensureNotNull(this.bp_1).jp(prefix);
1007
1007
  } else {
1008
- prefix.sn_1 = this;
1009
- this.tn_1 = prefix;
1008
+ prefix.ap_1 = this;
1009
+ this.bp_1 = prefix;
1010
1010
  }
1011
1011
  return prefix;
1012
1012
  };
1013
- protoOf(Segment).co = function () {
1013
+ protoOf(Segment).kp = function () {
1014
1014
  // Inline function 'kotlin.check' call
1015
- if (!!(this.tn_1 == null)) {
1015
+ if (!!(this.bp_1 == null)) {
1016
1016
  var message = 'cannot compact';
1017
1017
  throw IllegalStateException_init_$Create$(toString(message));
1018
1018
  }
1019
- if (!ensureNotNull(this.tn_1).rn_1)
1019
+ if (!ensureNotNull(this.bp_1).zo_1)
1020
1020
  return this;
1021
- var byteCount = this.pn_1 - this.on_1 | 0;
1022
- var availableByteCount = (8192 - ensureNotNull(this.tn_1).pn_1 | 0) + (ensureNotNull(this.tn_1).xo() ? 0 : ensureNotNull(this.tn_1).on_1) | 0;
1021
+ var byteCount = this.xo_1 - this.wo_1 | 0;
1022
+ var availableByteCount = (8192 - ensureNotNull(this.bp_1).xo_1 | 0) + (ensureNotNull(this.bp_1).fq() ? 0 : ensureNotNull(this.bp_1).wo_1) | 0;
1023
1023
  if (byteCount > availableByteCount)
1024
1024
  return this;
1025
- var predecessor = this.tn_1;
1026
- this.zo(ensureNotNull(predecessor), byteCount);
1027
- var successor = this.ap();
1025
+ var predecessor = this.bp_1;
1026
+ this.hq(ensureNotNull(predecessor), byteCount);
1027
+ var successor = this.iq();
1028
1028
  // Inline function 'kotlin.check' call
1029
1029
  if (!(successor == null)) {
1030
1030
  throw IllegalStateException_init_$Create$('Check failed.');
1031
1031
  }
1032
- SegmentPool_instance.hp(this);
1032
+ SegmentPool_instance.pq(this);
1033
1033
  return predecessor;
1034
1034
  };
1035
- protoOf(Segment).dp = function (byte) {
1036
- var _unary__edvuaz = this.pn_1;
1037
- this.pn_1 = _unary__edvuaz + 1 | 0;
1038
- this.nn_1[_unary__edvuaz] = byte;
1035
+ protoOf(Segment).lq = function (byte) {
1036
+ var _unary__edvuaz = this.xo_1;
1037
+ this.xo_1 = _unary__edvuaz + 1 | 0;
1038
+ this.vo_1[_unary__edvuaz] = byte;
1039
1039
  };
1040
- protoOf(Segment).fp = function (short) {
1041
- var data = this.nn_1;
1042
- var limit = this.pn_1;
1040
+ protoOf(Segment).nq = function (short) {
1041
+ var data = this.vo_1;
1042
+ var limit = this.xo_1;
1043
1043
  var _unary__edvuaz = limit;
1044
1044
  limit = _unary__edvuaz + 1 | 0;
1045
1045
  data[_unary__edvuaz] = toByte((short >>> 8 | 0) & 255);
1046
1046
  var _unary__edvuaz_0 = limit;
1047
1047
  limit = _unary__edvuaz_0 + 1 | 0;
1048
1048
  data[_unary__edvuaz_0] = toByte(short & 255);
1049
- this.pn_1 = limit;
1049
+ this.xo_1 = limit;
1050
1050
  };
1051
- protoOf(Segment).vn = function () {
1052
- var _unary__edvuaz = this.on_1;
1053
- this.on_1 = _unary__edvuaz + 1 | 0;
1054
- return this.nn_1[_unary__edvuaz];
1051
+ protoOf(Segment).dp = function () {
1052
+ var _unary__edvuaz = this.wo_1;
1053
+ this.wo_1 = _unary__edvuaz + 1 | 0;
1054
+ return this.vo_1[_unary__edvuaz];
1055
1055
  };
1056
- protoOf(Segment).xn = function () {
1057
- var data = this.nn_1;
1058
- var pos = this.on_1;
1056
+ protoOf(Segment).fp = function () {
1057
+ var data = this.vo_1;
1058
+ var pos = this.wo_1;
1059
1059
  var _unary__edvuaz = pos;
1060
1060
  pos = _unary__edvuaz + 1 | 0;
1061
1061
  // Inline function 'kotlinx.io.and' call
@@ -1065,118 +1065,118 @@
1065
1065
  // Inline function 'kotlinx.io.and' call
1066
1066
  var tmp$ret$1 = data[_unary__edvuaz_0] & 255;
1067
1067
  var s = toShort(tmp | tmp$ret$1);
1068
- this.on_1 = pos;
1068
+ this.wo_1 = pos;
1069
1069
  return s;
1070
1070
  };
1071
- protoOf(Segment).zo = function (sink, byteCount) {
1071
+ protoOf(Segment).hq = function (sink, byteCount) {
1072
1072
  // Inline function 'kotlin.check' call
1073
- if (!sink.rn_1) {
1073
+ if (!sink.zo_1) {
1074
1074
  var message = 'only owner can write';
1075
1075
  throw IllegalStateException_init_$Create$(toString(message));
1076
1076
  }
1077
- if ((sink.pn_1 + byteCount | 0) > 8192) {
1078
- if (sink.xo())
1077
+ if ((sink.xo_1 + byteCount | 0) > 8192) {
1078
+ if (sink.fq())
1079
1079
  throw IllegalArgumentException_init_$Create$_0();
1080
- if (((sink.pn_1 + byteCount | 0) - sink.on_1 | 0) > 8192)
1080
+ if (((sink.xo_1 + byteCount | 0) - sink.wo_1 | 0) > 8192)
1081
1081
  throw IllegalArgumentException_init_$Create$_0();
1082
- var tmp0 = sink.nn_1;
1083
- var tmp2 = sink.nn_1;
1084
- var tmp5 = sink.on_1;
1082
+ var tmp0 = sink.vo_1;
1083
+ var tmp2 = sink.vo_1;
1084
+ var tmp5 = sink.wo_1;
1085
1085
  // Inline function 'kotlin.collections.copyInto' call
1086
- var endIndex = sink.pn_1;
1086
+ var endIndex = sink.xo_1;
1087
1087
  // Inline function 'kotlin.js.unsafeCast' call
1088
1088
  // Inline function 'kotlin.js.asDynamic' call
1089
1089
  var tmp = tmp0;
1090
1090
  // Inline function 'kotlin.js.unsafeCast' call
1091
1091
  // Inline function 'kotlin.js.asDynamic' call
1092
1092
  arrayCopy(tmp, tmp2, 0, tmp5, endIndex);
1093
- sink.pn_1 = sink.pn_1 - sink.on_1 | 0;
1094
- sink.on_1 = 0;
1093
+ sink.xo_1 = sink.xo_1 - sink.wo_1 | 0;
1094
+ sink.wo_1 = 0;
1095
1095
  }
1096
- var tmp0_0 = this.nn_1;
1097
- var tmp2_0 = sink.nn_1;
1098
- var tmp4 = sink.pn_1;
1099
- var tmp6 = this.on_1;
1096
+ var tmp0_0 = this.vo_1;
1097
+ var tmp2_0 = sink.vo_1;
1098
+ var tmp4 = sink.xo_1;
1099
+ var tmp6 = this.wo_1;
1100
1100
  // Inline function 'kotlin.collections.copyInto' call
1101
- var endIndex_0 = this.on_1 + byteCount | 0;
1101
+ var endIndex_0 = this.wo_1 + byteCount | 0;
1102
1102
  // Inline function 'kotlin.js.unsafeCast' call
1103
1103
  // Inline function 'kotlin.js.asDynamic' call
1104
1104
  var tmp_0 = tmp0_0;
1105
1105
  // Inline function 'kotlin.js.unsafeCast' call
1106
1106
  // Inline function 'kotlin.js.asDynamic' call
1107
1107
  arrayCopy(tmp_0, tmp2_0, tmp4, tmp6, endIndex_0);
1108
- sink.pn_1 = sink.pn_1 + byteCount | 0;
1109
- this.on_1 = this.on_1 + byteCount | 0;
1108
+ sink.xo_1 = sink.xo_1 + byteCount | 0;
1109
+ this.wo_1 = this.wo_1 + byteCount | 0;
1110
1110
  };
1111
- protoOf(Segment).io = function (dst, dstStartOffset, dstEndOffset) {
1111
+ protoOf(Segment).qp = function (dst, dstStartOffset, dstEndOffset) {
1112
1112
  var len = dstEndOffset - dstStartOffset | 0;
1113
- var tmp0 = this.nn_1;
1114
- var tmp6 = this.on_1;
1113
+ var tmp0 = this.vo_1;
1114
+ var tmp6 = this.wo_1;
1115
1115
  // Inline function 'kotlin.collections.copyInto' call
1116
- var endIndex = this.on_1 + len | 0;
1116
+ var endIndex = this.wo_1 + len | 0;
1117
1117
  // Inline function 'kotlin.js.unsafeCast' call
1118
1118
  // Inline function 'kotlin.js.asDynamic' call
1119
1119
  var tmp = tmp0;
1120
1120
  // Inline function 'kotlin.js.unsafeCast' call
1121
1121
  // Inline function 'kotlin.js.asDynamic' call
1122
1122
  arrayCopy(tmp, dst, dstStartOffset, tmp6, endIndex);
1123
- this.on_1 = this.on_1 + len | 0;
1123
+ this.wo_1 = this.wo_1 + len | 0;
1124
1124
  };
1125
- protoOf(Segment).uo = function (src, srcStartOffset, srcEndOffset) {
1126
- var tmp2 = this.nn_1;
1125
+ protoOf(Segment).cq = function (src, srcStartOffset, srcEndOffset) {
1126
+ var tmp2 = this.vo_1;
1127
1127
  // Inline function 'kotlin.collections.copyInto' call
1128
- var destinationOffset = this.pn_1;
1128
+ var destinationOffset = this.xo_1;
1129
1129
  // Inline function 'kotlin.js.unsafeCast' call
1130
1130
  // Inline function 'kotlin.js.asDynamic' call
1131
1131
  var tmp = src;
1132
1132
  // Inline function 'kotlin.js.unsafeCast' call
1133
1133
  // Inline function 'kotlin.js.asDynamic' call
1134
1134
  arrayCopy(tmp, tmp2, destinationOffset, srcStartOffset, srcEndOffset);
1135
- this.pn_1 = this.pn_1 + (srcEndOffset - srcStartOffset | 0) | 0;
1135
+ this.xo_1 = this.xo_1 + (srcEndOffset - srcStartOffset | 0) | 0;
1136
1136
  };
1137
1137
  protoOf(Segment).g1 = function () {
1138
- return this.pn_1 - this.on_1 | 0;
1138
+ return this.xo_1 - this.wo_1 | 0;
1139
1139
  };
1140
- protoOf(Segment).to = function () {
1141
- return this.nn_1.length - this.pn_1 | 0;
1140
+ protoOf(Segment).bq = function () {
1141
+ return this.vo_1.length - this.xo_1 | 0;
1142
1142
  };
1143
- protoOf(Segment).yp = function (readOnly) {
1144
- return this.nn_1;
1143
+ protoOf(Segment).gr = function (readOnly) {
1144
+ return this.vo_1;
1145
1145
  };
1146
- protoOf(Segment).fo = function (index) {
1147
- return this.nn_1[this.on_1 + index | 0];
1146
+ protoOf(Segment).np = function (index) {
1147
+ return this.vo_1[this.wo_1 + index | 0];
1148
1148
  };
1149
- protoOf(Segment).zp = function (index, value) {
1150
- this.nn_1[this.pn_1 + index | 0] = value;
1149
+ protoOf(Segment).hr = function (index, value) {
1150
+ this.vo_1[this.xo_1 + index | 0] = value;
1151
1151
  };
1152
- protoOf(Segment).aq = function (index, b0, b1) {
1153
- var d = this.nn_1;
1154
- var l = this.pn_1;
1152
+ protoOf(Segment).ir = function (index, b0, b1) {
1153
+ var d = this.vo_1;
1154
+ var l = this.xo_1;
1155
1155
  d[l + index | 0] = b0;
1156
1156
  d[(l + index | 0) + 1 | 0] = b1;
1157
1157
  };
1158
- protoOf(Segment).bq = function (index, b0, b1, b2) {
1159
- var d = this.nn_1;
1160
- var l = this.pn_1;
1158
+ protoOf(Segment).jr = function (index, b0, b1, b2) {
1159
+ var d = this.vo_1;
1160
+ var l = this.xo_1;
1161
1161
  d[l + index | 0] = b0;
1162
1162
  d[(l + index | 0) + 1 | 0] = b1;
1163
1163
  d[(l + index | 0) + 2 | 0] = b2;
1164
1164
  };
1165
- protoOf(Segment).cq = function (index, b0, b1, b2, b3) {
1166
- var d = this.nn_1;
1167
- var l = this.pn_1;
1165
+ protoOf(Segment).kr = function (index, b0, b1, b2, b3) {
1166
+ var d = this.vo_1;
1167
+ var l = this.xo_1;
1168
1168
  d[l + index | 0] = b0;
1169
1169
  d[(l + index | 0) + 1 | 0] = b1;
1170
1170
  d[(l + index | 0) + 2 | 0] = b2;
1171
1171
  d[(l + index | 0) + 3 | 0] = b3;
1172
1172
  };
1173
1173
  function Segment() {
1174
- this.on_1 = 0;
1175
- this.pn_1 = 0;
1176
- this.qn_1 = null;
1177
- this.rn_1 = false;
1178
- this.sn_1 = null;
1179
- this.tn_1 = null;
1174
+ this.wo_1 = 0;
1175
+ this.xo_1 = 0;
1176
+ this.yo_1 = null;
1177
+ this.zo_1 = false;
1178
+ this.ap_1 = null;
1179
+ this.bp_1 = null;
1180
1180
  }
1181
1181
  function isEmpty(_this__u8e3s4) {
1182
1182
  return _this__u8e3s4.g1() === 0;
@@ -1187,10 +1187,10 @@
1187
1187
  AlwaysSharedCopyTracker_instance = this;
1188
1188
  SegmentCopyTracker.call(this);
1189
1189
  }
1190
- protoOf(AlwaysSharedCopyTracker).vp = function () {
1190
+ protoOf(AlwaysSharedCopyTracker).dr = function () {
1191
1191
  return true;
1192
1192
  };
1193
- protoOf(AlwaysSharedCopyTracker).xp = function () {
1193
+ protoOf(AlwaysSharedCopyTracker).fr = function () {
1194
1194
  return Unit_instance;
1195
1195
  };
1196
1196
  var AlwaysSharedCopyTracker_instance;
@@ -1210,8 +1210,8 @@
1210
1210
  var message_0 = '' + endOffset;
1211
1211
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1212
1212
  }
1213
- var p = _this__u8e3s4.on_1;
1214
- var data = _this__u8e3s4.yp(true);
1213
+ var p = _this__u8e3s4.wo_1;
1214
+ var data = _this__u8e3s4.gr(true);
1215
1215
  var inductionVariable = startOffset;
1216
1216
  if (inductionVariable < endOffset)
1217
1217
  do {
@@ -1264,23 +1264,23 @@
1264
1264
  // Inline function 'kotlin.Long.plus' call
1265
1265
  var this_0 = offset;
1266
1266
  var tmp$ret$2 = add(this_0, fromInt(1));
1267
- tmp_0 = _this__u8e3s4.ln(tmp$ret$2);
1267
+ tmp_0 = _this__u8e3s4.to(tmp$ret$2);
1268
1268
  } else {
1269
1269
  tmp_0 = false;
1270
1270
  }
1271
1271
  if (!tmp_0) {
1272
1272
  break $l$loop;
1273
1273
  }
1274
- var tmp_1 = _this__u8e3s4.in();
1274
+ var tmp_1 = _this__u8e3s4.qo();
1275
1275
  var tmp_2 = offset;
1276
1276
  // Inline function 'kotlin.comparisons.minOf' call
1277
- var b = _this__u8e3s4.in().g1();
1277
+ var b = _this__u8e3s4.qo().g1();
1278
1278
  var tmp$ret$3 = endIndex <= b ? endIndex : b;
1279
1279
  var idx = indexOf(tmp_1, byte, tmp_2, tmp$ret$3);
1280
1280
  if (!(idx === -1n)) {
1281
1281
  return idx;
1282
1282
  }
1283
- offset = _this__u8e3s4.in().g1();
1283
+ offset = _this__u8e3s4.qo().g1();
1284
1284
  }
1285
1285
  return -1n;
1286
1286
  }
@@ -1288,22 +1288,22 @@
1288
1288
  var arraySize = size;
1289
1289
  if (size === -1) {
1290
1290
  var fetchSize = 2147483647n;
1291
- while (_this__u8e3s4.in().g1() < 2147483647n && _this__u8e3s4.ln(fetchSize)) {
1291
+ while (_this__u8e3s4.qo().g1() < 2147483647n && _this__u8e3s4.to(fetchSize)) {
1292
1292
  // Inline function 'kotlin.Long.times' call
1293
1293
  var this_0 = fetchSize;
1294
1294
  fetchSize = multiply(this_0, fromInt(2));
1295
1295
  }
1296
1296
  // Inline function 'kotlin.check' call
1297
- if (!(_this__u8e3s4.in().g1() < 2147483647n)) {
1298
- var message = "Can't create an array of size " + _this__u8e3s4.in().g1().toString();
1297
+ if (!(_this__u8e3s4.qo().g1() < 2147483647n)) {
1298
+ var message = "Can't create an array of size " + _this__u8e3s4.qo().g1().toString();
1299
1299
  throw IllegalStateException_init_$Create$(toString(message));
1300
1300
  }
1301
- arraySize = convertToInt(_this__u8e3s4.in().g1());
1301
+ arraySize = convertToInt(_this__u8e3s4.qo().g1());
1302
1302
  } else {
1303
- _this__u8e3s4.kn(fromInt(size));
1303
+ _this__u8e3s4.so(fromInt(size));
1304
1304
  }
1305
1305
  var array = new Int8Array(arraySize);
1306
- readTo(_this__u8e3s4.in(), array);
1306
+ readTo(_this__u8e3s4.qo(), array);
1307
1307
  return array;
1308
1308
  }
1309
1309
  function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
@@ -1314,7 +1314,7 @@
1314
1314
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
1315
1315
  var offset = startIndex;
1316
1316
  while (offset < endIndex) {
1317
- var bytesRead = _this__u8e3s4.ho(sink, offset, endIndex);
1317
+ var bytesRead = _this__u8e3s4.pp(sink, offset, endIndex);
1318
1318
  if (bytesRead === -1) {
1319
1319
  throw EOFException_init_$Create$_0('Source exhausted before reading ' + (endIndex - startIndex | 0) + ' bytes. ' + ('Only ' + bytesRead + ' bytes were read.'));
1320
1320
  }
@@ -1322,12 +1322,12 @@
1322
1322
  }
1323
1323
  }
1324
1324
  function readString(_this__u8e3s4, byteCount) {
1325
- _this__u8e3s4.kn(byteCount);
1326
- return commonReadUtf8(_this__u8e3s4.in(), byteCount);
1325
+ _this__u8e3s4.so(byteCount);
1326
+ return commonReadUtf8(_this__u8e3s4.qo(), byteCount);
1327
1327
  }
1328
1328
  function readString_0(_this__u8e3s4) {
1329
- _this__u8e3s4.ln(9223372036854775807n);
1330
- return commonReadUtf8(_this__u8e3s4.in(), _this__u8e3s4.in().g1());
1329
+ _this__u8e3s4.to(9223372036854775807n);
1330
+ return commonReadUtf8(_this__u8e3s4.qo(), _this__u8e3s4.qo().g1());
1331
1331
  }
1332
1332
  function writeString(_this__u8e3s4, string, startIndex, endIndex) {
1333
1333
  startIndex = startIndex === VOID ? 0 : startIndex;
@@ -1337,7 +1337,7 @@
1337
1337
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
1338
1338
  // Inline function 'kotlinx.io.writeToInternalBuffer' call
1339
1339
  // Inline function 'kotlinx.io.commonWriteUtf8' call
1340
- var this_0 = _this__u8e3s4.in();
1340
+ var this_0 = _this__u8e3s4.qo();
1341
1341
  var i = startIndex;
1342
1342
  while (i < endIndex) {
1343
1343
  var p0 = i;
@@ -1347,15 +1347,15 @@
1347
1347
  if (c < 128) {
1348
1348
  $l$block_0: {
1349
1349
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1350
- var tail = this_0.oo(1);
1350
+ var tail = this_0.wp(1);
1351
1351
  var ctx = get_SegmentWriteContextImpl();
1352
1352
  var segmentOffset = -i | 0;
1353
1353
  // Inline function 'kotlin.comparisons.minOf' call
1354
- var b = i + tail.to() | 0;
1354
+ var b = i + tail.bq() | 0;
1355
1355
  var runLimit = Math.min(endIndex, b);
1356
1356
  var _unary__edvuaz = i;
1357
1357
  i = _unary__edvuaz + 1 | 0;
1358
- ctx.gq(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1358
+ ctx.or(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1359
1359
  $l$loop: while (i < runLimit) {
1360
1360
  var p0_0 = i;
1361
1361
  // Inline function 'kotlin.code' call
@@ -1365,95 +1365,95 @@
1365
1365
  break $l$loop;
1366
1366
  var _unary__edvuaz_0 = i;
1367
1367
  i = _unary__edvuaz_0 + 1 | 0;
1368
- ctx.gq(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1368
+ ctx.or(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1369
1369
  }
1370
1370
  var bytesWritten = i + segmentOffset | 0;
1371
1371
  if (bytesWritten === 1) {
1372
- tail.pn_1 = tail.pn_1 + bytesWritten | 0;
1372
+ tail.xo_1 = tail.xo_1 + bytesWritten | 0;
1373
1373
  var tmp = this_0;
1374
1374
  // Inline function 'kotlin.Long.plus' call
1375
- var this_3 = this_0.hn_1;
1376
- tmp.hn_1 = add(this_3, fromInt(bytesWritten));
1375
+ var this_3 = this_0.po_1;
1376
+ tmp.po_1 = add(this_3, fromInt(bytesWritten));
1377
1377
  break $l$block_0;
1378
1378
  }
1379
1379
  // Inline function 'kotlin.check' call
1380
- if (!(0 <= bytesWritten ? bytesWritten <= tail.to() : false)) {
1381
- var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.to();
1380
+ if (!(0 <= bytesWritten ? bytesWritten <= tail.bq() : false)) {
1381
+ var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.bq();
1382
1382
  throw IllegalStateException_init_$Create$(toString(message));
1383
1383
  }
1384
1384
  if (!(bytesWritten === 0)) {
1385
- tail.pn_1 = tail.pn_1 + bytesWritten | 0;
1385
+ tail.xo_1 = tail.xo_1 + bytesWritten | 0;
1386
1386
  var tmp_0 = this_0;
1387
1387
  // Inline function 'kotlin.Long.plus' call
1388
- var this_4 = this_0.hn_1;
1389
- tmp_0.hn_1 = add(this_4, fromInt(bytesWritten));
1388
+ var this_4 = this_0.po_1;
1389
+ tmp_0.po_1 = add(this_4, fromInt(bytesWritten));
1390
1390
  break $l$block_0;
1391
1391
  }
1392
1392
  if (isEmpty(tail)) {
1393
- this_0.ip();
1393
+ this_0.qq();
1394
1394
  }
1395
1395
  }
1396
1396
  } else if (c < 2048) {
1397
1397
  $l$block_2: {
1398
1398
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1399
- var tail_0 = this_0.oo(2);
1400
- get_SegmentWriteContextImpl().fq(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1399
+ var tail_0 = this_0.wp(2);
1400
+ get_SegmentWriteContextImpl().nr(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1401
1401
  var bytesWritten_0 = 2;
1402
1402
  if (bytesWritten_0 === 2) {
1403
- tail_0.pn_1 = tail_0.pn_1 + bytesWritten_0 | 0;
1403
+ tail_0.xo_1 = tail_0.xo_1 + bytesWritten_0 | 0;
1404
1404
  var tmp_1 = this_0;
1405
1405
  // Inline function 'kotlin.Long.plus' call
1406
- var this_5 = this_0.hn_1;
1407
- tmp_1.hn_1 = add(this_5, fromInt(bytesWritten_0));
1406
+ var this_5 = this_0.po_1;
1407
+ tmp_1.po_1 = add(this_5, fromInt(bytesWritten_0));
1408
1408
  break $l$block_2;
1409
1409
  }
1410
1410
  // Inline function 'kotlin.check' call
1411
- if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.to() : false)) {
1412
- var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.to();
1411
+ if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.bq() : false)) {
1412
+ var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.bq();
1413
1413
  throw IllegalStateException_init_$Create$(toString(message_0));
1414
1414
  }
1415
1415
  if (!(bytesWritten_0 === 0)) {
1416
- tail_0.pn_1 = tail_0.pn_1 + bytesWritten_0 | 0;
1416
+ tail_0.xo_1 = tail_0.xo_1 + bytesWritten_0 | 0;
1417
1417
  var tmp_2 = this_0;
1418
1418
  // Inline function 'kotlin.Long.plus' call
1419
- var this_6 = this_0.hn_1;
1420
- tmp_2.hn_1 = add(this_6, fromInt(bytesWritten_0));
1419
+ var this_6 = this_0.po_1;
1420
+ tmp_2.po_1 = add(this_6, fromInt(bytesWritten_0));
1421
1421
  break $l$block_2;
1422
1422
  }
1423
1423
  if (isEmpty(tail_0)) {
1424
- this_0.ip();
1424
+ this_0.qq();
1425
1425
  }
1426
1426
  }
1427
1427
  i = i + 1 | 0;
1428
1428
  } else if (c < 55296 || c > 57343) {
1429
1429
  $l$block_4: {
1430
1430
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1431
- var tail_1 = this_0.oo(3);
1432
- get_SegmentWriteContextImpl().eq(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1431
+ var tail_1 = this_0.wp(3);
1432
+ get_SegmentWriteContextImpl().mr(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1433
1433
  var bytesWritten_1 = 3;
1434
1434
  if (bytesWritten_1 === 3) {
1435
- tail_1.pn_1 = tail_1.pn_1 + bytesWritten_1 | 0;
1435
+ tail_1.xo_1 = tail_1.xo_1 + bytesWritten_1 | 0;
1436
1436
  var tmp_3 = this_0;
1437
1437
  // Inline function 'kotlin.Long.plus' call
1438
- var this_7 = this_0.hn_1;
1439
- tmp_3.hn_1 = add(this_7, fromInt(bytesWritten_1));
1438
+ var this_7 = this_0.po_1;
1439
+ tmp_3.po_1 = add(this_7, fromInt(bytesWritten_1));
1440
1440
  break $l$block_4;
1441
1441
  }
1442
1442
  // Inline function 'kotlin.check' call
1443
- if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.to() : false)) {
1444
- var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.to();
1443
+ if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.bq() : false)) {
1444
+ var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.bq();
1445
1445
  throw IllegalStateException_init_$Create$(toString(message_1));
1446
1446
  }
1447
1447
  if (!(bytesWritten_1 === 0)) {
1448
- tail_1.pn_1 = tail_1.pn_1 + bytesWritten_1 | 0;
1448
+ tail_1.xo_1 = tail_1.xo_1 + bytesWritten_1 | 0;
1449
1449
  var tmp_4 = this_0;
1450
1450
  // Inline function 'kotlin.Long.plus' call
1451
- var this_8 = this_0.hn_1;
1452
- tmp_4.hn_1 = add(this_8, fromInt(bytesWritten_1));
1451
+ var this_8 = this_0.po_1;
1452
+ tmp_4.po_1 = add(this_8, fromInt(bytesWritten_1));
1453
1453
  break $l$block_4;
1454
1454
  }
1455
1455
  if (isEmpty(tail_1)) {
1456
- this_0.ip();
1456
+ this_0.qq();
1457
1457
  }
1458
1458
  }
1459
1459
  i = i + 1 | 0;
@@ -1472,64 +1472,64 @@
1472
1472
  // Inline function 'kotlin.code' call
1473
1473
  var this_10 = _Char___init__impl__6a9atx(63);
1474
1474
  var tmp$ret$26 = Char__toInt_impl_vasixd(this_10);
1475
- this_0.cp(toByte(tmp$ret$26));
1475
+ this_0.kq(toByte(tmp$ret$26));
1476
1476
  i = i + 1 | 0;
1477
1477
  } else {
1478
1478
  var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
1479
1479
  $l$block_6: {
1480
1480
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1481
- var tail_2 = this_0.oo(4);
1482
- get_SegmentWriteContextImpl().dq(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1481
+ var tail_2 = this_0.wp(4);
1482
+ get_SegmentWriteContextImpl().lr(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1483
1483
  var bytesWritten_2 = 4;
1484
1484
  if (bytesWritten_2 === 4) {
1485
- tail_2.pn_1 = tail_2.pn_1 + bytesWritten_2 | 0;
1485
+ tail_2.xo_1 = tail_2.xo_1 + bytesWritten_2 | 0;
1486
1486
  var tmp_6 = this_0;
1487
1487
  // Inline function 'kotlin.Long.plus' call
1488
- var this_11 = this_0.hn_1;
1489
- tmp_6.hn_1 = add(this_11, fromInt(bytesWritten_2));
1488
+ var this_11 = this_0.po_1;
1489
+ tmp_6.po_1 = add(this_11, fromInt(bytesWritten_2));
1490
1490
  break $l$block_6;
1491
1491
  }
1492
1492
  // Inline function 'kotlin.check' call
1493
- if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.to() : false)) {
1494
- var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.to();
1493
+ if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.bq() : false)) {
1494
+ var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.bq();
1495
1495
  throw IllegalStateException_init_$Create$(toString(message_2));
1496
1496
  }
1497
1497
  if (!(bytesWritten_2 === 0)) {
1498
- tail_2.pn_1 = tail_2.pn_1 + bytesWritten_2 | 0;
1498
+ tail_2.xo_1 = tail_2.xo_1 + bytesWritten_2 | 0;
1499
1499
  var tmp_7 = this_0;
1500
1500
  // Inline function 'kotlin.Long.plus' call
1501
- var this_12 = this_0.hn_1;
1502
- tmp_7.hn_1 = add(this_12, fromInt(bytesWritten_2));
1501
+ var this_12 = this_0.po_1;
1502
+ tmp_7.po_1 = add(this_12, fromInt(bytesWritten_2));
1503
1503
  break $l$block_6;
1504
1504
  }
1505
1505
  if (isEmpty(tail_2)) {
1506
- this_0.ip();
1506
+ this_0.qq();
1507
1507
  }
1508
1508
  }
1509
1509
  i = i + 2 | 0;
1510
1510
  }
1511
1511
  }
1512
1512
  }
1513
- _this__u8e3s4.yn();
1513
+ _this__u8e3s4.gp();
1514
1514
  }
1515
1515
  function commonReadUtf8(_this__u8e3s4, byteCount) {
1516
1516
  if (byteCount === 0n)
1517
1517
  return '';
1518
1518
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
1519
- var curr = _this__u8e3s4.fn_1;
1519
+ var curr = _this__u8e3s4.no_1;
1520
1520
  while (!(curr == null)) {
1521
1521
  get_SegmentReadContextImpl();
1522
1522
  if (fromInt(curr.g1()) >= byteCount) {
1523
1523
  var result = '';
1524
1524
  // Inline function 'kotlinx.io.unsafe.withData' call
1525
- var tmp0 = curr.yp(true);
1526
- var tmp2 = curr.on_1;
1527
- var tmp0_0 = curr.pn_1;
1525
+ var tmp0 = curr.gr(true);
1526
+ var tmp2 = curr.wo_1;
1527
+ var tmp0_0 = curr.xo_1;
1528
1528
  // Inline function 'kotlin.math.min' call
1529
1529
  var b = tmp2 + convertToInt(byteCount) | 0;
1530
1530
  var tmp$ret$0 = Math.min(tmp0_0, b);
1531
1531
  result = commonToUtf8String(tmp0, tmp2, tmp$ret$0);
1532
- _this__u8e3s4.go(byteCount);
1532
+ _this__u8e3s4.op(byteCount);
1533
1533
  return result;
1534
1534
  }
1535
1535
  return commonToUtf8String(readByteArray_0(_this__u8e3s4, convertToInt(byteCount)));
@@ -1900,27 +1900,27 @@
1900
1900
  }
1901
1901
  function SegmentReadContextImpl$1() {
1902
1902
  }
1903
- protoOf(SegmentReadContextImpl$1).gp = function (segment, offset) {
1904
- return segment.fo(offset);
1903
+ protoOf(SegmentReadContextImpl$1).oq = function (segment, offset) {
1904
+ return segment.np(offset);
1905
1905
  };
1906
1906
  function SegmentWriteContextImpl$1() {
1907
1907
  }
1908
- protoOf(SegmentWriteContextImpl$1).gq = function (segment, offset, value) {
1909
- segment.zp(offset, value);
1908
+ protoOf(SegmentWriteContextImpl$1).or = function (segment, offset, value) {
1909
+ segment.hr(offset, value);
1910
1910
  };
1911
- protoOf(SegmentWriteContextImpl$1).fq = function (segment, offset, b0, b1) {
1912
- segment.aq(offset, b0, b1);
1911
+ protoOf(SegmentWriteContextImpl$1).nr = function (segment, offset, b0, b1) {
1912
+ segment.ir(offset, b0, b1);
1913
1913
  };
1914
- protoOf(SegmentWriteContextImpl$1).eq = function (segment, offset, b0, b1, b2) {
1915
- segment.bq(offset, b0, b1, b2);
1914
+ protoOf(SegmentWriteContextImpl$1).mr = function (segment, offset, b0, b1, b2) {
1915
+ segment.jr(offset, b0, b1, b2);
1916
1916
  };
1917
- protoOf(SegmentWriteContextImpl$1).dq = function (segment, offset, b0, b1, b2, b3) {
1918
- segment.cq(offset, b0, b1, b2, b3);
1917
+ protoOf(SegmentWriteContextImpl$1).lr = function (segment, offset, b0, b1, b2, b3) {
1918
+ segment.kr(offset, b0, b1, b2, b3);
1919
1919
  };
1920
1920
  function BufferIterationContextImpl$1() {
1921
1921
  }
1922
- protoOf(BufferIterationContextImpl$1).gp = function (segment, offset) {
1923
- return get_SegmentReadContextImpl().gp(segment, offset);
1922
+ protoOf(BufferIterationContextImpl$1).oq = function (segment, offset) {
1923
+ return get_SegmentReadContextImpl().oq(segment, offset);
1924
1924
  };
1925
1925
  var properties_initialized_UnsafeBufferOperations_kt_2xfgoc;
1926
1926
  function _init_properties_UnsafeBufferOperations_kt__xw75gy() {
@@ -1988,15 +1988,15 @@
1988
1988
  captureStack(this, EOFException);
1989
1989
  }
1990
1990
  function SegmentPool() {
1991
- this.po_1 = 0;
1992
- this.qo_1 = 0;
1991
+ this.xp_1 = 0;
1992
+ this.yp_1 = 0;
1993
1993
  }
1994
- protoOf(SegmentPool).ro = function () {
1995
- return Companion_instance.up();
1994
+ protoOf(SegmentPool).zp = function () {
1995
+ return Companion_instance.cr();
1996
1996
  };
1997
- protoOf(SegmentPool).hp = function (segment) {
1997
+ protoOf(SegmentPool).pq = function (segment) {
1998
1998
  };
1999
- protoOf(SegmentPool).wp = function () {
1999
+ protoOf(SegmentPool).er = function () {
2000
2000
  return AlwaysSharedCopyTracker_getInstance();
2001
2001
  };
2002
2002
  var SegmentPool_instance;
@@ -2004,7 +2004,7 @@
2004
2004
  return SegmentPool_instance;
2005
2005
  }
2006
2006
  //region block: post-declaration
2007
- protoOf(Buffer).vo = write$default;
2007
+ protoOf(Buffer).dq = write$default;
2008
2008
  //endregion
2009
2009
  //region block: init
2010
2010
  Companion_instance = new Companion();