@doordeck/doordeck-headless-sdk 0.149.0 → 0.150.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.
@@ -2,40 +2,46 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.a2;
6
- var Long = kotlin_kotlin.$_$.af;
7
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.t1;
8
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l2;
9
- var charArrayOf = kotlin_kotlin.$_$.w9;
10
- var protoOf = kotlin_kotlin.$_$.lb;
11
- var toString = kotlin_kotlin.$_$.pb;
12
- var Unit_instance = kotlin_kotlin.$_$.f5;
13
- var toShort = kotlin_kotlin.$_$.ob;
14
- var ensureNotNull = kotlin_kotlin.$_$.xf;
15
- var toLong = kotlin_kotlin.$_$.nb;
16
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
17
- var initMetadataForClass = kotlin_kotlin.$_$.la;
18
- var VOID = kotlin_kotlin.$_$.h;
19
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.x1;
5
+ var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
6
+ var Long = kotlin_kotlin.$_$.tf;
7
+ var compare = kotlin_kotlin.$_$.p9;
8
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
9
+ var subtract = kotlin_kotlin.$_$.da;
10
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
11
+ var charArrayOf = kotlin_kotlin.$_$.ka;
12
+ var protoOf = kotlin_kotlin.$_$.zb;
13
+ var equalsLong = kotlin_kotlin.$_$.u9;
14
+ var toString = kotlin_kotlin.$_$.cc;
15
+ var Unit_instance = kotlin_kotlin.$_$.z4;
16
+ var toShort = kotlin_kotlin.$_$.bc;
17
+ var add = kotlin_kotlin.$_$.m9;
18
+ var ensureNotNull = kotlin_kotlin.$_$.qg;
19
+ var fromInt = kotlin_kotlin.$_$.v9;
20
+ var convertToInt = kotlin_kotlin.$_$.r9;
21
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
22
+ var initMetadataForClass = kotlin_kotlin.$_$.za;
23
+ var VOID = kotlin_kotlin.$_$.b;
24
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
20
25
  var UnsafeByteStringOperations_instance = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.b;
21
- var AutoCloseable = kotlin_kotlin.$_$.oe;
22
- var objectCreate = kotlin_kotlin.$_$.kb;
23
- var initMetadataForCompanion = kotlin_kotlin.$_$.ma;
24
- var arrayCopy = kotlin_kotlin.$_$.x5;
25
- var toByte = kotlin_kotlin.$_$.mb;
26
- var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.r1;
27
- var initMetadataForObject = kotlin_kotlin.$_$.ra;
28
- var initMetadataForInterface = kotlin_kotlin.$_$.pa;
29
- var charCodeAt = kotlin_kotlin.$_$.y9;
30
- var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.r2;
31
- var charArray = kotlin_kotlin.$_$.x9;
32
- var numberToChar = kotlin_kotlin.$_$.ib;
33
- var concatToString = kotlin_kotlin.$_$.hc;
34
- var Exception_init_$Init$ = kotlin_kotlin.$_$.m1;
35
- var captureStack = kotlin_kotlin.$_$.v9;
36
- var Exception_init_$Init$_0 = kotlin_kotlin.$_$.n1;
37
- var Exception_init_$Init$_1 = kotlin_kotlin.$_$.p1;
38
- var Exception = kotlin_kotlin.$_$.xe;
26
+ var AutoCloseable = kotlin_kotlin.$_$.hf;
27
+ var objectCreate = kotlin_kotlin.$_$.yb;
28
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ab;
29
+ var arrayCopy = kotlin_kotlin.$_$.r5;
30
+ var toByte = kotlin_kotlin.$_$.ac;
31
+ var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.l1;
32
+ var initMetadataForObject = kotlin_kotlin.$_$.fb;
33
+ var initMetadataForInterface = kotlin_kotlin.$_$.db;
34
+ var multiply = kotlin_kotlin.$_$.y9;
35
+ var charCodeAt = kotlin_kotlin.$_$.ma;
36
+ var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.l2;
37
+ var charArray = kotlin_kotlin.$_$.la;
38
+ var numberToChar = kotlin_kotlin.$_$.xb;
39
+ var concatToString = kotlin_kotlin.$_$.ad;
40
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.g1;
41
+ var captureStack = kotlin_kotlin.$_$.ja;
42
+ var Exception_init_$Init$_0 = kotlin_kotlin.$_$.h1;
43
+ var Exception_init_$Init$_1 = kotlin_kotlin.$_$.j1;
44
+ var Exception = kotlin_kotlin.$_$.qf;
39
45
  //endregion
40
46
  //region block: pre-declaration
41
47
  initMetadataForInterface(Source, 'Source', VOID, VOID, [AutoCloseable]);
@@ -44,10 +50,10 @@
44
50
  endIndex = endIndex === VOID ? source.length : endIndex;
45
51
  var tmp;
46
52
  if ($super === VOID) {
47
- this.n1k(source, startIndex, endIndex);
53
+ this.uq(source, startIndex, endIndex);
48
54
  tmp = Unit_instance;
49
55
  } else {
50
- tmp = $super.n1k.call(this, source, startIndex, endIndex);
56
+ tmp = $super.uq.call(this, source, startIndex, endIndex);
51
57
  }
52
58
  return tmp;
53
59
  }
@@ -74,16 +80,16 @@
74
80
  var HEX_DIGIT_CHARS;
75
81
  function checkBounds(size, startIndex, endIndex) {
76
82
  _init_properties__Util_kt__g8tcl9();
77
- if (startIndex.d1(new Long(0, 0)) < 0 || endIndex.d1(size) > 0) {
83
+ if (compare(startIndex, new Long(0, 0)) < 0 || compare(endIndex, size) > 0) {
78
84
  throw IndexOutOfBoundsException_init_$Create$('startIndex (' + startIndex.toString() + ') and endIndex (' + endIndex.toString() + ') are not within the range [0..size(' + size.toString() + '))');
79
85
  }
80
- if (startIndex.d1(endIndex) > 0) {
86
+ if (compare(startIndex, endIndex) > 0) {
81
87
  throw IllegalArgumentException_init_$Create$('startIndex (' + startIndex.toString() + ') > endIndex (' + endIndex.toString() + ')');
82
88
  }
83
89
  }
84
90
  function checkOffsetAndCount(size, offset, byteCount) {
85
91
  _init_properties__Util_kt__g8tcl9();
86
- if (offset.d1(new Long(0, 0)) < 0 || offset.d1(size) > 0 || size.d3(offset).d1(byteCount) < 0 || byteCount.d1(new Long(0, 0)) < 0) {
92
+ if (compare(offset, new Long(0, 0)) < 0 || compare(offset, size) > 0 || compare(subtract(size, offset), byteCount) < 0 || compare(byteCount, new Long(0, 0)) < 0) {
87
93
  throw IllegalArgumentException_init_$Create$('offset (' + offset.toString() + ') and byteCount (' + byteCount.toString() + ') are not within the range [0..size(' + size.toString() + '))');
88
94
  }
89
95
  }
@@ -96,42 +102,42 @@
96
102
  }
97
103
  }
98
104
  function throwEof($this, byteCount) {
99
- throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + $this.s().toString() + ', required: ' + byteCount.toString() + ')');
105
+ throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + $this.u().toString() + ', required: ' + byteCount.toString() + ')');
100
106
  }
101
107
  function Buffer() {
102
- this.a1j_1 = null;
103
- this.b1j_1 = null;
104
- this.c1j_1 = new Long(0, 0);
108
+ this.hp_1 = null;
109
+ this.ip_1 = null;
110
+ this.jp_1 = new Long(0, 0);
105
111
  }
