forked from AssemblyScript/assemblyscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstring.optimized.wat
More file actions
8959 lines (8959 loc) Β· 158 KB
/
string.optimized.wat
File metadata and controls
8959 lines (8959 loc) Β· 158 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(module
(type $iiiiv (func (param i32 i32 i32 i32)))
(type $iii (func (param i32 i32) (result i32)))
(type $ii (func (param i32) (result i32)))
(type $iiii (func (param i32 i32 i32) (result i32)))
(type $iiiv (func (param i32 i32 i32)))
(type $iiiiiv (func (param i32 i32 i32 i32 i32)))
(type $i (func (result i32)))
(type $iiF (func (param i32 i32) (result f64)))
(type $iF (func (param i32) (result f64)))
(type $Ii (func (param i64) (result i32)))
(type $iIiv (func (param i32 i64 i32)))
(type $Fi (func (param f64) (result i32)))
(type $iFi (func (param i32 f64) (result i32)))
(type $iIiIiIii (func (param i32 i64 i32 i64 i32 i64 i32) (result i32)))
(type $v (func))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$iiiii (func (param i32 i32 i32 i32) (result i32)))
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(type $FUNCSIG$di (func (param i32) (result f64)))
(type $FUNCSIG$vii (func (param i32 i32)))
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
(memory $0 1)
(data (i32.const 8) "\10\00\00\00h\00i\00,\00 \00I\00\'\00m\00 \00a\00 \00s\00t\00r\00i\00n\00g")
(data (i32.const 48) "\0d\00\00\00s\00t\00d\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
(data (i32.const 80) "\0e\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
(data (i32.const 112) "\17\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
(data (i32.const 168) "\01")
(data (i32.const 176) "\01\00\00\006")
(data (i32.const 184) "\02\00\00\004\d8\06\df")
(data (i32.const 192) "\02\00\00\00h\00i")
(data (i32.const 200) "\04\00\00\00n\00u\00l\00l")
(data (i32.const 216) "\06\00\00\00s\00t\00r\00i\00n\00g")
(data (i32.const 232) "\03\00\00\00I\00\'\00m")
(data (i32.const 248) "\01\00\00\00 ")
(data (i32.const 264) "\03\00\00\00 \00 \00 ")
(data (i32.const 280) "\01\00\00\00a")
(data (i32.const 288) "\03\00\00\00a\00b\00c")
(data (i32.const 304) "\05\00\00\00 \00 \00a\00b\00c")
(data (i32.const 320) "\03\00\00\001\002\003")
(data (i32.const 336) "\06\00\00\001\002\003\00a\00b\00c")
(data (i32.const 352) "\08\00\00\001\002\003\001\002\00a\00b\00c")
(data (i32.const 376) "\05\00\00\00a\00b\00c\00 \00 ")
(data (i32.const 392) "\06\00\00\00a\00b\00c\00a\00b\00c")
(data (i32.const 408) "\08\00\00\00a\00b\00c\00a\00b\00c\00a\00b")
(data (i32.const 432) "\01\00\00\00,")
(data (i32.const 440) "\01\00\00\00x")
(data (i32.const 448) "\03\00\00\00,\00 \00I")
(data (i32.const 464) "\01\00\00\00g")
(data (i32.const 472) "\01\00\00\00i")
(data (i32.const 480) "\01\00\00\000")
(data (i32.const 488) "\01\00\00\001")
(data (i32.const 496) "\05\00\00\000\00b\001\000\001")
(data (i32.const 512) "\05\00\00\000\00o\007\000\007")
(data (i32.const 528) "\05\00\00\000\00x\00f\000\00f")
(data (i32.const 544) "\05\00\00\000\00x\00F\000\00F")
(data (i32.const 560) "\03\00\00\000\001\001")
(data (i32.const 576) "\04\00\00\000\00x\001\00g")
(data (i32.const 592) "\03\00\00\000\00.\001")
(data (i32.const 608) "\03\00\00\00.\002\005")
(data (i32.const 624) "\08\00\00\00.\001\00f\00o\00o\00b\00a\00r")
(data (i32.const 648) "\01\00\00\00b")
(data (i32.const 656) "\02\00\00\00a\00b")
(data (i32.const 664) "\04\00\00\00k\00e\00y\001")
(data (i32.const 680) "\04\00\00\00k\00e\00y\002")
(data (i32.const 696) "\03\00\00\00k\00e\001")
(data (i32.const 712) "\03\00\00\00k\00e\002")
(data (i32.const 728) "\05\00\00\00k\00e\00y\001\002")
(data (i32.const 744) "\05\00\00\00k\00e\00y\001\001")
(data (i32.const 760) "\07\00\00\00\a40\ed0\cf0\cb0\db0\d80\c80")
(data (i32.const 784) "\07\00\00\00\a60\f00\ce0\aa0\af0\e40\de0")
(data (i32.const 808) "\0b\00\00\00D\00\19 f\00h\00u\00a\00s\00c\00a\00i\00l")
(data (i32.const 840) "\n\00\00\00D\00\19 \1f\1eu\00a\00s\00c\00a\00i\00l")
(data (i32.const 864) "\02\00\00\00b\00a")
(data (i32.const 872) "\02\00\00\00a\00a")
(data (i32.const 880) "\03\00\00\00a\00a\00a")
(data (i32.const 896) "\08\00\00\00a\00b\00a\00b\00a\00b\00a\00b")
(data (i32.const 920) "\05\00\00\00a\00a\00a\00a\00a")
(data (i32.const 936) "\06\00\00\00a\00a\00a\00a\00a\00a")
(data (i32.const 952) "\07\00\00\00a\00a\00a\00a\00a\00a\00a")
(data (i32.const 976) "\0d\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s")
(data (i32.const 1008) "\1c\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00a\00r\00r\00a\00y\00b\00u\00f\00f\00e\00r\00.\00t\00s")
(data (i32.const 1072) "\04")
(data (i32.const 1081) "\01")
(data (i32.const 1088) "0\04\00\00\01")
(data (i32.const 1096) "\05\00\00\00a\00,\00b\00,\00c")
(data (i32.const 1112) "\01\00\00\00.")
(data (i32.const 1120) "\01\00\00\00c")
(data (i32.const 1128) "\07\00\00\00a\00,\00 \00b\00,\00 \00c")
(data (i32.const 1152) "\02\00\00\00,\00 ")
(data (i32.const 1160) "\06\00\00\00a\00,\00b\00,\00,\00c")
(data (i32.const 1176) "\06\00\00\00,\00a\00,\00b\00,\00c")
(data (i32.const 1192) "\06\00\00\00a\00,\00b\00,\00c\00,")
(data (i32.const 1208) "\90\01\00\00\00\00\00\000\000\000\001\000\002\000\003\000\004\000\005\000\006\000\007\000\008\000\009\001\000\001\001\001\002\001\003\001\004\001\005\001\006\001\007\001\008\001\009\002\000\002\001\002\002\002\003\002\004\002\005\002\006\002\007\002\008\002\009\003\000\003\001\003\002\003\003\003\004\003\005\003\006\003\007\003\008\003\009\004\000\004\001\004\002\004\003\004\004\004\005\004\006\004\007\004\008\004\009\005\000\005\001\005\002\005\003\005\004\005\005\005\006\005\007\005\008\005\009\006\000\006\001\006\002\006\003\006\004\006\005\006\006\006\007\006\008\006\009\007\000\007\001\007\002\007\003\007\004\007\005\007\006\007\007\007\008\007\009\008\000\008\001\008\002\008\003\008\004\008\005\008\006\008\007\008\008\008\009\009\000\009\001\009\002\009\003\009\004\009\005\009\006\009\007\009\008\009\009")
(data (i32.const 1720) "\b8\04\00\00d")
(data (i32.const 1728) "\01\00\00\008")
(data (i32.const 1736) "\05\00\00\00-\001\000\000\000")
(data (i32.const 1752) "\04\00\00\001\002\003\004")
(data (i32.const 1768) "\05\00\00\001\002\003\004\005")
(data (i32.const 1784) "\06\00\00\001\002\003\004\005\006")
(data (i32.const 1800) "\07\00\00\001\001\001\001\001\001\001")
(data (i32.const 1824) "\07\00\00\001\002\003\004\005\006\007")
(data (i32.const 1848) "\n\00\00\002\001\004\007\004\008\003\006\004\006")
(data (i32.const 1872) "\n\00\00\002\001\004\007\004\008\003\006\004\007")
(data (i32.const 1896) "\0b\00\00\00-\002\001\004\007\004\008\003\006\004\008")
(data (i32.const 1928) "\02\00\00\00-\001")
(data (i32.const 1936) "\04\00\00\001\000\000\000")
(data (i32.const 1952) "\n\00\00\002\001\004\007\004\008\003\006\004\008")
(data (i32.const 1976) "\n\00\00\004\002\009\004\009\006\007\002\009\005")
(data (i32.const 2000) "\90\01\00\00\00\00\00\000\000\000\001\000\002\000\003\000\004\000\005\000\006\000\007\000\008\000\009\001\000\001\001\001\002\001\003\001\004\001\005\001\006\001\007\001\008\001\009\002\000\002\001\002\002\002\003\002\004\002\005\002\006\002\007\002\008\002\009\003\000\003\001\003\002\003\003\003\004\003\005\003\006\003\007\003\008\003\009\004\000\004\001\004\002\004\003\004\004\004\005\004\006\004\007\004\008\004\009\005\000\005\001\005\002\005\003\005\004\005\005\005\006\005\007\005\008\005\009\006\000\006\001\006\002\006\003\006\004\006\005\006\006\006\007\006\008\006\009\007\000\007\001\007\002\007\003\007\004\007\005\007\006\007\007\007\008\007\009\008\000\008\001\008\002\008\003\008\004\008\005\008\006\008\007\008\008\008\009\009\000\009\001\009\002\009\003\009\004\009\005\009\006\009\007\009\008\009\009")
(data (i32.const 2512) "\d0\07\00\00d")
(data (i32.const 2520) "\08\00\00\009\009\009\009\009\009\009\009")
(data (i32.const 2544) "\t\00\00\001\000\000\000\000\000\000\000\000")
(data (i32.const 2568) "\0b\00\00\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2600) "\0c\00\00\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2632) "\0f\00\00\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2672) "\10\00\00\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2712) "\11\00\00\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2752) "\14\00\00\001\008\004\004\006\007\004\004\000\007\003\007\000\009\005\005\001\006\001\005")
(data (i32.const 2800) "\05\00\00\00-\001\002\003\004")
(data (i32.const 2816) "\0b\00\00\00-\004\002\009\004\009\006\007\002\009\005")
(data (i32.const 2848) "\0c\00\00\00-\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2880) "\0d\00\00\00-\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2912) "\10\00\00\00-\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2952) "\12\00\00\00-\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2992) "\13\00\00\009\002\002\003\003\007\002\000\003\006\008\005\004\007\007\005\008\000\007")
(data (i32.const 3040) "\14\00\00\00-\009\002\002\003\003\007\002\000\003\006\008\005\004\007\007\005\008\000\008")
(data (i32.const 3088) "\03\00\00\000\00.\000")
(data (i32.const 3104) "\03\00\00\00N\00a\00N")
(data (i32.const 3120) "\t\00\00\00-\00I\00n\00f\00i\00n\00i\00t\00y")
(data (i32.const 3144) "\08\00\00\00I\00n\00f\00i\00n\00i\00t\00y")
(data (i32.const 3168) "\b8\02\00\00\00\00\00\00\88\02\1c\08\a0\d5\8f\fav\bf>\a2\7f\e1\ae\bav\acU0 \fb\16\8b\ea5\ce]J\89B\cf-;eU\aa\b0k\9a\dfE\1a=\03\cf\1a\e6\ca\c6\9a\c7\17\fep\abO\dc\bc\be\fc\b1w\ff\0c\d6kA\ef\91V\be<\fc\7f\90\ad\1f\d0\8d\83\9aU1(\\Q\d3\b5\c9\a6\ad\8f\acq\9d\cb\8b\ee#w\"\9c\eamSx@\91I\cc\aeW\ce\b6]y\12<\827V\fbM6\94\10\c2O\98H8o\ea\96\90\c7:\82%\cb\85t\d7\f4\97\bf\97\cd\cf\86\a0\e5\ac*\17\98\n4\ef\8e\b25*\fbg8\b2;?\c6\d2\df\d4\c8\84\ba\cd\d3\1a\'D\dd\c5\96\c9%\bb\ce\9fk\93\84\a5b}$l\ac\db\f6\da_\0dXf\ab\a3&\f1\c3\de\93\f8\e2\f3\b8\80\ff\aa\a8\ad\b5\b5\8bJ|l\05_b\87S0\c14`\ff\bc\c9U&\ba\91\8c\85N\96\bd~)p$w\f9\df\8f\b8\e5\b8\9f\bd\df\a6\94}t\88\cf_\a9\f8\cf\9b\a8\8f\93pD\b9k\15\0f\bf\f8\f0\08\8a\b611eU%\b0\cd\ac\7f{\d0\c6\e2?\99\06;+*\c4\10\\\e4\d3\92si\99$$\aa\0e\ca\00\83\f2\b5\87\fd\eb\1a\11\92d\08\e5\bc\cc\88Po\t\cc\bc\8c,e\19\e2X\17\b7\d1\00\00\00\00\00\00@\9c\00\00\00\00\10\a5\d4\e8\00\00b\ac\c5\ebx\ad\84\t\94\f8x9?\81\b3\15\07\c9{\ce\97\c0p\\\ea{\ce2~\8fh\80\e9\ab\a48\d2\d5E\"\9a\17&\'O\9f\'\fb\c4\d41\a2c\ed\a8\ad\c8\8c8e\de\b0\dbe\ab\1a\8e\08\c7\83\9a\1dqB\f9\1d]\c4X\e7\1b\a6,iM\92\ea\8dp\1ad\ee\01\daJw\ef\9a\99\a3m\a2\85k}\b4{x\t\f2w\18\ddy\a1\e4T\b4\c2\c5\9b[\92\86[\86=]\96\c8\c5S5\c8\b3\a0\97\fa\\\b4*\95\e3_\a0\99\bd\9fF\de%\8c9\db4\c2\9b\a5\\\9f\98\a3r\9a\c6\f6\ce\be\e9TS\bf\dc\b7\e2A\"\f2\17\f3\fc\88\a5x\\\d3\9b\ce \cc\dfS!{\f3Z\16\98:0\1f\97\dc\b5\a0\e2\96\b3\e3\\S\d1\d9\a8<D\a7\a4\d9|\9b\fb\10D\a4\a7LLv\bb\1a\9c@\b6\ef\8e\ab\8b,\84W\a6\10\ef\1f\d0)1\91\e9\e5\a4\10\9b\9d\0c\9c\a1\fb\9b\10\e7)\f4;b\d9 (\ac\85\cf\a7z^KD\80-\dd\ac\03@\e4!\bf\8f\ffD^/\9cg\8eA\b8\8c\9c\9d\173\d4\a9\1b\e3\b4\92\db\19\9e\d9w\df\ban\bf\96\ebk\ee\f0\9b;\02\87\af")
(data (i32.const 4192) "`\0c\00\00W")
(data (i32.const 4200) "\ae\00\00\00\00\00\00\00<\fbW\fbr\fb\8c\fb\a7\fb\c1\fb\dc\fb\f6\fb\11\fc,\fcF\fca\fc{\fc\96\fc\b1\fc\cb\fc\e6\fc\00\fd\1b\fd5\fdP\fdk\fd\85\fd\a0\fd\ba\fd\d5\fd\ef\fd\n\fe%\fe?\feZ\fet\fe\8f\fe\a9\fe\c4\fe\df\fe\f9\fe\14\ff.\ffI\ffc\ff~\ff\99\ff\b3\ff\ce\ff\e8\ff\03\00\1e\008\00S\00m\00\88\00\a2\00\bd\00\d8\00\f2\00\0d\01\'\01B\01\\\01w\01\92\01\ac\01\c7\01\e1\01\fc\01\16\021\02L\02f\02\81\02\9b\02\b6\02\d0\02\eb\02\06\03 \03;\03U\03p\03\8b\03\a5\03\c0\03\da\03\f5\03\0f\04*\04")
(data (i32.const 4456) "h\10\00\00W")
(data (i32.const 4464) "(\00\00\00\00\00\00\00\01\00\00\00\n\00\00\00d\00\00\00\e8\03\00\00\10\'\00\00\a0\86\01\00@B\0f\00\80\96\98\00\00\e1\f5\05\00\ca\9a;")
(data (i32.const 4528) "p\11\00\00\n")
(data (i32.const 4536) "\15\00\00\002\00.\002\002\000\004\004\006\000\004\009\002\005\000\003\001\003\00e\00-\001\006")
(data (i32.const 4584) "\16\00\00\00-\002\00.\002\002\000\004\004\006\000\004\009\002\005\000\003\001\003\00e\00-\001\006")
(data (i32.const 4632) "\17\00\00\001\00.\007\009\007\006\009\003\001\003\004\008\006\002\003\001\005\007\00e\00+\003\000\008")
(data (i32.const 4688) "\18\00\00\00-\001\00.\007\009\007\006\009\003\001\003\004\008\006\002\003\001\005\007\00e\00+\003\000\008")
(data (i32.const 4744) "\16\00\00\004\00.\001\008\005\005\008\000\004\009\006\008\002\001\003\005\007\00e\00+\002\009\008")
(data (i32.const 4792) "\17\00\00\002\00.\002\002\005\000\007\003\008\005\008\005\000\007\002\000\001\004\00e\00-\003\000\008")
(data (i32.const 4848) "\0d\00\00\004\00.\009\004\000\006\005\006\00e\00-\003\001\008")
(data (i32.const 4880) "\12\00\00\009\000\006\000\008\000\001\001\005\003\004\003\003\006\000\000\00.\000")
(data (i32.const 4920) "\15\00\00\004\007\000\008\003\005\006\000\002\004\007\001\001\005\001\002\000\000\000\00.\000")
(data (i32.const 4968) "\15\00\00\009\004\000\009\003\004\000\000\001\002\005\006\008\002\004\008\000\000\000\00.\000")
(data (i32.const 5016) "\06\00\00\005\00e\00-\003\002\004")
(data (i32.const 5032) "\03\00\00\001\00.\000")
(data (i32.const 5048) "\04\00\00\00-\001\00.\000")
(data (i32.const 5064) "\04\00\00\00-\000\00.\001")
(data (i32.const 5080) "\t\00\00\001\000\000\000\000\000\000\00.\000")
(data (i32.const 5104) "\08\00\00\000\00.\000\000\000\000\000\001")
(data (i32.const 5128) "\n\00\00\00-\001\000\000\000\000\000\000\00.\000")
(data (i32.const 5152) "\t\00\00\00-\000\00.\000\000\000\000\000\001")
(data (i32.const 5176) "\n\00\00\001\000\000\000\000\000\000\000\00.\000")
(data (i32.const 5200) "\04\00\00\001\00e\00-\007")
(data (i32.const 5216) "\06\00\00\001\00e\00+\003\000\008")
(data (i32.const 5232) "\07\00\00\00-\001\00e\00+\003\000\008")
(data (i32.const 5256) "\06\00\00\001\00e\00-\003\000\008")
(data (i32.const 5272) "\07\00\00\00-\001\00e\00-\003\000\008")
(data (i32.const 5296) "\06\00\00\001\00e\00-\003\002\003")
(data (i32.const 5312) "\07\00\00\00-\001\00e\00-\003\002\003")
(data (i32.const 5336) "\0c\00\00\004\002\009\004\009\006\007\002\007\002\00.\000")
(data (i32.const 5368) "\15\00\00\001\00.\002\003\001\002\001\004\005\006\007\003\004\005\006\002\003\004\00e\00-\008")
(data (i32.const 5416) "\11\00\00\005\005\005\005\005\005\005\005\005\00.\005\005\005\005\005\005\006")
(data (i32.const 5456) "\12\00\00\000\00.\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009")
(data (i32.const 5496) "\05\00\00\001\002\00.\003\004")
(data (i32.const 5512) "\12\00\00\000\00.\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003")
(data (i32.const 5552) "\17\00\00\001\002\003\004\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00.\000")
(data (i32.const 5608) "\t\00\00\001\00.\002\003\004\00e\00+\002\001")
(data (i32.const 5632) "\07\00\00\002\00.\007\001\008\002\008")
(data (i32.const 5656) "\t\00\00\000\00.\000\002\007\001\008\002\008")
(data (i32.const 5680) "\07\00\00\002\007\001\00.\008\002\008")
(data (i32.const 5704) "\08\00\00\001\00.\001\00e\00+\001\002\008")
(data (i32.const 5728) "\07\00\00\001\00.\001\00e\00-\006\004")
(data (i32.const 5752) "\0b\00\00\000\00.\000\000\000\000\003\005\006\008\009")
(table $0 1 anyfunc)
(elem (i32.const 0) $null)
(global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0))
(global $~lib/allocator/arena/offset (mut i32) (i32.const 0))
(global $~lib/internal/number/_K (mut i32) (i32.const 0))
(global $~lib/internal/number/_exp (mut i32) (i32.const 0))
(global $~lib/internal/number/_frc_minus (mut i64) (i64.const 0))
(global $~lib/internal/number/_frc_plus (mut i64) (i64.const 0))
(global $~lib/internal/number/_frc_pow (mut i64) (i64.const 0))
(global $~lib/internal/number/_exp_pow (mut i32) (i32.const 0))
(global $std/string/str (mut i32) (i32.const 8))
(global $std/string/nullStr (mut i32) (i32.const 0))
(global $~argc (mut i32) (i32.const 0))
(global $std/string/c (mut i32) (i32.const 0))
(global $std/string/a (mut i32) (i32.const 0))
(global $std/string/b (mut i32) (i32.const 0))
(global $std/string/sa (mut i32) (i32.const 0))
(export "memory" (memory $0))
(export "table" (table $0))
(export "getString" (func $std/string/getString))
(start $start)
(func $~lib/string/String#charCodeAt (; 1 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
get_local $0
i32.eqz
if
i32.const 0
i32.const 80
i32.const 75
i32.const 4
call $~lib/env/abort
unreachable
end
i32.const 0
get_local $0
i32.load
i32.ge_u
if
i32.const -1
return
end
get_local $0
i32.load16_u offset=4
)
(func $~lib/allocator/arena/__memory_allocate (; 2 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
get_local $0
i32.const 1073741824
i32.gt_u
if
unreachable
end
get_global $~lib/allocator/arena/offset
tee_local $1
get_local $0
i32.const 1
get_local $0
i32.const 1
i32.gt_u
select
i32.add
i32.const 7
i32.add
i32.const -8
i32.and
tee_local $2
current_memory
tee_local $3
i32.const 16
i32.shl
i32.gt_u
if
get_local $3
get_local $2
get_local $1
i32.sub
i32.const 65535
i32.add
i32.const -65536
i32.and
i32.const 16
i32.shr_u
tee_local $0
get_local $3
get_local $0
i32.gt_s
select
grow_memory
i32.const 0
i32.lt_s
if
get_local $0
grow_memory
i32.const 0
i32.lt_s
if
unreachable
end
end
end
get_local $2
set_global $~lib/allocator/arena/offset
get_local $1
)
(func $~lib/internal/string/allocateUnsafe (; 3 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
get_local $0
i32.const 0
i32.gt_s
tee_local $1
if
get_local $0
i32.const 536870910
i32.le_s
set_local $1
end
get_local $1
i32.eqz
if
i32.const 0
i32.const 112
i32.const 14
i32.const 2
call $~lib/env/abort
unreachable
end
get_local $0
i32.const 1
i32.shl
i32.const 4
i32.add
call $~lib/allocator/arena/__memory_allocate
tee_local $1
get_local $0
i32.store
get_local $1
)
(func $~lib/string/String.fromCharCode (; 4 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
i32.const 1
call $~lib/internal/string/allocateUnsafe
tee_local $1
get_local $0
i32.store16 offset=4
get_local $1
)
(func $~lib/internal/string/compareUnsafe (; 5 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
(local $4 i32)
get_local $1
i32.const 1
i32.shl
get_local $0
i32.add
set_local $1
loop $continue|0
get_local $3
if (result i32)
get_local $1
i32.load16_u offset=4
get_local $2
i32.load16_u offset=4
i32.sub
tee_local $4
i32.eqz
else
get_local $3
end
tee_local $0
if
get_local $3
i32.const 1
i32.sub
set_local $3
get_local $1
i32.const 2
i32.add
set_local $1
get_local $2
i32.const 2
i32.add
set_local $2
br $continue|0
end
end
get_local $4
)
(func $~lib/string/String.__eq (; 6 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
get_local $0
get_local $1
i32.eq
if
i32.const 1
return
end
get_local $0
i32.eqz
tee_local $2
i32.eqz
if
get_local $1
i32.eqz
set_local $2
end
get_local $2
if
i32.const 0
return
end
get_local $0
i32.load
tee_local $2
get_local $1
i32.load
i32.ne
if
i32.const 0
return
end
get_local $0
i32.const 0
get_local $1
get_local $2
call $~lib/internal/string/compareUnsafe
i32.eqz
)
(func $~lib/string/String.fromCodePoint (; 7 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
get_local $0
i32.const 1114111
i32.gt_u
if
i32.const 0
i32.const 80
i32.const 34
i32.const 4
call $~lib/env/abort
unreachable
end
get_local $0
i32.const 65535
i32.gt_s
tee_local $1
i32.const 1
i32.add
call $~lib/internal/string/allocateUnsafe
set_local $2
get_local $1
if
get_local $0
i32.const 65536
i32.sub
tee_local $0
i32.const 10
i32.shr_u
i32.const 55296
i32.add
set_local $1
get_local $2
get_local $0
i32.const 1023
i32.and
i32.const 56320
i32.add
get_local $1
i32.const 16
i32.shl
i32.or
i32.store offset=4
else
get_local $2
get_local $0
i32.store16 offset=4
end
get_local $2
)
(func $~lib/string/String#startsWith (; 8 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
get_local $0
i32.eqz
if
i32.const 0
i32.const 80
i32.const 244
i32.const 4
call $~lib/env/abort
unreachable
end
i32.const 0
get_local $0
i32.load
tee_local $1
i32.const 0
get_local $1
i32.lt_s
select
tee_local $2
i32.const 192
i32.load
tee_local $3
i32.add
get_local $1
i32.gt_s
if
i32.const 0
return
end
get_local $0
get_local $2
i32.const 192
get_local $3
call $~lib/internal/string/compareUnsafe
i32.eqz
)
(func $~lib/string/String#endsWith (; 9 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
get_local $0
i32.eqz
if
i32.const 0
i32.const 80
i32.const 124
i32.const 4
call $~lib/env/abort
unreachable
end
get_local $1
i32.eqz
if
i32.const 0
return
end
get_local $2
i32.const 0
get_local $2
i32.const 0
i32.gt_s
select
tee_local $2
get_local $0
i32.load
tee_local $3
get_local $2
get_local $3
i32.lt_s
select
get_local $1
i32.load
tee_local $2
i32.sub
tee_local $3
i32.const 0
i32.lt_s
if
i32.const 0
return
end
get_local $0
get_local $3
get_local $1
get_local $2
call $~lib/internal/string/compareUnsafe
i32.eqz
)
(func $~lib/string/String#indexOf (; 10 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
get_local $0
i32.eqz
if
i32.const 0
i32.const 80
i32.const 213
i32.const 4
call $~lib/env/abort
unreachable
end
get_local $1
i32.eqz
if
i32.const 200
set_local $1
end
get_local $1
i32.load
tee_local $4
i32.eqz
if
i32.const 0
return
end
get_local $0
i32.load
tee_local $3
i32.eqz
if
i32.const -1
return
end
get_local $2
i32.const 0
get_local $2
i32.const 0
i32.gt_s
select
tee_local $2
get_local $3
get_local $2
get_local $3
i32.lt_s
select
set_local $2
get_local $3
get_local $4
i32.sub
set_local $3
loop $repeat|0
block $break|0
get_local $2
get_local $3
i32.gt_s
br_if $break|0
get_local $0
get_local $2
get_local $1
get_local $4
call $~lib/internal/string/compareUnsafe
if
get_local $2
i32.const 1
i32.add
set_local $2
br $repeat|0
else
get_local $2
return
end
unreachable
end
end
i32.const -1
)
(func $~lib/internal/memory/memcpy (; 11 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
loop $continue|0
get_local $2
if (result i32)
get_local $1
i32.const 3
i32.and
else
get_local $2
end
tee_local $3
if
get_local $0
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
get_local $2
i32.const 1
i32.sub
set_local $2
br $continue|0
end
end
get_local $0
i32.const 3
i32.and
i32.eqz
if
loop $continue|1
get_local $2
i32.const 16
i32.ge_u
if
get_local $0
get_local $1
i32.load
i32.store
get_local $0
i32.const 4
i32.add
get_local $1
i32.const 4
i32.add
i32.load
i32.store
get_local $0
i32.const 8
i32.add
get_local $1
i32.const 8
i32.add
i32.load
i32.store
get_local $0
i32.const 12
i32.add
get_local $1
i32.const 12
i32.add
i32.load
i32.store
get_local $1
i32.const 16
i32.add
set_local $1
get_local $0
i32.const 16
i32.add
set_local $0
get_local $2
i32.const 16
i32.sub
set_local $2
br $continue|1
end
end
get_local $2
i32.const 8
i32.and
if
get_local $0
get_local $1
i32.load
i32.store
get_local $0
i32.const 4
i32.add
get_local $1
i32.const 4
i32.add
i32.load
i32.store
get_local $0
i32.const 8
i32.add
set_local $0
get_local $1
i32.const 8
i32.add
set_local $1
end
get_local $2
i32.const 4
i32.and
if
get_local $0
get_local $1
i32.load
i32.store
get_local $0
i32.const 4
i32.add
set_local $0
get_local $1
i32.const 4
i32.add
set_local $1
end
get_local $2
i32.const 2
i32.and
if
get_local $0
get_local $1
i32.load16_u
i32.store16
get_local $0
i32.const 2
i32.add
set_local $0
get_local $1
i32.const 2
i32.add
set_local $1
end
get_local $2
i32.const 1
i32.and
if
get_local $1
set_local $3
get_local $0
get_local $1
i32.load8_u
i32.store8
end
return
end
get_local $2
i32.const 32
i32.ge_u
if
block $break|2
block $case2|2
block $case1|2
get_local $0
i32.const 3
i32.and
tee_local $3
i32.const 1
i32.ne
if
get_local $3
i32.const 2
i32.eq
br_if $case1|2
get_local $3
i32.const 3
i32.eq
br_if $case2|2
br $break|2
end
get_local $1
i32.load
set_local $5
get_local $0
get_local $1
tee_local $3
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $1
set_local $0
get_local $1
get_local $3
i32.const 1
i32.add
tee_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
i32.const 1
i32.add
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
get_local $2
i32.const 3
i32.sub
set_local $2
loop $continue|3
get_local $2
i32.const 17
i32.ge_u
if
get_local $0
get_local $1
i32.const 1
i32.add
i32.load
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $1
i32.const 5
i32.add
i32.load
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $1
i32.const 9
i32.add
i32.load
tee_local $3
i32.const 8
i32.shl
get_local $5
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 12
i32.add
get_local $1
i32.const 13
i32.add
i32.load
tee_local $5
i32.const 8
i32.shl
get_local $3
i32.const 24
i32.shr_u
i32.or
i32.store
get_local $1
i32.const 16
i32.add
set_local $1
get_local $0
i32.const 16
i32.add
set_local $0
get_local $2
i32.const 16
i32.sub
set_local $2
br $continue|3
end
end
br $break|2
end
get_local $1
i32.load
set_local $5
get_local $0
get_local $1
i32.load8_u
i32.store8
get_local $0
i32.const 1
i32.add
tee_local $4
i32.const 1
i32.add
set_local $0
get_local $1
i32.const 1
i32.add
tee_local $3
i32.const 1
i32.add
set_local $1
get_local $4
get_local $3
i32.load8_u
i32.store8
get_local $2
i32.const 2
i32.sub
set_local $2
loop $continue|4
get_local $2
i32.const 18
i32.ge_u
if
get_local $0
get_local $1
i32.const 2
i32.add
i32.load
tee_local $3
i32.const 16
i32.shl
get_local $5
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 4
i32.add
get_local $1
i32.const 6
i32.add
i32.load
tee_local $5
i32.const 16
i32.shl
get_local $3
i32.const 16
i32.shr_u
i32.or
i32.store
get_local $0
i32.const 8
i32.add
get_local $1
i32.const 10
i32.add
i32.load
tee_local $3