106
- protoOf(Buffer).s = function () {
107
- return this.c1j_1;
112
+ protoOf(Buffer).u = function () {
113
+ return this.jp_1;
108
114
  };
109
- protoOf(Buffer).d1j = function () {
115
+ protoOf(Buffer).kp = function () {
110
116
  return this;
111
117
  };
112
- protoOf(Buffer).e1j = function () {
113
- return this.s().equals(new Long(0, 0));
118
+ protoOf(Buffer).lp = function () {
119
+ return equalsLong(this.u(), new Long(0, 0));
114
120
  };
115
- protoOf(Buffer).f1j = function (byteCount) {
121
+ protoOf(Buffer).mp = function (byteCount) {
116
122
  // Inline function 'kotlin.require' call
117
- if (!(byteCount.d1(new Long(0, 0)) >= 0)) {
123
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
118
124
  var message = 'byteCount: ' + byteCount.toString();
119
125
  throw IllegalArgumentException_init_$Create$(toString(message));
120
126
  }
121
- if (this.s().d1(byteCount) < 0) {
122
- throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + this.s().toString() + ', required: ' + byteCount.toString() + ')');
127
+ if (compare(this.u(), byteCount) < 0) {
128
+ throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + this.u().toString() + ', required: ' + byteCount.toString() + ')');
123
129
  }
124
130
  };
125
- protoOf(Buffer).g1j = function (byteCount) {
131
+ protoOf(Buffer).np = function (byteCount) {
126
132
  // Inline function 'kotlin.require' call
127
- if (!(byteCount.d1(new Long(0, 0)) >= 0)) {
133
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
128
134
  var message = 'byteCount: ' + byteCount.toString() + ' < 0';
129
135
  throw IllegalArgumentException_init_$Create$(toString(message));
130
136
  }
131
- return this.s().d1(byteCount) >= 0;
137
+ return compare(this.u(), byteCount) >= 0;
132
138
  };
133
- protoOf(Buffer).h1j = function () {
134
- var tmp0_elvis_lhs = this.a1j_1;
139
+ protoOf(Buffer).op = function () {
140
+ var tmp0_elvis_lhs = this.hp_1;
135
141
  var tmp;
136
142
  if (tmp0_elvis_lhs == null) {
137
143
  throwEof(this, new Long(1, 0));
@@ -139,20 +145,20 @@
139
145
  tmp = tmp0_elvis_lhs;
140
146
  }
141
147
  var segment = tmp;
142
- var segmentSize = segment.s();
148
+ var segmentSize = segment.u();
143
149
  if (segmentSize === 0) {
144
- this.p1j();
145
- return this.h1j();
150
+ this.wp();
151
+ return this.op();
146
152
  }
147
- var v = segment.q1j();
148
- this.c1j_1 = this.c1j_1.d3(new Long(1, 0));
153
+ var v = segment.xp();
154
+ this.jp_1 = subtract(this.jp_1, new Long(1, 0));
149
155
  if (segmentSize === 1) {
150
- this.p1j();
156
+ this.wp();
151
157
  }
152
158
  return v;
153
159
  };
154
- protoOf(Buffer).r1j = function () {
155
- var tmp0_elvis_lhs = this.a1j_1;
160
+ protoOf(Buffer).yp = function () {
161
+ var tmp0_elvis_lhs = this.hp_1;
156
162
  var tmp;
157
163
  if (tmp0_elvis_lhs == null) {
158
164
  throwEof(this, new Long(2, 0));
@@ -160,131 +166,131 @@
160
166
  tmp = tmp0_elvis_lhs;
161
167
  }
162
168
  var segment = tmp;
163
- var segmentSize = segment.s();
169
+ var segmentSize = segment.u();
164
170
  if (segmentSize < 2) {
165
- this.f1j(new Long(2, 0));
171
+ this.mp(new Long(2, 0));
166
172
  if (segmentSize === 0) {
167
- this.p1j();
168
- return this.r1j();
173
+ this.wp();
174
+ return this.yp();
169
175
  }
170
176
  // Inline function 'kotlinx.io.and' call
171
- var tmp_0 = (this.h1j() & 255) << 8;
177
+ var tmp_0 = (this.op() & 255) << 8;
172
178
  // Inline function 'kotlinx.io.and' call
173
- var tmp$ret$1 = this.h1j() & 255;
179
+ var tmp$ret$1 = this.op() & 255;
174
180
  return toShort(tmp_0 | tmp$ret$1);
175
181
  }
176
- var v = segment.s1j();
177
- this.c1j_1 = this.c1j_1.d3(new Long(2, 0));
182
+ var v = segment.zp();
183
+ this.jp_1 = subtract(this.jp_1, new Long(2, 0));
178
184
  if (segmentSize === 2) {
179
- this.p1j();
185
+ this.wp();
180
186
  }
181
187
  return v;
182
188
  };
183
- protoOf(Buffer).t1j = function () {
189
+ protoOf(Buffer).aq = function () {
184
190
  return Unit_instance;
185
191
  };
186
- protoOf(Buffer).u1j = function (out, startIndex, endIndex) {
187
- checkBounds(this.s(), startIndex, endIndex);
188
- if (startIndex.equals(endIndex))
192
+ protoOf(Buffer).bq = function (out, startIndex, endIndex) {
193
+ checkBounds(this.u(), startIndex, endIndex);
194
+ if (equalsLong(startIndex, endIndex))
189
195
  return Unit_instance;
190
196
  var currentOffset = startIndex;
191
- var remainingByteCount = endIndex.d3(startIndex);
192
- out.c1j_1 = out.c1j_1.c3(remainingByteCount);
193
- var s = this.a1j_1;
194
- while (currentOffset.d1(toLong(ensureNotNull(s).k1j_1 - s.j1j_1 | 0)) >= 0) {
195
- currentOffset = currentOffset.d3(toLong(s.k1j_1 - s.j1j_1 | 0));
196
- s = s.n1j_1;
197
- }
198
- while (remainingByteCount.d1(new Long(0, 0)) > 0) {
199
- var copy = ensureNotNull(s).v1j();
200
- copy.j1j_1 = copy.j1j_1 + currentOffset.i1() | 0;
197
+ var remainingByteCount = subtract(endIndex, startIndex);
198
+ out.jp_1 = add(out.jp_1, remainingByteCount);
199
+ var s = this.hp_1;
200
+ while (compare(currentOffset, fromInt(ensureNotNull(s).rp_1 - s.qp_1 | 0)) >= 0) {
201
+ currentOffset = subtract(currentOffset, fromInt(s.rp_1 - s.qp_1 | 0));
202
+ s = s.up_1;
203
+ }
204
+ while (compare(remainingByteCount, new Long(0, 0)) > 0) {
205
+ var copy = ensureNotNull(s).cq();
206
+ copy.qp_1 = copy.qp_1 + convertToInt(currentOffset) | 0;
201
207
  var tmp = copy;
202
- var tmp0 = copy.j1j_1 + remainingByteCount.i1() | 0;
208
+ var tmp0 = copy.qp_1 + convertToInt(remainingByteCount) | 0;
203
209
  // Inline function 'kotlin.comparisons.minOf' call
204
- var b = copy.k1j_1;
205
- tmp.k1j_1 = Math.min(tmp0, b);
210
+ var b = copy.rp_1;
211
+ tmp.rp_1 = Math.min(tmp0, b);
206
212
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
207
- if (out.a1j_1 == null) {
208
- out.a1j_1 = copy;
209
- out.b1j_1 = copy;
213
+ if (out.hp_1 == null) {
214
+ out.hp_1 = copy;
215
+ out.ip_1 = copy;
210
216
  } else if (false) {
211
- out.b1j_1 = ensureNotNull(out.b1j_1).w1j(copy).x1j();
212
- if (ensureNotNull(out.b1j_1).o1j_1 == null) {
213
- out.a1j_1 = out.b1j_1;
217
+ out.ip_1 = ensureNotNull(out.ip_1).dq(copy).eq();
218
+ if (ensureNotNull(out.ip_1).vp_1 == null) {
219
+ out.hp_1 = out.ip_1;
214
220
  }
215
221
  } else {
216
- out.b1j_1 = ensureNotNull(out.b1j_1).w1j(copy);
222
+ out.ip_1 = ensureNotNull(out.ip_1).dq(copy);
217
223
  }
218
- remainingByteCount = remainingByteCount.d3(toLong(copy.k1j_1 - copy.j1j_1 | 0));
224
+ remainingByteCount = subtract(remainingByteCount, fromInt(copy.rp_1 - copy.qp_1 | 0));
219
225
  currentOffset = new Long(0, 0);
220
- s = s.n1j_1;
226
+ s = s.up_1;
221
227
  }
222
228
  };
223
- protoOf(Buffer).y1j = function () {
224
- var result = this.s();
225
- if (result.equals(new Long(0, 0)))
229
+ protoOf(Buffer).fq = function () {
230
+ var result = this.u();
231
+ if (equalsLong(result, new Long(0, 0)))
226
232
  return new Long(0, 0);
227
- var tail = ensureNotNull(this.b1j_1);
228
- if (tail.k1j_1 < 8192 && tail.m1j_1) {
229
- result = result.d3(toLong(tail.k1j_1 - tail.j1j_1 | 0));
233
+ var tail = ensureNotNull(this.ip_1);
234
+ if (tail.rp_1 < 8192 && tail.tp_1) {
235
+ result = subtract(result, fromInt(tail.rp_1 - tail.qp_1 | 0));
230
236
  }
231
237
  return result;
232
238
  };
233
- protoOf(Buffer).z1j = function (position) {
234
- if (position.d1(new Long(0, 0)) < 0 || position.d1(this.s()) >= 0) {
235
- throw IndexOutOfBoundsException_init_$Create$('position (' + position.toString() + ') is not within the range [0..size(' + this.s().toString() + '))');
239
+ protoOf(Buffer).gq = function (position) {
240
+ if (compare(position, new Long(0, 0)) < 0 || compare(position, this.u()) >= 0) {
241
+ throw IndexOutOfBoundsException_init_$Create$('position (' + position.toString() + ') is not within the range [0..size(' + this.u().toString() + '))');
236
242
  }
237
- if (position.equals(new Long(0, 0))) {
238
- return ensureNotNull(this.a1j_1).a1k(0);
243
+ if (equalsLong(position, new Long(0, 0))) {
244
+ return ensureNotNull(this.hp_1).hq(0);
239
245
  }
240
246
  // Inline function 'kotlinx.io.seek' call
241
- if (this.a1j_1 == null) {
247
+ if (this.hp_1 == null) {
242
248
  var offset = new Long(-1, -1);
243
- return ensureNotNull(null).a1k(position.d3(offset).i1());
244
- }
245
- if (this.s().d3(position).d1(position) < 0) {
246
- var s = this.b1j_1;
247
- var offset_0 = this.s();
248
- $l$loop: while (!(s == null) && offset_0.d1(position) > 0) {
249
- offset_0 = offset_0.d3(toLong(s.k1j_1 - s.j1j_1 | 0));
250
- if (offset_0.d1(position) <= 0)
249
+ return ensureNotNull(null).hq(convertToInt(subtract(position, offset)));
250
+ }
251
+ if (compare(subtract(this.u(), position), position) < 0) {
252
+ var s = this.ip_1;
253
+ var offset_0 = this.u();
254
+ $l$loop: while (!(s == null) && compare(offset_0, position) > 0) {
255
+ offset_0 = subtract(offset_0, fromInt(s.rp_1 - s.qp_1 | 0));
256
+ if (compare(offset_0, position) <= 0)
251
257
  break $l$loop;
252
- s = s.o1j_1;
258
+ s = s.vp_1;
253
259
  }
254
260
  var tmp0 = s;
255
261
  var offset_1 = offset_0;
256
- return ensureNotNull(tmp0).a1k(position.d3(offset_1).i1());
262
+ return ensureNotNull(tmp0).hq(convertToInt(subtract(position, offset_1)));
257
263
  } else {
258
- var s_0 = this.a1j_1;
264
+ var s_0 = this.hp_1;
259
265
  var offset_2 = new Long(0, 0);
260
266
  $l$loop_0: while (!(s_0 == null)) {
261
267
  var tmp0_0 = offset_2;
262
268
  // Inline function 'kotlin.Long.plus' call
263
- var other = s_0.k1j_1 - s_0.j1j_1 | 0;
264
- var nextOffset = tmp0_0.c3(toLong(other));
265
- if (nextOffset.d1(position) > 0)
269
+ var other = s_0.rp_1 - s_0.qp_1 | 0;
270
+ var nextOffset = add(tmp0_0, fromInt(other));
271
+ if (compare(nextOffset, position) > 0)
266
272
  break $l$loop_0;
267
- s_0 = s_0.n1j_1;
273
+ s_0 = s_0.up_1;
268
274
  offset_2 = nextOffset;
269
275
  }
270
276
  var tmp0_1 = s_0;
271
277
  var offset_3 = offset_2;
272
- return ensureNotNull(tmp0_1).a1k(position.d3(offset_3).i1());
278
+ return ensureNotNull(tmp0_1).hq(convertToInt(subtract(position, offset_3)));
273
279
  }
274
280
  };
275
- protoOf(Buffer).e2 = function () {
276
- return this.b1k(this.s());
281
+ protoOf(Buffer).b2 = function () {
282
+ return this.iq(this.u());
277
283
  };
278
- protoOf(Buffer).b1k = function (byteCount) {
284
+ protoOf(Buffer).iq = function (byteCount) {
279
285
  // Inline function 'kotlinx.io.checkByteCount' call
280
286
  // Inline function 'kotlin.require' call
281
- if (!(byteCount.d1(new Long(0, 0)) >= 0)) {
287
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
282
288
  var message = 'byteCount (' + byteCount.toString() + ') < 0';
283
289
  throw IllegalArgumentException_init_$Create$(toString(message));
284
290
  }
285
291
  var remainingByteCount = byteCount;
286
- while (remainingByteCount.d1(new Long(0, 0)) > 0) {
287
- var tmp0_elvis_lhs = this.a1j_1;
292
+ while (compare(remainingByteCount, new Long(0, 0)) > 0) {
293
+ var tmp0_elvis_lhs = this.hp_1;
288
294
  var tmp;
289
295
  if (tmp0_elvis_lhs == null) {
290
296
  throw EOFException_init_$Create$_0('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
@@ -294,23 +300,24 @@
294
300
  var head = tmp;
295
301
  var tmp0 = remainingByteCount;
296
302
  // Inline function 'kotlinx.io.minOf' call
297
- var b = head.k1j_1 - head.j1j_1 | 0;
303
+ var b = head.rp_1 - head.qp_1 | 0;
298
304
  // Inline function 'kotlin.comparisons.minOf' call
299
- var b_0 = toLong(b);
300
- var toSkip = (tmp0.d1(b_0) <= 0 ? tmp0 : b_0).i1();
301
- this.c1j_1 = this.c1j_1.d3(toLong(toSkip));
302
- remainingByteCount = remainingByteCount.d3(toLong(toSkip));
303
- head.j1j_1 = head.j1j_1 + toSkip | 0;
304
- if (head.j1j_1 === head.k1j_1) {
305
- this.p1j();
305
+ var b_0 = fromInt(b);
306
+ var tmp$ret$4 = compare(tmp0, b_0) <= 0 ? tmp0 : b_0;
307
+ var toSkip = convertToInt(tmp$ret$4);
308
+ this.jp_1 = subtract(this.jp_1, fromInt(toSkip));
309
+ remainingByteCount = subtract(remainingByteCount, fromInt(toSkip));
310
+ head.qp_1 = head.qp_1 + toSkip | 0;
311
+ if (head.qp_1 === head.rp_1) {
312
+ this.wp();
306
313
  }
307
314
  }
308
315
  };
309
- protoOf(Buffer).c1k = function (sink, startIndex, endIndex) {
316
+ protoOf(Buffer).jq = function (sink, startIndex, endIndex) {
310
317
  // Inline function 'kotlinx.io.checkBounds' call
311
318
  var size = sink.length;
312
- checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
313
- var tmp0_elvis_lhs = this.a1j_1;
319
+ checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
320
+ var tmp0_elvis_lhs = this.hp_1;
314
321
  var tmp;
315
322
  if (tmp0_elvis_lhs == null) {
316
323
  return -1;
@@ -320,572 +327,576 @@
320
327
  var s = tmp;
321
328
  var tmp0 = endIndex - startIndex | 0;
322
329
  // Inline function 'kotlin.comparisons.minOf' call
323
- var b = s.s();
330
+ var b = s.u();
324
331
  var toCopy = Math.min(tmp0, b);
325
- s.d1k(sink, startIndex, startIndex + toCopy | 0);
326
- this.c1j_1 = this.c1j_1.d3(toLong(toCopy));
332
+ s.kq(sink, startIndex, startIndex + toCopy | 0);
333
+ this.jp_1 = subtract(this.jp_1, fromInt(toCopy));
327
334
  if (isEmpty(s)) {
328
- this.p1j();
335
+ this.wp();
329
336
  }
330
337
  return toCopy;
331
338
  };
332
- protoOf(Buffer).e1k = function (sink, byteCount) {
339
+ protoOf(Buffer).lq = function (sink, byteCount) {
333
340
  // Inline function 'kotlinx.io.checkByteCount' call
334
341
  // Inline function 'kotlin.require' call
335
- if (!(byteCount.d1(new Long(0, 0)) >= 0)) {
342
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
336
343
  var message = 'byteCount (' + byteCount.toString() + ') < 0';
337
344
  throw IllegalArgumentException_init_$Create$(toString(message));
338
345
  }
339
- if (this.s().equals(new Long(0, 0)))
346
+ if (equalsLong(this.u(), new Long(0, 0)))
340
347
  return new Long(-1, -1);
341
- var bytesWritten = byteCount.d1(this.s()) > 0 ? this.s() : byteCount;
342
- sink.f1k(this, bytesWritten);
348
+ var bytesWritten = compare(byteCount, this.u()) > 0 ? this.u() : byteCount;
349
+ sink.mq(this, bytesWritten);
343
350
  return bytesWritten;
344
351
  };
345
- protoOf(Buffer).g1k = function (sink, byteCount) {
352
+ protoOf(Buffer).nq = function (sink, byteCount) {
346
353
  // Inline function 'kotlinx.io.checkByteCount' call
347
354
  // Inline function 'kotlin.require' call
348
- if (!(byteCount.d1(new Long(0, 0)) >= 0)) {
355
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
349
356
  var message = 'byteCount (' + byteCount.toString() + ') < 0';
350
357
  throw IllegalArgumentException_init_$Create$(toString(message));
351
358
  }
352
- if (this.s().d1(byteCount) < 0) {
353
- sink.f1k(this, this.s());
354
- throw EOFException_init_$Create$_0('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.s().toString() + ' bytes were written.');
359
+ if (compare(this.u(), byteCount) < 0) {
360
+ sink.mq(this, this.u());
361
+ throw EOFException_init_$Create$_0('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.u().toString() + ' bytes were written.');
355
362
  }
356
- sink.f1k(this, byteCount);
363
+ sink.mq(this, byteCount);
357
364
  };
358
- protoOf(Buffer).h1k = function (sink) {
359
- var byteCount = this.s();
360
- if (byteCount.d1(new Long(0, 0)) > 0) {
361
- sink.f1k(this, byteCount);
365
+ protoOf(Buffer).oq = function (sink) {
366
+ var byteCount = this.u();
367
+ if (compare(byteCount, new Long(0, 0)) > 0) {
368
+ sink.mq(this, byteCount);
362
369
  }
363
370
  return byteCount;
364
371
  };
365
- protoOf(Buffer).i1k = function () {
372
+ protoOf(Buffer).pq = function () {
366
373
  return buffered(new PeekSource(this));
367
374
  };
368
- protoOf(Buffer).j1k = function (minimumCapacity) {
375
+ protoOf(Buffer).qq = function (minimumCapacity) {
369
376
  // Inline function 'kotlin.require' call
370
377
  if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
371
378
  var message = 'unexpected capacity (' + minimumCapacity + '), should be in range [1, 8192]';
372
379
  throw IllegalArgumentException_init_$Create$(toString(message));
373
380
  }
374
- if (this.b1j_1 == null) {
375
- var result = SegmentPool_instance.m1k();
376
- this.a1j_1 = result;
377
- this.b1j_1 = result;
381
+ if (this.ip_1 == null) {
382
+ var result = SegmentPool_instance.tq();
383
+ this.hp_1 = result;
384
+ this.ip_1 = result;
378
385
  return result;
379
386
  }
380
- var t = ensureNotNull(this.b1j_1);
381
- if ((t.k1j_1 + minimumCapacity | 0) > 8192 || !t.m1j_1) {
382
- var newTail = t.w1j(SegmentPool_instance.m1k());
383
- this.b1j_1 = newTail;
387
+ var t = ensureNotNull(this.ip_1);
388
+ if ((t.rp_1 + minimumCapacity | 0) > 8192 || !t.tp_1) {
389
+ var newTail = t.dq(SegmentPool_instance.tq());
390
+ this.ip_1 = newTail;
384
391
  return newTail;
385
392
  }
386
393
  return t;
387
394
  };
388
- protoOf(Buffer).n1k = function (source, startIndex, endIndex) {
395
+ protoOf(Buffer).uq = function (source, startIndex, endIndex) {
389
396
  // Inline function 'kotlinx.io.checkBounds' call
390
397
  var size = source.length;
391
- checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
398
+ checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
392
399
  var currentOffset = startIndex;
393
400
  while (currentOffset < endIndex) {
394
- var tail = this.j1k(1);
401
+ var tail = this.qq(1);
395
402
  var tmp0 = endIndex - currentOffset | 0;
396
403
  // Inline function 'kotlin.comparisons.minOf' call
397
- var b = tail.o1k();
404
+ var b = tail.vq();
398
405
  var toCopy = Math.min(tmp0, b);
399
- tail.p1k(source, currentOffset, currentOffset + toCopy | 0);
406
+ tail.wq(source, currentOffset, currentOffset + toCopy | 0);
400
407
  currentOffset = currentOffset + toCopy | 0;
401
408
  }
402
409
  var tmp = this;
403
- var tmp0_0 = this.c1j_1;
410
+ var tmp0_0 = this.jp_1;
404
411
  // Inline function 'kotlin.Long.plus' call
405
412
  var other = endIndex - startIndex | 0;
406
- tmp.c1j_1 = tmp0_0.c3(toLong(other));
413
+ tmp.jp_1 = add(tmp0_0, fromInt(other));
407
414
  };
408
- protoOf(Buffer).r1k = function (source, byteCount) {
415
+ protoOf(Buffer).yq = function (source, byteCount) {
409
416
  // Inline function 'kotlinx.io.checkByteCount' call
410
417
  // Inline function 'kotlin.require' call
411
- if (!(byteCount.d1(new Long(0, 0)) >= 0)) {
418
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
412
419
  var message = 'byteCount (' + byteCount.toString() + ') < 0';
413
420
  throw IllegalArgumentException_init_$Create$(toString(message));
414
421
  }
415
422
  var remainingByteCount = byteCount;
416
- while (remainingByteCount.d1(new Long(0, 0)) > 0) {
417
- var read = source.e1k(this, remainingByteCount);
418
- if (read.equals(new Long(-1, -1))) {
419
- throw EOFException_init_$Create$_0('Source exhausted before reading ' + byteCount.toString() + ' bytes. ' + ('Only ' + byteCount.d3(remainingByteCount).toString() + ' were read.'));
423
+ while (compare(remainingByteCount, new Long(0, 0)) > 0) {
424
+ var read = source.lq(this, remainingByteCount);
425
+ if (equalsLong(read, new Long(-1, -1))) {
426
+ throw EOFException_init_$Create$_0('Source exhausted before reading ' + byteCount.toString() + ' bytes. ' + ('Only ' + subtract(byteCount, remainingByteCount).toString() + ' were read.'));
420
427
  }
421
- remainingByteCount = remainingByteCount.d3(read);
428
+ remainingByteCount = subtract(remainingByteCount, read);
422
429
  }
423
430
  };
424
- protoOf(Buffer).f1k = function (source, byteCount) {
431
+ protoOf(Buffer).mq = function (source, byteCount) {
425
432
  // Inline function 'kotlin.require' call
426
433
  if (!!(source === this)) {
427
434
  var message = 'source == this';
428
435
  throw IllegalArgumentException_init_$Create$(toString(message));
429
436
  }
430
- checkOffsetAndCount(source.c1j_1, new Long(0, 0), byteCount);
437
+ checkOffsetAndCount(source.jp_1, new Long(0, 0), byteCount);
431
438
  var remainingByteCount = byteCount;
432
- while (remainingByteCount.d1(new Long(0, 0)) > 0) {
433
- if (remainingByteCount.d1(toLong(ensureNotNull(source.a1j_1).s())) < 0) {
434
- var tail = this.b1j_1;
439
+ while (compare(remainingByteCount, new Long(0, 0)) > 0) {
440
+ if (compare(remainingByteCount, fromInt(ensureNotNull(source.hp_1).u())) < 0) {
441
+ var tail = this.ip_1;
435
442
  var tmp;
436
- if (!(tail == null) && tail.m1j_1) {
443
+ if (!(tail == null) && tail.tp_1) {
437
444
  var tmp0 = remainingByteCount;
438
445
  // Inline function 'kotlin.Long.plus' call
439
- var other = tail.k1j_1;
440
- var tmp0_0 = tmp0.c3(toLong(other));
446
+ var other = tail.rp_1;
447
+ var tmp0_0 = add(tmp0, fromInt(other));
441
448
  // Inline function 'kotlin.Long.minus' call
442
- var other_0 = tail.s1k() ? 0 : tail.j1j_1;
443
- tmp = tmp0_0.d3(toLong(other_0)).d1(new Long(8192, 0)) <= 0;
449
+ var other_0 = tail.zq() ? 0 : tail.qp_1;
450
+ var tmp$ret$3 = subtract(tmp0_0, fromInt(other_0));
451
+ tmp = compare(tmp$ret$3, new Long(8192, 0)) <= 0;
444
452
  } else {
445
453
  tmp = false;
446
454
  }
447
455
  if (tmp) {
448
- ensureNotNull(source.a1j_1).u1k(tail, remainingByteCount.i1());
449
- source.c1j_1 = source.c1j_1.d3(remainingByteCount);
450
- this.c1j_1 = this.c1j_1.c3(remainingByteCount);
456
+ ensureNotNull(source.hp_1).br(tail, convertToInt(remainingByteCount));
457
+ source.jp_1 = subtract(source.jp_1, remainingByteCount);
458
+ this.jp_1 = add(this.jp_1, remainingByteCount);
451
459
  return Unit_instance;
452
460
  } else {
453
- source.a1j_1 = ensureNotNull(source.a1j_1).t1k(remainingByteCount.i1());
461
+ source.hp_1 = ensureNotNull(source.hp_1).ar(convertToInt(remainingByteCount));
454
462
  }
455
463
  }
456
- var segmentToMove = ensureNotNull(source.a1j_1);
457
- var movedByteCount = toLong(segmentToMove.s());
458
- source.a1j_1 = segmentToMove.v1k();
459
- if (source.a1j_1 == null) {
460
- source.b1j_1 = null;
464
+ var segmentToMove = ensureNotNull(source.hp_1);
465
+ var movedByteCount = fromInt(segmentToMove.u());
466
+ source.hp_1 = segmentToMove.cr();
467
+ if (source.hp_1 == null) {
468
+ source.ip_1 = null;
461
469
  }
462
470
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
463
- if (this.a1j_1 == null) {
464
- this.a1j_1 = segmentToMove;
465
- this.b1j_1 = segmentToMove;
471
+ if (this.hp_1 == null) {
472
+ this.hp_1 = segmentToMove;
473
+ this.ip_1 = segmentToMove;
466
474
  } else if (true) {
467
- this.b1j_1 = ensureNotNull(this.b1j_1).w1j(segmentToMove).x1j();
468
- if (ensureNotNull(this.b1j_1).o1j_1 == null) {
469
- this.a1j_1 = this.b1j_1;
475
+ this.ip_1 = ensureNotNull(this.ip_1).dq(segmentToMove).eq();
476
+ if (ensureNotNull(this.ip_1).vp_1 == null) {
477
+ this.hp_1 = this.ip_1;
470
478
  }
471
479
  } else {
472
- this.b1j_1 = ensureNotNull(this.b1j_1).w1j(segmentToMove);
480
+ this.ip_1 = ensureNotNull(this.ip_1).dq(segmentToMove);
473
481
  }
474
- source.c1j_1 = source.c1j_1.d3(movedByteCount);
475
- this.c1j_1 = this.c1j_1.c3(movedByteCount);
476
- remainingByteCount = remainingByteCount.d3(movedByteCount);
482
+ source.jp_1 = subtract(source.jp_1, movedByteCount);
483
+ this.jp_1 = add(this.jp_1, movedByteCount);
484
+ remainingByteCount = subtract(remainingByteCount, movedByteCount);
477
485
  }
478
486
  };
479
- protoOf(Buffer).w1k = function (source) {
487
+ protoOf(Buffer).dr = function (source) {
480
488
  var totalBytesRead = new Long(0, 0);
481
489
  $l$loop: while (true) {
482
- var readCount = source.e1k(this, new Long(8192, 0));
483
- if (readCount.equals(new Long(-1, -1)))
490
+ var readCount = source.lq(this, new Long(8192, 0));
491
+ if (equalsLong(readCount, new Long(-1, -1)))
484
492
  break $l$loop;
485
- totalBytesRead = totalBytesRead.c3(readCount);
493
+ totalBytesRead = add(totalBytesRead, readCount);
486
494
  }
487
495
  return totalBytesRead;
488
496
  };
489
- protoOf(Buffer).x1k = function (byte) {
490
- this.j1k(1).y1k(byte);
491
- this.c1j_1 = this.c1j_1.c3(new Long(1, 0));
497
+ protoOf(Buffer).er = function (byte) {
498
+ this.qq(1).fr(byte);
499
+ this.jp_1 = add(this.jp_1, new Long(1, 0));
492
500
  };
493
- protoOf(Buffer).z1k = function (short) {
494
- this.j1k(2).a1l(short);
495
- this.c1j_1 = this.c1j_1.c3(new Long(2, 0));
501
+ protoOf(Buffer).gr = function (short) {
502
+ this.qq(2).hr(short);
503
+ this.jp_1 = add(this.jp_1, new Long(2, 0));
496
504
  };
497
- protoOf(Buffer).u4 = function () {
505
+ protoOf(Buffer).b4 = function () {
498
506
  return Unit_instance;
499
507
  };
500
508
  protoOf(Buffer).toString = function () {
501
- if (this.s().equals(new Long(0, 0)))
509
+ if (equalsLong(this.u(), new Long(0, 0)))
502
510
  return 'Buffer(size=0)';
503
511
  var maxPrintableBytes = 64;
504
512
  // Inline function 'kotlinx.io.minOf' call
505
- var b = this.s();
513
+ var b = this.u();
506
514
  // Inline function 'kotlin.comparisons.minOf' call
507
- var a = toLong(maxPrintableBytes);
508
- var len = (a.d1(b) <= 0 ? a : b).i1();
509
- var builder = StringBuilder_init_$Create$(imul(len, 2) + (this.s().d1(toLong(maxPrintableBytes)) > 0 ? 1 : 0) | 0);
515
+ var a = fromInt(maxPrintableBytes);
516
+ var tmp$ret$1 = compare(a, b) <= 0 ? a : b;
517
+ var len = convertToInt(tmp$ret$1);
518
+ var builder = StringBuilder_init_$Create$(imul(len, 2) + (compare(this.u(), fromInt(maxPrintableBytes)) > 0 ? 1 : 0) | 0);
510
519
  var bytesWritten = 0;
511
520
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
512
- var curr = this.a1j_1;
521
+ var curr = this.hp_1;
513
522
  while (!(curr == null)) {
514
523
  var tmp0 = get_SegmentReadContextImpl();
515
524
  var segment = curr;
516
525
  var idx = 0;
517
- while (bytesWritten < len && idx < segment.s()) {
526
+ while (bytesWritten < len && idx < segment.u()) {
518
527
  var _unary__edvuaz = idx;
519
528
  idx = _unary__edvuaz + 1 | 0;
520
- var b_0 = tmp0.b1l(segment, _unary__edvuaz);
529
+ var b_0 = tmp0.ir(segment, _unary__edvuaz);
521
530
  bytesWritten = bytesWritten + 1 | 0;
522
531
  var tmp = get_HEX_DIGIT_CHARS();
523
532
  // Inline function 'kotlinx.io.shr' call
524
533
  var tmp$ret$2 = b_0 >> 4;
525
- var tmp_0 = builder.z8(tmp[tmp$ret$2 & 15]);
534
+ var tmp_0 = builder.g8(tmp[tmp$ret$2 & 15]);
526
535
  var tmp_1 = get_HEX_DIGIT_CHARS();
527
536
  // Inline function 'kotlinx.io.and' call
528
537
  var tmp$ret$3 = b_0 & 15;
529
- tmp_0.z8(tmp_1[tmp$ret$3]);
538
+ tmp_0.g8(tmp_1[tmp$ret$3]);
530
539
  }
531
- curr = curr.n1j_1;
540
+ curr = curr.up_1;
532
541
  }
533
- if (this.s().d1(toLong(maxPrintableBytes)) > 0) {
534
- builder.z8(_Char___init__impl__6a9atx(8230));
542
+ if (compare(this.u(), fromInt(maxPrintableBytes)) > 0) {
543
+ builder.g8(_Char___init__impl__6a9atx(8230));
535
544
  }
536
- return 'Buffer(size=' + this.s().toString() + ' hex=' + builder.toString() + ')';
545
+ return 'Buffer(size=' + this.u().toString() + ' hex=' + builder.toString() + ')';
537
546
  };
538
- protoOf(Buffer).p1j = function () {
539
- var oldHead = ensureNotNull(this.a1j_1);
540
- var nextHead = oldHead.n1j_1;
541
- this.a1j_1 = nextHead;
547
+ protoOf(Buffer).wp = function () {
548
+ var oldHead = ensureNotNull(this.hp_1);
549
+ var nextHead = oldHead.up_1;
550
+ this.hp_1 = nextHead;
542
551
  if (nextHead == null) {
543
- this.b1j_1 = null;
552
+ this.ip_1 = null;
544
553
  } else {
545
- nextHead.o1j_1 = null;
554
+ nextHead.vp_1 = null;
546
555
  }
547
- oldHead.n1j_1 = null;
548
- SegmentPool_instance.c1l(oldHead);
556
+ oldHead.up_1 = null;
557
+ SegmentPool_instance.jr(oldHead);
549
558
  };
550
- protoOf(Buffer).d1l = function () {
551
- var oldTail = ensureNotNull(this.b1j_1);
552
- var newTail = oldTail.o1j_1;
553
- this.b1j_1 = newTail;
559
+ protoOf(Buffer).kr = function () {
560
+ var oldTail = ensureNotNull(this.ip_1);
561
+ var newTail = oldTail.vp_1;
562
+ this.ip_1 = newTail;
554
563
  if (newTail == null) {
555
- this.a1j_1 = null;
564
+ this.hp_1 = null;
556
565
  } else {
557
- newTail.n1j_1 = null;
566
+ newTail.up_1 = null;
558
567
  }
559
- oldTail.o1j_1 = null;
560
- SegmentPool_instance.c1l(oldTail);
568
+ oldTail.vp_1 = null;
569
+ SegmentPool_instance.jr(oldTail);
561
570
  };
562
571
  function indexOf(_this__u8e3s4, byte, startIndex, endIndex) {
563
572
  startIndex = startIndex === VOID ? new Long(0, 0) : startIndex;
564
- endIndex = endIndex === VOID ? _this__u8e3s4.s() : endIndex;
573
+ endIndex = endIndex === VOID ? _this__u8e3s4.u() : endIndex;
565
574
  // Inline function 'kotlin.comparisons.minOf' call
566
- var b = _this__u8e3s4.s();
567
- var endOffset = endIndex.d1(b) <= 0 ? endIndex : b;
568
- checkBounds(_this__u8e3s4.s(), startIndex, endOffset);
569
- if (startIndex.equals(endOffset))
575
+ var b = _this__u8e3s4.u();
576
+ var endOffset = compare(endIndex, b) <= 0 ? endIndex : b;
577
+ checkBounds(_this__u8e3s4.u(), startIndex, endOffset);
578
+ if (equalsLong(startIndex, endOffset))
570
579
  return new Long(-1, -1);
571
580
  // Inline function 'kotlinx.io.seek' call
572
- if (_this__u8e3s4.a1j_1 == null) {
581
+ if (_this__u8e3s4.hp_1 == null) {
573
582
  var o = new Long(-1, -1);
574
- if (o.equals(new Long(-1, -1))) {
583
+ if (equalsLong(o, new Long(-1, -1))) {
575
584
  return new Long(-1, -1);
576
585
  }
577
586
  var segment = null;
578
587
  var offset = o;
579
588
  do {
580
589
  // Inline function 'kotlin.check' call
581
- if (!(endOffset.d1(offset) > 0)) {
590
+ if (!(compare(endOffset, offset) > 0)) {
582
591
  throw IllegalStateException_init_$Create$('Check failed.');
583
592
  }
584
593
  ensureNotNull(segment);
585
594
  var tmp = segment;
586
595
  // Inline function 'kotlin.comparisons.maxOf' call
587
- var a = startIndex.d3(offset).i1();
596
+ var a = convertToInt(subtract(startIndex, offset));
588
597
  var tmp_0 = Math.max(a, 0);
589
- var tmp0 = segment.s();
598
+ var tmp0 = segment.u();
590
599
  // Inline function 'kotlin.comparisons.minOf' call
591
- var b_0 = endOffset.d3(offset).i1();
600
+ var b_0 = convertToInt(subtract(endOffset, offset));
592
601
  var tmp$ret$3 = Math.min(tmp0, b_0);
593
602
  var idx = indexOf_0(tmp, byte, tmp_0, tmp$ret$3);
594
603
  if (!(idx === -1)) {
595
- return offset.c3(toLong(idx));
604
+ return add(offset, fromInt(idx));
596
605
  }
597
606
  var tmp0_0 = offset;
598
607
  // Inline function 'kotlin.Long.plus' call
599
- var other = segment.s();
600
- offset = tmp0_0.c3(toLong(other));
601
- segment = segment.n1j_1;
608
+ var other = segment.u();
609
+ offset = add(tmp0_0, fromInt(other));
610
+ segment = segment.up_1;
602
611
  }
603
- while (!(segment == null) && offset.d1(endOffset) < 0);
612
+ while (!(segment == null) && compare(offset, endOffset) < 0);
604
613
  return new Long(-1, -1);
605
614
  }
606
- if (_this__u8e3s4.s().d3(startIndex).d1(startIndex) < 0) {
607
- var s = _this__u8e3s4.b1j_1;
608
- var offset_0 = _this__u8e3s4.s();
609
- $l$loop: while (!(s == null) && offset_0.d1(startIndex) > 0) {
610
- offset_0 = offset_0.d3(toLong(s.k1j_1 - s.j1j_1 | 0));
611
- if (offset_0.d1(startIndex) <= 0)
615
+ if (compare(subtract(_this__u8e3s4.u(), startIndex), startIndex) < 0) {
616
+ var s = _this__u8e3s4.ip_1;
617
+ var offset_0 = _this__u8e3s4.u();
618
+ $l$loop: while (!(s == null) && compare(offset_0, startIndex) > 0) {
619
+ offset_0 = subtract(offset_0, fromInt(s.rp_1 - s.qp_1 | 0));
620
+ if (compare(offset_0, startIndex) <= 0)
612
621
  break $l$loop;
613
- s = s.o1j_1;
622
+ s = s.vp_1;
614
623
  }
615
624
  var tmp0_1 = s;
616
625
  var o_0 = offset_0;
617
- if (o_0.equals(new Long(-1, -1))) {
626
+ if (equalsLong(o_0, new Long(-1, -1))) {
618
627
  return new Long(-1, -1);
619
628
  }
620
629
  var segment_0 = tmp0_1;
621
630
  var offset_1 = o_0;
622
631
  do {
623
632
  // Inline function 'kotlin.check' call
624
- if (!(endOffset.d1(offset_1) > 0)) {
633
+ if (!(compare(endOffset, offset_1) > 0)) {
625
634
  throw IllegalStateException_init_$Create$('Check failed.');
626
635
  }
627
636
  ensureNotNull(segment_0);
628
637
  var tmp_1 = segment_0;
629
638
  // Inline function 'kotlin.comparisons.maxOf' call
630
- var a_0 = startIndex.d3(offset_1).i1();
639
+ var a_0 = convertToInt(subtract(startIndex, offset_1));
631
640
  var tmp_2 = Math.max(a_0, 0);
632
- var tmp0_2 = segment_0.s();
641
+ var tmp0_2 = segment_0.u();
633
642
  // Inline function 'kotlin.comparisons.minOf' call
634
- var b_1 = endOffset.d3(offset_1).i1();
643
+ var b_1 = convertToInt(subtract(endOffset, offset_1));
635
644
  var tmp$ret$8 = Math.min(tmp0_2, b_1);
636
645
  var idx_0 = indexOf_0(tmp_1, byte, tmp_2, tmp$ret$8);
637
646
  if (!(idx_0 === -1)) {
638
- return offset_1.c3(toLong(idx_0));
647
+ return add(offset_1, fromInt(idx_0));
639
648
  }
640
649
  var tmp0_3 = offset_1;
641
650
  // Inline function 'kotlin.Long.plus' call
642
- var other_0 = segment_0.s();
643
- offset_1 = tmp0_3.c3(toLong(other_0));
644
- segment_0 = segment_0.n1j_1;
651
+ var other_0 = segment_0.u();
652
+ offset_1 = add(tmp0_3, fromInt(other_0));
653
+ segment_0 = segment_0.up_1;
645
654
  }
646
- while (!(segment_0 == null) && offset_1.d1(endOffset) < 0);
655
+ while (!(segment_0 == null) && compare(offset_1, endOffset) < 0);
647
656
  return new Long(-1, -1);
648
657
  } else {
649
- var s_0 = _this__u8e3s4.a1j_1;
658
+ var s_0 = _this__u8e3s4.hp_1;
650
659
  var offset_2 = new Long(0, 0);
651
660
  $l$loop_0: while (!(s_0 == null)) {
652
661
  var tmp0_4 = offset_2;
653
662
  // Inline function 'kotlin.Long.plus' call
654
- var other_1 = s_0.k1j_1 - s_0.j1j_1 | 0;
655
- var nextOffset = tmp0_4.c3(toLong(other_1));
656
- if (nextOffset.d1(startIndex) > 0)
663
+ var other_1 = s_0.rp_1 - s_0.qp_1 | 0;
664
+ var nextOffset = add(tmp0_4, fromInt(other_1));
665
+ if (compare(nextOffset, startIndex) > 0)
657
666
  break $l$loop_0;
658
- s_0 = s_0.n1j_1;
667
+ s_0 = s_0.up_1;
659
668
  offset_2 = nextOffset;
660
669
  }
661
670
  var tmp0_5 = s_0;
662
671
  var o_1 = offset_2;
663
- if (o_1.equals(new Long(-1, -1))) {
672
+ if (equalsLong(o_1, new Long(-1, -1))) {
664
673
  return new Long(-1, -1);
665
674
  }
666
675
  var segment_1 = tmp0_5;
667
676
  var offset_3 = o_1;
668
677
  do {
669
678
  // Inline function 'kotlin.check' call
670
- if (!(endOffset.d1(offset_3) > 0)) {
679
+ if (!(compare(endOffset, offset_3) > 0)) {
671
680
  throw IllegalStateException_init_$Create$('Check failed.');
672
681
  }
673
682
  ensureNotNull(segment_1);
674
683
  var tmp_3 = segment_1;
675
684
  // Inline function 'kotlin.comparisons.maxOf' call
676
- var a_1 = startIndex.d3(offset_3).i1();
685
+ var a_1 = convertToInt(subtract(startIndex, offset_3));
677
686
  var tmp_4 = Math.max(a_1, 0);
678
- var tmp0_6 = segment_1.s();
687
+ var tmp0_6 = segment_1.u();
679
688
  // Inline function 'kotlin.comparisons.minOf' call
680
- var b_2 = endOffset.d3(offset_3).i1();
689
+ var b_2 = convertToInt(subtract(endOffset, offset_3));
681
690
  var tmp$ret$13 = Math.min(tmp0_6, b_2);
682
691
  var idx_1 = indexOf_0(tmp_3, byte, tmp_4, tmp$ret$13);
683
692
  if (!(idx_1 === -1)) {
684
- return offset_3.c3(toLong(idx_1));
693
+ return add(offset_3, fromInt(idx_1));
685
694
  }
686
695
  var tmp0_7 = offset_3;
687
696
  // Inline function 'kotlin.Long.plus' call
688
- var other_2 = segment_1.s();
689
- offset_3 = tmp0_7.c3(toLong(other_2));
690
- segment_1 = segment_1.n1j_1;
697
+ var other_2 = segment_1.u();
698
+ offset_3 = add(tmp0_7, fromInt(other_2));
699
+ segment_1 = segment_1.up_1;
691
700
  }
692
- while (!(segment_1 == null) && offset_3.d1(endOffset) < 0);
701
+ while (!(segment_1 == null) && compare(offset_3, endOffset) < 0);
693
702
  return new Long(-1, -1);
694
703
  }
695
704
  }
696
705
  function readByteString(_this__u8e3s4, byteCount) {
697
- return UnsafeByteStringOperations_instance.z1i(readByteArray_0(_this__u8e3s4, byteCount));
706
+ return UnsafeByteStringOperations_instance.gp(readByteArray_0(_this__u8e3s4, byteCount));
698
707
  }
699
708
  function buffered(_this__u8e3s4) {
700
709
  return new RealSource(_this__u8e3s4);
701
710
  }
702
711
  function PeekSource(upstream) {
703
- this.e1l_1 = upstream;
704
- this.f1l_1 = this.e1l_1.d1j();
705
- this.g1l_1 = this.f1l_1.a1j_1;
712
+ this.lr_1 = upstream;
713
+ this.mr_1 = this.lr_1.kp();
714
+ this.nr_1 = this.mr_1.hp_1;
706
715
  var tmp = this;
707
- var tmp0_safe_receiver = this.f1l_1.a1j_1;
708
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j1j_1;
709
- tmp.h1l_1 = tmp1_elvis_lhs == null ? -1 : tmp1_elvis_lhs;
710
- this.i1l_1 = false;
711
- this.j1l_1 = new Long(0, 0);
716
+ var tmp0_safe_receiver = this.mr_1.hp_1;
717
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qp_1;
718
+ tmp.or_1 = tmp1_elvis_lhs == null ? -1 : tmp1_elvis_lhs;
719
+ this.pr_1 = false;
720
+ this.qr_1 = new Long(0, 0);
712
721
  }
713
- protoOf(PeekSource).e1k = function (sink, byteCount) {
722
+ protoOf(PeekSource).lq = function (sink, byteCount) {
714
723
  // Inline function 'kotlin.check' call
715
- if (!!this.i1l_1) {
724
+ if (!!this.pr_1) {
716
725
  var message = 'Source is closed.';
717
726
  throw IllegalStateException_init_$Create$(toString(message));
718
727
  }
719
728
  // Inline function 'kotlinx.io.checkByteCount' call
720
729
  // Inline function 'kotlin.require' call
721
- if (!(byteCount.d1(new Long(0, 0)) >= 0)) {
730
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
722
731
  var message_0 = 'byteCount (' + byteCount.toString() + ') < 0';
723
732
  throw IllegalArgumentException_init_$Create$(toString(message_0));
724
733
  }
725
734
  // Inline function 'kotlin.check' call
726
- if (!(this.g1l_1 == null || (this.g1l_1 === this.f1l_1.a1j_1 && this.h1l_1 === ensureNotNull(this.f1l_1.a1j_1).j1j_1))) {
735
+ if (!(this.nr_1 == null || (this.nr_1 === this.mr_1.hp_1 && this.or_1 === ensureNotNull(this.mr_1.hp_1).qp_1))) {
727
736
  var message_1 = 'Peek source is invalid because upstream source was used';
728
737
  throw IllegalStateException_init_$Create$(toString(message_1));
729
738
  }
730
- if (byteCount.equals(new Long(0, 0)))
739
+ if (equalsLong(byteCount, new Long(0, 0)))
731
740
  return new Long(0, 0);
732
741
  // Inline function 'kotlin.Long.plus' call
733
- var tmp$ret$7 = this.j1l_1.c3(toLong(1));
734
- if (!this.e1l_1.g1j(tmp$ret$7))
742
+ var this_0 = this.qr_1;
743
+ var tmp$ret$7 = add(this_0, fromInt(1));
744
+ if (!this.lr_1.np(tmp$ret$7))
735
745
  return new Long(-1, -1);
736
- if (this.g1l_1 == null && !(this.f1l_1.a1j_1 == null)) {
737
- this.g1l_1 = this.f1l_1.a1j_1;
738
- this.h1l_1 = ensureNotNull(this.f1l_1.a1j_1).j1j_1;
746
+ if (this.nr_1 == null && !(this.mr_1.hp_1 == null)) {
747
+ this.nr_1 = this.mr_1.hp_1;
748
+ this.or_1 = ensureNotNull(this.mr_1.hp_1).qp_1;
739
749
  }
740
750
  // Inline function 'kotlin.comparisons.minOf' call
741
- var b = this.f1l_1.s().d3(this.j1l_1);
742
- var toCopy = byteCount.d1(b) <= 0 ? byteCount : b;
743
- this.f1l_1.u1j(sink, this.j1l_1, this.j1l_1.c3(toCopy));
744
- this.j1l_1 = this.j1l_1.c3(toCopy);
751
+ var b = subtract(this.mr_1.u(), this.qr_1);
752
+ var toCopy = compare(byteCount, b) <= 0 ? byteCount : b;
753
+ this.mr_1.bq(sink, this.qr_1, add(this.qr_1, toCopy));
754
+ this.qr_1 = add(this.qr_1, toCopy);
745
755
  return toCopy;
746
756
  };
747
- protoOf(PeekSource).u4 = function () {
748
- this.i1l_1 = true;
757
+ protoOf(PeekSource).b4 = function () {
758
+ this.pr_1 = true;
749
759
  };
750
760
  function RealSource(source) {
751
- this.k1l_1 = source;
752
- this.l1l_1 = false;
753
- this.m1l_1 = new Buffer();
761
+ this.rr_1 = source;
762
+ this.sr_1 = false;
763
+ this.tr_1 = new Buffer();
754
764
  }
755
- protoOf(RealSource).d1j = function () {
756
- return this.m1l_1;
765
+ protoOf(RealSource).kp = function () {
766
+ return this.tr_1;
757
767
  };
758
- protoOf(RealSource).e1k = function (sink, byteCount) {
768
+ protoOf(RealSource).lq = function (sink, byteCount) {
759
769
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
760
770
  // Inline function 'kotlin.check' call
761
- if (!!this.l1l_1) {
771
+ if (!!this.sr_1) {
762
772
  var message = 'Source is closed.';
763
773
  throw IllegalStateException_init_$Create$(toString(message));
764
774
  }
765
775
  // Inline function 'kotlin.require' call
766
- if (!(byteCount.d1(new Long(0, 0)) >= 0)) {
776
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
767
777
  var message_0 = 'byteCount: ' + byteCount.toString();
768
778
  throw IllegalArgumentException_init_$Create$(toString(message_0));
769
779
  }
770
- if (this.m1l_1.s().equals(new Long(0, 0))) {
771
- var read = this.k1l_1.e1k(this.m1l_1, new Long(8192, 0));
772
- if (read.equals(new Long(-1, -1)))
780
+ if (equalsLong(this.tr_1.u(), new Long(0, 0))) {
781
+ var read = this.rr_1.lq(this.tr_1, new Long(8192, 0));
782
+ if (equalsLong(read, new Long(-1, -1)))
773
783
  return new Long(-1, -1);
774
784
  }
775
785
  // Inline function 'kotlin.comparisons.minOf' call
776
- var b = this.m1l_1.s();
777
- var toRead = byteCount.d1(b) <= 0 ? byteCount : b;
778
- return this.m1l_1.e1k(sink, toRead);
786
+ var b = this.tr_1.u();
787
+ var toRead = compare(byteCount, b) <= 0 ? byteCount : b;
788
+ return this.tr_1.lq(sink, toRead);
779
789
  };
780
- protoOf(RealSource).e1j = function () {
790
+ protoOf(RealSource).lp = function () {
781
791
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
782
792
  // Inline function 'kotlin.check' call
783
- if (!!this.l1l_1) {
793
+ if (!!this.sr_1) {
784
794
  var message = 'Source is closed.';
785
795
  throw IllegalStateException_init_$Create$(toString(message));
786
796
  }
787
- return this.m1l_1.e1j() && this.k1l_1.e1k(this.m1l_1, new Long(8192, 0)).equals(new Long(-1, -1));
797
+ return this.tr_1.lp() && equalsLong(this.rr_1.lq(this.tr_1, new Long(8192, 0)), new Long(-1, -1));
788
798
  };
789
- protoOf(RealSource).f1j = function (byteCount) {
790
- if (!this.g1j(byteCount))
799
+ protoOf(RealSource).mp = function (byteCount) {
800
+ if (!this.np(byteCount))
791
801
  throw EOFException_init_$Create$_0("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
792
802
  };
793
- protoOf(RealSource).g1j = function (byteCount) {
803
+ protoOf(RealSource).np = function (byteCount) {
794
804
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
795
805
  // Inline function 'kotlin.check' call
796
- if (!!this.l1l_1) {
806
+ if (!!this.sr_1) {
797
807
  var message = 'Source is closed.';
798
808
  throw IllegalStateException_init_$Create$(toString(message));
799
809
  }
800
810
  // Inline function 'kotlin.require' call
801
- if (!(byteCount.d1(new Long(0, 0)) >= 0)) {
811
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
802
812
  var message_0 = 'byteCount: ' + byteCount.toString();
803
813
  throw IllegalArgumentException_init_$Create$(toString(message_0));
804
814
  }
805
- while (this.m1l_1.s().d1(byteCount) < 0) {
806
- if (this.k1l_1.e1k(this.m1l_1, new Long(8192, 0)).equals(new Long(-1, -1)))
815
+ while (compare(this.tr_1.u(), byteCount) < 0) {
816
+ if (equalsLong(this.rr_1.lq(this.tr_1, new Long(8192, 0)), new Long(-1, -1)))
807
817
  return false;
808
818
  }
809
819
  return true;
810
820
  };
811
- protoOf(RealSource).h1j = function () {
812
- this.f1j(new Long(1, 0));
813
- return this.m1l_1.h1j();
821
+ protoOf(RealSource).op = function () {
822
+ this.mp(new Long(1, 0));
823
+ return this.tr_1.op();
814
824
  };
815
- protoOf(RealSource).c1k = function (sink, startIndex, endIndex) {
825
+ protoOf(RealSource).jq = function (sink, startIndex, endIndex) {
816
826
  // Inline function 'kotlinx.io.checkBounds' call
817
827
  var size = sink.length;
818
- checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
819
- if (this.m1l_1.s().equals(new Long(0, 0))) {
820
- var read = this.k1l_1.e1k(this.m1l_1, new Long(8192, 0));
821
- if (read.equals(new Long(-1, -1)))
828
+ checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
829
+ if (equalsLong(this.tr_1.u(), new Long(0, 0))) {
830
+ var read = this.rr_1.lq(this.tr_1, new Long(8192, 0));
831
+ if (equalsLong(read, new Long(-1, -1)))
822
832
  return -1;
823
833
  }
824
834
  var tmp0 = endIndex - startIndex | 0;
825
835
  // Inline function 'kotlinx.io.minOf' call
826
- var b = this.m1l_1.s();
836
+ var b = this.tr_1.u();
827
837
  // Inline function 'kotlin.comparisons.minOf' call
828
- var a = toLong(tmp0);
829
- var toRead = (a.d1(b) <= 0 ? a : b).i1();
830
- return this.m1l_1.c1k(sink, startIndex, startIndex + toRead | 0);
838
+ var a = fromInt(tmp0);
839
+ var tmp$ret$2 = compare(a, b) <= 0 ? a : b;
840
+ var toRead = convertToInt(tmp$ret$2);
841
+ return this.tr_1.jq(sink, startIndex, startIndex + toRead | 0);
831
842
  };
832
- protoOf(RealSource).g1k = function (sink, byteCount) {
843
+ protoOf(RealSource).nq = function (sink, byteCount) {
833
844
  try {
834
- this.f1j(byteCount);
845
+ this.mp(byteCount);
835
846
  } catch ($p) {
836
847
  if ($p instanceof EOFException) {
837
848
  var e = $p;
838
- sink.f1k(this.m1l_1, this.m1l_1.s());
849
+ sink.mq(this.tr_1, this.tr_1.u());
839
850
  throw e;
840
851
  } else {
841
852
  throw $p;
842
853
  }
843
854
  }
844
- this.m1l_1.g1k(sink, byteCount);
855
+ this.tr_1.nq(sink, byteCount);
845
856
  };
846
- protoOf(RealSource).h1k = function (sink) {
857
+ protoOf(RealSource).oq = function (sink) {
847
858
  var totalBytesWritten = new Long(0, 0);
848
- while (!this.k1l_1.e1k(this.m1l_1, new Long(8192, 0)).equals(new Long(-1, -1))) {
849
- var emitByteCount = this.m1l_1.y1j();
850
- if (emitByteCount.d1(new Long(0, 0)) > 0) {
851
- totalBytesWritten = totalBytesWritten.c3(emitByteCount);
852
- sink.f1k(this.m1l_1, emitByteCount);
859
+ while (!equalsLong(this.rr_1.lq(this.tr_1, new Long(8192, 0)), new Long(-1, -1))) {
860
+ var emitByteCount = this.tr_1.fq();
861
+ if (compare(emitByteCount, new Long(0, 0)) > 0) {
862
+ totalBytesWritten = add(totalBytesWritten, emitByteCount);
863
+ sink.mq(this.tr_1, emitByteCount);
853
864
  }
854
865
  }
855
- if (this.m1l_1.s().d1(new Long(0, 0)) > 0) {
856
- totalBytesWritten = totalBytesWritten.c3(this.m1l_1.s());
857
- sink.f1k(this.m1l_1, this.m1l_1.s());
866
+ if (compare(this.tr_1.u(), new Long(0, 0)) > 0) {
867
+ totalBytesWritten = add(totalBytesWritten, this.tr_1.u());
868
+ sink.mq(this.tr_1, this.tr_1.u());
858
869
  }
859
870
  return totalBytesWritten;
860
871
  };
861
- protoOf(RealSource).r1j = function () {
862
- this.f1j(new Long(2, 0));
863
- return this.m1l_1.r1j();
872
+ protoOf(RealSource).yp = function () {
873
+ this.mp(new Long(2, 0));
874
+ return this.tr_1.yp();
864
875
  };
865
- protoOf(RealSource).i1k = function () {
876
+ protoOf(RealSource).pq = function () {
866
877
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
867
878
  // Inline function 'kotlin.check' call
868
- if (!!this.l1l_1) {
879
+ if (!!this.sr_1) {
869
880
  var message = 'Source is closed.';
870
881
  throw IllegalStateException_init_$Create$(toString(message));
871
882
  }
872
883
  return buffered(new PeekSource(this));
873
884
  };
874
- protoOf(RealSource).u4 = function () {
875
- if (this.l1l_1)
885
+ protoOf(RealSource).b4 = function () {
886
+ if (this.sr_1)
876
887
  return Unit_instance;
877
- this.l1l_1 = true;
878
- this.k1l_1.u4();
879
- this.m1l_1.e2();
888
+ this.sr_1 = true;
889
+ this.rr_1.b4();
890
+ this.tr_1.b2();
880
891
  };
881
892
  protoOf(RealSource).toString = function () {
882
- return 'buffered(' + toString(this.k1l_1) + ')';
893
+ return 'buffered(' + toString(this.rr_1) + ')';
883
894
  };
884
895
  function Segment_init_$Init$($this) {
885
896
  Segment.call($this);
886
- $this.i1j_1 = new Int8Array(8192);
887
- $this.m1j_1 = true;
888
- $this.l1j_1 = null;
897
+ $this.pp_1 = new Int8Array(8192);
898
+ $this.tp_1 = true;
899
+ $this.sp_1 = null;
889
900
  return $this;
890
901
  }
891
902
  function Segment_init_$Create$() {
@@ -893,87 +904,87 @@
893
904
  }
894
905
  function Segment_init_$Init$_0(data, pos, limit, shareToken, owner, $this) {
895
906
  Segment.call($this);
896
- $this.i1j_1 = data;
897
- $this.j1j_1 = pos;
898
- $this.k1j_1 = limit;
899
- $this.l1j_1 = shareToken;
900
- $this.m1j_1 = owner;
907
+ $this.pp_1 = data;
908
+ $this.qp_1 = pos;
909
+ $this.rp_1 = limit;
910
+ $this.sp_1 = shareToken;
911
+ $this.tp_1 = owner;
901
912
  return $this;
902
913
  }
903
914
  function Segment_init_$Create$_0(data, pos, limit, shareToken, owner) {
904
915
  return Segment_init_$Init$_0(data, pos, limit, shareToken, owner, objectCreate(protoOf(Segment)));
905
916
  }
906
917
  function Companion() {
907
- this.n1l_1 = 8192;
908
- this.o1l_1 = 1024;
918
+ this.ur_1 = 8192;
919
+ this.vr_1 = 1024;
909
920
  }
910
- protoOf(Companion).p1l = function () {
921
+ protoOf(Companion).wr = function () {
911
922
  return Segment_init_$Create$();
912
923
  };
913
924
  var Companion_instance;
914
925
  function Companion_getInstance() {
915
926
  return Companion_instance;
916
927
  }
917
- protoOf(Segment).s1k = function () {
918
- var tmp0_safe_receiver = this.l1j_1;
919
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q1l();
928
+ protoOf(Segment).zq = function () {
929
+ var tmp0_safe_receiver = this.sp_1;
930
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xr();
920
931
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
921
932
  };
922
- protoOf(Segment).v1j = function () {
923
- var tmp0_elvis_lhs = this.l1j_1;
933
+ protoOf(Segment).cq = function () {
934
+ var tmp0_elvis_lhs = this.sp_1;
924
935
  var tmp;
925
936
  if (tmp0_elvis_lhs == null) {
926
937
  // Inline function 'kotlin.also' call
927
- var this_0 = SegmentPool_instance.r1l();
928
- this.l1j_1 = this_0;
938
+ var this_0 = SegmentPool_instance.yr();
939
+ this.sp_1 = this_0;
929
940
  tmp = this_0;
930
941
  } else {
931
942
  tmp = tmp0_elvis_lhs;
932
943
  }
933
944
  var t = tmp;
934
- var tmp_0 = this.j1j_1;
935
- var tmp_1 = this.k1j_1;
945
+ var tmp_0 = this.qp_1;
946
+ var tmp_1 = this.rp_1;
936
947
  // Inline function 'kotlin.also' call
937
- t.s1l();
938
- return Segment_init_$Create$_0(this.i1j_1, tmp_0, tmp_1, t, false);
948
+ t.zr();
949
+ return Segment_init_$Create$_0(this.pp_1, tmp_0, tmp_1, t, false);
939
950
  };
940
- protoOf(Segment).v1k = function () {
941
- var result = this.n1j_1;
942
- if (!(this.o1j_1 == null)) {
943
- ensureNotNull(this.o1j_1).n1j_1 = this.n1j_1;
951
+ protoOf(Segment).cr = function () {
952
+ var result = this.up_1;
953
+ if (!(this.vp_1 == null)) {
954
+ ensureNotNull(this.vp_1).up_1 = this.up_1;
944
955
  }
945
- if (!(this.n1j_1 == null)) {
946
- ensureNotNull(this.n1j_1).o1j_1 = this.o1j_1;
956
+ if (!(this.up_1 == null)) {
957
+ ensureNotNull(this.up_1).vp_1 = this.vp_1;
947
958
  }
948
- this.n1j_1 = null;
949
- this.o1j_1 = null;
959
+ this.up_1 = null;
960
+ this.vp_1 = null;
950
961
  return result;
951
962
  };
952
- protoOf(Segment).w1j = function (segment) {
953
- segment.o1j_1 = this;
954
- segment.n1j_1 = this.n1j_1;
955
- if (!(this.n1j_1 == null)) {
956
- ensureNotNull(this.n1j_1).o1j_1 = segment;
963
+ protoOf(Segment).dq = function (segment) {
964
+ segment.vp_1 = this;
965
+ segment.up_1 = this.up_1;
966
+ if (!(this.up_1 == null)) {
967
+ ensureNotNull(this.up_1).vp_1 = segment;
957
968
  }
958
- this.n1j_1 = segment;
969
+ this.up_1 = segment;
959
970
  return segment;
960
971
  };
961
- protoOf(Segment).t1k = function (byteCount) {
972
+ protoOf(Segment).ar = function (byteCount) {
962
973
  // Inline function 'kotlin.require' call
963
- if (!(byteCount > 0 && byteCount <= (this.k1j_1 - this.j1j_1 | 0))) {
974
+ if (!(byteCount > 0 && byteCount <= (this.rp_1 - this.qp_1 | 0))) {
964
975
  var message = 'byteCount out of range';
965
976
  throw IllegalArgumentException_init_$Create$(toString(message));
966
977
  }
967
978
  var prefix;
968
979
  if (byteCount >= 1024) {
969
- prefix = this.v1j();
980
+ prefix = this.cq();
970
981
  } else {
971
- prefix = SegmentPool_instance.m1k();
972
- var tmp0 = this.i1j_1;
973
- var tmp2 = prefix.i1j_1;
974
- var tmp4 = this.j1j_1;
982
+ prefix = SegmentPool_instance.tq();
983
+ var tmp0 = this.pp_1;
984
+ var tmp2 = prefix.pp_1;
985
+ var tmp4 = this.qp_1;
975
986
  // Inline function 'kotlin.collections.copyInto' call
976
- var endIndex = this.j1j_1 + byteCount | 0;
987
+ var endIndex = this.qp_1 + byteCount | 0;
977
988
  // Inline function 'kotlin.js.unsafeCast' call
978
989
  // Inline function 'kotlin.js.asDynamic' call
979
990
  var tmp = tmp0;
@@ -981,62 +992,62 @@
981
992
  // Inline function 'kotlin.js.asDynamic' call
982
993
  arrayCopy(tmp, tmp2, 0, tmp4, endIndex);
983
994
  }
984
- prefix.k1j_1 = prefix.j1j_1 + byteCount | 0;
985
- this.j1j_1 = this.j1j_1 + byteCount | 0;
986
- if (!(this.o1j_1 == null)) {
987
- ensureNotNull(this.o1j_1).w1j(prefix);
995
+ prefix.rp_1 = prefix.qp_1 + byteCount | 0;
996
+ this.qp_1 = this.qp_1 + byteCount | 0;
997
+ if (!(this.vp_1 == null)) {
998
+ ensureNotNull(this.vp_1).dq(prefix);
988
999
  } else {
989
- prefix.n1j_1 = this;
990
- this.o1j_1 = prefix;
1000
+ prefix.up_1 = this;
1001
+ this.vp_1 = prefix;
991
1002
  }
992
1003
  return prefix;
993
1004
  };
994
- protoOf(Segment).x1j = function () {
1005
+ protoOf(Segment).eq = function () {
995
1006
  // Inline function 'kotlin.check' call
996
- if (!!(this.o1j_1 == null)) {
1007
+ if (!!(this.vp_1 == null)) {
997
1008
  var message = 'cannot compact';
998
1009
  throw IllegalStateException_init_$Create$(toString(message));
999
1010
  }
1000
- if (!ensureNotNull(this.o1j_1).m1j_1)
1011
+ if (!ensureNotNull(this.vp_1).tp_1)
1001
1012
  return this;
1002
- var byteCount = this.k1j_1 - this.j1j_1 | 0;
1003
- var availableByteCount = (8192 - ensureNotNull(this.o1j_1).k1j_1 | 0) + (ensureNotNull(this.o1j_1).s1k() ? 0 : ensureNotNull(this.o1j_1).j1j_1) | 0;
1013
+ var byteCount = this.rp_1 - this.qp_1 | 0;
1014
+ var availableByteCount = (8192 - ensureNotNull(this.vp_1).rp_1 | 0) + (ensureNotNull(this.vp_1).zq() ? 0 : ensureNotNull(this.vp_1).qp_1) | 0;
1004
1015
  if (byteCount > availableByteCount)
1005
1016
  return this;
1006
- var predecessor = this.o1j_1;
1007
- this.u1k(ensureNotNull(predecessor), byteCount);
1008
- var successor = this.v1k();
1017
+ var predecessor = this.vp_1;
1018
+ this.br(ensureNotNull(predecessor), byteCount);
1019
+ var successor = this.cr();
1009
1020
  // Inline function 'kotlin.check' call
1010
1021
  if (!(successor == null)) {
1011
1022
  throw IllegalStateException_init_$Create$('Check failed.');
1012
1023
  }
1013
- SegmentPool_instance.c1l(this);
1024
+ SegmentPool_instance.jr(this);
1014
1025
  return predecessor;
1015
1026
  };
1016
- protoOf(Segment).y1k = function (byte) {
1017
- var _unary__edvuaz = this.k1j_1;
1018
- this.k1j_1 = _unary__edvuaz + 1 | 0;
1019
- this.i1j_1[_unary__edvuaz] = byte;
1027
+ protoOf(Segment).fr = function (byte) {
1028
+ var _unary__edvuaz = this.rp_1;
1029
+ this.rp_1 = _unary__edvuaz + 1 | 0;
1030
+ this.pp_1[_unary__edvuaz] = byte;
1020
1031
  };
1021
- protoOf(Segment).a1l = function (short) {
1022
- var data = this.i1j_1;
1023
- var limit = this.k1j_1;
1032
+ protoOf(Segment).hr = function (short) {
1033
+ var data = this.pp_1;
1034
+ var limit = this.rp_1;
1024
1035
  var _unary__edvuaz = limit;
1025
1036
  limit = _unary__edvuaz + 1 | 0;
1026
1037
  data[_unary__edvuaz] = toByte((short >>> 8 | 0) & 255);
1027
1038
  var _unary__edvuaz_0 = limit;
1028
1039
  limit = _unary__edvuaz_0 + 1 | 0;
1029
1040
  data[_unary__edvuaz_0] = toByte(short & 255);
1030
- this.k1j_1 = limit;
1041
+ this.rp_1 = limit;
1031
1042
  };
1032
- protoOf(Segment).q1j = function () {
1033
- var _unary__edvuaz = this.j1j_1;
1034
- this.j1j_1 = _unary__edvuaz + 1 | 0;
1035
- return this.i1j_1[_unary__edvuaz];
1043
+ protoOf(Segment).xp = function () {
1044
+ var _unary__edvuaz = this.qp_1;
1045
+ this.qp_1 = _unary__edvuaz + 1 | 0;
1046
+ return this.pp_1[_unary__edvuaz];
1036
1047
  };
1037
- protoOf(Segment).s1j = function () {
1038
- var data = this.i1j_1;
1039
- var pos = this.j1j_1;
1048
+ protoOf(Segment).zp = function () {
1049
+ var data = this.pp_1;
1050
+ var pos = this.qp_1;
1040
1051
  var _unary__edvuaz = pos;
1041
1052
  pos = _unary__edvuaz + 1 | 0;
1042
1053
  // Inline function 'kotlinx.io.and' call
@@ -1046,132 +1057,132 @@
1046
1057
  // Inline function 'kotlinx.io.and' call
1047
1058
  var tmp$ret$1 = data[_unary__edvuaz_0] & 255;
1048
1059
  var s = toShort(tmp | tmp$ret$1);
1049
- this.j1j_1 = pos;
1060
+ this.qp_1 = pos;
1050
1061
  return s;
1051
1062
  };
1052
- protoOf(Segment).u1k = function (sink, byteCount) {
1063
+ protoOf(Segment).br = function (sink, byteCount) {
1053
1064
  // Inline function 'kotlin.check' call
1054
- if (!sink.m1j_1) {
1065
+ if (!sink.tp_1) {
1055
1066
  var message = 'only owner can write';
1056
1067
  throw IllegalStateException_init_$Create$(toString(message));
1057
1068
  }
1058
- if ((sink.k1j_1 + byteCount | 0) > 8192) {
1059
- if (sink.s1k())
1069
+ if ((sink.rp_1 + byteCount | 0) > 8192) {
1070
+ if (sink.zq())
1060
1071
  throw IllegalArgumentException_init_$Create$_0();
1061
- if (((sink.k1j_1 + byteCount | 0) - sink.j1j_1 | 0) > 8192)
1072
+ if (((sink.rp_1 + byteCount | 0) - sink.qp_1 | 0) > 8192)
1062
1073
  throw IllegalArgumentException_init_$Create$_0();
1063
- var tmp0 = sink.i1j_1;
1064
- var tmp2 = sink.i1j_1;
1065
- var tmp4 = sink.j1j_1;
1074
+ var tmp0 = sink.pp_1;
1075
+ var tmp2 = sink.pp_1;
1076
+ var tmp4 = sink.qp_1;
1066
1077
  // Inline function 'kotlin.collections.copyInto' call
1067
- var endIndex = sink.k1j_1;
1078
+ var endIndex = sink.rp_1;
1068
1079
  // Inline function 'kotlin.js.unsafeCast' call
1069
1080
  // Inline function 'kotlin.js.asDynamic' call
1070
1081
  var tmp = tmp0;
1071
1082
  // Inline function 'kotlin.js.unsafeCast' call
1072
1083
  // Inline function 'kotlin.js.asDynamic' call
1073
1084
  arrayCopy(tmp, tmp2, 0, tmp4, endIndex);
1074
- sink.k1j_1 = sink.k1j_1 - sink.j1j_1 | 0;
1075
- sink.j1j_1 = 0;
1085
+ sink.rp_1 = sink.rp_1 - sink.qp_1 | 0;
1086
+ sink.qp_1 = 0;
1076
1087
  }
1077
- var tmp0_0 = this.i1j_1;
1078
- var tmp2_0 = sink.i1j_1;
1079
- var tmp4_0 = sink.k1j_1;
1080
- var tmp6 = this.j1j_1;
1088
+ var tmp0_0 = this.pp_1;
1089
+ var tmp2_0 = sink.pp_1;
1090
+ var tmp4_0 = sink.rp_1;
1091
+ var tmp6 = this.qp_1;
1081
1092
  // Inline function 'kotlin.collections.copyInto' call
1082
- var endIndex_0 = this.j1j_1 + byteCount | 0;
1093
+ var endIndex_0 = this.qp_1 + byteCount | 0;
1083
1094
  // Inline function 'kotlin.js.unsafeCast' call
1084
1095
  // Inline function 'kotlin.js.asDynamic' call
1085
1096
  var tmp_0 = tmp0_0;
1086
1097
  // Inline function 'kotlin.js.unsafeCast' call
1087
1098
  // Inline function 'kotlin.js.asDynamic' call
1088
1099
  arrayCopy(tmp_0, tmp2_0, tmp4_0, tmp6, endIndex_0);
1089
- sink.k1j_1 = sink.k1j_1 + byteCount | 0;
1090
- this.j1j_1 = this.j1j_1 + byteCount | 0;
1100
+ sink.rp_1 = sink.rp_1 + byteCount | 0;
1101
+ this.qp_1 = this.qp_1 + byteCount | 0;
1091
1102
  };
1092
- protoOf(Segment).d1k = function (dst, dstStartOffset, dstEndOffset) {
1103
+ protoOf(Segment).kq = function (dst, dstStartOffset, dstEndOffset) {
1093
1104
  var len = dstEndOffset - dstStartOffset | 0;
1094
- var tmp0 = this.i1j_1;
1095
- var tmp6 = this.j1j_1;
1105
+ var tmp0 = this.pp_1;
1106
+ var tmp6 = this.qp_1;
1096
1107
  // Inline function 'kotlin.collections.copyInto' call
1097
- var endIndex = this.j1j_1 + len | 0;
1108
+ var endIndex = this.qp_1 + len | 0;
1098
1109
  // Inline function 'kotlin.js.unsafeCast' call
1099
1110
  // Inline function 'kotlin.js.asDynamic' call
1100
1111
  var tmp = tmp0;
1101
1112
  // Inline function 'kotlin.js.unsafeCast' call
1102
1113
  // Inline function 'kotlin.js.asDynamic' call
1103
1114
  arrayCopy(tmp, dst, dstStartOffset, tmp6, endIndex);
1104
- this.j1j_1 = this.j1j_1 + len | 0;
1115
+ this.qp_1 = this.qp_1 + len | 0;
1105
1116
  };
1106
- protoOf(Segment).p1k = function (src, srcStartOffset, srcEndOffset) {
1107
- var tmp2 = this.i1j_1;
1117
+ protoOf(Segment).wq = function (src, srcStartOffset, srcEndOffset) {
1118
+ var tmp2 = this.pp_1;
1108
1119
  // Inline function 'kotlin.collections.copyInto' call
1109
- var destinationOffset = this.k1j_1;
1120
+ var destinationOffset = this.rp_1;
1110
1121
  // Inline function 'kotlin.js.unsafeCast' call
1111
1122
  // Inline function 'kotlin.js.asDynamic' call
1112
1123
  var tmp = src;
1113
1124
  // Inline function 'kotlin.js.unsafeCast' call
1114
1125
  // Inline function 'kotlin.js.asDynamic' call
1115
1126
  arrayCopy(tmp, tmp2, destinationOffset, srcStartOffset, srcEndOffset);
1116
- this.k1j_1 = this.k1j_1 + (srcEndOffset - srcStartOffset | 0) | 0;
1127
+ this.rp_1 = this.rp_1 + (srcEndOffset - srcStartOffset | 0) | 0;
1117
1128
  };
1118
- protoOf(Segment).s = function () {
1119
- return this.k1j_1 - this.j1j_1 | 0;
1129
+ protoOf(Segment).u = function () {
1130
+ return this.rp_1 - this.qp_1 | 0;
1120
1131
  };
1121
- protoOf(Segment).o1k = function () {
1122
- return this.i1j_1.length - this.k1j_1 | 0;
1132
+ protoOf(Segment).vq = function () {
1133
+ return this.pp_1.length - this.rp_1 | 0;
1123
1134
  };
1124
- protoOf(Segment).t1l = function (readOnly) {
1125
- return this.i1j_1;
1135
+ protoOf(Segment).as = function (readOnly) {
1136
+ return this.pp_1;
1126
1137
  };
1127
- protoOf(Segment).a1k = function (index) {
1128
- return this.i1j_1[this.j1j_1 + index | 0];
1138
+ protoOf(Segment).hq = function (index) {
1139
+ return this.pp_1[this.qp_1 + index | 0];
1129
1140
  };
1130
- protoOf(Segment).u1l = function (index, value) {
1131
- this.i1j_1[this.k1j_1 + index | 0] = value;
1141
+ protoOf(Segment).bs = function (index, value) {
1142
+ this.pp_1[this.rp_1 + index | 0] = value;
1132
1143
  };
1133
- protoOf(Segment).v1l = function (index, b0, b1) {
1134
- var d = this.i1j_1;
1135
- var l = this.k1j_1;
1144
+ protoOf(Segment).cs = function (index, b0, b1) {
1145
+ var d = this.pp_1;
1146
+ var l = this.rp_1;
1136
1147
  d[l + index | 0] = b0;
1137
1148
  d[(l + index | 0) + 1 | 0] = b1;
1138
1149
  };
1139
- protoOf(Segment).w1l = function (index, b0, b1, b2) {
1140
- var d = this.i1j_1;
1141
- var l = this.k1j_1;
1150
+ protoOf(Segment).ds = function (index, b0, b1, b2) {
1151
+ var d = this.pp_1;
1152
+ var l = this.rp_1;
1142
1153
  d[l + index | 0] = b0;
1143
1154
  d[(l + index | 0) + 1 | 0] = b1;
1144
1155
  d[(l + index | 0) + 2 | 0] = b2;
1145
1156
  };
1146
- protoOf(Segment).x1l = function (index, b0, b1, b2, b3) {
1147
- var d = this.i1j_1;
1148
- var l = this.k1j_1;
1157
+ protoOf(Segment).es = function (index, b0, b1, b2, b3) {
1158
+ var d = this.pp_1;
1159
+ var l = this.rp_1;
1149
1160
  d[l + index | 0] = b0;
1150
1161
  d[(l + index | 0) + 1 | 0] = b1;
1151
1162
  d[(l + index | 0) + 2 | 0] = b2;
1152
1163
  d[(l + index | 0) + 3 | 0] = b3;
1153
1164
  };
1154
1165
  function Segment() {
1155
- this.j1j_1 = 0;
1156
- this.k1j_1 = 0;
1157
- this.l1j_1 = null;
1158
- this.m1j_1 = false;
1159
- this.n1j_1 = null;
1160
- this.o1j_1 = null;
1161
- }
1162
- function SegmentCopyTracker() {
1166
+ this.qp_1 = 0;
1167
+ this.rp_1 = 0;
1168
+ this.sp_1 = null;
1169
+ this.tp_1 = false;
1170
+ this.up_1 = null;
1171
+ this.vp_1 = null;
1163
1172
  }
1164
1173
  function isEmpty(_this__u8e3s4) {
1165
- return _this__u8e3s4.s() === 0;
1174
+ return _this__u8e3s4.u() === 0;
1175
+ }
1176
+ function SegmentCopyTracker() {
1166
1177
  }
1167
1178
  function AlwaysSharedCopyTracker() {
1168
1179
  AlwaysSharedCopyTracker_instance = this;
1169
1180
  SegmentCopyTracker.call(this);
1170
1181
  }
1171
- protoOf(AlwaysSharedCopyTracker).q1l = function () {
1182
+ protoOf(AlwaysSharedCopyTracker).xr = function () {
1172
1183
  return true;
1173
1184
  };
1174
- protoOf(AlwaysSharedCopyTracker).s1l = function () {
1185
+ protoOf(AlwaysSharedCopyTracker).zr = function () {
1175
1186
  return Unit_instance;
1176
1187
  };
1177
1188
  var AlwaysSharedCopyTracker_instance;
@@ -1182,17 +1193,17 @@
1182
1193
  }
1183
1194
  function indexOf_0(_this__u8e3s4, byte, startOffset, endOffset) {
1184
1195
  // Inline function 'kotlin.require' call
1185
- if (!(0 <= startOffset ? startOffset < _this__u8e3s4.s() : false)) {
1196
+ if (!(0 <= startOffset ? startOffset < _this__u8e3s4.u() : false)) {
1186
1197
  var message = '' + startOffset;
1187
1198
  throw IllegalArgumentException_init_$Create$(toString(message));
1188
1199
  }
1189
1200
  // Inline function 'kotlin.require' call
1190
- if (!(startOffset <= endOffset ? endOffset <= _this__u8e3s4.s() : false)) {
1201
+ if (!(startOffset <= endOffset ? endOffset <= _this__u8e3s4.u() : false)) {
1191
1202
  var message_0 = '' + endOffset;
1192
1203
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1193
1204
  }
1194
- var p = _this__u8e3s4.j1j_1;
1195
- var data = _this__u8e3s4.t1l(true);
1205
+ var p = _this__u8e3s4.qp_1;
1206
+ var data = _this__u8e3s4.as(true);
1196
1207
  var inductionVariable = startOffset;
1197
1208
  if (inductionVariable < endOffset)
1198
1209
  do {
@@ -1214,57 +1225,21 @@
1214
1225
  }
1215
1226
  function readByteArray_0(_this__u8e3s4, byteCount) {
1216
1227
  // Inline function 'kotlinx.io.checkByteCount' call
1217
- var byteCount_0 = toLong(byteCount);
1228
+ var byteCount_0 = fromInt(byteCount);
1218
1229
  // Inline function 'kotlin.require' call
1219
- if (!(byteCount_0.d1(new Long(0, 0)) >= 0)) {
1230
+ if (!(compare(byteCount_0, new Long(0, 0)) >= 0)) {
1220
1231
  var message = 'byteCount (' + byteCount_0.toString() + ') < 0';
1221
1232
  throw IllegalArgumentException_init_$Create$(toString(message));
1222
1233
  }
1223
1234
  return readByteArrayImpl(_this__u8e3s4, byteCount);
1224
1235
  }
1225
- function readByteArrayImpl(_this__u8e3s4, size) {
1226
- var arraySize = size;
1227
- if (size === -1) {
1228
- var fetchSize = new Long(2147483647, 0);
1229
- while (_this__u8e3s4.d1j().s().d1(new Long(2147483647, 0)) < 0 && _this__u8e3s4.g1j(fetchSize)) {
1230
- // Inline function 'kotlin.Long.times' call
1231
- fetchSize = fetchSize.e3(toLong(2));
1232
- }
1233
- // Inline function 'kotlin.check' call
1234
- if (!(_this__u8e3s4.d1j().s().d1(new Long(2147483647, 0)) < 0)) {
1235
- var message = "Can't create an array of size " + _this__u8e3s4.d1j().s().toString();
1236
- throw IllegalStateException_init_$Create$(toString(message));
1237
- }
1238
- arraySize = _this__u8e3s4.d1j().s().i1();
1239
- } else {
1240
- _this__u8e3s4.f1j(toLong(size));
1241
- }
1242
- var array = new Int8Array(arraySize);
1243
- readTo(_this__u8e3s4.d1j(), array);
1244
- return array;
1245
- }
1246
- function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
1247
- startIndex = startIndex === VOID ? 0 : startIndex;
1248
- endIndex = endIndex === VOID ? sink.length : endIndex;
1249
- // Inline function 'kotlinx.io.checkBounds' call
1250
- var size = sink.length;
1251
- checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
1252
- var offset = startIndex;
1253
- while (offset < endIndex) {
1254
- var bytesRead = _this__u8e3s4.c1k(sink, offset, endIndex);
1255
- if (bytesRead === -1) {
1256
- throw EOFException_init_$Create$_0('Source exhausted before reading ' + (endIndex - startIndex | 0) + ' bytes. ' + ('Only ' + bytesRead + ' bytes were read.'));
1257
- }
1258
- offset = offset + bytesRead | 0;
1259
- }
1260
- }
1261
1236
  function indexOf_1(_this__u8e3s4, byte, startIndex, endIndex) {
1262
1237
  startIndex = startIndex === VOID ? new Long(0, 0) : startIndex;
1263
1238
  endIndex = endIndex === VOID ? new Long(-1, 2147483647) : endIndex;
1264
1239
  // Inline function 'kotlin.require' call
1265
- if (!((new Long(0, 0)).d1(startIndex) <= 0 ? startIndex.d1(endIndex) <= 0 : false)) {
1240
+ if (!(compare(new Long(0, 0), startIndex) <= 0 ? compare(startIndex, endIndex) <= 0 : false)) {
1266
1241
  var tmp;
1267
- if (endIndex.d1(new Long(0, 0)) < 0) {
1242
+ if (compare(endIndex, new Long(0, 0)) < 0) {
1268
1243
  tmp = 'startIndex (' + startIndex.toString() + ') and endIndex (' + endIndex.toString() + ') should be non negative';
1269
1244
  } else {
1270
1245
  tmp = 'startIndex (' + startIndex.toString() + ') is not within the range [0..endIndex(' + endIndex.toString() + '))';
@@ -1272,80 +1247,92 @@
1272
1247
  var message = tmp;
1273
1248
  throw IllegalArgumentException_init_$Create$(toString(message));
1274
1249
  }
1275
- if (startIndex.equals(endIndex))
1250
+ if (equalsLong(startIndex, endIndex))
1276
1251
  return new Long(-1, -1);
1277
1252
  var offset = startIndex;
1278
1253
  $l$loop: while (true) {
1279
1254
  var tmp_0;
1280
- if (offset.d1(endIndex) < 0) {
1255
+ if (compare(offset, endIndex) < 0) {
1281
1256
  // Inline function 'kotlin.Long.plus' call
1282
- var tmp$ret$2 = offset.c3(toLong(1));
1283
- tmp_0 = _this__u8e3s4.g1j(tmp$ret$2);
1257
+ var this_0 = offset;
1258
+ var tmp$ret$2 = add(this_0, fromInt(1));
1259
+ tmp_0 = _this__u8e3s4.np(tmp$ret$2);
1284
1260
  } else {
1285
1261
  tmp_0 = false;
1286
1262
  }
1287
1263
  if (!tmp_0) {
1288
1264
  break $l$loop;
1289
1265
  }
1290
- var tmp_1 = _this__u8e3s4.d1j();
1266
+ var tmp_1 = _this__u8e3s4.kp();
1291
1267
  var tmp_2 = offset;
1292
1268
  // Inline function 'kotlin.comparisons.minOf' call
1293
- var b = _this__u8e3s4.d1j().s();
1294
- var tmp$ret$3 = endIndex.d1(b) <= 0 ? endIndex : b;
1269
+ var b = _this__u8e3s4.kp().u();
1270
+ var tmp$ret$3 = compare(endIndex, b) <= 0 ? endIndex : b;
1295
1271
  var idx = indexOf(tmp_1, byte, tmp_2, tmp$ret$3);
1296
- if (!idx.equals(new Long(-1, -1))) {
1272
+ if (!equalsLong(idx, new Long(-1, -1))) {
1297
1273
  return idx;
1298
1274
  }
1299
- offset = _this__u8e3s4.d1j().s();
1275
+ offset = _this__u8e3s4.kp().u();
1300
1276
  }
1301
1277
  return new Long(-1, -1);
1302
1278
  }
1303
- function readString(_this__u8e3s4) {
1304
- _this__u8e3s4.g1j(new Long(-1, 2147483647));
1305
- return commonReadUtf8(_this__u8e3s4.d1j(), _this__u8e3s4.d1j().s());
1306
- }
1307
- function readString_0(_this__u8e3s4, byteCount) {
1308
- _this__u8e3s4.f1j(byteCount);
1309
- return commonReadUtf8(_this__u8e3s4.d1j(), byteCount);
1310
- }
1311
- function readString_1(_this__u8e3s4) {
1312
- return commonReadUtf8(_this__u8e3s4, _this__u8e3s4.s());
1279
+ function readByteArrayImpl(_this__u8e3s4, size) {
1280
+ var arraySize = size;
1281
+ if (size === -1) {
1282
+ var fetchSize = new Long(2147483647, 0);
1283
+ while (compare(_this__u8e3s4.kp().u(), new Long(2147483647, 0)) < 0 && _this__u8e3s4.np(fetchSize)) {
1284
+ // Inline function 'kotlin.Long.times' call
1285
+ var this_0 = fetchSize;
1286
+ fetchSize = multiply(this_0, fromInt(2));
1287
+ }
1288
+ // Inline function 'kotlin.check' call
1289
+ if (!(compare(_this__u8e3s4.kp().u(), new Long(2147483647, 0)) < 0)) {
1290
+ var message = "Can't create an array of size " + _this__u8e3s4.kp().u().toString();
1291
+ throw IllegalStateException_init_$Create$(toString(message));
1292
+ }
1293
+ arraySize = convertToInt(_this__u8e3s4.kp().u());
1294
+ } else {
1295
+ _this__u8e3s4.mp(fromInt(size));
1296
+ }
1297
+ var array = new Int8Array(arraySize);
1298
+ readTo(_this__u8e3s4.kp(), array);
1299
+ return array;
1313
1300
  }
1314
- function commonReadUtf8(_this__u8e3s4, byteCount) {
1315
- if (byteCount.equals(new Long(0, 0)))
1316
- return '';
1317
- // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
1318
- var curr = _this__u8e3s4.a1j_1;
1319
- while (!(curr == null)) {
1320
- get_SegmentReadContextImpl();
1321
- if (toLong(curr.s()).d1(byteCount) >= 0) {
1322
- var result = '';
1323
- // Inline function 'kotlinx.io.unsafe.withData' call
1324
- var tmp0 = curr.t1l(true);
1325
- var tmp2 = curr.j1j_1;
1326
- var tmp0_0 = curr.k1j_1;
1327
- // Inline function 'kotlin.math.min' call
1328
- var b = tmp2 + byteCount.i1() | 0;
1329
- var tmp$ret$0 = Math.min(tmp0_0, b);
1330
- result = commonToUtf8String(tmp0, tmp2, tmp$ret$0);
1331
- _this__u8e3s4.b1k(byteCount);
1332
- return result;
1301
+ function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
1302
+ startIndex = startIndex === VOID ? 0 : startIndex;
1303
+ endIndex = endIndex === VOID ? sink.length : endIndex;
1304
+ // Inline function 'kotlinx.io.checkBounds' call
1305
+ var size = sink.length;
1306
+ checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
1307
+ var offset = startIndex;
1308
+ while (offset < endIndex) {
1309
+ var bytesRead = _this__u8e3s4.jq(sink, offset, endIndex);
1310
+ if (bytesRead === -1) {
1311
+ throw EOFException_init_$Create$_0('Source exhausted before reading ' + (endIndex - startIndex | 0) + ' bytes. ' + ('Only ' + bytesRead + ' bytes were read.'));
1333
1312
  }
1334
- return commonToUtf8String(readByteArray_0(_this__u8e3s4, byteCount.i1()));
1313
+ offset = offset + bytesRead | 0;
1335
1314
  }
1336
- // Inline function 'kotlin.error' call
1337
- var message = 'Unreacheable';
1338
- throw IllegalStateException_init_$Create$(toString(message));
1315
+ }
1316
+ function readString(_this__u8e3s4) {
1317
+ return commonReadUtf8(_this__u8e3s4, _this__u8e3s4.u());
1318
+ }
1319
+ function readString_0(_this__u8e3s4) {
1320
+ _this__u8e3s4.np(new Long(-1, 2147483647));
1321
+ return commonReadUtf8(_this__u8e3s4.kp(), _this__u8e3s4.kp().u());
1322
+ }
1323
+ function readString_1(_this__u8e3s4, byteCount) {
1324
+ _this__u8e3s4.mp(byteCount);
1325
+ return commonReadUtf8(_this__u8e3s4.kp(), byteCount);
1339
1326
  }
1340
1327
  function writeString(_this__u8e3s4, string, startIndex, endIndex) {
1341
1328
  startIndex = startIndex === VOID ? 0 : startIndex;
1342
1329
  endIndex = endIndex === VOID ? string.length : endIndex;
1343
1330
  // Inline function 'kotlinx.io.checkBounds' call
1344
1331
  var size = string.length;
1345
- checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
1332
+ checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
1346
1333
  // Inline function 'kotlinx.io.writeToInternalBuffer' call
1347
1334
  // Inline function 'kotlinx.io.commonWriteUtf8' call
1348
- var this_0 = _this__u8e3s4.d1j();
1335
+ var this_0 = _this__u8e3s4.kp();
1349
1336
  var i = startIndex;
1350
1337
  while (i < endIndex) {
1351
1338
  var p0 = i;
@@ -1355,15 +1342,15 @@
1355
1342
  if (c < 128) {
1356
1343
  $l$block_0: {
1357
1344
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1358
- var tail = this_0.j1k(1);
1345
+ var tail = this_0.qq(1);
1359
1346
  var ctx = get_SegmentWriteContextImpl();
1360
1347
  var segmentOffset = -i | 0;
1361
1348
  // Inline function 'kotlin.comparisons.minOf' call
1362
- var b = i + tail.o1k() | 0;
1349
+ var b = i + tail.vq() | 0;
1363
1350
  var runLimit = Math.min(endIndex, b);
1364
1351
  var _unary__edvuaz = i;
1365
1352
  i = _unary__edvuaz + 1 | 0;
1366
- ctx.b1m(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1353
+ ctx.is(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1367
1354
  $l$loop: while (i < runLimit) {
1368
1355
  var p0_0 = i;
1369
1356
  // Inline function 'kotlin.code' call
@@ -1373,89 +1360,95 @@
1373
1360
  break $l$loop;
1374
1361
  var _unary__edvuaz_0 = i;
1375
1362
  i = _unary__edvuaz_0 + 1 | 0;
1376
- ctx.b1m(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1363
+ ctx.is(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1377
1364
  }
1378
1365
  var bytesWritten = i + segmentOffset | 0;
1379
1366
  if (bytesWritten === 1) {
1380
- tail.k1j_1 = tail.k1j_1 + bytesWritten | 0;
1367
+ tail.rp_1 = tail.rp_1 + bytesWritten | 0;
1381
1368
  var tmp = this_0;
1382
1369
  // Inline function 'kotlin.Long.plus' call
1383
- tmp.c1j_1 = this_0.c1j_1.c3(toLong(bytesWritten));
1370
+ var this_3 = this_0.jp_1;
1371
+ tmp.jp_1 = add(this_3, fromInt(bytesWritten));
1384
1372
  break $l$block_0;
1385
1373
  }
1386
1374
  // Inline function 'kotlin.check' call
1387
- if (!(0 <= bytesWritten ? bytesWritten <= tail.o1k() : false)) {
1388
- var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.o1k();
1375
+ if (!(0 <= bytesWritten ? bytesWritten <= tail.vq() : false)) {
1376
+ var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.vq();
1389
1377
  throw IllegalStateException_init_$Create$(toString(message));
1390
1378
  }
1391
1379
  if (!(bytesWritten === 0)) {
1392
- tail.k1j_1 = tail.k1j_1 + bytesWritten | 0;
1380
+ tail.rp_1 = tail.rp_1 + bytesWritten | 0;
1393
1381
  var tmp_0 = this_0;
1394
1382
  // Inline function 'kotlin.Long.plus' call
1395
- tmp_0.c1j_1 = this_0.c1j_1.c3(toLong(bytesWritten));
1383
+ var this_4 = this_0.jp_1;
1384
+ tmp_0.jp_1 = add(this_4, fromInt(bytesWritten));
1396
1385
  break $l$block_0;
1397
1386
  }
1398
1387
  if (isEmpty(tail)) {
1399
- this_0.d1l();
1388
+ this_0.kr();
1400
1389
  }
1401
1390
  }
1402
1391
  } else if (c < 2048) {
1403
1392
  $l$block_2: {
1404
1393
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1405
- var tail_0 = this_0.j1k(2);
1406
- get_SegmentWriteContextImpl().a1m(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1394
+ var tail_0 = this_0.qq(2);
1395
+ get_SegmentWriteContextImpl().hs(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1407
1396
  var bytesWritten_0 = 2;
1408
1397
  if (bytesWritten_0 === 2) {
1409
- tail_0.k1j_1 = tail_0.k1j_1 + bytesWritten_0 | 0;
1398
+ tail_0.rp_1 = tail_0.rp_1 + bytesWritten_0 | 0;
1410
1399
  var tmp_1 = this_0;
1411
1400
  // Inline function 'kotlin.Long.plus' call
1412
- tmp_1.c1j_1 = this_0.c1j_1.c3(toLong(bytesWritten_0));
1401
+ var this_5 = this_0.jp_1;
1402
+ tmp_1.jp_1 = add(this_5, fromInt(bytesWritten_0));
1413
1403
  break $l$block_2;
1414
1404
  }
1415
1405
  // Inline function 'kotlin.check' call
1416
- if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.o1k() : false)) {
1417
- var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.o1k();
1406
+ if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.vq() : false)) {
1407
+ var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.vq();
1418
1408
  throw IllegalStateException_init_$Create$(toString(message_0));
1419
1409
  }
1420
1410
  if (!(bytesWritten_0 === 0)) {
1421
- tail_0.k1j_1 = tail_0.k1j_1 + bytesWritten_0 | 0;
1411
+ tail_0.rp_1 = tail_0.rp_1 + bytesWritten_0 | 0;
1422
1412
  var tmp_2 = this_0;
1423
1413
  // Inline function 'kotlin.Long.plus' call
1424
- tmp_2.c1j_1 = this_0.c1j_1.c3(toLong(bytesWritten_0));
1414
+ var this_6 = this_0.jp_1;
1415
+ tmp_2.jp_1 = add(this_6, fromInt(bytesWritten_0));
1425
1416
  break $l$block_2;
1426
1417
  }
1427
1418
  if (isEmpty(tail_0)) {
1428
- this_0.d1l();
1419
+ this_0.kr();
1429
1420
  }
1430
1421
  }
1431
1422
  i = i + 1 | 0;
1432
1423
  } else if (c < 55296 || c > 57343) {
1433
1424
  $l$block_4: {
1434
1425
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1435
- var tail_1 = this_0.j1k(3);
1436
- get_SegmentWriteContextImpl().z1l(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1426
+ var tail_1 = this_0.qq(3);
1427
+ get_SegmentWriteContextImpl().gs(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1437
1428
  var bytesWritten_1 = 3;
1438
1429
  if (bytesWritten_1 === 3) {
1439
- tail_1.k1j_1 = tail_1.k1j_1 + bytesWritten_1 | 0;
1430
+ tail_1.rp_1 = tail_1.rp_1 + bytesWritten_1 | 0;
1440
1431
  var tmp_3 = this_0;
1441
1432
  // Inline function 'kotlin.Long.plus' call
1442
- tmp_3.c1j_1 = this_0.c1j_1.c3(toLong(bytesWritten_1));
1433
+ var this_7 = this_0.jp_1;
1434
+ tmp_3.jp_1 = add(this_7, fromInt(bytesWritten_1));
1443
1435
  break $l$block_4;
1444
1436
  }
1445
1437
  // Inline function 'kotlin.check' call
1446
- if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.o1k() : false)) {
1447
- var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.o1k();
1438
+ if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.vq() : false)) {
1439
+ var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.vq();
1448
1440
  throw IllegalStateException_init_$Create$(toString(message_1));
1449
1441
  }
1450
1442
  if (!(bytesWritten_1 === 0)) {
1451
- tail_1.k1j_1 = tail_1.k1j_1 + bytesWritten_1 | 0;
1443
+ tail_1.rp_1 = tail_1.rp_1 + bytesWritten_1 | 0;
1452
1444
  var tmp_4 = this_0;
1453
1445
  // Inline function 'kotlin.Long.plus' call
1454
- tmp_4.c1j_1 = this_0.c1j_1.c3(toLong(bytesWritten_1));
1446
+ var this_8 = this_0.jp_1;
1447
+ tmp_4.jp_1 = add(this_8, fromInt(bytesWritten_1));
1455
1448
  break $l$block_4;
1456
1449
  }
1457
1450
  if (isEmpty(tail_1)) {
1458
- this_0.d1l();
1451
+ this_0.kr();
1459
1452
  }
1460
1453
  }
1461
1454
  i = i + 1 | 0;
@@ -1464,53 +1457,81 @@
1464
1457
  if ((i + 1 | 0) < endIndex) {
1465
1458
  var p0_1 = i + 1 | 0;
1466
1459
  // Inline function 'kotlin.code' call
1467
- var this_3 = charCodeAt(string, p0_1);
1468
- tmp_5 = Char__toInt_impl_vasixd(this_3);
1460
+ var this_9 = charCodeAt(string, p0_1);
1461
+ tmp_5 = Char__toInt_impl_vasixd(this_9);
1469
1462
  } else {
1470
1463
  tmp_5 = 0;
1471
1464
  }
1472
1465
  var low = tmp_5;
1473
1466
  if (c > 56319 || !(56320 <= low ? low <= 57343 : false)) {
1474
1467
  // Inline function 'kotlin.code' call
1475
- var this_4 = _Char___init__impl__6a9atx(63);
1476
- var tmp$ret$26 = Char__toInt_impl_vasixd(this_4);
1477
- this_0.x1k(toByte(tmp$ret$26));
1468
+ var this_10 = _Char___init__impl__6a9atx(63);
1469
+ var tmp$ret$26 = Char__toInt_impl_vasixd(this_10);
1470
+ this_0.er(toByte(tmp$ret$26));
1478
1471
  i = i + 1 | 0;
1479
1472
  } else {
1480
1473
  var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
1481
1474
  $l$block_6: {
1482
1475
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1483
- var tail_2 = this_0.j1k(4);
1484
- get_SegmentWriteContextImpl().y1l(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1476
+ var tail_2 = this_0.qq(4);
1477
+ get_SegmentWriteContextImpl().fs(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1485
1478
  var bytesWritten_2 = 4;
1486
1479
  if (bytesWritten_2 === 4) {
1487
- tail_2.k1j_1 = tail_2.k1j_1 + bytesWritten_2 | 0;
1480
+ tail_2.rp_1 = tail_2.rp_1 + bytesWritten_2 | 0;
1488
1481
  var tmp_6 = this_0;
1489
1482
  // Inline function 'kotlin.Long.plus' call
1490
- tmp_6.c1j_1 = this_0.c1j_1.c3(toLong(bytesWritten_2));
1483
+ var this_11 = this_0.jp_1;
1484
+ tmp_6.jp_1 = add(this_11, fromInt(bytesWritten_2));
1491
1485
  break $l$block_6;
1492
1486
  }
1493
1487
  // Inline function 'kotlin.check' call
1494
- if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.o1k() : false)) {
1495
- var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.o1k();
1488
+ if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.vq() : false)) {
1489
+ var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.vq();
1496
1490
  throw IllegalStateException_init_$Create$(toString(message_2));
1497
1491
  }
1498
1492
  if (!(bytesWritten_2 === 0)) {
1499
- tail_2.k1j_1 = tail_2.k1j_1 + bytesWritten_2 | 0;
1493
+ tail_2.rp_1 = tail_2.rp_1 + bytesWritten_2 | 0;
1500
1494
  var tmp_7 = this_0;
1501
1495
  // Inline function 'kotlin.Long.plus' call
1502
- tmp_7.c1j_1 = this_0.c1j_1.c3(toLong(bytesWritten_2));
1496
+ var this_12 = this_0.jp_1;
1497
+ tmp_7.jp_1 = add(this_12, fromInt(bytesWritten_2));
1503
1498
  break $l$block_6;
1504
1499
  }
1505
1500
  if (isEmpty(tail_2)) {
1506
- this_0.d1l();
1501
+ this_0.kr();
1507
1502
  }
1508
1503
  }
1509
1504
  i = i + 2 | 0;
1510
1505
  }
1511
1506
  }
1512
1507
  }
1513
- _this__u8e3s4.t1j();
1508
+ _this__u8e3s4.aq();
1509
+ }
1510
+ function commonReadUtf8(_this__u8e3s4, byteCount) {
1511
+ if (equalsLong(byteCount, new Long(0, 0)))
1512
+ return '';
1513
+ // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
1514
+ var curr = _this__u8e3s4.hp_1;
1515
+ while (!(curr == null)) {
1516
+ get_SegmentReadContextImpl();
1517
+ if (compare(fromInt(curr.u()), byteCount) >= 0) {
1518
+ var result = '';
1519
+ // Inline function 'kotlinx.io.unsafe.withData' call
1520
+ var tmp0 = curr.as(true);
1521
+ var tmp2 = curr.qp_1;
1522
+ var tmp0_0 = curr.rp_1;
1523
+ // Inline function 'kotlin.math.min' call
1524
+ var b = tmp2 + convertToInt(byteCount) | 0;
1525
+ var tmp$ret$0 = Math.min(tmp0_0, b);
1526
+ result = commonToUtf8String(tmp0, tmp2, tmp$ret$0);
1527
+ _this__u8e3s4.iq(byteCount);
1528
+ return result;
1529
+ }
1530
+ return commonToUtf8String(readByteArray_0(_this__u8e3s4, convertToInt(byteCount)));
1531
+ }
1532
+ // Inline function 'kotlin.error' call
1533
+ var message = 'Unreacheable';
1534
+ throw IllegalStateException_init_$Create$(toString(message));
1514
1535
  }
1515
1536
  function commonToUtf8String(_this__u8e3s4, beginIndex, endIndex) {
1516
1537
  beginIndex = beginIndex === VOID ? 0 : beginIndex;
@@ -1874,27 +1895,27 @@
1874
1895
  }
1875
1896
  function SegmentReadContextImpl$1() {
1876
1897
  }
1877
- protoOf(SegmentReadContextImpl$1).b1l = function (segment, offset) {
1878
- return segment.a1k(offset);
1898
+ protoOf(SegmentReadContextImpl$1).ir = function (segment, offset) {
1899
+ return segment.hq(offset);
1879
1900
  };
1880
1901
  function SegmentWriteContextImpl$1() {
1881
1902
  }
1882
- protoOf(SegmentWriteContextImpl$1).b1m = function (segment, offset, value) {
1883
- segment.u1l(offset, value);
1903
+ protoOf(SegmentWriteContextImpl$1).is = function (segment, offset, value) {
1904
+ segment.bs(offset, value);
1884
1905
  };
1885
- protoOf(SegmentWriteContextImpl$1).a1m = function (segment, offset, b0, b1) {
1886
- segment.v1l(offset, b0, b1);
1906
+ protoOf(SegmentWriteContextImpl$1).hs = function (segment, offset, b0, b1) {
1907
+ segment.cs(offset, b0, b1);
1887
1908
  };
1888
- protoOf(SegmentWriteContextImpl$1).z1l = function (segment, offset, b0, b1, b2) {
1889
- segment.w1l(offset, b0, b1, b2);
1909
+ protoOf(SegmentWriteContextImpl$1).gs = function (segment, offset, b0, b1, b2) {
1910
+ segment.ds(offset, b0, b1, b2);
1890
1911
  };
1891
- protoOf(SegmentWriteContextImpl$1).y1l = function (segment, offset, b0, b1, b2, b3) {
1892
- segment.x1l(offset, b0, b1, b2, b3);
1912
+ protoOf(SegmentWriteContextImpl$1).fs = function (segment, offset, b0, b1, b2, b3) {
1913
+ segment.es(offset, b0, b1, b2, b3);
1893
1914
  };
1894
1915
  function BufferIterationContextImpl$1() {
1895
1916
  }
1896
- protoOf(BufferIterationContextImpl$1).b1l = function (segment, offset) {
1897
- return get_SegmentReadContextImpl().b1l(segment, offset);
1917
+ protoOf(BufferIterationContextImpl$1).ir = function (segment, offset) {
1918
+ return get_SegmentReadContextImpl().ir(segment, offset);
1898
1919
  };
1899
1920
  var properties_initialized_UnsafeBufferOperations_kt_2xfgoc;
1900
1921
  function _init_properties_UnsafeBufferOperations_kt__xw75gy() {
@@ -1962,15 +1983,15 @@
1962
1983
  captureStack(this, EOFException);
1963
1984
  }
1964
1985
  function SegmentPool() {
1965
- this.k1k_1 = 0;
1966
- this.l1k_1 = 0;
1986
+ this.rq_1 = 0;
1987
+ this.sq_1 = 0;
1967
1988
  }
1968
- protoOf(SegmentPool).m1k = function () {
1969
- return Companion_instance.p1l();
1989
+ protoOf(SegmentPool).tq = function () {
1990
+ return Companion_instance.wr();
1970
1991
  };
1971
- protoOf(SegmentPool).c1l = function (segment) {
1992
+ protoOf(SegmentPool).jr = function (segment) {
1972
1993
  };
1973
- protoOf(SegmentPool).r1l = function () {
1994
+ protoOf(SegmentPool).yr = function () {
1974
1995
  return AlwaysSharedCopyTracker_getInstance();
1975
1996
  };
1976
1997
  var SegmentPool_instance;
@@ -1978,7 +1999,7 @@
1978
1999
  return SegmentPool_instance;
1979
2000
  }
1980
2001
  //region block: post-declaration
1981
- protoOf(Buffer).q1k = write$default;
2002
+ protoOf(Buffer).xq = write$default;
1982
2003
  //endregion
1983
2004
  //region block: init
1984
2005
  Companion_instance = new Companion();
@@ -1999,9 +2020,9 @@
1999
2020
  _.$_$.j = readByteArray_0;
2000
2021
  _.$_$.k = readByteArray;
2001
2022
  _.$_$.l = readByteString;
2002
- _.$_$.m = readString;
2003
- _.$_$.n = readString_0;
2004
- _.$_$.o = readString_1;
2023
+ _.$_$.m = readString_0;
2024
+ _.$_$.n = readString_1;
2025
+ _.$_$.o = readString;
2005
2026
  _.$_$.p = writeString;
2006
2027
  //endregion
2007
2028
  return _;