mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 07:02:13 +00:00
21831 lines
426 KiB
Plaintext
21831 lines
426 KiB
Plaintext
(module
|
|
(type $_ (func))
|
|
(type $iii (func (param i32 i32) (result i32)))
|
|
(type $iiii_ (func (param i32 i32 i32 i32)))
|
|
(type $ii (func (param i32) (result i32)))
|
|
(type $iii_ (func (param i32 i32 i32)))
|
|
(type $iiiii (func (param i32 i32 i32 i32) (result i32)))
|
|
(type $iiii (func (param i32 i32 i32) (result i32)))
|
|
(type $i_ (func (param i32)))
|
|
(type $ii_ (func (param i32 i32)))
|
|
(type $iiif (func (param i32 i32 i32) (result f32)))
|
|
(type $iif (func (param i32 i32) (result f32)))
|
|
(type $F (func (result f64)))
|
|
(type $I_ (func (param i64)))
|
|
(type $II (func (param i64) (result i64)))
|
|
(type $ffi (func (param f32 f32) (result i32)))
|
|
(type $fi (func (param f32) (result i32)))
|
|
(type $FFi (func (param f64 f64) (result i32)))
|
|
(type $iiF (func (param i32 i32) (result f64)))
|
|
(type $Fi (func (param f64) (result i32)))
|
|
(type $iiiiii (func (param i32 i32 i32 i32 i32) (result i32)))
|
|
(type $iiiii_ (func (param i32 i32 i32 i32 i32)))
|
|
(type $iFi (func (param i32 f64) (result i32)))
|
|
(type $iIiIiIii (func (param i32 i64 i32 i64 i32 i64 i32) (result i32)))
|
|
(type $iiFi (func (param i32 i32 f64) (result i32)))
|
|
(type $Ii (func (param i64) (result i32)))
|
|
(type $iIi_ (func (param i32 i64 i32)))
|
|
(type $iiIi (func (param i32 i32 i64) (result i32)))
|
|
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
|
(import "Math" "random" (func $~lib/bindings/Math/random (result f64)))
|
|
(memory $0 1)
|
|
(data (i32.const 8) "\0d\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s\00")
|
|
(data (i32.const 40) "\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\00")
|
|
(data (i32.const 104) "\03\00\00\00a\00b\00c\00")
|
|
(data (i32.const 120) "\0c\00\00\00s\00t\00d\00/\00a\00r\00r\00a\00y\00.\00t\00s\00")
|
|
(data (i32.const 152) "\1b\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00t\00y\00p\00e\00d\00a\00r\00r\00a\00y\00.\00t\00s\00")
|
|
(data (i32.const 216) "\05\00\00\00\00\00\00\00\01\02\03\04\05\00\00\00")
|
|
(data (i32.const 232) "\d8\00\00\00\05\00\00\00")
|
|
(data (i32.const 240) "\05\00\00\00\00\00\00\00\01\01\01\04\05\00\00\00")
|
|
(data (i32.const 256) "\f0\00\00\00\05\00\00\00")
|
|
(data (i32.const 264) "\05\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 280) "\08\01\00\00\05\00\00\00")
|
|
(data (i32.const 288) "\05\00\00\00\00\00\00\00\01\01\00\00\00\00\00\00")
|
|
(data (i32.const 304) " \01\00\00\05\00\00\00")
|
|
(data (i32.const 312) "\05\00\00\00\00\00\00\00\01\01\00\02\02\00\00\00")
|
|
(data (i32.const 328) "8\01\00\00\05\00\00\00")
|
|
(data (i32.const 336) "\05\00\00\00\00\00\00\00\01\01\00\02\02\00\00\00")
|
|
(data (i32.const 352) "P\01\00\00\05\00\00\00")
|
|
(data (i32.const 360) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 392) "h\01\00\00\05\00\00\00")
|
|
(data (i32.const 400) "\14\00\00\00\00\00\00\00\01\00\00\00\01\00\00\00\01\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 432) "\90\01\00\00\05\00\00\00")
|
|
(data (i32.const 440) "\14\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 472) "\b8\01\00\00\05\00\00\00")
|
|
(data (i32.const 480) "\14\00\00\00\00\00\00\00\01\00\00\00\01\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 512) "\e0\01\00\00\05\00\00\00")
|
|
(data (i32.const 520) "\14\00\00\00\00\00\00\00\01\00\00\00\01\00\00\00\00\00\00\00\02\00\00\00\02\00\00\00\00\00\00\00")
|
|
(data (i32.const 552) "\08\02\00\00\05\00\00\00")
|
|
(data (i32.const 560) "\14\00\00\00\00\00\00\00\01\00\00\00\01\00\00\00\00\00\00\00\02\00\00\00\02\00\00\00\00\00\00\00")
|
|
(data (i32.const 592) "0\02\00\00\05\00\00\00")
|
|
(data (i32.const 600) "\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 608) "X\02\00\00\00\00\00\00")
|
|
(data (i32.const 616) "\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 624) "h\02\00\00\00\00\00\00")
|
|
(data (i32.const 632) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 664) "x\02\00\00\05\00\00\00")
|
|
(data (i32.const 672) "\14\00\00\00\00\00\00\00\04\00\00\00\05\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 704) "\a0\02\00\00\05\00\00\00")
|
|
(data (i32.const 712) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 744) "\c8\02\00\00\05\00\00\00")
|
|
(data (i32.const 752) "\14\00\00\00\00\00\00\00\01\00\00\00\04\00\00\00\05\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 784) "\f0\02\00\00\05\00\00\00")
|
|
(data (i32.const 792) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 824) "\18\03\00\00\05\00\00\00")
|
|
(data (i32.const 832) "\14\00\00\00\00\00\00\00\01\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 864) "@\03\00\00\05\00\00\00")
|
|
(data (i32.const 872) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 904) "h\03\00\00\05\00\00\00")
|
|
(data (i32.const 912) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 944) "\90\03\00\00\05\00\00\00")
|
|
(data (i32.const 952) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 984) "\b8\03\00\00\05\00\00\00")
|
|
(data (i32.const 992) "\14\00\00\00\00\00\00\00\04\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1024) "\e0\03\00\00\05\00\00\00")
|
|
(data (i32.const 1032) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1064) "\08\04\00\00\05\00\00\00")
|
|
(data (i32.const 1072) "\14\00\00\00\00\00\00\00\01\00\00\00\04\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1104) "0\04\00\00\05\00\00\00")
|
|
(data (i32.const 1112) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1144) "X\04\00\00\05\00\00\00")
|
|
(data (i32.const 1152) "\14\00\00\00\00\00\00\00\01\00\00\00\03\00\00\00\04\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1184) "\80\04\00\00\05\00\00\00")
|
|
(data (i32.const 1192) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1224) "\a8\04\00\00\05\00\00\00")
|
|
(data (i32.const 1232) "\14\00\00\00\00\00\00\00\04\00\00\00\05\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1264) "\d0\04\00\00\05\00\00\00")
|
|
(data (i32.const 1272) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1304) "\f8\04\00\00\05\00\00\00")
|
|
(data (i32.const 1312) "\14\00\00\00\00\00\00\00\04\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1344) " \05\00\00\05\00\00\00")
|
|
(data (i32.const 1352) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1384) "H\05\00\00\05\00\00\00")
|
|
(data (i32.const 1392) "\14\00\00\00\00\00\00\00\01\00\00\00\03\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1424) "p\05\00\00\05\00\00\00")
|
|
(data (i32.const 1432) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1464) "\98\05\00\00\05\00\00\00")
|
|
(data (i32.const 1472) "\14\00\00\00\00\00\00\00\01\00\00\00\03\00\00\00\04\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1504) "\c0\05\00\00\05\00\00\00")
|
|
(data (i32.const 1512) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1544) "\e8\05\00\00\05\00\00\00")
|
|
(data (i32.const 1552) "\14\00\00\00\00\00\00\00\01\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1584) "\10\06\00\00\05\00\00\00")
|
|
(data (i32.const 1592) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1624) "8\06\00\00\05\00\00\00")
|
|
(data (i32.const 1632) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1664) "`\06\00\00\05\00\00\00")
|
|
(data (i32.const 1672) "\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 1680) "\88\06\00\00\00\00\00\00")
|
|
(data (i32.const 1688) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1720) "\98\06\00\00\05\00\00\00")
|
|
(data (i32.const 1728) "\0c\00\00\00\00\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 1760) "\c0\06\00\00\03\00\00\00")
|
|
(data (i32.const 1768) "\08\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00")
|
|
(data (i32.const 1784) "\e8\06\00\00\02\00\00\00")
|
|
(data (i32.const 1792) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1824) "\00\07\00\00\05\00\00\00")
|
|
(data (i32.const 1832) "\08\00\00\00\00\00\00\00\03\00\00\00\04\00\00\00")
|
|
(data (i32.const 1848) "(\07\00\00\02\00\00\00")
|
|
(data (i32.const 1856) "\0c\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\05\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 1888) "@\07\00\00\03\00\00\00")
|
|
(data (i32.const 1896) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 1928) "h\07\00\00\05\00\00\00")
|
|
(data (i32.const 1936) "\04\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00")
|
|
(data (i32.const 1952) "\90\07\00\00\01\00\00\00")
|
|
(data (i32.const 1960) "\10\00\00\00\00\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 1992) "\a8\07\00\00\04\00\00\00")
|
|
(data (i32.const 2000) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2032) "\d0\07\00\00\05\00\00\00")
|
|
(data (i32.const 2040) "\04\00\00\00\00\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2056) "\f8\07\00\00\01\00\00\00")
|
|
(data (i32.const 2064) "\10\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2096) "\10\08\00\00\04\00\00\00")
|
|
(data (i32.const 2104) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2136) "8\08\00\00\05\00\00\00")
|
|
(data (i32.const 2144) "\08\00\00\00\00\00\00\00\04\00\00\00\05\00\00\00")
|
|
(data (i32.const 2160) "`\08\00\00\02\00\00\00")
|
|
(data (i32.const 2168) "\0c\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2200) "x\08\00\00\03\00\00\00")
|
|
(data (i32.const 2208) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2240) "\a0\08\00\00\05\00\00\00")
|
|
(data (i32.const 2248) "\04\00\00\00\00\00\00\00\04\00\00\00\00\00\00\00")
|
|
(data (i32.const 2264) "\c8\08\00\00\01\00\00\00")
|
|
(data (i32.const 2272) "\10\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\05\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2304) "\e0\08\00\00\04\00\00\00")
|
|
(data (i32.const 2312) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2344) "\08\t\00\00\05\00\00\00")
|
|
(data (i32.const 2352) "\04\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00")
|
|
(data (i32.const 2368) "0\t\00\00\01\00\00\00")
|
|
(data (i32.const 2376) "\10\00\00\00\00\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2408) "H\t\00\00\04\00\00\00")
|
|
(data (i32.const 2416) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2448) "p\t\00\00\05\00\00\00")
|
|
(data (i32.const 2456) "\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2464) "\98\t\00\00\00\00\00\00")
|
|
(data (i32.const 2472) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2504) "\a8\t\00\00\05\00\00\00")
|
|
(data (i32.const 2512) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2544) "\d0\t\00\00\05\00\00\00")
|
|
(data (i32.const 2552) "\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2560) "\f8\t\00\00\00\00\00\00")
|
|
(data (i32.const 2568) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2600) "\08\n\00\00\05\00\00\00")
|
|
(data (i32.const 2608) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2640) "0\n\00\00\05\00\00\00")
|
|
(data (i32.const 2648) "\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2656) "X\n\00\00\00\00\00\00")
|
|
(data (i32.const 2664) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2696) "h\n\00\00\05\00\00\00")
|
|
(data (i32.const 2704) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2736) "\90\n\00\00\05\00\00\00")
|
|
(data (i32.const 2744) "\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2752) "\b8\n\00\00\00\00\00\00")
|
|
(data (i32.const 2760) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2792) "\c8\n\00\00\05\00\00\00")
|
|
(data (i32.const 2800) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2832) "\f0\n\00\00\05\00\00\00")
|
|
(data (i32.const 2840) "\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2848) "\18\0b\00\00\00\00\00\00")
|
|
(data (i32.const 2856) "\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\00\00\00\00")
|
|
(data (i32.const 2888) "(\0b\00\00\05\00\00\00")
|
|
(data (i32.const 2896) "\0c\00\00\00~\00l\00i\00b\00/\00m\00a\00t\00h\00.\00t\00s\00")
|
|
(data (i32.const 2928) "V\00\00\00A\00B\00C\00D\00E\00F\00G\00H\00I\00J\00K\00L\00M\00N\00O\00P\00Q\00R\00S\00T\00U\00V\00W\00X\00Y\00Z\00a\00b\00c\00d\00e\00f\00g\00h\00i\00j\00k\00l\00m\00n\00o\00p\00q\00r\00s\00t\00u\00v\00w\00x\00y\00z\000\001\002\003\004\005\006\007\008\009\00_\00-\00,\00.\00+\00/\00\\\00[\00]\00{\00}\00(\00)\00<\00>\00*\00&\00$\00%\00^\00@\00#\00!\00?\00")
|
|
(data (i32.const 3104) " \00\00\00\00\00\00\00\00\00\80?\00\00\c0\7f\00\00\80\ff\00\00\80?\00\00\00\00\00\00\80\bf\00\00\00\c0\00\00\80\7f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 3168) " \0c\00\00\08\00\00\00")
|
|
(data (i32.const 3176) " \00\00\00\00\00\00\00\00\00\80\ff\00\00\00\c0\00\00\80\bf\00\00\00\00\00\00\80?\00\00\80?\00\00\80\7f\00\00\c0\7f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 3240) "h\0c\00\00\08\00\00\00")
|
|
(data (i32.const 3248) "@\00\00\00\00\00\00\00\00\00\00\00\00\00\f0?\00\00\00\00\00\00\f8\7f\00\00\00\00\00\00\f0\ff\05\00\00\00\00\00\f0?\00\00\00\00\00\00\00\00\00\00\00\00\00\00\f0\bf\00\00\00\00\00\00\00\c0\00\00\00\00\00\00\f0\7f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 3376) "\b0\0c\00\00\08\00\00\00")
|
|
(data (i32.const 3384) "@\00\00\00\00\00\00\00\00\00\00\00\00\00\f0\ff\00\00\00\00\00\00\00\c0\00\00\00\00\00\00\f0\bf\00\00\00\00\00\00\00\00\00\00\00\00\00\00\f0?\05\00\00\00\00\00\f0?\00\00\00\00\00\00\f0\7f\00\00\00\00\00\00\f8\7f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 3512) "8\0d\00\00\08\00\00\00")
|
|
(data (i32.const 3520) "\14\00\00\00\00\00\00\00\01\00\00\00\fe\ff\ff\ff\ff\ff\ff\ff\00\00\00\00\02\00\00\00\00\00\00\00")
|
|
(data (i32.const 3552) "\c0\0d\00\00\05\00\00\00")
|
|
(data (i32.const 3560) "\14\00\00\00\00\00\00\00\fe\ff\ff\ff\ff\ff\ff\ff\00\00\00\00\01\00\00\00\02\00\00\00\00\00\00\00")
|
|
(data (i32.const 3592) "\e8\0d\00\00\05\00\00\00")
|
|
(data (i32.const 3600) "\14\00\00\00\00\00\00\00\01\00\00\00\ff\ff\ff\ff\fe\ff\ff\ff\00\00\00\00\02\00\00\00\00\00\00\00")
|
|
(data (i32.const 3632) "\10\0e\00\00\05\00\00\00")
|
|
(data (i32.const 3640) "\14\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\fe\ff\ff\ff\ff\ff\ff\ff\00\00\00\00")
|
|
(data (i32.const 3672) "8\0e\00\00\05\00\00\00")
|
|
(data (i32.const 3680) "\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 3688) "`\0e\00\00\00\00\00\00")
|
|
(data (i32.const 3696) "\04\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00")
|
|
(data (i32.const 3712) "p\0e\00\00\01\00\00\00")
|
|
(data (i32.const 3720) "\08\00\00\00\00\00\00\00\02\00\00\00\01\00\00\00")
|
|
(data (i32.const 3736) "\88\0e\00\00\02\00\00\00")
|
|
(data (i32.const 3744) "\10\00\00\00\00\00\00\00\03\00\00\00\02\00\00\00\01\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 3776) "\a0\0e\00\00\04\00\00\00")
|
|
(data (i32.const 3784) "\10\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 3816) "\c8\0e\00\00\04\00\00\00")
|
|
(data (i32.const 3824) "\04\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00")
|
|
(data (i32.const 3840) "\f0\0e\00\00\01\00\00\00")
|
|
(data (i32.const 3848) "\08\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00")
|
|
(data (i32.const 3864) "\08\0f\00\00\02\00\00\00")
|
|
(data (i32.const 3872) "\01\00\00\00a\00")
|
|
(data (i32.const 3880) "\01\00\00\00b\00")
|
|
(data (i32.const 3888) "\02\00\00\00a\00b\00")
|
|
(data (i32.const 3896) "\02\00\00\00b\00a\00")
|
|
(data (i32.const 3904) "\00\00\00\00")
|
|
(data (i32.const 3912) "\1c\00\00\00\00\00\00\00 \0f\00\00(\0f\00\00 \0f\00\000\0f\00\008\0f\00\00@\0f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 3976) "H\0f\00\00\07\00\00\00")
|
|
(data (i32.const 3984) "\1c\00\00\00\00\00\00\00@\0f\00\00 \0f\00\00 \0f\00\000\0f\00\00(\0f\00\008\0f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 4048) "\90\0f\00\00\07\00\00\00")
|
|
(data (i32.const 4056) "\0e\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s\00")
|
|
(data (i32.const 4088) "\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\00")
|
|
(data (i32.const 4144) "\04\00\00\00n\00u\00l\00l\00")
|
|
(data (i32.const 4160) "\02\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00")
|
|
(data (i32.const 4176) "@\10\00\00\02\00\00\00")
|
|
(data (i32.const 4184) "\04\00\00\00t\00r\00u\00e\00")
|
|
(data (i32.const 4200) "\05\00\00\00f\00a\00l\00s\00e\00")
|
|
(data (i32.const 4216) "\01\00\00\00,\00")
|
|
(data (i32.const 4224) "\02\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00")
|
|
(data (i32.const 4240) "\80\10\00\00\02\00\00\00")
|
|
(data (i32.const 4248) "\n\00\00\00t\00r\00u\00e\00,\00f\00a\00l\00s\00e\00")
|
|
(data (i32.const 4272) "\0c\00\00\00\00\00\00\00\01\00\00\00\fe\ff\ff\ff\fd\ff\ff\ff\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 4304) "\b0\10\00\00\03\00\00\00")
|
|
(data (i32.const 4312) "\01\00\00\000\00")
|
|
(data (i32.const 4320) "\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 4832) "\e0\10\00\00d\00\00\00")
|
|
(data (i32.const 4840) "\0c\00\00\00\00\00\00\00\01\00\00\00\fe\ff\ff\ff\fd\ff\ff\ff\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 4872) "\e8\12\00\00\03\00\00\00")
|
|
(data (i32.const 4880) "\05\00\00\001\00-\002\00-\003\00")
|
|
(data (i32.const 4896) "\0c\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 4928) " \13\00\00\03\00\00\00")
|
|
(data (i32.const 4936) "\01\00\00\00-\00")
|
|
(data (i32.const 4944) "\0c\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 4976) "P\13\00\00\03\00\00\00")
|
|
(data (i32.const 4984) "\08\00\00\00\00\00\00\00\00\00\00\80\00\00\00\80")
|
|
(data (i32.const 5000) "x\13\00\00\02\00\00\00")
|
|
(data (i32.const 5008) "\02\00\00\00_\00_\00")
|
|
(data (i32.const 5016) "\08\00\00\00\00\00\00\00\00\00\00\80\00\00\00\80")
|
|
(data (i32.const 5032) "\98\13\00\00\02\00\00\00")
|
|
(data (i32.const 5040) "\18\00\00\00-\002\001\004\007\004\008\003\006\004\008\00_\00_\00-\002\001\004\007\004\008\003\006\004\008\00")
|
|
(data (i32.const 5096) "0\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\f0?\00\00\00\00\00\00\00\c0\00\00\00\00\00\00\f8\7f\00\00\00\00\00\00\f0\ff\00\00\00\00\00\00\f0\7f\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 5160) "\e8\13\00\00\06\00\00\00")
|
|
(data (i32.const 5168) "\02\00\00\00,\00 \00")
|
|
(data (i32.const 5176) "\03\00\00\000\00.\000\00")
|
|
(data (i32.const 5192) "\03\00\00\00N\00a\00N\00")
|
|
(data (i32.const 5208) "\t\00\00\00-\00I\00n\00f\00i\00n\00i\00t\00y\00")
|
|
(data (i32.const 5232) "\08\00\00\00I\00n\00f\00i\00n\00i\00t\00y\00")
|
|
(data (i32.const 5256) "\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 6280) "\88\14\00\00W\00\00\00")
|
|
(data (i32.const 6288) "\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 6544) "\90\18\00\00W\00\00\00")
|
|
(data (i32.const 6552) "(\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;\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 6616) "\98\19\00\00\n\00\00\00")
|
|
(data (i32.const 6624) "0\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\f0?\00\00\00\00\00\00\00\c0\00\00\00\00\00\00\f8\7f\00\00\00\00\00\00\f0\ff\00\00\00\00\00\00\f0\7f\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 6688) "\e0\19\00\00\06\00\00\00")
|
|
(data (i32.const 6696) "(\00\00\000\00.\000\00,\00 \001\00.\000\00,\00 \00-\002\00.\000\00,\00 \00N\00a\00N\00,\00 \00-\00I\00n\00f\00i\00n\00i\00t\00y\00,\00 \00I\00n\00f\00i\00n\00i\00t\00y\00")
|
|
(data (i32.const 6784) "\01\00\00\001\00")
|
|
(data (i32.const 6792) "\0c\00\00\00\00\00\00\00@\0f\00\00\80\1a\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 6824) "\88\1a\00\00\03\00\00\00")
|
|
(data (i32.const 6832) "\0c\00\00\00\00\00\00\00@\0f\00\00\80\1a\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 6864) "\b0\1a\00\00\03\00\00\00")
|
|
(data (i32.const 6872) "\0f\00\00\00[\00o\00b\00j\00e\00c\00t\00 \00O\00b\00j\00e\00c\00t\00]\00")
|
|
(data (i32.const 6912) " \00\00\00[\00o\00b\00j\00e\00c\00t\00 \00O\00b\00j\00e\00c\00t\00]\00,\00,\00[\00o\00b\00j\00e\00c\00t\00 \00O\00b\00j\00e\00c\00t\00]\00")
|
|
(data (i32.const 6984) "\03\00\00\001\00,\002\00")
|
|
(data (i32.const 7000) "\07\00\00\000\00,\001\00,\002\00,\003\00")
|
|
(data (i32.const 7024) "\03\00\00\00\00\00\00\00\01\ff\00\00\00\00\00\00")
|
|
(data (i32.const 7040) "p\1b\00\00\03\00\00\00")
|
|
(data (i32.const 7048) "\03\00\00\00\00\00\00\00\01\ff\00\00\00\00\00\00")
|
|
(data (i32.const 7064) "\88\1b\00\00\03\00\00\00")
|
|
(data (i32.const 7072) "\06\00\00\001\00,\00-\001\00,\000\00")
|
|
(data (i32.const 7088) "\06\00\00\00\00\00\00\00\01\00\ff\ff\00\00\00\00")
|
|
(data (i32.const 7104) "\b0\1b\00\00\03\00\00\00")
|
|
(data (i32.const 7112) "\06\00\00\00\00\00\00\00\01\00\ff\ff\00\00\00\00")
|
|
(data (i32.const 7128) "\c8\1b\00\00\03\00\00\00")
|
|
(data (i32.const 7136) "\t\00\00\001\00,\006\005\005\003\005\00,\000\00")
|
|
(data (i32.const 7160) "\18\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\ff\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 7192) "\f8\1b\00\00\03\00\00\00")
|
|
(data (i32.const 7200) "\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 7712) " \1c\00\00d\00\00\00")
|
|
(data (i32.const 7720) "\18\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\ff\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 7752) "(\1e\00\00\03\00\00\00")
|
|
(data (i32.const 7760) "\18\00\00\001\00,\001\008\004\004\006\007\004\004\000\007\003\007\000\009\005\005\001\006\001\005\00,\000\00")
|
|
(data (i32.const 7816) " \00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\ff@Eu\c3*\9d\fb\ff\00\00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\7f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 7880) "\88\1e\00\00\04\00\00\00")
|
|
(data (i32.const 7888) " \00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\ff@Eu\c3*\9d\fb\ff\00\00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\7f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 7952) "\d0\1e\00\00\04\00\00\00")
|
|
(data (i32.const 7960) "*\00\00\00-\001\00,\00-\001\002\003\004\005\006\007\008\009\000\001\002\003\004\005\006\00,\000\00,\009\002\002\003\003\007\002\000\003\006\008\005\004\007\007\005\008\000\007\00")
|
|
(data (i32.const 8048) "\0d\00\00\00,\00a\00,\00a\00,\00a\00b\00,\00b\00,\00b\00a\00,\00")
|
|
(data (i32.const 8080) "\01\00\00\002\00")
|
|
(data (i32.const 8088) "\01\00\00\004\00")
|
|
(data (i32.const 8096) "\10\00\00\00\00\00\00\00\80\1a\00\00\90\1f\00\00\00\00\00\00\98\1f\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 8128) "\a0\1f\00\00\04\00\00\00")
|
|
(data (i32.const 8136) "\10\00\00\00\00\00\00\00\80\1a\00\00\90\1f\00\00\00\00\00\00\98\1f\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 8168) "\c8\1f\00\00\04\00\00\00")
|
|
(data (i32.const 8176) "\06\00\00\001\00,\002\00,\00,\004\00")
|
|
(data (i32.const 8192) "\08\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00")
|
|
(data (i32.const 8208) "\00 \00\00\02\00\00\00")
|
|
(data (i32.const 8216) "\08\00\00\00\00\00\00\00\03\00\00\00\04\00\00\00")
|
|
(data (i32.const 8232) "\18 \00\00\02\00\00\00")
|
|
(data (i32.const 8240) "\08\00\00\00\00\00\00\00\10 \00\00( \00\00")
|
|
(data (i32.const 8256) "0 \00\00\02\00\00\00")
|
|
(data (i32.const 8264) "\07\00\00\001\00,\002\00,\003\00,\004\00")
|
|
(data (i32.const 8288) "\02\00\00\00\00\00\00\00\01\02\00\00\00\00\00\00")
|
|
(data (i32.const 8304) "` \00\00\02\00\00\00")
|
|
(data (i32.const 8312) "\02\00\00\00\00\00\00\00\03\04\00\00\00\00\00\00")
|
|
(data (i32.const 8328) "x \00\00\02\00\00\00")
|
|
(data (i32.const 8336) "\08\00\00\00\00\00\00\00p \00\00\88 \00\00")
|
|
(data (i32.const 8352) "\90 \00\00\02\00\00\00")
|
|
(data (i32.const 8360) "\04\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00")
|
|
(data (i32.const 8376) "\a8 \00\00\01\00\00\00")
|
|
(data (i32.const 8384) "\04\00\00\00\00\00\00\00\b8 \00\00\00\00\00\00")
|
|
(data (i32.const 8400) "\c0 \00\00\01\00\00\00")
|
|
(data (i32.const 8408) "\04\00\00\00\00\00\00\00\d0 \00\00\00\00\00\00")
|
|
(data (i32.const 8424) "\d8 \00\00\01\00\00\00")
|
|
(table $0 56 funcref)
|
|
(elem (i32.const 0) $null $start:std/array~anonymous|1 $start:std/array~anonymous|2 $start:std/array~anonymous|3 $start:std/array~anonymous|4 $start:std/array~anonymous|5 $start:std/array~anonymous|6 $start:std/array~anonymous|7 $start:std/array~anonymous|8 $start:std/array~anonymous|9 $start:std/array~anonymous|10 $start:std/array~anonymous|11 $start:std/array~anonymous|12 $start:std/array~anonymous|13 $start:std/array~anonymous|14 $start:std/array~anonymous|15 $start:std/array~anonymous|16 $start:std/array~anonymous|17 $start:std/array~anonymous|18 $start:std/array~anonymous|19 $start:std/array~anonymous|20 $start:std/array~anonymous|21 $start:std/array~anonymous|22 $start:std/array~anonymous|23 $start:std/array~anonymous|24 $start:std/array~anonymous|25 $start:std/array~anonymous|26 $start:std/array~anonymous|27 $start:std/array~anonymous|28 $start:std/array~anonymous|29 $start:std/array~anonymous|30 $start:std/array~anonymous|31 $start:std/array~anonymous|32 $start:std/array~anonymous|33 $start:std/array~anonymous|34 $start:std/array~anonymous|35 $start:std/array~anonymous|36 $start:std/array~anonymous|37 $start:std/array~anonymous|38 $start:std/array~anonymous|39 $start:std/array~anonymous|40 $start:std/array~anonymous|41 $start:std/array~anonymous|42 $start:std/array~anonymous|43 $~lib/internal/sort/COMPARATOR<f32>~anonymous|44 $~lib/internal/sort/COMPARATOR<f64>~anonymous|45 $~lib/internal/sort/COMPARATOR<i32>~anonymous|46 $~lib/internal/sort/COMPARATOR<u32>~anonymous|47 $~lib/internal/sort/COMPARATOR<i32>~anonymous|48 $start:std/array~anonymous|49 $start:std/array~anonymous|50 $start:std/array~anonymous|51 $start:std/array~anonymous|52 $start:std/array~anonymous|53 $start:std/array~anonymous|54 $~lib/internal/sort/COMPARATOR<String>~anonymous|55)
|
|
(global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0))
|
|
(global $~lib/allocator/arena/offset (mut i32) (i32.const 0))
|
|
(global $std/array/arr (mut i32) (i32.const 0))
|
|
(global $std/array/num (mut i32) (i32.const 1))
|
|
(global $std/array/Null (mut i32) (i32.const 0))
|
|
(global $std/array/str (mut i32) (i32.const 104))
|
|
(global $std/array/arr8 (mut i32) (i32.const 232))
|
|
(global $~lib/builtins/i32.MAX_VALUE i32 (i32.const 2147483647))
|
|
(global $~lib/argc (mut i32) (i32.const 0))
|
|
(global $std/array/arr32 (mut i32) (i32.const 392))
|
|
(global $std/array/i (mut i32) (i32.const 0))
|
|
(global $std/array/other (mut i32) (i32.const 0))
|
|
(global $std/array/out (mut i32) (i32.const 0))
|
|
(global $std/array/source (mut i32) (i32.const 624))
|
|
(global $std/array/cwArr (mut i32) (i32.const 0))
|
|
(global $std/array/includes (mut i32) (i32.const 0))
|
|
(global $std/array/sarr (mut i32) (i32.const 1624))
|
|
(global $std/array/every (mut i32) (i32.const 0))
|
|
(global $std/array/some (mut i32) (i32.const 0))
|
|
(global $std/array/newArr (mut i32) (i32.const 0))
|
|
(global $std/array/filteredArr (mut i32) (i32.const 0))
|
|
(global $std/array/boolVal (mut i32) (i32.const 0))
|
|
(global $~lib/math/random_seeded (mut i32) (i32.const 0))
|
|
(global $~lib/math/random_state0_64 (mut i64) (i64.const 0))
|
|
(global $~lib/math/random_state1_64 (mut i64) (i64.const 0))
|
|
(global $~lib/math/random_state0_32 (mut i32) (i32.const 0))
|
|
(global $~lib/math/random_state1_32 (mut i32) (i32.const 0))
|
|
(global $std/array/charset i32 (i32.const 2928))
|
|
(global $std/array/f32ArrayTyped (mut i32) (i32.const 3168))
|
|
(global $std/array/f64ArrayTyped (mut i32) (i32.const 3376))
|
|
(global $std/array/i32ArrayTyped (mut i32) (i32.const 3552))
|
|
(global $std/array/u32ArrayTyped (mut i32) (i32.const 3632))
|
|
(global $std/array/reversed0 (mut i32) (i32.const 3688))
|
|
(global $std/array/reversed1 (mut i32) (i32.const 3712))
|
|
(global $std/array/reversed2 (mut i32) (i32.const 3736))
|
|
(global $std/array/reversed4 (mut i32) (i32.const 3776))
|
|
(global $std/array/expected4 (mut i32) (i32.const 3816))
|
|
(global $std/array/reversed64 (mut i32) (i32.const 0))
|
|
(global $std/array/reversed128 (mut i32) (i32.const 0))
|
|
(global $std/array/reversed1024 (mut i32) (i32.const 0))
|
|
(global $std/array/reversed10000 (mut i32) (i32.const 0))
|
|
(global $std/array/randomized512 (mut i32) (i32.const 0))
|
|
(global $std/array/randomized64 (mut i32) (i32.const 0))
|
|
(global $std/array/randomized257 (mut i32) (i32.const 0))
|
|
(global $std/array/reversedNested512 (mut i32) (i32.const 0))
|
|
(global $std/array/reversedElements512 (mut i32) (i32.const 0))
|
|
(global $std/array/randomStringsActual (mut i32) (i32.const 3976))
|
|
(global $std/array/randomStringsExpected (mut i32) (i32.const 4048))
|
|
(global $std/array/randomStrings400 (mut i32) (i32.const 0))
|
|
(global $~lib/ASC_SHRINK_LEVEL i32 (i32.const 0))
|
|
(global $~lib/builtins/i32.MIN_VALUE i32 (i32.const -2147483648))
|
|
(global $~lib/internal/number/MAX_DOUBLE_LENGTH i32 (i32.const 28))
|
|
(global $~lib/internal/number/_frc_plus (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_frc_minus (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_exp (mut i32) (i32.const 0))
|
|
(global $~lib/internal/number/_K (mut i32) (i32.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/array/refArr (mut i32) (i32.const 0))
|
|
(global $~lib/builtins/u32.MAX_VALUE i32 (i32.const -1))
|
|
(global $~lib/builtins/i64.MAX_VALUE i64 (i64.const 9223372036854775807))
|
|
(global $std/array/subarr32 (mut i32) (i32.const 8256))
|
|
(global $std/array/subarr8 (mut i32) (i32.const 8352))
|
|
(global $std/array/subarrU32 (mut i32) (i32.const 8424))
|
|
(global $~lib/memory/HEAP_BASE i32 (i32.const 8432))
|
|
(export "memory" (memory $0))
|
|
(export "table" (table $0))
|
|
(start $start)
|
|
(func $start:~lib/allocator/arena (; 2 ;) (type $_)
|
|
global.get $~lib/memory/HEAP_BASE
|
|
i32.const 7
|
|
i32.add
|
|
i32.const 7
|
|
i32.const -1
|
|
i32.xor
|
|
i32.and
|
|
global.set $~lib/allocator/arena/startOffset
|
|
global.get $~lib/allocator/arena/startOffset
|
|
global.set $~lib/allocator/arena/offset
|
|
)
|
|
(func $~lib/internal/arraybuffer/computeSize (; 3 ;) (type $ii) (param $0 i32) (result i32)
|
|
i32.const 1
|
|
i32.const 32
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 1
|
|
i32.sub
|
|
i32.clz
|
|
i32.sub
|
|
i32.shl
|
|
)
|
|
(func $~lib/allocator/arena/__memory_allocate (; 4 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $0
|
|
i32.const 1073741824
|
|
i32.gt_u
|
|
if
|
|
unreachable
|
|
end
|
|
global.get $~lib/allocator/arena/offset
|
|
local.set $1
|
|
local.get $1
|
|
local.get $0
|
|
local.tee $2
|
|
i32.const 1
|
|
local.tee $3
|
|
local.get $2
|
|
local.get $3
|
|
i32.gt_u
|
|
select
|
|
i32.add
|
|
i32.const 7
|
|
i32.add
|
|
i32.const 7
|
|
i32.const -1
|
|
i32.xor
|
|
i32.and
|
|
local.set $4
|
|
current_memory
|
|
local.set $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 16
|
|
i32.shl
|
|
i32.gt_u
|
|
if
|
|
local.get $4
|
|
local.get $1
|
|
i32.sub
|
|
i32.const 65535
|
|
i32.add
|
|
i32.const 65535
|
|
i32.const -1
|
|
i32.xor
|
|
i32.and
|
|
i32.const 16
|
|
i32.shr_u
|
|
local.set $2
|
|
local.get $5
|
|
local.tee $3
|
|
local.get $2
|
|
local.tee $6
|
|
local.get $3
|
|
local.get $6
|
|
i32.gt_s
|
|
select
|
|
local.set $3
|
|
local.get $3
|
|
grow_memory
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
grow_memory
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
unreachable
|
|
end
|
|
end
|
|
end
|
|
local.get $4
|
|
global.set $~lib/allocator/arena/offset
|
|
local.get $1
|
|
)
|
|
(func $~lib/internal/arraybuffer/allocateUnsafe (; 5 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
i32.const 1073741816
|
|
i32.le_u
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 40
|
|
i32.const 26
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.allocate|inlined.0 (result i32)
|
|
local.get $0
|
|
call $~lib/internal/arraybuffer/computeSize
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
br $~lib/memory/memory.allocate|inlined.0
|
|
end
|
|
local.set $1
|
|
local.get $1
|
|
local.get $0
|
|
i32.store
|
|
local.get $1
|
|
)
|
|
(func $~lib/memory/memory.allocate (; 6 ;) (type $ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
return
|
|
)
|
|
(func $~lib/internal/memory/memset (; 7 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i64)
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.store8
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 1
|
|
i32.sub
|
|
local.get $1
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 2
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 1
|
|
i32.add
|
|
local.get $1
|
|
i32.store8
|
|
local.get $0
|
|
i32.const 2
|
|
i32.add
|
|
local.get $1
|
|
i32.store8
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 2
|
|
i32.sub
|
|
local.get $1
|
|
i32.store8
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 3
|
|
i32.sub
|
|
local.get $1
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 6
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 3
|
|
i32.add
|
|
local.get $1
|
|
i32.store8
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 4
|
|
i32.sub
|
|
local.get $1
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 8
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.get $0
|
|
i32.sub
|
|
i32.const 3
|
|
i32.and
|
|
local.set $3
|
|
local.get $0
|
|
local.get $3
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
local.get $3
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const -4
|
|
i32.and
|
|
local.set $2
|
|
i32.const -1
|
|
i32.const 255
|
|
i32.div_u
|
|
local.get $1
|
|
i32.const 255
|
|
i32.and
|
|
i32.mul
|
|
local.set $4
|
|
local.get $0
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 4
|
|
i32.sub
|
|
local.get $4
|
|
i32.store
|
|
local.get $2
|
|
i32.const 8
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 12
|
|
i32.sub
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 8
|
|
i32.sub
|
|
local.get $4
|
|
i32.store
|
|
local.get $2
|
|
i32.const 24
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 12
|
|
i32.add
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
i32.const 20
|
|
i32.add
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
i32.const 24
|
|
i32.add
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 28
|
|
i32.sub
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 24
|
|
i32.sub
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 20
|
|
i32.sub
|
|
local.get $4
|
|
i32.store
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 16
|
|
i32.sub
|
|
local.get $4
|
|
i32.store
|
|
i32.const 24
|
|
local.get $0
|
|
i32.const 4
|
|
i32.and
|
|
i32.add
|
|
local.set $3
|
|
local.get $0
|
|
local.get $3
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
local.get $3
|
|
i32.sub
|
|
local.set $2
|
|
local.get $4
|
|
i64.extend_i32_u
|
|
local.get $4
|
|
i64.extend_i32_u
|
|
i64.const 32
|
|
i64.shl
|
|
i64.or
|
|
local.set $5
|
|
block $break|0
|
|
loop $continue|0
|
|
local.get $2
|
|
i32.const 32
|
|
i32.ge_u
|
|
if
|
|
block
|
|
local.get $0
|
|
local.get $5
|
|
i64.store
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.get $5
|
|
i64.store
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
local.get $5
|
|
i64.store
|
|
local.get $0
|
|
i32.const 24
|
|
i32.add
|
|
local.get $5
|
|
i64.store
|
|
local.get $2
|
|
i32.const 32
|
|
i32.sub
|
|
local.set $2
|
|
local.get $0
|
|
i32.const 32
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/array/Array<i32>#constructor (; 8 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.gt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 45
|
|
i32.const 39
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
local.set $3
|
|
block (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 8
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $0
|
|
end
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=4
|
|
block $~lib/memory/memory.fill|inlined.0
|
|
local.get $3
|
|
i32.const 8
|
|
i32.add
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array.isArray<Array<i32> | null> (; 9 ;) (type $ii) (param $0 i32) (result i32)
|
|
i32.const 1
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
else
|
|
i32.const 1
|
|
end
|
|
)
|
|
(func $~lib/array/Array.isArray<Array<i32>> (; 10 ;) (type $ii) (param $0 i32) (result i32)
|
|
i32.const 1
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
else
|
|
i32.const 1
|
|
end
|
|
)
|
|
(func $std/array/P#constructor (; 11 ;) (type $ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array.isArray<P> (; 12 ;) (type $ii) (param $0 i32) (result i32)
|
|
i32.const 0
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
else
|
|
i32.const 0
|
|
end
|
|
)
|
|
(func $~lib/internal/typedarray/TypedArray<u8>#constructor (; 13 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $1
|
|
i32.const 1073741816
|
|
i32.gt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 152
|
|
i32.const 23
|
|
i32.const 34
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 0
|
|
i32.shl
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
local.set $3
|
|
block $~lib/memory/memory.fill|inlined.1
|
|
local.get $3
|
|
i32.const 8
|
|
i32.add
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
block (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 12
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=8
|
|
local.get $0
|
|
end
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $0
|
|
local.get $2
|
|
i32.store offset=8
|
|
local.get $0
|
|
)
|
|
(func $~lib/typedarray/Uint8Array#constructor (; 14 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 12
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/internal/typedarray/TypedArray<u8>#constructor
|
|
local.set $0
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array.isArray<Uint8Array> (; 15 ;) (type $ii) (param $0 i32) (result i32)
|
|
i32.const 0
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
else
|
|
i32.const 0
|
|
end
|
|
)
|
|
(func $~lib/array/Array.isArray<i32> (; 16 ;) (type $ii) (param $0 i32) (result i32)
|
|
i32.const 0
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
else
|
|
i32.const 0
|
|
end
|
|
)
|
|
(func $~lib/array/Array.isArray<String> (; 17 ;) (type $ii) (param $0 i32) (result i32)
|
|
i32.const 0
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
else
|
|
i32.const 0
|
|
end
|
|
)
|
|
(func $~lib/array/Array<u8>#fill (; 18 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $5
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $5
|
|
local.get $2
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 0
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $2
|
|
local.tee $6
|
|
local.get $5
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $5
|
|
local.get $3
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 0
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $3
|
|
local.tee $6
|
|
local.get $5
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $3
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
if
|
|
local.get $4
|
|
local.get $2
|
|
i32.add
|
|
i32.const 8
|
|
i32.add
|
|
local.set $6
|
|
local.get $1
|
|
local.set $7
|
|
local.get $3
|
|
local.get $2
|
|
i32.sub
|
|
local.set $8
|
|
local.get $6
|
|
local.get $7
|
|
local.get $8
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<u8>#__get (; 19 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.load
|
|
i32.const 0
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $2
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
)
|
|
(func $std/array/isArraysEqual<u8> (; 20 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/array/Array<u8>#get:length|inlined.0 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $2
|
|
local.get $2
|
|
block $~lib/array/Array<u8>#get:length|inlined.2 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/array/Array<u8>#__get
|
|
i32.const 255
|
|
i32.and
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/array/Array<u8>#__get
|
|
i32.const 255
|
|
i32.and
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/array/Array<u8>#fill|trampoline (; 21 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
block $2of2
|
|
block $1of2
|
|
block $0of2
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $0of2 $1of2 $2of2 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
local.set $2
|
|
end
|
|
global.get $~lib/builtins/i32.MAX_VALUE
|
|
local.set $3
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
local.get $3
|
|
call $~lib/array/Array<u8>#fill
|
|
)
|
|
(func $~lib/array/Array<u32>#fill (; 22 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $5
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $5
|
|
local.get $2
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 0
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $2
|
|
local.tee $6
|
|
local.get $5
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $5
|
|
local.get $3
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 0
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $3
|
|
local.tee $6
|
|
local.get $5
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $3
|
|
block $break|0
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.0
|
|
local.get $4
|
|
local.set $6
|
|
local.get $2
|
|
local.set $7
|
|
local.get $1
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $8
|
|
i32.store offset=8
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<u32>#__get (; 23 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $2
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
)
|
|
(func $std/array/isArraysEqual<u32> (; 24 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/array/Array<u32>#get:length|inlined.0 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $2
|
|
local.get $2
|
|
block $~lib/array/Array<u32>#get:length|inlined.2 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/array/Array<u32>#__get
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/array/Array<u32>#fill|trampoline (; 25 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
block $2of2
|
|
block $1of2
|
|
block $0of2
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $0of2 $1of2 $2of2 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
local.set $2
|
|
end
|
|
global.get $~lib/builtins/i32.MAX_VALUE
|
|
local.set $3
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
local.get $3
|
|
call $~lib/array/Array<u32>#fill
|
|
)
|
|
(func $std/array/internalCapacity<i32> (; 26 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $1
|
|
local.get $1
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
)
|
|
(func $~lib/internal/memory/memcpy (; 27 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
block $break|0
|
|
loop $continue|0
|
|
local.get $2
|
|
if (result i32)
|
|
local.get $1
|
|
i32.const 3
|
|
i32.and
|
|
else
|
|
local.get $2
|
|
end
|
|
if
|
|
block
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
local.get $0
|
|
i32.const 3
|
|
i32.and
|
|
i32.const 0
|
|
i32.eq
|
|
if
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $2
|
|
i32.const 16
|
|
i32.ge_u
|
|
if
|
|
block
|
|
local.get $0
|
|
local.get $1
|
|
i32.load
|
|
i32.store
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.get $1
|
|
i32.const 4
|
|
i32.add
|
|
i32.load
|
|
i32.store
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.get $1
|
|
i32.const 8
|
|
i32.add
|
|
i32.load
|
|
i32.store
|
|
local.get $0
|
|
i32.const 12
|
|
i32.add
|
|
local.get $1
|
|
i32.const 12
|
|
i32.add
|
|
i32.load
|
|
i32.store
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.set $1
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 16
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
local.get $2
|
|
i32.const 8
|
|
i32.and
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i32.load
|
|
i32.store
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.get $1
|
|
i32.const 4
|
|
i32.add
|
|
i32.load
|
|
i32.store
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.set $0
|
|
local.get $1
|
|
i32.const 8
|
|
i32.add
|
|
local.set $1
|
|
end
|
|
local.get $2
|
|
i32.const 4
|
|
i32.and
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i32.load
|
|
i32.store
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.set $0
|
|
local.get $1
|
|
i32.const 4
|
|
i32.add
|
|
local.set $1
|
|
end
|
|
local.get $2
|
|
i32.const 2
|
|
i32.and
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i32.load16_u
|
|
i32.store16
|
|
local.get $0
|
|
i32.const 2
|
|
i32.add
|
|
local.set $0
|
|
local.get $1
|
|
i32.const 2
|
|
i32.add
|
|
local.set $1
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 32
|
|
i32.ge_u
|
|
if
|
|
block $break|2
|
|
block $case2|2
|
|
block $case1|2
|
|
block $case0|2
|
|
local.get $0
|
|
i32.const 3
|
|
i32.and
|
|
local.set $5
|
|
local.get $5
|
|
i32.const 1
|
|
i32.eq
|
|
br_if $case0|2
|
|
local.get $5
|
|
i32.const 2
|
|
i32.eq
|
|
br_if $case1|2
|
|
local.get $5
|
|
i32.const 3
|
|
i32.eq
|
|
br_if $case2|2
|
|
br $break|2
|
|
end
|
|
block
|
|
local.get $1
|
|
i32.load
|
|
local.set $3
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 3
|
|
i32.sub
|
|
local.set $2
|
|
block $break|3
|
|
loop $continue|3
|
|
local.get $2
|
|
i32.const 17
|
|
i32.ge_u
|
|
if
|
|
block
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.load
|
|
local.set $4
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 24
|
|
i32.shr_u
|
|
local.get $4
|
|
i32.const 8
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 5
|
|
i32.add
|
|
i32.load
|
|
local.set $3
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.get $4
|
|
i32.const 24
|
|
i32.shr_u
|
|
local.get $3
|
|
i32.const 8
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 9
|
|
i32.add
|
|
i32.load
|
|
local.set $4
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.get $3
|
|
i32.const 24
|
|
i32.shr_u
|
|
local.get $4
|
|
i32.const 8
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 13
|
|
i32.add
|
|
i32.load
|
|
local.set $3
|
|
local.get $0
|
|
i32.const 12
|
|
i32.add
|
|
local.get $4
|
|
i32.const 24
|
|
i32.shr_u
|
|
local.get $3
|
|
i32.const 8
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.set $1
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 16
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
br $continue|3
|
|
end
|
|
end
|
|
end
|
|
br $break|2
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $1
|
|
i32.load
|
|
local.set $3
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 2
|
|
i32.sub
|
|
local.set $2
|
|
block $break|4
|
|
loop $continue|4
|
|
local.get $2
|
|
i32.const 18
|
|
i32.ge_u
|
|
if
|
|
block
|
|
local.get $1
|
|
i32.const 2
|
|
i32.add
|
|
i32.load
|
|
local.set $4
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 16
|
|
i32.shr_u
|
|
local.get $4
|
|
i32.const 16
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 6
|
|
i32.add
|
|
i32.load
|
|
local.set $3
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.get $4
|
|
i32.const 16
|
|
i32.shr_u
|
|
local.get $3
|
|
i32.const 16
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 10
|
|
i32.add
|
|
i32.load
|
|
local.set $4
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.get $3
|
|
i32.const 16
|
|
i32.shr_u
|
|
local.get $4
|
|
i32.const 16
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 14
|
|
i32.add
|
|
i32.load
|
|
local.set $3
|
|
local.get $0
|
|
i32.const 12
|
|
i32.add
|
|
local.get $4
|
|
i32.const 16
|
|
i32.shr_u
|
|
local.get $3
|
|
i32.const 16
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.set $1
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 16
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
br $continue|4
|
|
end
|
|
end
|
|
end
|
|
br $break|2
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $1
|
|
i32.load
|
|
local.set $3
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
block $break|5
|
|
loop $continue|5
|
|
local.get $2
|
|
i32.const 19
|
|
i32.ge_u
|
|
if
|
|
block
|
|
local.get $1
|
|
i32.const 3
|
|
i32.add
|
|
i32.load
|
|
local.set $4
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.get $4
|
|
i32.const 24
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 7
|
|
i32.add
|
|
i32.load
|
|
local.set $3
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.get $4
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.get $3
|
|
i32.const 24
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 11
|
|
i32.add
|
|
i32.load
|
|
local.set $4
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.get $3
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.get $4
|
|
i32.const 24
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 15
|
|
i32.add
|
|
i32.load
|
|
local.set $3
|
|
local.get $0
|
|
i32.const 12
|
|
i32.add
|
|
local.get $4
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.get $3
|
|
i32.const 24
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.set $1
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 16
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
br $continue|5
|
|
end
|
|
end
|
|
end
|
|
br $break|2
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $2
|
|
i32.const 16
|
|
i32.and
|
|
if
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
local.get $2
|
|
i32.const 8
|
|
i32.and
|
|
if
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
local.get $2
|
|
i32.const 4
|
|
i32.and
|
|
if
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
local.get $2
|
|
i32.const 2
|
|
i32.and
|
|
if
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $5
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
)
|
|
(func $~lib/internal/memory/memmove (; 28 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
return
|
|
end
|
|
local.get $1
|
|
local.get $2
|
|
i32.add
|
|
local.get $0
|
|
i32.le_u
|
|
local.tee $3
|
|
if (result i32)
|
|
local.get $3
|
|
else
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
local.get $1
|
|
i32.le_u
|
|
end
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/internal/memory/memcpy
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.lt_u
|
|
if
|
|
local.get $1
|
|
i32.const 7
|
|
i32.and
|
|
local.get $0
|
|
i32.const 7
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
block $break|0
|
|
loop $continue|0
|
|
local.get $0
|
|
i32.const 7
|
|
i32.and
|
|
if
|
|
block
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $3
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $3
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $2
|
|
i32.const 8
|
|
i32.ge_u
|
|
if
|
|
block
|
|
local.get $0
|
|
local.get $1
|
|
i64.load
|
|
i64.store
|
|
local.get $2
|
|
i32.const 8
|
|
i32.sub
|
|
local.set $2
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.set $0
|
|
local.get $1
|
|
i32.const 8
|
|
i32.add
|
|
local.set $1
|
|
end
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
end
|
|
block $break|2
|
|
loop $continue|2
|
|
local.get $2
|
|
if
|
|
block
|
|
block (result i32)
|
|
local.get $0
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $3
|
|
end
|
|
block (result i32)
|
|
local.get $1
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $3
|
|
end
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
br $continue|2
|
|
end
|
|
end
|
|
end
|
|
else
|
|
local.get $1
|
|
i32.const 7
|
|
i32.and
|
|
local.get $0
|
|
i32.const 7
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
block $break|3
|
|
loop $continue|3
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 7
|
|
i32.and
|
|
if
|
|
block
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.add
|
|
local.get $1
|
|
local.get $2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
br $continue|3
|
|
end
|
|
end
|
|
end
|
|
block $break|4
|
|
loop $continue|4
|
|
local.get $2
|
|
i32.const 8
|
|
i32.ge_u
|
|
if
|
|
block
|
|
local.get $2
|
|
i32.const 8
|
|
i32.sub
|
|
local.set $2
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
local.get $1
|
|
local.get $2
|
|
i32.add
|
|
i64.load
|
|
i64.store
|
|
end
|
|
br $continue|4
|
|
end
|
|
end
|
|
end
|
|
end
|
|
block $break|5
|
|
loop $continue|5
|
|
local.get $2
|
|
if
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.add
|
|
local.get $1
|
|
local.get $2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
br $continue|5
|
|
end
|
|
end
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/allocator/arena/__memory_free (; 29 ;) (type $i_) (param $0 i32)
|
|
nop
|
|
)
|
|
(func $~lib/internal/arraybuffer/reallocateUnsafe (; 30 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.gt_s
|
|
if
|
|
local.get $1
|
|
i32.const 1073741816
|
|
i32.le_s
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 40
|
|
i32.const 40
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/internal/arraybuffer/computeSize
|
|
i32.const 8
|
|
i32.sub
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i32.store
|
|
else
|
|
local.get $1
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
local.set $3
|
|
block $~lib/memory/memory.copy|inlined.0
|
|
local.get $3
|
|
i32.const 8
|
|
i32.add
|
|
local.set $4
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
block $~lib/memory/memory.free|inlined.0
|
|
local.get $0
|
|
local.set $6
|
|
local.get $6
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.0
|
|
end
|
|
local.get $3
|
|
local.set $0
|
|
end
|
|
block $~lib/memory/memory.fill|inlined.3
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.get $2
|
|
i32.add
|
|
local.set $3
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $1
|
|
local.get $2
|
|
i32.sub
|
|
local.set $5
|
|
local.get $3
|
|
local.get $6
|
|
local.get $5
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
else
|
|
local.get $1
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 40
|
|
i32.const 62
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.store
|
|
end
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<i32>#push (; 31 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
local.set $4
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $2
|
|
local.get $4
|
|
i32.ge_u
|
|
if
|
|
local.get $2
|
|
i32.const 268435454
|
|
i32.ge_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 182
|
|
i32.const 42
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
local.set $3
|
|
local.get $0
|
|
local.get $3
|
|
i32.store
|
|
end
|
|
local.get $0
|
|
local.get $5
|
|
i32.store offset=4
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.0
|
|
local.get $3
|
|
local.set $6
|
|
local.get $2
|
|
local.set $7
|
|
local.get $1
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $8
|
|
i32.store offset=8
|
|
end
|
|
local.get $5
|
|
)
|
|
(func $~lib/array/Array<i32>#__get (; 32 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $2
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/array/Array<i32>#pop (; 33 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $1
|
|
local.get $1
|
|
i32.const 1
|
|
i32.lt_s
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 244
|
|
i32.const 20
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.1 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $1
|
|
local.set $3
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $2
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $5
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=4
|
|
local.get $5
|
|
)
|
|
(func $~lib/array/Array<i32>#concat (; 34 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
i32.const 0
|
|
local.get $1
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.const 0
|
|
i32.eq
|
|
select
|
|
local.set $3
|
|
local.get $2
|
|
local.get $3
|
|
i32.add
|
|
local.set $4
|
|
i32.const 0
|
|
local.get $4
|
|
call $~lib/array/Array<i32>#constructor
|
|
local.set $5
|
|
local.get $2
|
|
if
|
|
local.get $5
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
local.set $6
|
|
local.get $0
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
local.set $7
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $8
|
|
local.get $6
|
|
local.get $7
|
|
local.get $8
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
local.get $3
|
|
if
|
|
local.get $5
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.set $8
|
|
local.get $1
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
local.set $7
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $6
|
|
local.get $8
|
|
local.get $7
|
|
local.get $6
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
local.get $5
|
|
)
|
|
(func $~lib/array/Array<i32>#copyWithin (; 35 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $5
|
|
local.get $3
|
|
local.tee $6
|
|
local.get $5
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
local.set $3
|
|
local.get $1
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $5
|
|
local.get $1
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 0
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $1
|
|
local.tee $6
|
|
local.get $5
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $8
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $5
|
|
local.get $2
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 0
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $2
|
|
local.tee $6
|
|
local.get $5
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $9
|
|
local.get $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $5
|
|
local.get $3
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 0
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $3
|
|
local.tee $6
|
|
local.get $5
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $10
|
|
local.get $10
|
|
local.get $9
|
|
i32.sub
|
|
local.tee $6
|
|
local.get $5
|
|
local.get $8
|
|
i32.sub
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
local.set $11
|
|
local.get $9
|
|
local.get $8
|
|
i32.lt_s
|
|
local.tee $6
|
|
if (result i32)
|
|
local.get $8
|
|
local.get $9
|
|
local.get $11
|
|
i32.add
|
|
i32.lt_s
|
|
else
|
|
local.get $6
|
|
end
|
|
if
|
|
local.get $9
|
|
local.get $11
|
|
i32.const 1
|
|
i32.sub
|
|
i32.add
|
|
local.set $9
|
|
local.get $8
|
|
local.get $11
|
|
i32.const 1
|
|
i32.sub
|
|
i32.add
|
|
local.set $8
|
|
block $break|0
|
|
loop $continue|0
|
|
local.get $11
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.1
|
|
local.get $4
|
|
local.set $6
|
|
local.get $8
|
|
local.set $7
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.2 (result i32)
|
|
local.get $4
|
|
local.set $12
|
|
local.get $9
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
local.get $14
|
|
i32.store offset=8
|
|
end
|
|
local.get $9
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $9
|
|
local.get $8
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
local.get $11
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $11
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
else
|
|
local.get $4
|
|
i32.const 8
|
|
i32.add
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.set $13
|
|
local.get $4
|
|
i32.const 8
|
|
i32.add
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.set $14
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $7
|
|
local.get $13
|
|
local.get $14
|
|
local.get $7
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<i32>#copyWithin|trampoline (; 36 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
i32.const 2
|
|
i32.sub
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
global.get $~lib/builtins/i32.MAX_VALUE
|
|
local.set $3
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
local.get $3
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
)
|
|
(func $std/array/isArraysEqual<i32> (; 37 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/array/Array<i32>#get:length|inlined.15 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $2
|
|
local.get $2
|
|
block $~lib/array/Array<i32>#get:length|inlined.17 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/array/Array<i32>#__get
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/array/Array<i32>#unshift (; 38 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
local.set $3
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $4
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $4
|
|
local.get $3
|
|
i32.ge_u
|
|
if
|
|
local.get $4
|
|
i32.const 268435454
|
|
i32.ge_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 327
|
|
i32.const 42
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
local.set $2
|
|
local.get $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
local.set $3
|
|
local.get $0
|
|
local.get $2
|
|
i32.store
|
|
end
|
|
block $~lib/memory/memory.copy|inlined.4
|
|
local.get $2
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 4
|
|
i32.add
|
|
local.set $6
|
|
local.get $2
|
|
i32.const 8
|
|
i32.add
|
|
local.set $7
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $8
|
|
local.get $6
|
|
local.get $7
|
|
local.get $8
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.2
|
|
local.get $2
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $1
|
|
local.set $6
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $8
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $6
|
|
i32.store offset=8
|
|
end
|
|
local.get $0
|
|
local.get $5
|
|
i32.store offset=4
|
|
local.get $5
|
|
)
|
|
(func $~lib/array/Array<i32>#shift (; 39 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $1
|
|
local.get $1
|
|
i32.const 1
|
|
i32.lt_s
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 299
|
|
i32.const 20
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.3 (result i32)
|
|
local.get $2
|
|
local.set $3
|
|
i32.const 0
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $6
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $7
|
|
block $~lib/memory/memory.copy|inlined.5
|
|
local.get $2
|
|
i32.const 8
|
|
i32.add
|
|
local.set $5
|
|
local.get $2
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 4
|
|
i32.add
|
|
local.set $4
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $3
|
|
local.get $5
|
|
local.get $4
|
|
local.get $3
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.3
|
|
local.get $2
|
|
local.set $3
|
|
local.get $7
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
local.get $5
|
|
i32.store offset=8
|
|
end
|
|
local.get $0
|
|
local.get $7
|
|
i32.store offset=4
|
|
local.get $6
|
|
)
|
|
(func $~lib/array/Array<i32>#reverse (; 40 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $1
|
|
block $break|0
|
|
block
|
|
i32.const 0
|
|
local.set $2
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $3
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.4 (result i32)
|
|
local.get $1
|
|
local.set $4
|
|
local.get $2
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $6
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.4
|
|
local.get $1
|
|
local.set $5
|
|
local.get $2
|
|
local.set $4
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.5 (result i32)
|
|
local.get $1
|
|
local.set $7
|
|
local.get $3
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $7
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $5
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
local.get $9
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.5
|
|
local.get $1
|
|
local.set $8
|
|
local.get $3
|
|
local.set $9
|
|
local.get $6
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $4
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
block
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $3
|
|
end
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<i32>#indexOf (; 41 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 0
|
|
i32.eq
|
|
local.tee $4
|
|
if (result i32)
|
|
local.get $4
|
|
else
|
|
local.get $2
|
|
local.get $3
|
|
i32.ge_s
|
|
end
|
|
if
|
|
i32.const -1
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $3
|
|
local.get $2
|
|
i32.add
|
|
local.tee $4
|
|
i32.const 0
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.gt_s
|
|
select
|
|
local.set $2
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $6
|
|
block $break|0
|
|
loop $continue|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.7 (result i32)
|
|
local.get $6
|
|
local.set $7
|
|
local.get $2
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $7
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
local.get $2
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
i32.const -1
|
|
)
|
|
(func $~lib/array/Array<i32>#splice (; 42 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $1
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $3
|
|
local.get $1
|
|
i32.add
|
|
local.tee $4
|
|
i32.const 0
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $1
|
|
local.tee $4
|
|
local.get $3
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $1
|
|
local.get $2
|
|
local.tee $4
|
|
local.get $3
|
|
local.get $1
|
|
i32.sub
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
local.tee $4
|
|
i32.const 0
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.gt_s
|
|
select
|
|
local.set $2
|
|
local.get $0
|
|
i32.load
|
|
local.set $6
|
|
i32.const 0
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#constructor
|
|
local.set $7
|
|
local.get $6
|
|
i32.const 8
|
|
i32.add
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.set $8
|
|
block $~lib/memory/memory.copy|inlined.6
|
|
local.get $7
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
local.set $4
|
|
local.get $8
|
|
local.set $5
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $9
|
|
local.get $4
|
|
local.get $5
|
|
local.get $9
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
local.get $1
|
|
local.get $2
|
|
i32.add
|
|
local.set $10
|
|
local.get $3
|
|
local.get $10
|
|
i32.ne
|
|
if
|
|
local.get $8
|
|
local.set $9
|
|
local.get $6
|
|
i32.const 8
|
|
i32.add
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.set $5
|
|
local.get $3
|
|
local.get $10
|
|
i32.sub
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $4
|
|
local.get $9
|
|
local.get $5
|
|
local.get $4
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
local.get $0
|
|
local.get $3
|
|
local.get $2
|
|
i32.sub
|
|
i32.store offset=4
|
|
local.get $7
|
|
)
|
|
(func $~lib/array/Array<i32>#splice|trampoline (; 43 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
global.get $~lib/builtins/i32.MAX_VALUE
|
|
local.set $2
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#splice
|
|
)
|
|
(func $~lib/array/Array<i32>#__set (; 44 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
local.set $4
|
|
local.get $1
|
|
local.get $4
|
|
i32.ge_u
|
|
if
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.ge_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 107
|
|
i32.const 41
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
local.set $3
|
|
local.get $0
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.store offset=4
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.6
|
|
local.get $3
|
|
local.set $5
|
|
local.get $1
|
|
local.set $6
|
|
local.get $2
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
local.get $7
|
|
i32.store offset=8
|
|
end
|
|
)
|
|
(func $start:std/array~anonymous|1 (; 45 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.eq
|
|
)
|
|
(func $~lib/array/Array<i32>#findIndex (; 46 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
block $break|0
|
|
block
|
|
i32.const 0
|
|
local.set $2
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
local.tee $4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.9 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $6
|
|
local.get $2
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiii)
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
if
|
|
local.get $2
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const -1
|
|
)
|
|
(func $start:std/array~anonymous|2 (; 47 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 1
|
|
i32.eq
|
|
)
|
|
(func $start:std/array~anonymous|3 (; 48 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start:std/array~anonymous|4 (; 49 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
local.get $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start:std/array~anonymous|5 (; 50 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start:std/array~anonymous|6 (; 51 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start:std/array~anonymous|7 (; 52 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#every (; 53 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
block $break|0
|
|
block
|
|
i32.const 0
|
|
local.set $2
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
local.tee $4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.11 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $6
|
|
local.get $2
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiii)
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $start:std/array~anonymous|8 (; 54 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.le_s
|
|
)
|
|
(func $start:std/array~anonymous|9 (; 55 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
local.get $0
|
|
i32.const 10
|
|
i32.lt_s
|
|
)
|
|
(func $start:std/array~anonymous|10 (; 56 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 10
|
|
i32.lt_s
|
|
)
|
|
(func $start:std/array~anonymous|11 (; 57 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $0
|
|
i32.const 3
|
|
i32.lt_s
|
|
)
|
|
(func $start:std/array~anonymous|12 (; 58 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 3
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#some (; 59 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
block $break|0
|
|
block
|
|
i32.const 0
|
|
local.set $2
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
local.tee $4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.13 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $6
|
|
local.get $2
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiii)
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
)
|
|
(func $start:std/array~anonymous|13 (; 60 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const -1
|
|
i32.le_s
|
|
)
|
|
(func $start:std/array~anonymous|14 (; 61 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
local.get $0
|
|
i32.const 10
|
|
i32.gt_s
|
|
)
|
|
(func $start:std/array~anonymous|15 (; 62 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 10
|
|
i32.gt_s
|
|
)
|
|
(func $start:std/array~anonymous|16 (; 63 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $0
|
|
i32.const 3
|
|
i32.gt_s
|
|
)
|
|
(func $start:std/array~anonymous|17 (; 64 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
)
|
|
(func $~lib/array/Array<i32>#forEach (; 65 ;) (type $ii_) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
block $break|0
|
|
block
|
|
i32.const 0
|
|
local.set $2
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
local.tee $4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.14 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $4
|
|
local.get $2
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iii_)
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $start:std/array~anonymous|18 (; 66 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
)
|
|
(func $start:std/array~anonymous|19 (; 67 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
)
|
|
(func $start:std/array~anonymous|20 (; 68 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
)
|
|
(func $start:std/array~anonymous|21 (; 69 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
local.get $1
|
|
i32.const 0
|
|
i32.eq
|
|
if
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|0
|
|
local.get $3
|
|
i32.const 4
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $break|1
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|1
|
|
local.get $3
|
|
i32.const 100
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|1
|
|
local.get $2
|
|
i32.const 100
|
|
local.get $3
|
|
i32.add
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $break|2
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|2
|
|
local.get $3
|
|
i32.const 100
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|2
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|2
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $break|3
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|3
|
|
local.get $3
|
|
i32.const 100
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|3
|
|
local.get $2
|
|
local.get $3
|
|
i32.const 200
|
|
i32.add
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|3
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $1
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
local.get $0
|
|
i32.const 202
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 559
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
)
|
|
(func $start:std/array~anonymous|22 (; 70 ;) (type $iiif) (param $0 i32) (param $1 i32) (param $2 i32) (result f32)
|
|
local.get $0
|
|
f32.convert_i32_s
|
|
)
|
|
(func $~lib/array/Array<f32>#constructor (; 71 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.gt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 45
|
|
i32.const 39
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
local.set $3
|
|
block (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 8
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $0
|
|
end
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=4
|
|
block $~lib/memory/memory.fill|inlined.4
|
|
local.get $3
|
|
i32.const 8
|
|
i32.add
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<i32>#map<f32> (; 72 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 f32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
i32.const 0
|
|
local.get $2
|
|
call $~lib/array/Array<f32>#constructor
|
|
local.set $3
|
|
local.get $3
|
|
i32.load
|
|
local.set $4
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $5
|
|
loop $repeat|0
|
|
local.get $5
|
|
local.get $2
|
|
local.tee $6
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.0
|
|
local.get $4
|
|
local.set $6
|
|
local.get $5
|
|
local.set $7
|
|
block (result f32)
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.15 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $8
|
|
local.get $5
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $5
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiif)
|
|
end
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
local.get $11
|
|
f32.store offset=8
|
|
end
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<f32>#__get (; 73 ;) (type $iif) (param $0 i32) (param $1 i32) (result f32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f32)
|
|
local.get $2
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
f32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
)
|
|
(func $start:std/array~anonymous|23 (; 74 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<i32>#map<i32> (; 75 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
i32.const 0
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#constructor
|
|
local.set $3
|
|
local.get $3
|
|
i32.load
|
|
local.set $4
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $5
|
|
loop $repeat|0
|
|
local.get $5
|
|
local.get $2
|
|
local.tee $6
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.7
|
|
local.get $4
|
|
local.set $6
|
|
local.get $5
|
|
local.set $7
|
|
block (result i32)
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.16 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $8
|
|
local.get $5
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $5
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiii)
|
|
end
|
|
local.set $10
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $start:std/array~anonymous|24 (; 76 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $0
|
|
)
|
|
(func $start:std/array~anonymous|25 (; 77 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $0
|
|
)
|
|
(func $start:std/array~anonymous|26 (; 78 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#filter (; 79 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#constructor
|
|
local.set $2
|
|
block $break|0
|
|
block
|
|
i32.const 0
|
|
local.set $3
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $4
|
|
end
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $4
|
|
local.tee $5
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $6
|
|
local.get $5
|
|
local.get $6
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.17 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $3
|
|
local.set $6
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
block (result i32)
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
local.get $7
|
|
local.get $3
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiii)
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
if
|
|
local.get $2
|
|
local.get $7
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
end
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $start:std/array~anonymous|27 (; 80 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $start:std/array~anonymous|28 (; 81 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $start:std/array~anonymous|29 (; 82 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $start:std/array~anonymous|30 (; 83 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $~lib/array/Array<i32>#reduce<i32> (; 84 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $2
|
|
local.set $3
|
|
block $break|0
|
|
block
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $5
|
|
end
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $5
|
|
local.tee $6
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 4
|
|
global.set $~lib/argc
|
|
local.get $3
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.18 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $6
|
|
local.get $4
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $4
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiiii)
|
|
end
|
|
local.set $3
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $start:std/array~anonymous|31 (; 85 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $start:std/array~anonymous|32 (; 86 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
if (result i32)
|
|
local.get $0
|
|
else
|
|
local.get $1
|
|
i32.const 2
|
|
i32.gt_s
|
|
end
|
|
)
|
|
(func $~lib/array/Array<i32>#reduce<bool> (; 87 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $2
|
|
local.set $3
|
|
block $break|0
|
|
block
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $5
|
|
end
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $5
|
|
local.tee $6
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $7
|
|
local.get $6
|
|
local.get $7
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 4
|
|
global.set $~lib/argc
|
|
local.get $3
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.19 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $6
|
|
local.get $4
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $4
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiiii)
|
|
end
|
|
local.set $3
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $start:std/array~anonymous|33 (; 88 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
if (result i32)
|
|
local.get $0
|
|
else
|
|
local.get $1
|
|
i32.const 100
|
|
i32.gt_s
|
|
end
|
|
)
|
|
(func $start:std/array~anonymous|34 (; 89 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $3
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $start:std/array~anonymous|35 (; 90 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $start:std/array~anonymous|36 (; 91 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $3
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $start:std/array~anonymous|37 (; 92 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $~lib/array/Array<i32>#reduceRight<i32> (; 93 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
local.get $2
|
|
local.set $3
|
|
block $break|0
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 4
|
|
global.set $~lib/argc
|
|
local.get $3
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.20 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $4
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiiii)
|
|
end
|
|
local.set $3
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $start:std/array~anonymous|38 (; 94 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $start:std/array~anonymous|39 (; 95 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
if (result i32)
|
|
local.get $0
|
|
else
|
|
local.get $1
|
|
i32.const 2
|
|
i32.gt_s
|
|
end
|
|
)
|
|
(func $~lib/array/Array<i32>#reduceRight<bool> (; 96 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
local.get $2
|
|
local.set $3
|
|
block $break|0
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 4
|
|
global.set $~lib/argc
|
|
local.get $3
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.21 (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.get $4
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $iiiii)
|
|
end
|
|
local.set $3
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $start:std/array~anonymous|40 (; 97 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
if (result i32)
|
|
local.get $0
|
|
else
|
|
local.get $1
|
|
i32.const 100
|
|
i32.gt_s
|
|
end
|
|
)
|
|
(func $start:std/array~anonymous|41 (; 98 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $3
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $start:std/array~anonymous|42 (; 99 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $start:std/array~anonymous|43 (; 100 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $3
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $~lib/math/murmurHash3 (; 101 ;) (type $II) (param $0 i64) (result i64)
|
|
local.get $0
|
|
local.get $0
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
local.set $0
|
|
local.get $0
|
|
i64.const -49064778989728563
|
|
i64.mul
|
|
local.set $0
|
|
local.get $0
|
|
local.get $0
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
local.set $0
|
|
local.get $0
|
|
i64.const -4265267296055464877
|
|
i64.mul
|
|
local.set $0
|
|
local.get $0
|
|
local.get $0
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
local.set $0
|
|
local.get $0
|
|
)
|
|
(func $~lib/math/splitMix32 (; 102 ;) (type $ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 1831565813
|
|
i32.add
|
|
local.set $0
|
|
local.get $0
|
|
local.get $0
|
|
i32.const 15
|
|
i32.shr_u
|
|
i32.xor
|
|
local.get $0
|
|
i32.const 1
|
|
i32.or
|
|
i32.mul
|
|
local.set $0
|
|
local.get $0
|
|
local.get $0
|
|
local.get $0
|
|
local.get $0
|
|
i32.const 7
|
|
i32.shr_u
|
|
i32.xor
|
|
local.get $0
|
|
i32.const 61
|
|
i32.or
|
|
i32.mul
|
|
i32.add
|
|
i32.xor
|
|
local.set $0
|
|
local.get $0
|
|
local.get $0
|
|
i32.const 14
|
|
i32.shr_u
|
|
i32.xor
|
|
)
|
|
(func $~lib/math/NativeMath.seedRandom (; 103 ;) (type $I_) (param $0 i64)
|
|
local.get $0
|
|
i64.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 2896
|
|
i32.const 976
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
global.set $~lib/math/random_seeded
|
|
local.get $0
|
|
call $~lib/math/murmurHash3
|
|
global.set $~lib/math/random_state0_64
|
|
global.get $~lib/math/random_state0_64
|
|
i64.const -1
|
|
i64.xor
|
|
call $~lib/math/murmurHash3
|
|
global.set $~lib/math/random_state1_64
|
|
local.get $0
|
|
i32.wrap_i64
|
|
call $~lib/math/splitMix32
|
|
global.set $~lib/math/random_state0_32
|
|
global.get $~lib/math/random_state0_32
|
|
call $~lib/math/splitMix32
|
|
global.set $~lib/math/random_state1_32
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<f32> (; 104 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 f32)
|
|
(local $9 i32)
|
|
(local $10 f32)
|
|
(local $11 f32)
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.3 (result f32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
local.get $1
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $8
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $7
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $7
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.4 (result f32)
|
|
local.get $0
|
|
local.set $6
|
|
local.get $7
|
|
local.set $5
|
|
local.get $1
|
|
local.set $9
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $10
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $8
|
|
local.get $10
|
|
local.get $3
|
|
call_indirect (type $ffi)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.set $9
|
|
block (result i32)
|
|
local.get $7
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $7
|
|
local.get $5
|
|
end
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $10
|
|
local.set $11
|
|
local.get $1
|
|
local.set $6
|
|
local.get $9
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
local.get $11
|
|
f32.store offset=8
|
|
else
|
|
br $break|1
|
|
end
|
|
end
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.4
|
|
local.get $0
|
|
local.set $6
|
|
local.get $7
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $8
|
|
local.set $10
|
|
local.get $1
|
|
local.set $9
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $10
|
|
f32.store offset=8
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/internal/sort/weakHeapSort<f32> (; 105 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 f32)
|
|
(local $13 f32)
|
|
(local $14 f32)
|
|
(local $15 f32)
|
|
local.get $2
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $4
|
|
block $~lib/memory/memory.allocate|inlined.1 (result i32)
|
|
local.get $4
|
|
local.set $5
|
|
local.get $5
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
br $~lib/memory/memory.allocate|inlined.1
|
|
end
|
|
local.set $6
|
|
block $~lib/memory/memory.fill|inlined.5
|
|
local.get $6
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $4
|
|
local.set $8
|
|
local.get $5
|
|
local.get $7
|
|
local.get $8
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
block $break|0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
loop $repeat|0
|
|
local.get $8
|
|
i32.const 0
|
|
i32.gt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
local.get $8
|
|
local.set $7
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $7
|
|
i32.const 1
|
|
i32.and
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $7
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $5
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.5 (result f32)
|
|
local.get $0
|
|
local.set $9
|
|
local.get $5
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $12
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.6 (result f32)
|
|
local.get $0
|
|
local.set $11
|
|
local.get $8
|
|
local.set $10
|
|
local.get $1
|
|
local.set $9
|
|
local.get $11
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $13
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $12
|
|
local.get $13
|
|
local.get $3
|
|
call_indirect (type $ffi)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $6
|
|
local.get $8
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
local.get $8
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
i32.const 1
|
|
local.get $8
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.5
|
|
local.get $0
|
|
local.set $9
|
|
local.get $8
|
|
local.set $10
|
|
local.get $12
|
|
local.set $14
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $14
|
|
f32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.6
|
|
local.get $0
|
|
local.set $11
|
|
local.get $5
|
|
local.set $10
|
|
local.get $13
|
|
local.set $14
|
|
local.get $1
|
|
local.set $9
|
|
local.get $11
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $14
|
|
f32.store offset=8
|
|
end
|
|
end
|
|
end
|
|
local.get $8
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $break|2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
loop $repeat|2
|
|
local.get $8
|
|
i32.const 2
|
|
i32.ge_s
|
|
i32.eqz
|
|
br_if $break|2
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.7 (result f32)
|
|
local.get $0
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $1
|
|
local.set $9
|
|
local.get $5
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $13
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.7
|
|
local.get $0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $7
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.8 (result f32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $8
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $5
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $12
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $12
|
|
f32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.8
|
|
local.get $0
|
|
local.set $11
|
|
local.get $8
|
|
local.set $7
|
|
local.get $13
|
|
local.set $12
|
|
local.get $1
|
|
local.set $9
|
|
local.get $11
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $12
|
|
f32.store offset=8
|
|
end
|
|
i32.const 1
|
|
local.set $9
|
|
block $break|3
|
|
loop $continue|3
|
|
local.get $9
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $6
|
|
local.get $9
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $9
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.add
|
|
local.tee $7
|
|
local.get $8
|
|
i32.lt_s
|
|
if
|
|
local.get $7
|
|
local.set $9
|
|
br $continue|3
|
|
end
|
|
end
|
|
end
|
|
block $break|4
|
|
loop $continue|4
|
|
local.get $9
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.9 (result f32)
|
|
local.get $0
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $1
|
|
local.set $5
|
|
local.get $11
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $13
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.10 (result f32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $9
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $5
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $12
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $13
|
|
local.get $12
|
|
local.get $3
|
|
call_indirect (type $ffi)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $6
|
|
local.get $9
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
local.get $9
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
i32.const 1
|
|
local.get $9
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.9
|
|
local.get $0
|
|
local.set $11
|
|
local.get $9
|
|
local.set $10
|
|
local.get $13
|
|
local.set $14
|
|
local.get $1
|
|
local.set $5
|
|
local.get $11
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $14
|
|
f32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.10
|
|
local.get $0
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $12
|
|
local.set $14
|
|
local.get $1
|
|
local.set $11
|
|
local.get $5
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $14
|
|
f32.store offset=8
|
|
end
|
|
end
|
|
local.get $9
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $9
|
|
end
|
|
br $continue|4
|
|
end
|
|
end
|
|
end
|
|
end
|
|
local.get $8
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
br $repeat|2
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.1
|
|
local.get $6
|
|
local.set $8
|
|
local.get $8
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.1
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.11 (result f32)
|
|
local.get $0
|
|
local.set $8
|
|
i32.const 1
|
|
local.set $7
|
|
local.get $1
|
|
local.set $9
|
|
local.get $8
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $15
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.11
|
|
local.get $0
|
|
local.set $9
|
|
i32.const 1
|
|
local.set $7
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.12 (result f32)
|
|
local.get $0
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $1
|
|
local.set $10
|
|
local.get $8
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $13
|
|
local.get $1
|
|
local.set $10
|
|
local.get $9
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
local.get $13
|
|
f32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.12
|
|
local.get $0
|
|
local.set $10
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $15
|
|
local.set $13
|
|
local.get $1
|
|
local.set $9
|
|
local.get $10
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $13
|
|
f32.store offset=8
|
|
end
|
|
)
|
|
(func $~lib/array/Array<f32>#sort (; 106 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 f32)
|
|
(local $8 f32)
|
|
(local $9 f32)
|
|
(local $10 i32)
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 395
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.1 (result f32)
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $7
|
|
block $~lib/internal/arraybuffer/LOAD<f32,f32>|inlined.2 (result f32)
|
|
local.get $3
|
|
local.set $6
|
|
i32.const 0
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
f32.load offset=8
|
|
end
|
|
local.set $8
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $7
|
|
local.get $8
|
|
local.get $1
|
|
call_indirect (type $ffi)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.1
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
local.get $8
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
local.get $9
|
|
f32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f32,f32>|inlined.2
|
|
local.get $3
|
|
local.set $6
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $7
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
local.get $9
|
|
f32.store offset=8
|
|
end
|
|
end
|
|
local.get $0
|
|
return
|
|
end
|
|
block $~lib/internal/sort/SORT<f32>|inlined.0
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $1
|
|
local.set $10
|
|
local.get $6
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
local.get $10
|
|
call $~lib/internal/sort/insertionSort<f32>
|
|
else
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
local.get $10
|
|
call $~lib/internal/sort/weakHeapSort<f32>
|
|
end
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/internal/sort/COMPARATOR<f32>~anonymous|44 (; 107 ;) (type $ffi) (param $0 f32) (param $1 f32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i32.reinterpret_f32
|
|
local.set $2
|
|
local.get $1
|
|
i32.reinterpret_f32
|
|
local.set $3
|
|
local.get $2
|
|
local.get $2
|
|
i32.const 31
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.xor
|
|
local.set $2
|
|
local.get $3
|
|
local.get $3
|
|
i32.const 31
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.xor
|
|
local.set $3
|
|
local.get $2
|
|
local.get $3
|
|
i32.gt_s
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array<f32>#sort|trampoline (; 108 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/sort/COMPARATOR<f32>|inlined.0 (result i32)
|
|
i32.const 44
|
|
br $~lib/internal/sort/COMPARATOR<f32>|inlined.0
|
|
end
|
|
local.set $1
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<f32>#sort
|
|
)
|
|
(func $~lib/builtins/isNaN<f32> (; 109 ;) (type $fi) (param $0 f32) (result i32)
|
|
local.get $0
|
|
local.get $0
|
|
f32.ne
|
|
)
|
|
(func $std/array/isArraysEqual<f32> (; 110 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/array/Array<f32>#get:length|inlined.1 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $2
|
|
local.get $2
|
|
block $~lib/array/Array<f32>#get:length|inlined.3 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|0
|
|
block $continue|0
|
|
local.get $3
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/array/Array<f32>#__get
|
|
call $~lib/builtins/isNaN<f32>
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/array/Array<f32>#__get
|
|
call $~lib/builtins/isNaN<f32>
|
|
i32.eq
|
|
if
|
|
br $continue|0
|
|
end
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/array/Array<f32>#__get
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/array/Array<f32>#__get
|
|
f32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
end
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<f64> (; 111 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 f64)
|
|
(local $9 i32)
|
|
(local $10 f64)
|
|
(local $11 f64)
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.2 (result f64)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
local.get $1
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $8
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $7
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $7
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.3 (result f64)
|
|
local.get $0
|
|
local.set $6
|
|
local.get $7
|
|
local.set $5
|
|
local.get $1
|
|
local.set $9
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $10
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $8
|
|
local.get $10
|
|
local.get $3
|
|
call_indirect (type $FFi)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.set $9
|
|
block (result i32)
|
|
local.get $7
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $7
|
|
local.get $5
|
|
end
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $10
|
|
local.set $11
|
|
local.get $1
|
|
local.set $6
|
|
local.get $9
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
local.get $11
|
|
f64.store offset=8
|
|
else
|
|
br $break|1
|
|
end
|
|
end
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.3
|
|
local.get $0
|
|
local.set $6
|
|
local.get $7
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $8
|
|
local.set $10
|
|
local.get $1
|
|
local.set $9
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $10
|
|
f64.store offset=8
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/internal/sort/weakHeapSort<f64> (; 112 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 f64)
|
|
(local $13 f64)
|
|
(local $14 f64)
|
|
(local $15 f64)
|
|
local.get $2
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $4
|
|
block $~lib/memory/memory.allocate|inlined.2 (result i32)
|
|
local.get $4
|
|
local.set $5
|
|
local.get $5
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
br $~lib/memory/memory.allocate|inlined.2
|
|
end
|
|
local.set $6
|
|
block $~lib/memory/memory.fill|inlined.6
|
|
local.get $6
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $4
|
|
local.set $8
|
|
local.get $5
|
|
local.get $7
|
|
local.get $8
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
block $break|0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
loop $repeat|0
|
|
local.get $8
|
|
i32.const 0
|
|
i32.gt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
local.get $8
|
|
local.set $7
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $7
|
|
i32.const 1
|
|
i32.and
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $7
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $5
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.4 (result f64)
|
|
local.get $0
|
|
local.set $9
|
|
local.get $5
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $12
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.5 (result f64)
|
|
local.get $0
|
|
local.set $11
|
|
local.get $8
|
|
local.set $10
|
|
local.get $1
|
|
local.set $9
|
|
local.get $11
|
|
local.get $10
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $13
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $12
|
|
local.get $13
|
|
local.get $3
|
|
call_indirect (type $FFi)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $6
|
|
local.get $8
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
local.get $8
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
i32.const 1
|
|
local.get $8
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.4
|
|
local.get $0
|
|
local.set $9
|
|
local.get $8
|
|
local.set $10
|
|
local.get $12
|
|
local.set $14
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $14
|
|
f64.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.5
|
|
local.get $0
|
|
local.set $11
|
|
local.get $5
|
|
local.set $10
|
|
local.get $13
|
|
local.set $14
|
|
local.get $1
|
|
local.set $9
|
|
local.get $11
|
|
local.get $10
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $14
|
|
f64.store offset=8
|
|
end
|
|
end
|
|
end
|
|
local.get $8
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $break|2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
loop $repeat|2
|
|
local.get $8
|
|
i32.const 2
|
|
i32.ge_s
|
|
i32.eqz
|
|
br_if $break|2
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.6 (result f64)
|
|
local.get $0
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $1
|
|
local.set $9
|
|
local.get $5
|
|
local.get $7
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $13
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.6
|
|
local.get $0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $7
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.7 (result f64)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $8
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $5
|
|
local.get $10
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $12
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $7
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $12
|
|
f64.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.7
|
|
local.get $0
|
|
local.set $11
|
|
local.get $8
|
|
local.set $7
|
|
local.get $13
|
|
local.set $12
|
|
local.get $1
|
|
local.set $9
|
|
local.get $11
|
|
local.get $7
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $12
|
|
f64.store offset=8
|
|
end
|
|
i32.const 1
|
|
local.set $9
|
|
block $break|3
|
|
loop $continue|3
|
|
local.get $9
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $6
|
|
local.get $9
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $9
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.add
|
|
local.tee $7
|
|
local.get $8
|
|
i32.lt_s
|
|
if
|
|
local.get $7
|
|
local.set $9
|
|
br $continue|3
|
|
end
|
|
end
|
|
end
|
|
block $break|4
|
|
loop $continue|4
|
|
local.get $9
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.8 (result f64)
|
|
local.get $0
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $1
|
|
local.set $5
|
|
local.get $11
|
|
local.get $10
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $13
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.9 (result f64)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $9
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $5
|
|
local.get $10
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $12
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $13
|
|
local.get $12
|
|
local.get $3
|
|
call_indirect (type $FFi)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $6
|
|
local.get $9
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
local.get $9
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
i32.const 1
|
|
local.get $9
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.8
|
|
local.get $0
|
|
local.set $11
|
|
local.get $9
|
|
local.set $10
|
|
local.get $13
|
|
local.set $14
|
|
local.get $1
|
|
local.set $5
|
|
local.get $11
|
|
local.get $10
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $14
|
|
f64.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.9
|
|
local.get $0
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $12
|
|
local.set $14
|
|
local.get $1
|
|
local.set $11
|
|
local.get $5
|
|
local.get $10
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $14
|
|
f64.store offset=8
|
|
end
|
|
end
|
|
local.get $9
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $9
|
|
end
|
|
br $continue|4
|
|
end
|
|
end
|
|
end
|
|
end
|
|
local.get $8
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
br $repeat|2
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.2
|
|
local.get $6
|
|
local.set $8
|
|
local.get $8
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.2
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.10 (result f64)
|
|
local.get $0
|
|
local.set $8
|
|
i32.const 1
|
|
local.set $7
|
|
local.get $1
|
|
local.set $9
|
|
local.get $8
|
|
local.get $7
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $15
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.10
|
|
local.get $0
|
|
local.set $9
|
|
i32.const 1
|
|
local.set $7
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.11 (result f64)
|
|
local.get $0
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $1
|
|
local.set $10
|
|
local.get $8
|
|
local.get $11
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $13
|
|
local.get $1
|
|
local.set $10
|
|
local.get $9
|
|
local.get $7
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
local.get $13
|
|
f64.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.11
|
|
local.get $0
|
|
local.set $10
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $15
|
|
local.set $13
|
|
local.get $1
|
|
local.set $9
|
|
local.get $10
|
|
local.get $7
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $13
|
|
f64.store offset=8
|
|
end
|
|
)
|
|
(func $~lib/array/Array<f64>#sort (; 113 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 f64)
|
|
(local $8 f64)
|
|
(local $9 f64)
|
|
(local $10 i32)
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 395
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.0 (result f64)
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $7
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.1 (result f64)
|
|
local.get $3
|
|
local.set $6
|
|
i32.const 0
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $8
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $7
|
|
local.get $8
|
|
local.get $1
|
|
call_indirect (type $FFi)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.0
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
local.get $8
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
local.get $9
|
|
f64.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<f64,f64>|inlined.1
|
|
local.get $3
|
|
local.set $6
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $7
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $6
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
local.get $9
|
|
f64.store offset=8
|
|
end
|
|
end
|
|
local.get $0
|
|
return
|
|
end
|
|
block $~lib/internal/sort/SORT<f64>|inlined.0
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $1
|
|
local.set $10
|
|
local.get $6
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
local.get $10
|
|
call $~lib/internal/sort/insertionSort<f64>
|
|
else
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
local.get $10
|
|
call $~lib/internal/sort/weakHeapSort<f64>
|
|
end
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/internal/sort/COMPARATOR<f64>~anonymous|45 (; 114 ;) (type $FFi) (param $0 f64) (param $1 f64) (result i32)
|
|
(local $2 i64)
|
|
(local $3 i64)
|
|
local.get $0
|
|
i64.reinterpret_f64
|
|
local.set $2
|
|
local.get $1
|
|
i64.reinterpret_f64
|
|
local.set $3
|
|
local.get $2
|
|
local.get $2
|
|
i64.const 63
|
|
i64.shr_s
|
|
i64.const 1
|
|
i64.shr_u
|
|
i64.xor
|
|
local.set $2
|
|
local.get $3
|
|
local.get $3
|
|
i64.const 63
|
|
i64.shr_s
|
|
i64.const 1
|
|
i64.shr_u
|
|
i64.xor
|
|
local.set $3
|
|
local.get $2
|
|
local.get $3
|
|
i64.gt_s
|
|
local.get $2
|
|
local.get $3
|
|
i64.lt_s
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array<f64>#sort|trampoline (; 115 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/sort/COMPARATOR<f64>|inlined.0 (result i32)
|
|
i32.const 45
|
|
br $~lib/internal/sort/COMPARATOR<f64>|inlined.0
|
|
end
|
|
local.set $1
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<f64>#sort
|
|
)
|
|
(func $~lib/array/Array<f64>#__get (; 116 ;) (type $iiF) (param $0 i32) (param $1 i32) (result f64)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.load
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f64)
|
|
local.get $2
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
f64.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/builtins/isNaN<f64> (; 117 ;) (type $Fi) (param $0 f64) (result i32)
|
|
local.get $0
|
|
local.get $0
|
|
f64.ne
|
|
)
|
|
(func $std/array/isArraysEqual<f64> (; 118 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/array/Array<f64>#get:length|inlined.0 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $2
|
|
local.get $2
|
|
block $~lib/array/Array<f64>#get:length|inlined.2 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|0
|
|
block $continue|0
|
|
local.get $3
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/array/Array<f64>#__get
|
|
call $~lib/builtins/isNaN<f64>
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/array/Array<f64>#__get
|
|
call $~lib/builtins/isNaN<f64>
|
|
i32.eq
|
|
if
|
|
br $continue|0
|
|
end
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/array/Array<f64>#__get
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/array/Array<f64>#__get
|
|
f64.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
end
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<i32> (; 119 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.24 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
local.get $1
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.25 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $6
|
|
local.set $8
|
|
local.get $1
|
|
local.set $9
|
|
local.get $5
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $9
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $7
|
|
local.get $9
|
|
local.get $3
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.set $8
|
|
block (result i32)
|
|
local.get $6
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
local.get $5
|
|
end
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $9
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $8
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
else
|
|
br $break|1
|
|
end
|
|
end
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.11
|
|
local.get $0
|
|
local.set $9
|
|
local.get $6
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
local.get $7
|
|
local.set $10
|
|
local.get $1
|
|
local.set $5
|
|
local.get $9
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/internal/sort/weakHeapSort<i32> (; 120 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
(local $15 i32)
|
|
local.get $2
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $4
|
|
block $~lib/memory/memory.allocate|inlined.3 (result i32)
|
|
local.get $4
|
|
local.set $5
|
|
local.get $5
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
br $~lib/memory/memory.allocate|inlined.3
|
|
end
|
|
local.set $6
|
|
block $~lib/memory/memory.fill|inlined.7
|
|
local.get $6
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $4
|
|
local.set $8
|
|
local.get $5
|
|
local.get $7
|
|
local.get $8
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
block $break|0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
loop $repeat|0
|
|
local.get $8
|
|
i32.const 0
|
|
i32.gt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
local.get $8
|
|
local.set $7
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $7
|
|
i32.const 1
|
|
i32.and
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $7
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $5
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.26 (result i32)
|
|
local.get $0
|
|
local.set $9
|
|
local.get $5
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $11
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.27 (result i32)
|
|
local.get $0
|
|
local.set $10
|
|
local.get $8
|
|
local.set $9
|
|
local.get $1
|
|
local.set $12
|
|
local.get $10
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $12
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $12
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $11
|
|
local.get $12
|
|
local.get $3
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $6
|
|
local.get $8
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
local.get $8
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
i32.const 1
|
|
local.get $8
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.12
|
|
local.get $0
|
|
local.set $9
|
|
local.get $8
|
|
local.set $10
|
|
local.get $11
|
|
local.set $13
|
|
local.get $1
|
|
local.set $14
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
local.get $13
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.13
|
|
local.get $0
|
|
local.set $14
|
|
local.get $5
|
|
local.set $13
|
|
local.get $12
|
|
local.set $10
|
|
local.get $1
|
|
local.set $9
|
|
local.get $14
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
end
|
|
local.get $8
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $break|2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
loop $repeat|2
|
|
local.get $8
|
|
i32.const 2
|
|
i32.ge_s
|
|
i32.eqz
|
|
br_if $break|2
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.28 (result i32)
|
|
local.get $0
|
|
local.set $12
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $1
|
|
local.set $5
|
|
local.get $12
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $5
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.14
|
|
local.get $0
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $12
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.29 (result i32)
|
|
local.get $0
|
|
local.set $7
|
|
local.get $8
|
|
local.set $9
|
|
local.get $1
|
|
local.set $10
|
|
local.get $7
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $10
|
|
local.get $1
|
|
local.set $9
|
|
local.get $11
|
|
local.get $12
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.15
|
|
local.get $0
|
|
local.set $9
|
|
local.get $8
|
|
local.set $10
|
|
local.get $5
|
|
local.set $12
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $12
|
|
i32.store offset=8
|
|
end
|
|
i32.const 1
|
|
local.set $11
|
|
block $break|3
|
|
loop $continue|3
|
|
local.get $11
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $6
|
|
local.get $11
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $11
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.add
|
|
local.tee $12
|
|
local.get $8
|
|
i32.lt_s
|
|
if
|
|
local.get $12
|
|
local.set $11
|
|
br $continue|3
|
|
end
|
|
end
|
|
end
|
|
block $break|4
|
|
loop $continue|4
|
|
local.get $11
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.30 (result i32)
|
|
local.get $0
|
|
local.set $10
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $1
|
|
local.set $7
|
|
local.get $10
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $5
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.31 (result i32)
|
|
local.get $0
|
|
local.set $7
|
|
local.get $11
|
|
local.set $9
|
|
local.get $1
|
|
local.set $10
|
|
local.get $7
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $10
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $5
|
|
local.get $10
|
|
local.get $3
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $6
|
|
local.get $11
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
local.get $11
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
i32.const 1
|
|
local.get $11
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.16
|
|
local.get $0
|
|
local.set $9
|
|
local.get $11
|
|
local.set $7
|
|
local.get $5
|
|
local.set $13
|
|
local.get $1
|
|
local.set $14
|
|
local.get $9
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
local.get $13
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.17
|
|
local.get $0
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $10
|
|
local.set $7
|
|
local.get $1
|
|
local.set $9
|
|
local.get $14
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $7
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $11
|
|
end
|
|
br $continue|4
|
|
end
|
|
end
|
|
end
|
|
end
|
|
local.get $8
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
br $repeat|2
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.3
|
|
local.get $6
|
|
local.set $8
|
|
local.get $8
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.3
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.32 (result i32)
|
|
local.get $0
|
|
local.set $8
|
|
i32.const 1
|
|
local.set $12
|
|
local.get $1
|
|
local.set $11
|
|
local.get $8
|
|
local.get $12
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $15
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.18
|
|
local.get $0
|
|
local.set $11
|
|
i32.const 1
|
|
local.set $12
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.33 (result i32)
|
|
local.get $0
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $1
|
|
local.set $10
|
|
local.get $8
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $10
|
|
local.get $1
|
|
local.set $5
|
|
local.get $11
|
|
local.get $12
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.19
|
|
local.get $0
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $15
|
|
local.set $12
|
|
local.get $1
|
|
local.set $11
|
|
local.get $5
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $12
|
|
i32.store offset=8
|
|
end
|
|
)
|
|
(func $~lib/array/Array<i32>#sort (; 121 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 395
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.22 (result i32)
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $6
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.23 (result i32)
|
|
local.get $3
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $5
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $6
|
|
local.get $7
|
|
local.get $1
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.8
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
local.get $7
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $8
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<i32,i32>|inlined.9
|
|
local.get $3
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $6
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $9
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
local.get $5
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $0
|
|
return
|
|
end
|
|
block $~lib/internal/sort/SORT<i32>|inlined.0
|
|
local.get $3
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $2
|
|
local.set $4
|
|
local.get $1
|
|
local.set $5
|
|
local.get $4
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
local.get $7
|
|
local.get $6
|
|
local.get $4
|
|
local.get $5
|
|
call $~lib/internal/sort/insertionSort<i32>
|
|
else
|
|
local.get $7
|
|
local.get $6
|
|
local.get $4
|
|
local.get $5
|
|
call $~lib/internal/sort/weakHeapSort<i32>
|
|
end
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/internal/sort/COMPARATOR<i32>~anonymous|46 (; 122 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array<i32>#sort|trampoline (; 123 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/sort/COMPARATOR<i32>|inlined.0 (result i32)
|
|
i32.const 46
|
|
br $~lib/internal/sort/COMPARATOR<i32>|inlined.0
|
|
end
|
|
local.set $1
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<i32>#sort
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<u32> (; 124 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.3 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
local.get $1
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.4 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $6
|
|
local.set $8
|
|
local.get $1
|
|
local.set $9
|
|
local.get $5
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $9
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $7
|
|
local.get $9
|
|
local.get $3
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.set $8
|
|
block (result i32)
|
|
local.get $6
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
local.get $5
|
|
end
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $9
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $8
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
else
|
|
br $break|1
|
|
end
|
|
end
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.4
|
|
local.get $0
|
|
local.set $9
|
|
local.get $6
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
local.get $7
|
|
local.set $10
|
|
local.get $1
|
|
local.set $5
|
|
local.get $9
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/internal/sort/weakHeapSort<u32> (; 125 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
(local $15 i32)
|
|
local.get $2
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $4
|
|
block $~lib/memory/memory.allocate|inlined.4 (result i32)
|
|
local.get $4
|
|
local.set $5
|
|
local.get $5
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
br $~lib/memory/memory.allocate|inlined.4
|
|
end
|
|
local.set $6
|
|
block $~lib/memory/memory.fill|inlined.8
|
|
local.get $6
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $4
|
|
local.set $8
|
|
local.get $5
|
|
local.get $7
|
|
local.get $8
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
block $break|0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
loop $repeat|0
|
|
local.get $8
|
|
i32.const 0
|
|
i32.gt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
local.get $8
|
|
local.set $7
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $7
|
|
i32.const 1
|
|
i32.and
|
|
local.get $6
|
|
local.get $7
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $7
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $5
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.5 (result i32)
|
|
local.get $0
|
|
local.set $9
|
|
local.get $5
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $11
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.6 (result i32)
|
|
local.get $0
|
|
local.set $10
|
|
local.get $8
|
|
local.set $9
|
|
local.get $1
|
|
local.set $12
|
|
local.get $10
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $12
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $12
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $11
|
|
local.get $12
|
|
local.get $3
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $6
|
|
local.get $8
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
local.get $8
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
i32.const 1
|
|
local.get $8
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.5
|
|
local.get $0
|
|
local.set $9
|
|
local.get $8
|
|
local.set $10
|
|
local.get $11
|
|
local.set $13
|
|
local.get $1
|
|
local.set $14
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
local.get $13
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.6
|
|
local.get $0
|
|
local.set $14
|
|
local.get $5
|
|
local.set $13
|
|
local.get $12
|
|
local.set $10
|
|
local.get $1
|
|
local.set $9
|
|
local.get $14
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
end
|
|
local.get $8
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $break|2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
loop $repeat|2
|
|
local.get $8
|
|
i32.const 2
|
|
i32.ge_s
|
|
i32.eqz
|
|
br_if $break|2
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.7 (result i32)
|
|
local.get $0
|
|
local.set $12
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $1
|
|
local.set $5
|
|
local.get $12
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $5
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.7
|
|
local.get $0
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $12
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.8 (result i32)
|
|
local.get $0
|
|
local.set $7
|
|
local.get $8
|
|
local.set $9
|
|
local.get $1
|
|
local.set $10
|
|
local.get $7
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $10
|
|
local.get $1
|
|
local.set $9
|
|
local.get $11
|
|
local.get $12
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.8
|
|
local.get $0
|
|
local.set $9
|
|
local.get $8
|
|
local.set $10
|
|
local.get $5
|
|
local.set $12
|
|
local.get $1
|
|
local.set $11
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $12
|
|
i32.store offset=8
|
|
end
|
|
i32.const 1
|
|
local.set $11
|
|
block $break|3
|
|
loop $continue|3
|
|
local.get $11
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $6
|
|
local.get $11
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $11
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.add
|
|
local.tee $12
|
|
local.get $8
|
|
i32.lt_s
|
|
if
|
|
local.get $12
|
|
local.set $11
|
|
br $continue|3
|
|
end
|
|
end
|
|
end
|
|
block $break|4
|
|
loop $continue|4
|
|
local.get $11
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.9 (result i32)
|
|
local.get $0
|
|
local.set $10
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $1
|
|
local.set $7
|
|
local.get $10
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $5
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.10 (result i32)
|
|
local.get $0
|
|
local.set $7
|
|
local.get $11
|
|
local.set $9
|
|
local.get $1
|
|
local.set $10
|
|
local.get $7
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $10
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $5
|
|
local.get $10
|
|
local.get $3
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $6
|
|
local.get $11
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
local.get $11
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
i32.const 1
|
|
local.get $11
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.9
|
|
local.get $0
|
|
local.set $9
|
|
local.get $11
|
|
local.set $7
|
|
local.get $5
|
|
local.set $13
|
|
local.get $1
|
|
local.set $14
|
|
local.get $9
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
local.get $13
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.10
|
|
local.get $0
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $10
|
|
local.set $7
|
|
local.get $1
|
|
local.set $9
|
|
local.get $14
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $7
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $11
|
|
end
|
|
br $continue|4
|
|
end
|
|
end
|
|
end
|
|
end
|
|
local.get $8
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $8
|
|
br $repeat|2
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.4
|
|
local.get $6
|
|
local.set $8
|
|
local.get $8
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.4
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.11 (result i32)
|
|
local.get $0
|
|
local.set $8
|
|
i32.const 1
|
|
local.set $12
|
|
local.get $1
|
|
local.set $11
|
|
local.get $8
|
|
local.get $12
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $15
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.11
|
|
local.get $0
|
|
local.set $11
|
|
i32.const 1
|
|
local.set $12
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.12 (result i32)
|
|
local.get $0
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $1
|
|
local.set $10
|
|
local.get $8
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $10
|
|
local.get $1
|
|
local.set $5
|
|
local.get $11
|
|
local.get $12
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.12
|
|
local.get $0
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $15
|
|
local.set $12
|
|
local.get $1
|
|
local.set $11
|
|
local.get $5
|
|
local.get $10
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $12
|
|
i32.store offset=8
|
|
end
|
|
)
|
|
(func $~lib/array/Array<u32>#sort (; 126 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 395
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.1 (result i32)
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $6
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.2 (result i32)
|
|
local.get $3
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $5
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $6
|
|
local.get $7
|
|
local.get $1
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.1
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
local.get $7
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $8
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<u32,u32>|inlined.2
|
|
local.get $3
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $6
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $9
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
local.get $5
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $0
|
|
return
|
|
end
|
|
block $~lib/internal/sort/SORT<u32>|inlined.0
|
|
local.get $3
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $2
|
|
local.set $4
|
|
local.get $1
|
|
local.set $5
|
|
local.get $4
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
local.get $7
|
|
local.get $6
|
|
local.get $4
|
|
local.get $5
|
|
call $~lib/internal/sort/insertionSort<u32>
|
|
else
|
|
local.get $7
|
|
local.get $6
|
|
local.get $4
|
|
local.get $5
|
|
call $~lib/internal/sort/weakHeapSort<u32>
|
|
end
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/internal/sort/COMPARATOR<u32>~anonymous|47 (; 127 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.gt_u
|
|
local.get $0
|
|
local.get $1
|
|
i32.lt_u
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array<u32>#sort|trampoline (; 128 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/sort/COMPARATOR<u32>|inlined.0 (result i32)
|
|
i32.const 47
|
|
br $~lib/internal/sort/COMPARATOR<u32>|inlined.0
|
|
end
|
|
local.set $1
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<u32>#sort
|
|
)
|
|
(func $std/array/createReverseOrderedArray (; 129 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
i32.const 0
|
|
local.get $0
|
|
call $~lib/array/Array<i32>#constructor
|
|
local.set $1
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $2
|
|
loop $repeat|0
|
|
local.get $2
|
|
block $~lib/array/Array<i32>#get:length|inlined.43 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $1
|
|
local.get $2
|
|
block $~lib/array/Array<i32>#get:length|inlined.44 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.const 1
|
|
i32.sub
|
|
local.get $2
|
|
i32.sub
|
|
call $~lib/array/Array<i32>#__set
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $~lib/math/NativeMath.random (; 130 ;) (type $F) (result f64)
|
|
(local $0 i64)
|
|
(local $1 i64)
|
|
(local $2 i64)
|
|
global.get $~lib/math/random_seeded
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 2896
|
|
i32.const 985
|
|
i32.const 24
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $~lib/math/random_state0_64
|
|
local.set $0
|
|
global.get $~lib/math/random_state1_64
|
|
local.set $1
|
|
local.get $1
|
|
global.set $~lib/math/random_state0_64
|
|
local.get $0
|
|
local.get $0
|
|
i64.const 23
|
|
i64.shl
|
|
i64.xor
|
|
local.set $0
|
|
local.get $0
|
|
local.get $0
|
|
i64.const 17
|
|
i64.shr_u
|
|
i64.xor
|
|
local.set $0
|
|
local.get $0
|
|
local.get $1
|
|
i64.xor
|
|
local.set $0
|
|
local.get $0
|
|
local.get $1
|
|
i64.const 26
|
|
i64.shr_u
|
|
i64.xor
|
|
local.set $0
|
|
local.get $0
|
|
global.set $~lib/math/random_state1_64
|
|
local.get $1
|
|
local.get $0
|
|
i64.add
|
|
i64.const 4503599627370495
|
|
i64.and
|
|
i64.const 4607182418800017408
|
|
i64.or
|
|
local.set $2
|
|
local.get $2
|
|
f64.reinterpret_i64
|
|
f64.const 1
|
|
f64.sub
|
|
)
|
|
(func $std/array/createRandomOrderedArray (; 131 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
i32.const 0
|
|
local.get $0
|
|
call $~lib/array/Array<i32>#constructor
|
|
local.set $1
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $2
|
|
loop $repeat|0
|
|
local.get $2
|
|
block $~lib/array/Array<i32>#get:length|inlined.46 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/math/NativeMath.random
|
|
block $~lib/array/Array<i32>#get:length|inlined.47 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
f64.convert_i32_s
|
|
f64.mul
|
|
i32.trunc_f64_s
|
|
call $~lib/array/Array<i32>#__set
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $~lib/internal/sort/COMPARATOR<i32>~anonymous|48 (; 132 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.sub
|
|
)
|
|
(func $std/array/isSorted<i32> (; 133 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
block $break|0
|
|
block
|
|
i32.const 1
|
|
local.set $2
|
|
block $~lib/array/Array<i32>#get:length|inlined.48 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $3
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
call $~lib/array/Array<i32>#__get
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#__get
|
|
local.get $1
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $std/array/assertSorted<i32> (; 134 ;) (type $ii_) (param $0 i32) (param $1 i32)
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<i32>#sort
|
|
local.get $1
|
|
call $std/array/isSorted<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 810
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $std/array/assertSortedDefault<i32> (; 135 ;) (type $i_) (param $0 i32)
|
|
local.get $0
|
|
block $~lib/internal/sort/COMPARATOR<i32>|inlined.1 (result i32)
|
|
i32.const 48
|
|
br $~lib/internal/sort/COMPARATOR<i32>|inlined.1
|
|
end
|
|
call $std/array/assertSorted<i32>
|
|
)
|
|
(func $start:std/array~anonymous|49 (; 136 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.sub
|
|
)
|
|
(func $start:std/array~anonymous|50 (; 137 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
local.get $0
|
|
i32.sub
|
|
)
|
|
(func $start:std/array~anonymous|51 (; 138 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.sub
|
|
)
|
|
(func $start:std/array~anonymous|52 (; 139 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
local.get $0
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array<Array<i32>>#constructor (; 140 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.gt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 45
|
|
i32.const 39
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
local.set $3
|
|
block (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 8
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $0
|
|
end
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=4
|
|
block $~lib/memory/memory.fill|inlined.9
|
|
local.get $3
|
|
i32.const 8
|
|
i32.add
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<Array<i32>>#__set (; 141 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
local.set $4
|
|
local.get $1
|
|
local.get $4
|
|
i32.ge_u
|
|
if
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.ge_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 107
|
|
i32.const 41
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
local.set $3
|
|
local.get $0
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.store offset=4
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<Array<i32>,Array<i32>>|inlined.0
|
|
local.get $3
|
|
local.set $5
|
|
local.get $1
|
|
local.set $6
|
|
local.get $2
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
local.get $7
|
|
i32.store offset=8
|
|
end
|
|
)
|
|
(func $~lib/array/Array<Array<i32>>#__get (; 142 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $2
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
)
|
|
(func $std/array/createReverseOrderedNestedArray (; 143 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
i32.const 0
|
|
local.get $0
|
|
call $~lib/array/Array<Array<i32>>#constructor
|
|
local.set $1
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $2
|
|
loop $repeat|0
|
|
local.get $2
|
|
block $~lib/array/Array<Array<i32>>#get:length|inlined.1 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
local.get $1
|
|
local.get $2
|
|
i32.const 0
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#constructor
|
|
call $~lib/array/Array<Array<i32>>#__set
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<Array<i32>>#__get
|
|
i32.const 0
|
|
block $~lib/array/Array<Array<i32>>#get:length|inlined.2 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.const 1
|
|
i32.sub
|
|
local.get $2
|
|
i32.sub
|
|
call $~lib/array/Array<i32>#__set
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $start:std/array~anonymous|53 (; 144 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
local.get $1
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.sub
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<Array<i32>> (; 145 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<Array<i32>,Array<i32>>|inlined.3 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
local.get $1
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<Array<i32>,Array<i32>>|inlined.4 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $6
|
|
local.set $8
|
|
local.get $1
|
|
local.set $9
|
|
local.get $5
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $9
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $7
|
|
local.get $9
|
|
local.get $3
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.set $8
|
|
block (result i32)
|
|
local.get $6
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
local.get $5
|
|
end
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $9
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $8
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
else
|
|
br $break|1
|
|
end
|
|
end
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<Array<i32>,Array<i32>>|inlined.4
|
|
local.get $0
|
|
local.set $9
|
|
local.get $6
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
local.get $7
|
|
local.set $10
|
|
local.get $1
|
|
local.set $5
|
|
local.get $9
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/array/Array<Array<i32>>#sort (; 146 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 395
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<Array<i32>,Array<i32>>|inlined.1 (result i32)
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $6
|
|
block $~lib/internal/arraybuffer/LOAD<Array<i32>,Array<i32>>|inlined.2 (result i32)
|
|
local.get $3
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $5
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $6
|
|
local.get $7
|
|
local.get $1
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
block $~lib/internal/arraybuffer/STORE<Array<i32>,Array<i32>>|inlined.1
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
local.get $7
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $8
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<Array<i32>,Array<i32>>|inlined.2
|
|
local.get $3
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $6
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $9
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
local.get $5
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $0
|
|
return
|
|
end
|
|
block $~lib/internal/sort/SORT<Array<i32>>|inlined.0
|
|
local.get $3
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $2
|
|
local.set $4
|
|
local.get $1
|
|
local.set $5
|
|
local.get $7
|
|
local.get $6
|
|
local.get $4
|
|
local.get $5
|
|
call $~lib/internal/sort/insertionSort<Array<i32>>
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $std/array/isSorted<Array<i32>> (; 147 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
block $break|0
|
|
block
|
|
i32.const 1
|
|
local.set $2
|
|
block $~lib/array/Array<Array<i32>>#get:length|inlined.3 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $3
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
call $~lib/array/Array<Array<i32>>#__get
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<Array<i32>>#__get
|
|
local.get $1
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $std/array/assertSorted<Array<i32>> (; 148 ;) (type $ii_) (param $0 i32) (param $1 i32)
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<Array<i32>>#sort
|
|
local.get $1
|
|
call $std/array/isSorted<Array<i32>>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 810
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/array/Array<Proxy<i32>>#constructor (; 149 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.gt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 45
|
|
i32.const 39
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
local.set $3
|
|
block (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 8
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $0
|
|
end
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=4
|
|
block $~lib/memory/memory.fill|inlined.10
|
|
local.get $3
|
|
i32.const 8
|
|
i32.add
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $std/array/Proxy<i32>#constructor (; 150 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 4
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.store
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<Proxy<i32>>#__set (; 151 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
local.set $4
|
|
local.get $1
|
|
local.get $4
|
|
i32.ge_u
|
|
if
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.ge_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 107
|
|
i32.const 41
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
local.set $3
|
|
local.get $0
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.store offset=4
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<Proxy<i32>,Proxy<i32>>|inlined.0
|
|
local.get $3
|
|
local.set $5
|
|
local.get $1
|
|
local.set $6
|
|
local.get $2
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
local.get $7
|
|
i32.store offset=8
|
|
end
|
|
)
|
|
(func $std/array/createReverseOrderedElementsArray (; 152 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
i32.const 0
|
|
local.get $0
|
|
call $~lib/array/Array<Proxy<i32>>#constructor
|
|
local.set $1
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $2
|
|
loop $repeat|0
|
|
local.get $2
|
|
block $~lib/array/Array<Proxy<i32>>#get:length|inlined.1 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $1
|
|
local.get $2
|
|
i32.const 0
|
|
block $~lib/array/Array<Proxy<i32>>#get:length|inlined.2 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.const 1
|
|
i32.sub
|
|
local.get $2
|
|
i32.sub
|
|
call $std/array/Proxy<i32>#constructor
|
|
call $~lib/array/Array<Proxy<i32>>#__set
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $start:std/array~anonymous|54 (; 153 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
i32.load
|
|
local.get $1
|
|
i32.load
|
|
i32.sub
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<Proxy<i32>> (; 154 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<Proxy<i32>,Proxy<i32>>|inlined.2 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
local.get $1
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<Proxy<i32>,Proxy<i32>>|inlined.3 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $6
|
|
local.set $8
|
|
local.get $1
|
|
local.set $9
|
|
local.get $5
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $9
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $7
|
|
local.get $9
|
|
local.get $3
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.set $8
|
|
block (result i32)
|
|
local.get $6
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
local.get $5
|
|
end
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $9
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $8
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
else
|
|
br $break|1
|
|
end
|
|
end
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<Proxy<i32>,Proxy<i32>>|inlined.4
|
|
local.get $0
|
|
local.set $9
|
|
local.get $6
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
local.get $7
|
|
local.set $10
|
|
local.get $1
|
|
local.set $5
|
|
local.get $9
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/array/Array<Proxy<i32>>#sort (; 155 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 395
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<Proxy<i32>,Proxy<i32>>|inlined.0 (result i32)
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $6
|
|
block $~lib/internal/arraybuffer/LOAD<Proxy<i32>,Proxy<i32>>|inlined.1 (result i32)
|
|
local.get $3
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $5
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $6
|
|
local.get $7
|
|
local.get $1
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
block $~lib/internal/arraybuffer/STORE<Proxy<i32>,Proxy<i32>>|inlined.1
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
local.get $7
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $8
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<Proxy<i32>,Proxy<i32>>|inlined.2
|
|
local.get $3
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $6
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $9
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
local.get $5
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $0
|
|
return
|
|
end
|
|
block $~lib/internal/sort/SORT<Proxy<i32>>|inlined.0
|
|
local.get $3
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $2
|
|
local.set $4
|
|
local.get $1
|
|
local.set $5
|
|
local.get $7
|
|
local.get $6
|
|
local.get $4
|
|
local.get $5
|
|
call $~lib/internal/sort/insertionSort<Proxy<i32>>
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<Proxy<i32>>#__get (; 156 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $2
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
)
|
|
(func $std/array/isSorted<Proxy<i32>> (; 157 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
block $break|0
|
|
block
|
|
i32.const 1
|
|
local.set $2
|
|
block $~lib/array/Array<Proxy<i32>>#get:length|inlined.3 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $3
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
call $~lib/array/Array<Proxy<i32>>#__get
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<Proxy<i32>>#__get
|
|
local.get $1
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $std/array/assertSorted<Proxy<i32>> (; 158 ;) (type $ii_) (param $0 i32) (param $1 i32)
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<Proxy<i32>>#sort
|
|
local.get $1
|
|
call $std/array/isSorted<Proxy<i32>>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 810
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<String> (; 159 ;) (type $iiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<String,String>|inlined.2 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
local.get $1
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
block $break|1
|
|
loop $continue|1
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<String,String>|inlined.3 (result i32)
|
|
local.get $0
|
|
local.set $5
|
|
local.get $6
|
|
local.set $8
|
|
local.get $1
|
|
local.set $9
|
|
local.get $5
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $9
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $7
|
|
local.get $9
|
|
local.get $3
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.set $8
|
|
block (result i32)
|
|
local.get $6
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $6
|
|
local.get $5
|
|
end
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
local.get $9
|
|
local.set $10
|
|
local.get $1
|
|
local.set $11
|
|
local.get $8
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
else
|
|
br $break|1
|
|
end
|
|
end
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<String,String>|inlined.3
|
|
local.get $0
|
|
local.set $9
|
|
local.get $6
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
local.get $7
|
|
local.set $10
|
|
local.get $1
|
|
local.set $5
|
|
local.get $9
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
local.get $10
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/array/Array<String>#sort (; 160 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 395
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<String,String>|inlined.0 (result i32)
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $6
|
|
block $~lib/internal/arraybuffer/LOAD<String,String>|inlined.1 (result i32)
|
|
local.get $3
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $5
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $6
|
|
local.get $7
|
|
local.get $1
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
block $~lib/internal/arraybuffer/STORE<String,String>|inlined.0
|
|
local.get $3
|
|
local.set $4
|
|
i32.const 1
|
|
local.set $5
|
|
local.get $7
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $9
|
|
i32.add
|
|
local.get $8
|
|
i32.store offset=8
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<String,String>|inlined.1
|
|
local.get $3
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $6
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $4
|
|
local.get $9
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $4
|
|
i32.add
|
|
local.get $5
|
|
i32.store offset=8
|
|
end
|
|
end
|
|
local.get $0
|
|
return
|
|
end
|
|
block $~lib/internal/sort/SORT<String>|inlined.0
|
|
local.get $3
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $2
|
|
local.set $4
|
|
local.get $1
|
|
local.set $5
|
|
local.get $7
|
|
local.get $6
|
|
local.get $4
|
|
local.get $5
|
|
call $~lib/internal/sort/insertionSort<String>
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<String>#__get (; 161 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $2
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $5
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
)
|
|
(func $std/array/isSorted<String> (; 162 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
block $break|0
|
|
block
|
|
i32.const 1
|
|
local.set $2
|
|
block $~lib/array/Array<String>#get:length|inlined.0 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $3
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
call $~lib/array/Array<String>#__get
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<String>#__get
|
|
local.get $1
|
|
call_indirect (type $iii)
|
|
end
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $std/array/assertSorted<String> (; 163 ;) (type $ii_) (param $0 i32) (param $1 i32)
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<String>#sort
|
|
local.get $1
|
|
call $std/array/isSorted<String>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 810
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/internal/string/compareUnsafe (; 164 ;) (type $iiiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (result i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $6
|
|
local.get $2
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $7
|
|
block $break|0
|
|
loop $continue|0
|
|
local.get $4
|
|
if (result i32)
|
|
local.get $6
|
|
i32.load16_u offset=4
|
|
local.get $7
|
|
i32.load16_u offset=4
|
|
i32.sub
|
|
local.tee $5
|
|
i32.eqz
|
|
else
|
|
local.get $4
|
|
end
|
|
if
|
|
block
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
local.get $6
|
|
i32.const 2
|
|
i32.add
|
|
local.set $6
|
|
local.get $7
|
|
i32.const 2
|
|
i32.add
|
|
local.set $7
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
local.get $5
|
|
)
|
|
(func $~lib/internal/sort/COMPARATOR<String>~anonymous|55 (; 165 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
local.tee $2
|
|
if (result i32)
|
|
local.get $2
|
|
else
|
|
local.get $0
|
|
i32.const 0
|
|
i32.eq
|
|
end
|
|
local.tee $2
|
|
if (result i32)
|
|
local.get $2
|
|
else
|
|
local.get $1
|
|
i32.const 0
|
|
i32.eq
|
|
end
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $1
|
|
i32.load
|
|
local.set $4
|
|
local.get $3
|
|
i32.eqz
|
|
local.tee $2
|
|
if (result i32)
|
|
local.get $4
|
|
i32.eqz
|
|
else
|
|
local.get $2
|
|
end
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $3
|
|
i32.eqz
|
|
if
|
|
i32.const -1
|
|
return
|
|
end
|
|
local.get $4
|
|
i32.eqz
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $3
|
|
local.tee $2
|
|
local.get $4
|
|
local.tee $5
|
|
local.get $2
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
call $~lib/internal/string/compareUnsafe
|
|
)
|
|
(func $std/array/assertSorted<String>|trampoline (; 166 ;) (type $ii_) (param $0 i32) (param $1 i32)
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/sort/COMPARATOR<String>|inlined.0 (result i32)
|
|
i32.const 55
|
|
br $~lib/internal/sort/COMPARATOR<String>|inlined.0
|
|
end
|
|
local.set $1
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $std/array/assertSorted<String>
|
|
)
|
|
(func $~lib/string/String.__eq (; 167 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.eq
|
|
local.tee $2
|
|
if (result i32)
|
|
local.get $2
|
|
else
|
|
local.get $1
|
|
i32.const 0
|
|
i32.eq
|
|
end
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $3
|
|
local.get $1
|
|
i32.load
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $3
|
|
call $~lib/internal/string/compareUnsafe
|
|
i32.eqz
|
|
)
|
|
(func $~lib/string/String.__ne (; 168 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
)
|
|
(func $std/array/isArraysEqual<String> (; 169 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/array/Array<String>#get:length|inlined.1 (result i32)
|
|
local.get $0
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
local.set $2
|
|
local.get $2
|
|
block $~lib/array/Array<String>#get:length|inlined.3 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/array/Array<String>#__get
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/array/Array<String>#__get
|
|
call $~lib/string/String.__ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/array/Array<String>#constructor (; 170 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.gt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 45
|
|
i32.const 39
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
local.set $3
|
|
block (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 8
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $0
|
|
end
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=4
|
|
block $~lib/memory/memory.fill|inlined.11
|
|
local.get $3
|
|
i32.const 8
|
|
i32.add
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/internal/string/allocateUnsafe (; 171 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.gt_s
|
|
local.tee $1
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 536870910
|
|
i32.le_s
|
|
else
|
|
local.get $1
|
|
end
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 14
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.allocate|inlined.5 (result i32)
|
|
i32.const 4
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $1
|
|
local.get $1
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
br $~lib/memory/memory.allocate|inlined.5
|
|
end
|
|
local.set $2
|
|
local.get $2
|
|
local.get $0
|
|
i32.store
|
|
local.get $2
|
|
)
|
|
(func $~lib/string/String#charAt (; 172 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4056
|
|
i32.const 58
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
local.get $0
|
|
i32.load
|
|
i32.ge_u
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 1
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $2
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.load16_u offset=4
|
|
i32.store16 offset=4
|
|
local.get $2
|
|
)
|
|
(func $~lib/internal/string/copyUnsafe (; 173 ;) (type $iiiii_) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.const 4
|
|
i32.add
|
|
local.set $5
|
|
local.get $2
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.const 4
|
|
i32.add
|
|
local.set $6
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
local.get $7
|
|
call $~lib/internal/memory/memmove
|
|
)
|
|
(func $~lib/string/String#concat (; 174 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4056
|
|
i32.const 110
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 0
|
|
i32.eq
|
|
if
|
|
i32.const 4144
|
|
local.set $1
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $2
|
|
local.get $1
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
local.get $3
|
|
i32.add
|
|
local.set $4
|
|
local.get $4
|
|
i32.const 0
|
|
i32.eq
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
local.get $4
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $5
|
|
local.get $5
|
|
i32.const 0
|
|
local.get $0
|
|
i32.const 0
|
|
local.get $2
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $5
|
|
local.get $2
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $3
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $5
|
|
)
|
|
(func $~lib/string/String.__concat (; 175 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 4144
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/string/String#concat
|
|
)
|
|
(func $std/array/createRandomString (; 176 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 f64)
|
|
i32.const 3904
|
|
local.set $1
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $2
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $0
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $1
|
|
global.get $std/array/charset
|
|
block $~lib/math/NativeMath.floor|inlined.0 (result f64)
|
|
call $~lib/math/NativeMath.random
|
|
global.get $std/array/charset
|
|
i32.load
|
|
f64.convert_i32_s
|
|
f64.mul
|
|
local.set $3
|
|
local.get $3
|
|
f64.floor
|
|
end
|
|
i32.trunc_f64_s
|
|
call $~lib/string/String#charAt
|
|
call $~lib/string/String.__concat
|
|
local.set $1
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<String>#__set (; 177 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
local.set $4
|
|
local.get $1
|
|
local.get $4
|
|
i32.ge_u
|
|
if
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.ge_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 107
|
|
i32.const 41
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
local.set $3
|
|
local.get $0
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.store offset=4
|
|
end
|
|
block $~lib/internal/arraybuffer/STORE<String,String>|inlined.4
|
|
local.get $3
|
|
local.set $5
|
|
local.get $1
|
|
local.set $6
|
|
local.get $2
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $5
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
local.get $7
|
|
i32.store offset=8
|
|
end
|
|
)
|
|
(func $std/array/createRandomStringArray (; 178 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
i32.const 0
|
|
local.get $0
|
|
call $~lib/array/Array<String>#constructor
|
|
local.set $1
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $2
|
|
loop $repeat|0
|
|
local.get $2
|
|
block $~lib/array/Array<String>#get:length|inlined.5 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $3
|
|
i32.load offset=4
|
|
end
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/math/NativeMath.random
|
|
f64.const 32
|
|
f64.mul
|
|
i32.trunc_f64_s
|
|
call $std/array/createRandomString
|
|
call $~lib/array/Array<String>#__set
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $~lib/string/String#substring (; 179 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4056
|
|
i32.const 249
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $1
|
|
local.tee $4
|
|
i32.const 0
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.gt_s
|
|
select
|
|
local.tee $4
|
|
local.get $3
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
local.set $6
|
|
local.get $2
|
|
local.tee $4
|
|
i32.const 0
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.gt_s
|
|
select
|
|
local.tee $4
|
|
local.get $3
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
local.set $7
|
|
local.get $6
|
|
local.tee $4
|
|
local.get $7
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
local.set $8
|
|
local.get $6
|
|
local.tee $4
|
|
local.get $7
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.gt_s
|
|
select
|
|
local.set $9
|
|
local.get $9
|
|
local.get $8
|
|
i32.sub
|
|
local.set $3
|
|
local.get $3
|
|
i32.eqz
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
local.get $8
|
|
i32.eqz
|
|
local.tee $4
|
|
if (result i32)
|
|
local.get $9
|
|
local.get $0
|
|
i32.load
|
|
i32.eq
|
|
else
|
|
local.get $4
|
|
end
|
|
if
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $3
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $10
|
|
local.get $10
|
|
i32.const 0
|
|
local.get $0
|
|
local.get $8
|
|
local.get $3
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $10
|
|
)
|
|
(func $~lib/array/Array<bool>#join (; 180 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
(local $15 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
i32.const 4184
|
|
i32.const 4200
|
|
block $~lib/internal/arraybuffer/LOAD<bool,bool>|inlined.0 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
select
|
|
return
|
|
end
|
|
i32.const 5
|
|
local.set $10
|
|
local.get $10
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
local.get $10
|
|
i32.add
|
|
local.set $9
|
|
local.get $9
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $11
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $12
|
|
loop $repeat|0
|
|
local.get $12
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<bool,bool>|inlined.1 (result i32)
|
|
local.get $5
|
|
local.set $13
|
|
local.get $12
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $15
|
|
local.get $13
|
|
local.get $14
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $15
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
end
|
|
local.set $4
|
|
i32.const 4
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ne
|
|
i32.eqz
|
|
i32.add
|
|
local.set $10
|
|
local.get $8
|
|
local.get $11
|
|
i32.const 4184
|
|
i32.const 4200
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ne
|
|
select
|
|
i32.const 0
|
|
local.get $10
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $11
|
|
local.get $10
|
|
i32.add
|
|
local.set $11
|
|
local.get $7
|
|
if
|
|
local.get $8
|
|
local.get $11
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $11
|
|
local.get $6
|
|
i32.add
|
|
local.set $11
|
|
end
|
|
end
|
|
local.get $12
|
|
i32.const 1
|
|
i32.add
|
|
local.set $12
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<bool,bool>|inlined.2 (result i32)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $2
|
|
local.set $15
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $15
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
end
|
|
local.set $4
|
|
i32.const 4
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ne
|
|
i32.eqz
|
|
i32.add
|
|
local.set $10
|
|
local.get $8
|
|
local.get $11
|
|
i32.const 4184
|
|
i32.const 4200
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ne
|
|
select
|
|
i32.const 0
|
|
local.get $10
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $11
|
|
local.get $10
|
|
i32.add
|
|
local.set $11
|
|
local.get $8
|
|
local.set $14
|
|
local.get $9
|
|
local.get $11
|
|
i32.gt_s
|
|
if
|
|
local.get $8
|
|
i32.const 0
|
|
local.get $11
|
|
call $~lib/string/String#substring
|
|
local.set $14
|
|
block $~lib/internal/string/freeUnsafe|inlined.0
|
|
local.get $8
|
|
local.set $15
|
|
local.get $15
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.5
|
|
local.get $15
|
|
local.set $12
|
|
local.get $12
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.5
|
|
end
|
|
end
|
|
end
|
|
local.get $14
|
|
return
|
|
)
|
|
(func $~lib/internal/number/decimalCount32 (; 181 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
local.get $0
|
|
i32.const 100000
|
|
i32.lt_u
|
|
if
|
|
local.get $0
|
|
i32.const 100
|
|
i32.lt_u
|
|
if
|
|
i32.const 1
|
|
i32.const 2
|
|
local.get $0
|
|
i32.const 10
|
|
i32.lt_u
|
|
select
|
|
return
|
|
else
|
|
i32.const 4
|
|
i32.const 5
|
|
local.get $0
|
|
i32.const 10000
|
|
i32.lt_u
|
|
select
|
|
local.set $1
|
|
i32.const 3
|
|
local.get $1
|
|
local.get $0
|
|
i32.const 1000
|
|
i32.lt_u
|
|
select
|
|
return
|
|
end
|
|
unreachable
|
|
unreachable
|
|
else
|
|
local.get $0
|
|
i32.const 10000000
|
|
i32.lt_u
|
|
if
|
|
i32.const 6
|
|
i32.const 7
|
|
local.get $0
|
|
i32.const 1000000
|
|
i32.lt_u
|
|
select
|
|
return
|
|
else
|
|
i32.const 9
|
|
i32.const 10
|
|
local.get $0
|
|
i32.const 1000000000
|
|
i32.lt_u
|
|
select
|
|
local.set $1
|
|
i32.const 8
|
|
local.get $1
|
|
local.get $0
|
|
i32.const 100000000
|
|
i32.lt_u
|
|
select
|
|
return
|
|
end
|
|
unreachable
|
|
unreachable
|
|
end
|
|
unreachable
|
|
unreachable
|
|
)
|
|
(func $~lib/internal/number/utoa32_lut (; 182 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i64)
|
|
(local $12 i64)
|
|
block $~lib/internal/number/DIGITS|inlined.0 (result i32)
|
|
i32.const 4832
|
|
end
|
|
i32.load
|
|
local.set $3
|
|
block $break|0
|
|
loop $continue|0
|
|
local.get $1
|
|
i32.const 10000
|
|
i32.ge_u
|
|
if
|
|
block
|
|
local.get $1
|
|
i32.const 10000
|
|
i32.div_u
|
|
local.set $4
|
|
local.get $1
|
|
i32.const 10000
|
|
i32.rem_u
|
|
local.set $5
|
|
local.get $4
|
|
local.set $1
|
|
local.get $5
|
|
i32.const 100
|
|
i32.div_u
|
|
local.set $6
|
|
local.get $5
|
|
i32.const 100
|
|
i32.rem_u
|
|
local.set $7
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u64>|inlined.0 (result i64)
|
|
local.get $3
|
|
local.set $8
|
|
local.get $6
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
end
|
|
local.set $11
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u64>|inlined.1 (result i64)
|
|
local.get $3
|
|
local.set $10
|
|
local.get $7
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $10
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
end
|
|
local.set $12
|
|
local.get $2
|
|
i32.const 4
|
|
i32.sub
|
|
local.set $2
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
local.get $12
|
|
i64.const 32
|
|
i64.shl
|
|
i64.or
|
|
i64.store offset=4
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
local.get $1
|
|
i32.const 100
|
|
i32.ge_u
|
|
if
|
|
local.get $1
|
|
i32.const 100
|
|
i32.div_u
|
|
local.set $7
|
|
local.get $1
|
|
i32.const 100
|
|
i32.rem_u
|
|
local.set $6
|
|
local.get $7
|
|
local.set $1
|
|
local.get $2
|
|
i32.const 2
|
|
i32.sub
|
|
local.set $2
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.13 (result i32)
|
|
local.get $3
|
|
local.set $5
|
|
local.get $6
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $5
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $8
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.store offset=4
|
|
end
|
|
local.get $1
|
|
i32.const 10
|
|
i32.ge_u
|
|
if
|
|
local.get $2
|
|
i32.const 2
|
|
i32.sub
|
|
local.set $2
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.14 (result i32)
|
|
local.get $3
|
|
local.set $8
|
|
local.get $1
|
|
local.set $6
|
|
i32.const 0
|
|
local.set $7
|
|
local.get $8
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $7
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.store offset=4
|
|
else
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
i32.const 48
|
|
local.get $1
|
|
i32.add
|
|
local.set $7
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $7
|
|
i32.store16 offset=4
|
|
end
|
|
)
|
|
(func $~lib/internal/number/itoa32 (; 183 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 4312
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.set $1
|
|
local.get $1
|
|
if
|
|
i32.const 0
|
|
local.get $0
|
|
i32.sub
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
call $~lib/internal/number/decimalCount32
|
|
local.get $1
|
|
i32.add
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $3
|
|
block $~lib/internal/number/utoa32_core|inlined.0
|
|
local.get $3
|
|
local.set $4
|
|
local.get $0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
local.get $1
|
|
if
|
|
local.get $3
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/internal/number/itoa<i32> (; 184 ;) (type $ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
call $~lib/internal/number/itoa32
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<i32> (; 185 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
i32.const 0
|
|
local.get $2
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
local.get $2
|
|
call $~lib/internal/number/decimalCount32
|
|
local.get $4
|
|
i32.add
|
|
local.set $3
|
|
block $~lib/internal/number/utoa32_core|inlined.1
|
|
local.get $0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $3
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
local.get $7
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<i32>#join (; 186 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.34 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
call $~lib/internal/number/itoa<i32>
|
|
return
|
|
end
|
|
i32.const 11
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 11
|
|
i32.add
|
|
local.set $10
|
|
local.get $10
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $11
|
|
loop $repeat|0
|
|
local.get $11
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.35 (result i32)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<i32>
|
|
i32.add
|
|
local.set $8
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $8
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $6
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<i32,i32>|inlined.36 (result i32)
|
|
local.get $5
|
|
local.set $11
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $11
|
|
local.get $14
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<i32>
|
|
i32.add
|
|
local.set $8
|
|
local.get $9
|
|
local.set $13
|
|
local.get $10
|
|
local.get $8
|
|
i32.gt_s
|
|
if
|
|
local.get $9
|
|
i32.const 0
|
|
local.get $8
|
|
call $~lib/string/String#substring
|
|
local.set $13
|
|
block $~lib/internal/string/freeUnsafe|inlined.1
|
|
local.get $9
|
|
local.set $14
|
|
local.get $14
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.6
|
|
local.get $14
|
|
local.set $11
|
|
local.get $11
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.6
|
|
end
|
|
end
|
|
end
|
|
local.get $13
|
|
return
|
|
)
|
|
(func $~lib/internal/number/utoa32 (; 187 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 4312
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/internal/number/decimalCount32
|
|
local.set $1
|
|
local.get $1
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $2
|
|
block $~lib/internal/number/utoa32_core|inlined.2
|
|
local.get $2
|
|
local.set $3
|
|
local.get $0
|
|
local.set $4
|
|
local.get $1
|
|
local.set $5
|
|
local.get $3
|
|
local.get $4
|
|
local.get $5
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $~lib/internal/number/itoa<u32> (; 188 ;) (type $ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
call $~lib/internal/number/utoa32
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<u32> (; 189 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
local.get $2
|
|
call $~lib/internal/number/decimalCount32
|
|
local.set $3
|
|
block $~lib/internal/number/utoa32_core|inlined.3
|
|
local.get $0
|
|
local.set $4
|
|
local.get $2
|
|
local.set $5
|
|
local.get $3
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<u32>#join (; 190 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.15 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
call $~lib/internal/number/itoa<u32>
|
|
return
|
|
end
|
|
i32.const 10
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 10
|
|
i32.add
|
|
local.set $10
|
|
local.get $10
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $11
|
|
loop $repeat|0
|
|
local.get $11
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.16 (result i32)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<u32>
|
|
i32.add
|
|
local.set $8
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $8
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $6
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u32>|inlined.17 (result i32)
|
|
local.get $5
|
|
local.set $11
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $11
|
|
local.get $14
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<u32>
|
|
i32.add
|
|
local.set $8
|
|
local.get $9
|
|
local.set $13
|
|
local.get $10
|
|
local.get $8
|
|
i32.gt_s
|
|
if
|
|
local.get $9
|
|
i32.const 0
|
|
local.get $8
|
|
call $~lib/string/String#substring
|
|
local.set $13
|
|
block $~lib/internal/string/freeUnsafe|inlined.2
|
|
local.get $9
|
|
local.set $14
|
|
local.get $14
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.7
|
|
local.get $14
|
|
local.set $11
|
|
local.get $11
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.7
|
|
end
|
|
end
|
|
end
|
|
local.get $13
|
|
return
|
|
)
|
|
(func $~lib/builtins/isFinite<f64> (; 191 ;) (type $Fi) (param $0 f64) (result i32)
|
|
local.get $0
|
|
local.get $0
|
|
f64.sub
|
|
f64.const 0
|
|
f64.eq
|
|
)
|
|
(func $~lib/internal/number/genDigits (; 192 ;) (type $iIiIiIii) (param $0 i32) (param $1 i64) (param $2 i32) (param $3 i64) (param $4 i32) (param $5 i64) (param $6 i32) (result i32)
|
|
(local $7 i32)
|
|
(local $8 i64)
|
|
(local $9 i64)
|
|
(local $10 i64)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i64)
|
|
(local $14 i32)
|
|
(local $15 i32)
|
|
(local $16 i32)
|
|
(local $17 i32)
|
|
(local $18 i32)
|
|
(local $19 i64)
|
|
(local $20 i32)
|
|
(local $21 i64)
|
|
(local $22 i64)
|
|
(local $23 i32)
|
|
(local $24 i32)
|
|
(local $25 i32)
|
|
(local $26 i64)
|
|
(local $27 i64)
|
|
i32.const 0
|
|
local.get $4
|
|
i32.sub
|
|
local.set $7
|
|
i64.const 1
|
|
local.get $7
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
local.set $8
|
|
local.get $8
|
|
i64.const 1
|
|
i64.sub
|
|
local.set $9
|
|
local.get $3
|
|
local.get $1
|
|
i64.sub
|
|
local.set $10
|
|
local.get $4
|
|
local.set $11
|
|
local.get $3
|
|
local.get $7
|
|
i64.extend_i32_s
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.set $12
|
|
local.get $3
|
|
local.get $9
|
|
i64.and
|
|
local.set $13
|
|
local.get $12
|
|
call $~lib/internal/number/decimalCount32
|
|
local.set $14
|
|
local.get $6
|
|
local.set $15
|
|
block $~lib/internal/number/POWERS10|inlined.0 (result i32)
|
|
i32.const 6616
|
|
end
|
|
i32.load
|
|
local.set $16
|
|
block $break|0
|
|
loop $continue|0
|
|
local.get $14
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
block
|
|
block $break|1
|
|
block $case10|1
|
|
block $case9|1
|
|
block $case8|1
|
|
block $case7|1
|
|
block $case6|1
|
|
block $case5|1
|
|
block $case4|1
|
|
block $case3|1
|
|
block $case2|1
|
|
block $case1|1
|
|
block $case0|1
|
|
local.get $14
|
|
local.set $18
|
|
local.get $18
|
|
i32.const 10
|
|
i32.eq
|
|
br_if $case0|1
|
|
local.get $18
|
|
i32.const 9
|
|
i32.eq
|
|
br_if $case1|1
|
|
local.get $18
|
|
i32.const 8
|
|
i32.eq
|
|
br_if $case2|1
|
|
local.get $18
|
|
i32.const 7
|
|
i32.eq
|
|
br_if $case3|1
|
|
local.get $18
|
|
i32.const 6
|
|
i32.eq
|
|
br_if $case4|1
|
|
local.get $18
|
|
i32.const 5
|
|
i32.eq
|
|
br_if $case5|1
|
|
local.get $18
|
|
i32.const 4
|
|
i32.eq
|
|
br_if $case6|1
|
|
local.get $18
|
|
i32.const 3
|
|
i32.eq
|
|
br_if $case7|1
|
|
local.get $18
|
|
i32.const 2
|
|
i32.eq
|
|
br_if $case8|1
|
|
local.get $18
|
|
i32.const 1
|
|
i32.eq
|
|
br_if $case9|1
|
|
br $case10|1
|
|
end
|
|
block
|
|
local.get $12
|
|
i32.const 1000000000
|
|
i32.div_u
|
|
local.set $17
|
|
local.get $12
|
|
i32.const 1000000000
|
|
i32.rem_u
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $12
|
|
i32.const 100000000
|
|
i32.div_u
|
|
local.set $17
|
|
local.get $12
|
|
i32.const 100000000
|
|
i32.rem_u
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $12
|
|
i32.const 10000000
|
|
i32.div_u
|
|
local.set $17
|
|
local.get $12
|
|
i32.const 10000000
|
|
i32.rem_u
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $12
|
|
i32.const 1000000
|
|
i32.div_u
|
|
local.set $17
|
|
local.get $12
|
|
i32.const 1000000
|
|
i32.rem_u
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $12
|
|
i32.const 100000
|
|
i32.div_u
|
|
local.set $17
|
|
local.get $12
|
|
i32.const 100000
|
|
i32.rem_u
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $12
|
|
i32.const 10000
|
|
i32.div_u
|
|
local.set $17
|
|
local.get $12
|
|
i32.const 10000
|
|
i32.rem_u
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $12
|
|
i32.const 1000
|
|
i32.div_u
|
|
local.set $17
|
|
local.get $12
|
|
i32.const 1000
|
|
i32.rem_u
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $12
|
|
i32.const 100
|
|
i32.div_u
|
|
local.set $17
|
|
local.get $12
|
|
i32.const 100
|
|
i32.rem_u
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $12
|
|
i32.const 10
|
|
i32.div_u
|
|
local.set $17
|
|
local.get $12
|
|
i32.const 10
|
|
i32.rem_u
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
local.get $12
|
|
local.set $17
|
|
i32.const 0
|
|
local.set $12
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block
|
|
i32.const 0
|
|
local.set $17
|
|
br $break|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $17
|
|
local.get $15
|
|
i32.or
|
|
if
|
|
local.get $0
|
|
block (result i32)
|
|
local.get $15
|
|
local.tee $18
|
|
i32.const 1
|
|
i32.add
|
|
local.set $15
|
|
local.get $18
|
|
end
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.const 48
|
|
local.get $17
|
|
i32.const 65535
|
|
i32.and
|
|
i32.add
|
|
i32.store16 offset=4
|
|
end
|
|
local.get $14
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $14
|
|
local.get $12
|
|
i64.extend_i32_u
|
|
local.get $7
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
local.get $13
|
|
i64.add
|
|
local.set $19
|
|
local.get $19
|
|
local.get $5
|
|
i64.le_u
|
|
if
|
|
global.get $~lib/internal/number/_K
|
|
local.get $14
|
|
i32.add
|
|
global.set $~lib/internal/number/_K
|
|
block $~lib/internal/number/grisuRound|inlined.0
|
|
local.get $0
|
|
local.set $18
|
|
local.get $15
|
|
local.set $20
|
|
local.get $5
|
|
local.set $21
|
|
local.get $19
|
|
local.set $22
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u64>|inlined.2 (result i64)
|
|
local.get $16
|
|
local.set $23
|
|
local.get $14
|
|
local.set $24
|
|
i32.const 0
|
|
local.set $25
|
|
local.get $23
|
|
local.get $24
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $25
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
end
|
|
local.get $7
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
local.set $26
|
|
local.get $10
|
|
local.set $27
|
|
local.get $18
|
|
local.get $20
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $25
|
|
local.get $25
|
|
i32.load16_u offset=4
|
|
local.set $24
|
|
block $break|2
|
|
loop $continue|2
|
|
local.get $22
|
|
local.get $27
|
|
i64.lt_u
|
|
local.tee $23
|
|
if (result i32)
|
|
local.get $21
|
|
local.get $22
|
|
i64.sub
|
|
local.get $26
|
|
i64.ge_u
|
|
else
|
|
local.get $23
|
|
end
|
|
local.tee $23
|
|
if (result i32)
|
|
local.get $22
|
|
local.get $26
|
|
i64.add
|
|
local.get $27
|
|
i64.lt_u
|
|
local.tee $23
|
|
if (result i32)
|
|
local.get $23
|
|
else
|
|
local.get $27
|
|
local.get $22
|
|
i64.sub
|
|
local.get $22
|
|
local.get $26
|
|
i64.add
|
|
local.get $27
|
|
i64.sub
|
|
i64.gt_u
|
|
end
|
|
else
|
|
local.get $23
|
|
end
|
|
if
|
|
block
|
|
local.get $24
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $24
|
|
local.get $22
|
|
local.get $26
|
|
i64.add
|
|
local.set $22
|
|
end
|
|
br $continue|2
|
|
end
|
|
end
|
|
end
|
|
local.get $25
|
|
local.get $24
|
|
i32.store16 offset=4
|
|
end
|
|
local.get $15
|
|
return
|
|
end
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
block $break|3
|
|
loop $continue|3
|
|
i32.const 1
|
|
if
|
|
block
|
|
local.get $13
|
|
i64.const 10
|
|
i64.mul
|
|
local.set $13
|
|
local.get $5
|
|
i64.const 10
|
|
i64.mul
|
|
local.set $5
|
|
local.get $13
|
|
local.get $7
|
|
i64.extend_i32_s
|
|
i64.shr_u
|
|
local.set $19
|
|
local.get $19
|
|
local.get $15
|
|
i64.extend_i32_s
|
|
i64.or
|
|
i64.const 0
|
|
i64.ne
|
|
if
|
|
local.get $0
|
|
block (result i32)
|
|
local.get $15
|
|
local.tee $17
|
|
i32.const 1
|
|
i32.add
|
|
local.set $15
|
|
local.get $17
|
|
end
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.const 48
|
|
local.get $19
|
|
i32.wrap_i64
|
|
i32.const 65535
|
|
i32.and
|
|
i32.add
|
|
i32.store16 offset=4
|
|
end
|
|
local.get $13
|
|
local.get $9
|
|
i64.and
|
|
local.set $13
|
|
local.get $14
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $14
|
|
local.get $13
|
|
local.get $5
|
|
i64.lt_u
|
|
if
|
|
global.get $~lib/internal/number/_K
|
|
local.get $14
|
|
i32.add
|
|
global.set $~lib/internal/number/_K
|
|
local.get $10
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u64>|inlined.3 (result i64)
|
|
local.get $16
|
|
local.set $17
|
|
i32.const 0
|
|
local.get $14
|
|
i32.sub
|
|
local.set $24
|
|
i32.const 0
|
|
local.set $25
|
|
local.get $17
|
|
local.get $24
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $25
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
end
|
|
i64.mul
|
|
local.set $10
|
|
block $~lib/internal/number/grisuRound|inlined.1
|
|
local.get $0
|
|
local.set $25
|
|
local.get $15
|
|
local.set $24
|
|
local.get $5
|
|
local.set $27
|
|
local.get $13
|
|
local.set $26
|
|
local.get $8
|
|
local.set $22
|
|
local.get $10
|
|
local.set $21
|
|
local.get $25
|
|
local.get $24
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $17
|
|
local.get $17
|
|
i32.load16_u offset=4
|
|
local.set $20
|
|
block $break|4
|
|
loop $continue|4
|
|
local.get $26
|
|
local.get $21
|
|
i64.lt_u
|
|
local.tee $18
|
|
if (result i32)
|
|
local.get $27
|
|
local.get $26
|
|
i64.sub
|
|
local.get $22
|
|
i64.ge_u
|
|
else
|
|
local.get $18
|
|
end
|
|
local.tee $18
|
|
if (result i32)
|
|
local.get $26
|
|
local.get $22
|
|
i64.add
|
|
local.get $21
|
|
i64.lt_u
|
|
local.tee $18
|
|
if (result i32)
|
|
local.get $18
|
|
else
|
|
local.get $21
|
|
local.get $26
|
|
i64.sub
|
|
local.get $26
|
|
local.get $22
|
|
i64.add
|
|
local.get $21
|
|
i64.sub
|
|
i64.gt_u
|
|
end
|
|
else
|
|
local.get $18
|
|
end
|
|
if
|
|
block
|
|
local.get $20
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $20
|
|
local.get $26
|
|
local.get $22
|
|
i64.add
|
|
local.set $26
|
|
end
|
|
br $continue|4
|
|
end
|
|
end
|
|
end
|
|
local.get $17
|
|
local.get $20
|
|
i32.store16 offset=4
|
|
end
|
|
local.get $15
|
|
return
|
|
end
|
|
end
|
|
br $continue|3
|
|
end
|
|
end
|
|
end
|
|
local.get $15
|
|
)
|
|
(func $~lib/internal/number/prettify (; 193 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.const 46
|
|
i32.const 48
|
|
i32.const 16
|
|
i32.shl
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get $1
|
|
i32.const 2
|
|
i32.add
|
|
return
|
|
end
|
|
local.get $1
|
|
local.get $2
|
|
i32.add
|
|
local.set $3
|
|
local.get $1
|
|
local.get $3
|
|
i32.le_s
|
|
local.tee $4
|
|
if (result i32)
|
|
local.get $3
|
|
i32.const 21
|
|
i32.le_s
|
|
else
|
|
local.get $4
|
|
end
|
|
if
|
|
block $break|0
|
|
local.get $1
|
|
local.set $4
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $3
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $0
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.const 46
|
|
i32.const 48
|
|
i32.const 16
|
|
i32.shl
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get $3
|
|
i32.const 2
|
|
i32.add
|
|
return
|
|
else
|
|
local.get $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
local.tee $4
|
|
if (result i32)
|
|
local.get $3
|
|
i32.const 21
|
|
i32.le_s
|
|
else
|
|
local.get $4
|
|
end
|
|
if
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $4
|
|
block $~lib/memory/memory.copy|inlined.9
|
|
local.get $4
|
|
i32.const 4
|
|
i32.add
|
|
i32.const 2
|
|
i32.add
|
|
local.set $5
|
|
local.get $4
|
|
i32.const 4
|
|
i32.add
|
|
local.set $6
|
|
i32.const 0
|
|
local.get $2
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
local.get $7
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.const 46
|
|
i32.store16 offset=4
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
return
|
|
else
|
|
i32.const -6
|
|
local.get $3
|
|
i32.lt_s
|
|
local.tee $4
|
|
if (result i32)
|
|
local.get $3
|
|
i32.const 0
|
|
i32.le_s
|
|
else
|
|
local.get $4
|
|
end
|
|
if
|
|
i32.const 2
|
|
local.get $3
|
|
i32.sub
|
|
local.set $4
|
|
block $~lib/memory/memory.copy|inlined.10
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $7
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.set $6
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.set $5
|
|
local.get $7
|
|
local.get $6
|
|
local.get $5
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
local.get $0
|
|
i32.const 48
|
|
i32.const 46
|
|
i32.const 16
|
|
i32.shl
|
|
i32.or
|
|
i32.store offset=4
|
|
block $break|1
|
|
i32.const 2
|
|
local.set $5
|
|
loop $repeat|1
|
|
local.get $5
|
|
local.get $4
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|1
|
|
local.get $0
|
|
local.get $5
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
local.get $4
|
|
i32.add
|
|
return
|
|
else
|
|
local.get $1
|
|
i32.const 1
|
|
i32.eq
|
|
if
|
|
local.get $0
|
|
i32.const 101
|
|
i32.store16 offset=6
|
|
block $~lib/internal/number/genExponent|inlined.0 (result i32)
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.set $4
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $5
|
|
local.get $5
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.set $6
|
|
local.get $6
|
|
if
|
|
i32.const 0
|
|
local.get $5
|
|
i32.sub
|
|
local.set $5
|
|
end
|
|
local.get $5
|
|
call $~lib/internal/number/decimalCount32
|
|
i32.const 1
|
|
i32.add
|
|
local.set $7
|
|
block $~lib/internal/number/utoa32_core|inlined.4
|
|
local.get $4
|
|
local.set $8
|
|
local.get $5
|
|
local.set $9
|
|
local.get $7
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
local.get $10
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
local.get $4
|
|
i32.const 45
|
|
i32.const 43
|
|
local.get $6
|
|
select
|
|
i32.store16 offset=4
|
|
local.get $7
|
|
end
|
|
local.set $1
|
|
local.get $1
|
|
i32.const 2
|
|
i32.add
|
|
return
|
|
else
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.set $7
|
|
block $~lib/memory/memory.copy|inlined.11
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.const 4
|
|
i32.add
|
|
local.set $6
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.const 2
|
|
i32.add
|
|
local.set $5
|
|
local.get $7
|
|
i32.const 2
|
|
i32.sub
|
|
local.set $4
|
|
local.get $6
|
|
local.get $5
|
|
local.get $4
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
local.get $0
|
|
i32.const 46
|
|
i32.store16 offset=6
|
|
local.get $0
|
|
local.get $7
|
|
i32.add
|
|
i32.const 101
|
|
i32.store16 offset=6
|
|
local.get $1
|
|
block $~lib/internal/number/genExponent|inlined.1 (result i32)
|
|
local.get $0
|
|
local.get $7
|
|
i32.add
|
|
i32.const 4
|
|
i32.add
|
|
local.set $4
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $5
|
|
local.get $5
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.set $6
|
|
local.get $6
|
|
if
|
|
i32.const 0
|
|
local.get $5
|
|
i32.sub
|
|
local.set $5
|
|
end
|
|
local.get $5
|
|
call $~lib/internal/number/decimalCount32
|
|
i32.const 1
|
|
i32.add
|
|
local.set $10
|
|
block $~lib/internal/number/utoa32_core|inlined.5
|
|
local.get $4
|
|
local.set $9
|
|
local.get $5
|
|
local.set $8
|
|
local.get $10
|
|
local.set $11
|
|
local.get $9
|
|
local.get $8
|
|
local.get $11
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
local.get $4
|
|
i32.const 45
|
|
i32.const 43
|
|
local.get $6
|
|
select
|
|
i32.store16 offset=4
|
|
local.get $10
|
|
end
|
|
i32.add
|
|
local.set $1
|
|
local.get $1
|
|
i32.const 2
|
|
i32.add
|
|
return
|
|
end
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
unreachable
|
|
unreachable
|
|
)
|
|
(func $~lib/internal/number/dtoa_core (; 194 ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32)
|
|
(local $2 i32)
|
|
(local $3 f64)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i64)
|
|
(local $7 i32)
|
|
(local $8 i64)
|
|
(local $9 i64)
|
|
(local $10 i64)
|
|
(local $11 i32)
|
|
(local $12 i64)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
(local $15 i32)
|
|
(local $16 f64)
|
|
(local $17 i32)
|
|
(local $18 i32)
|
|
(local $19 i32)
|
|
(local $20 i32)
|
|
(local $21 i64)
|
|
(local $22 i64)
|
|
(local $23 i64)
|
|
(local $24 i64)
|
|
(local $25 i64)
|
|
(local $26 i64)
|
|
(local $27 i64)
|
|
(local $28 i64)
|
|
(local $29 i64)
|
|
(local $30 i64)
|
|
(local $31 i32)
|
|
local.get $1
|
|
f64.const 0
|
|
f64.lt
|
|
local.set $2
|
|
local.get $2
|
|
if
|
|
local.get $1
|
|
f64.neg
|
|
local.set $1
|
|
local.get $0
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
block $~lib/internal/number/grisu2|inlined.0 (result i32)
|
|
local.get $1
|
|
local.set $3
|
|
local.get $0
|
|
local.set $4
|
|
local.get $2
|
|
local.set $5
|
|
local.get $3
|
|
i64.reinterpret_f64
|
|
local.set $6
|
|
local.get $6
|
|
i64.const 9218868437227405312
|
|
i64.and
|
|
i64.const 52
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.set $7
|
|
local.get $6
|
|
i64.const 4503599627370495
|
|
i64.and
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 0
|
|
i32.ne
|
|
i64.extend_i32_u
|
|
i64.const 52
|
|
i64.shl
|
|
local.get $8
|
|
i64.add
|
|
local.set $9
|
|
local.get $7
|
|
i32.const 1
|
|
local.get $7
|
|
i32.const 0
|
|
i32.ne
|
|
select
|
|
i32.const 1023
|
|
i32.const 52
|
|
i32.add
|
|
i32.sub
|
|
local.set $7
|
|
block $~lib/internal/number/normalizedBoundaries|inlined.0
|
|
local.get $9
|
|
local.set $10
|
|
local.get $7
|
|
local.set $11
|
|
local.get $10
|
|
i64.const 1
|
|
i64.shl
|
|
i64.const 1
|
|
i64.add
|
|
local.set $12
|
|
local.get $11
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $13
|
|
local.get $12
|
|
i64.clz
|
|
i32.wrap_i64
|
|
local.set $14
|
|
local.get $12
|
|
local.get $14
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
local.set $12
|
|
local.get $13
|
|
local.get $14
|
|
i32.sub
|
|
local.set $13
|
|
i32.const 1
|
|
local.get $10
|
|
i64.const 4503599627370496
|
|
i64.eq
|
|
i32.add
|
|
local.set $15
|
|
local.get $12
|
|
global.set $~lib/internal/number/_frc_plus
|
|
local.get $10
|
|
local.get $15
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
i64.const 1
|
|
i64.sub
|
|
local.get $11
|
|
local.get $15
|
|
i32.sub
|
|
local.get $13
|
|
i32.sub
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
global.set $~lib/internal/number/_frc_minus
|
|
local.get $13
|
|
global.set $~lib/internal/number/_exp
|
|
end
|
|
block $~lib/internal/number/getCachedPower|inlined.0
|
|
global.get $~lib/internal/number/_exp
|
|
local.set $15
|
|
i32.const -61
|
|
local.get $15
|
|
i32.sub
|
|
f64.convert_i32_s
|
|
f64.const 0.30102999566398114
|
|
f64.mul
|
|
f64.const 347
|
|
f64.add
|
|
local.set $16
|
|
local.get $16
|
|
i32.trunc_f64_s
|
|
local.set $14
|
|
local.get $14
|
|
local.get $14
|
|
f64.convert_i32_s
|
|
local.get $16
|
|
f64.ne
|
|
i32.add
|
|
local.set $14
|
|
local.get $14
|
|
i32.const 3
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.add
|
|
local.set $13
|
|
i32.const 348
|
|
local.get $13
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
global.set $~lib/internal/number/_K
|
|
block $~lib/internal/number/FRC_POWERS|inlined.0 (result i32)
|
|
i32.const 6280
|
|
end
|
|
i32.load
|
|
local.set $11
|
|
block $~lib/internal/number/EXP_POWERS|inlined.0 (result i32)
|
|
i32.const 6544
|
|
end
|
|
i32.load
|
|
local.set $17
|
|
block $~lib/internal/arraybuffer/LOAD<u64,u64>|inlined.0 (result i64)
|
|
local.get $11
|
|
local.set $18
|
|
local.get $13
|
|
local.set $19
|
|
i32.const 0
|
|
local.set $20
|
|
local.get $18
|
|
local.get $19
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $20
|
|
i32.add
|
|
i64.load offset=8
|
|
end
|
|
global.set $~lib/internal/number/_frc_pow
|
|
block $~lib/internal/arraybuffer/LOAD<i16,i32>|inlined.0 (result i32)
|
|
local.get $17
|
|
local.set $20
|
|
local.get $13
|
|
local.set $19
|
|
i32.const 0
|
|
local.set $18
|
|
local.get $20
|
|
local.get $19
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $18
|
|
i32.add
|
|
i32.load16_s offset=8
|
|
end
|
|
global.set $~lib/internal/number/_exp_pow
|
|
end
|
|
local.get $9
|
|
i64.clz
|
|
i32.wrap_i64
|
|
local.set $17
|
|
local.get $9
|
|
local.get $17
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
local.set $9
|
|
local.get $7
|
|
local.get $17
|
|
i32.sub
|
|
local.set $7
|
|
global.get $~lib/internal/number/_frc_pow
|
|
local.set $12
|
|
global.get $~lib/internal/number/_exp_pow
|
|
local.set $11
|
|
block $~lib/internal/number/umul64f|inlined.0 (result i64)
|
|
local.get $9
|
|
local.set $10
|
|
local.get $12
|
|
local.set $21
|
|
local.get $10
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.set $22
|
|
local.get $21
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.set $23
|
|
local.get $10
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $24
|
|
local.get $21
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $25
|
|
local.get $22
|
|
local.get $23
|
|
i64.mul
|
|
local.set $26
|
|
local.get $24
|
|
local.get $23
|
|
i64.mul
|
|
local.get $26
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
local.set $27
|
|
local.get $22
|
|
local.get $25
|
|
i64.mul
|
|
local.get $27
|
|
i64.const 4294967295
|
|
i64.and
|
|
i64.add
|
|
local.set $28
|
|
local.get $28
|
|
i64.const 2147483647
|
|
i64.add
|
|
local.set $28
|
|
local.get $27
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $27
|
|
local.get $28
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $28
|
|
local.get $24
|
|
local.get $25
|
|
i64.mul
|
|
local.get $27
|
|
i64.add
|
|
local.get $28
|
|
i64.add
|
|
end
|
|
local.set $28
|
|
block $~lib/internal/number/umul64e|inlined.0 (result i32)
|
|
local.get $7
|
|
local.set $13
|
|
local.get $11
|
|
local.set $14
|
|
local.get $13
|
|
local.get $14
|
|
i32.add
|
|
i32.const 64
|
|
i32.add
|
|
end
|
|
local.set $14
|
|
block $~lib/internal/number/umul64f|inlined.1 (result i64)
|
|
global.get $~lib/internal/number/_frc_plus
|
|
local.set $27
|
|
local.get $12
|
|
local.set $26
|
|
local.get $27
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.set $25
|
|
local.get $26
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.set $24
|
|
local.get $27
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $23
|
|
local.get $26
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $22
|
|
local.get $25
|
|
local.get $24
|
|
i64.mul
|
|
local.set $21
|
|
local.get $23
|
|
local.get $24
|
|
i64.mul
|
|
local.get $21
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
local.set $10
|
|
local.get $25
|
|
local.get $22
|
|
i64.mul
|
|
local.get $10
|
|
i64.const 4294967295
|
|
i64.and
|
|
i64.add
|
|
local.set $29
|
|
local.get $29
|
|
i64.const 2147483647
|
|
i64.add
|
|
local.set $29
|
|
local.get $10
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $10
|
|
local.get $29
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $29
|
|
local.get $23
|
|
local.get $22
|
|
i64.mul
|
|
local.get $10
|
|
i64.add
|
|
local.get $29
|
|
i64.add
|
|
end
|
|
i64.const 1
|
|
i64.sub
|
|
local.set $29
|
|
block $~lib/internal/number/umul64e|inlined.1 (result i32)
|
|
global.get $~lib/internal/number/_exp
|
|
local.set $13
|
|
local.get $11
|
|
local.set $15
|
|
local.get $13
|
|
local.get $15
|
|
i32.add
|
|
i32.const 64
|
|
i32.add
|
|
end
|
|
local.set $15
|
|
block $~lib/internal/number/umul64f|inlined.2 (result i64)
|
|
global.get $~lib/internal/number/_frc_minus
|
|
local.set $10
|
|
local.get $12
|
|
local.set $21
|
|
local.get $10
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.set $22
|
|
local.get $21
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.set $23
|
|
local.get $10
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $24
|
|
local.get $21
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $25
|
|
local.get $22
|
|
local.get $23
|
|
i64.mul
|
|
local.set $26
|
|
local.get $24
|
|
local.get $23
|
|
i64.mul
|
|
local.get $26
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
local.set $27
|
|
local.get $22
|
|
local.get $25
|
|
i64.mul
|
|
local.get $27
|
|
i64.const 4294967295
|
|
i64.and
|
|
i64.add
|
|
local.set $30
|
|
local.get $30
|
|
i64.const 2147483647
|
|
i64.add
|
|
local.set $30
|
|
local.get $27
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $27
|
|
local.get $30
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.set $30
|
|
local.get $24
|
|
local.get $25
|
|
i64.mul
|
|
local.get $27
|
|
i64.add
|
|
local.get $30
|
|
i64.add
|
|
end
|
|
i64.const 1
|
|
i64.add
|
|
local.set $30
|
|
local.get $29
|
|
local.get $30
|
|
i64.sub
|
|
local.set $27
|
|
local.get $4
|
|
local.get $28
|
|
local.get $14
|
|
local.get $29
|
|
local.get $15
|
|
local.get $27
|
|
local.get $5
|
|
call $~lib/internal/number/genDigits
|
|
end
|
|
local.set $31
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $31
|
|
local.get $2
|
|
i32.sub
|
|
global.get $~lib/internal/number/_K
|
|
call $~lib/internal/number/prettify
|
|
local.set $31
|
|
local.get $31
|
|
local.get $2
|
|
i32.add
|
|
)
|
|
(func $~lib/internal/number/dtoa (; 195 ;) (type $Fi) (param $0 f64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
f64.const 0
|
|
f64.eq
|
|
if
|
|
i32.const 5176
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/builtins/isFinite<f64>
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
call $~lib/builtins/isNaN<f64>
|
|
if
|
|
i32.const 5192
|
|
return
|
|
end
|
|
i32.const 5208
|
|
i32.const 5232
|
|
local.get $0
|
|
f64.const 0
|
|
f64.lt
|
|
select
|
|
return
|
|
end
|
|
global.get $~lib/internal/number/MAX_DOUBLE_LENGTH
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $1
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/internal/number/dtoa_core
|
|
local.set $2
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $2
|
|
call $~lib/string/String#substring
|
|
local.set $3
|
|
block $~lib/internal/string/freeUnsafe|inlined.3
|
|
local.get $1
|
|
local.set $4
|
|
local.get $4
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.8
|
|
local.get $4
|
|
local.set $5
|
|
local.get $5
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.8
|
|
end
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/internal/number/dtoa_stream (; 196 ;) (type $iiFi) (param $0 i32) (param $1 i32) (param $2 f64) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
f64.const 0
|
|
f64.eq
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
local.get $0
|
|
i32.const 46
|
|
i32.store16 offset=6
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=8
|
|
i32.const 3
|
|
return
|
|
end
|
|
local.get $2
|
|
call $~lib/builtins/isFinite<f64>
|
|
i32.eqz
|
|
if
|
|
local.get $2
|
|
call $~lib/builtins/isNaN<f64>
|
|
if
|
|
local.get $0
|
|
i32.const 78
|
|
i32.store16 offset=4
|
|
local.get $0
|
|
i32.const 97
|
|
i32.store16 offset=6
|
|
local.get $0
|
|
i32.const 78
|
|
i32.store16 offset=8
|
|
i32.const 3
|
|
return
|
|
else
|
|
local.get $2
|
|
f64.const 0
|
|
f64.lt
|
|
local.set $3
|
|
i32.const 8
|
|
local.get $3
|
|
i32.add
|
|
local.set $4
|
|
i32.const 5208
|
|
i32.const 5232
|
|
local.get $3
|
|
select
|
|
local.set $5
|
|
block $~lib/memory/memory.copy|inlined.12
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.set $6
|
|
local.get $5
|
|
i32.const 4
|
|
i32.add
|
|
local.set $7
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
local.set $8
|
|
local.get $6
|
|
local.get $7
|
|
local.get $8
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
local.get $4
|
|
return
|
|
end
|
|
unreachable
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/internal/number/dtoa_core
|
|
)
|
|
(func $~lib/array/Array<f64>#join (; 197 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 f64)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.13 (result f64)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
call $~lib/internal/number/dtoa
|
|
return
|
|
end
|
|
i32.const 28
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 28
|
|
i32.add
|
|
local.set $10
|
|
local.get $10
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $11
|
|
loop $repeat|0
|
|
local.get $11
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.14 (result f64)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/dtoa_stream
|
|
i32.add
|
|
local.set $8
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $8
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $6
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<f64,f64>|inlined.15 (result f64)
|
|
local.get $5
|
|
local.set $11
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $11
|
|
local.get $14
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
f64.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/dtoa_stream
|
|
i32.add
|
|
local.set $8
|
|
local.get $9
|
|
local.set $13
|
|
local.get $10
|
|
local.get $8
|
|
i32.gt_s
|
|
if
|
|
local.get $9
|
|
i32.const 0
|
|
local.get $8
|
|
call $~lib/string/String#substring
|
|
local.set $13
|
|
block $~lib/internal/string/freeUnsafe|inlined.4
|
|
local.get $9
|
|
local.set $14
|
|
local.get $14
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.9
|
|
local.get $14
|
|
local.set $11
|
|
local.get $11
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.9
|
|
end
|
|
end
|
|
end
|
|
local.get $13
|
|
return
|
|
)
|
|
(func $~lib/array/Array<String>#join (; 198 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<String,String>|inlined.5 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.set $10
|
|
block $break|0
|
|
block
|
|
i32.const 0
|
|
local.set $9
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
loop $repeat|0
|
|
local.get $9
|
|
local.get $8
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
local.get $10
|
|
block $~lib/internal/arraybuffer/LOAD<String,String>|inlined.6 (result i32)
|
|
local.get $5
|
|
local.set $11
|
|
local.get $9
|
|
local.set $12
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $11
|
|
local.get $12
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
i32.load
|
|
i32.add
|
|
local.set $10
|
|
local.get $9
|
|
i32.const 1
|
|
i32.add
|
|
local.set $9
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $10
|
|
local.get $6
|
|
local.get $2
|
|
i32.mul
|
|
i32.add
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
block $break|1
|
|
i32.const 0
|
|
local.set $13
|
|
loop $repeat|1
|
|
local.get $13
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|1
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<String,String>|inlined.7 (result i32)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $13
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $4
|
|
i32.load
|
|
local.set $14
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
i32.const 0
|
|
local.get $14
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $14
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $8
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $6
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
end
|
|
local.get $13
|
|
i32.const 1
|
|
i32.add
|
|
local.set $13
|
|
br $repeat|1
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<String,String>|inlined.8 (result i32)
|
|
local.get $5
|
|
local.set $13
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $13
|
|
local.get $14
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $4
|
|
i32.load
|
|
local.set $11
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
i32.const 0
|
|
local.get $11
|
|
call $~lib/internal/string/copyUnsafe
|
|
end
|
|
local.get $9
|
|
return
|
|
)
|
|
(func $std/array/Ref#constructor (; 199 ;) (type $ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<Ref>#constructor (; 200 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $1
|
|
i32.const 268435454
|
|
i32.gt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 45
|
|
i32.const 39
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
local.set $3
|
|
block (result i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 8
|
|
call $~lib/memory/memory.allocate
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $0
|
|
end
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=4
|
|
block $~lib/memory/memory.fill|inlined.12
|
|
local.get $3
|
|
i32.const 8
|
|
i32.add
|
|
local.set $4
|
|
i32.const 0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<Ref>#__unchecked_set (; 201 ;) (type $iii_) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
local.get $2
|
|
local.set $5
|
|
i32.const 0
|
|
local.set $6
|
|
local.get $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $6
|
|
i32.add
|
|
local.get $5
|
|
i32.store offset=8
|
|
)
|
|
(func $~lib/array/Array<Ref>#join (; 202 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
i32.const 6872
|
|
return
|
|
end
|
|
i32.const 15
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 15
|
|
i32.add
|
|
local.set $8
|
|
local.get $8
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $11
|
|
loop $repeat|0
|
|
local.get $11
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<Ref,Ref>|inlined.0 (result i32)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 6872
|
|
i32.const 0
|
|
i32.const 15
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $10
|
|
i32.const 15
|
|
i32.add
|
|
local.set $10
|
|
end
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $10
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $10
|
|
local.get $6
|
|
i32.add
|
|
local.set $10
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<Ref,Ref>|inlined.2 (result i32)
|
|
local.get $5
|
|
local.set $13
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $13
|
|
local.get $14
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
if
|
|
local.get $9
|
|
local.get $10
|
|
i32.const 6872
|
|
i32.const 0
|
|
i32.const 15
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $10
|
|
i32.const 15
|
|
i32.add
|
|
local.set $10
|
|
end
|
|
local.get $9
|
|
local.set $11
|
|
local.get $8
|
|
local.get $10
|
|
i32.gt_s
|
|
if
|
|
local.get $9
|
|
i32.const 0
|
|
local.get $10
|
|
call $~lib/string/String#substring
|
|
local.set $11
|
|
block $~lib/internal/string/freeUnsafe|inlined.5
|
|
local.get $9
|
|
local.set $14
|
|
local.get $14
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.10
|
|
local.get $14
|
|
local.set $13
|
|
local.get $13
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.10
|
|
end
|
|
end
|
|
end
|
|
local.get $11
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa<i8> (; 203 ;) (type $ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 24
|
|
i32.shl
|
|
i32.const 24
|
|
i32.shr_s
|
|
call $~lib/internal/number/itoa32
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<i8> (; 204 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 24
|
|
i32.shl
|
|
i32.const 24
|
|
i32.shr_s
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 24
|
|
i32.shl
|
|
i32.const 24
|
|
i32.shr_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
i32.const 0
|
|
local.get $2
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
local.get $2
|
|
i32.const 24
|
|
i32.shl
|
|
i32.const 24
|
|
i32.shr_s
|
|
call $~lib/internal/number/decimalCount32
|
|
local.get $4
|
|
i32.add
|
|
local.set $3
|
|
block $~lib/internal/number/utoa32_core|inlined.6
|
|
local.get $0
|
|
local.set $5
|
|
local.get $2
|
|
i32.const 24
|
|
i32.shl
|
|
i32.const 24
|
|
i32.shr_s
|
|
local.set $6
|
|
local.get $3
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
local.get $7
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<i8>#join (; 205 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<i8,i8>|inlined.0 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load8_s offset=8
|
|
end
|
|
call $~lib/internal/number/itoa<i8>
|
|
return
|
|
end
|
|
i32.const 11
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 11
|
|
i32.add
|
|
local.set $10
|
|
local.get $10
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $11
|
|
loop $repeat|0
|
|
local.get $11
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i8,i8>|inlined.1 (result i32)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i32.load8_s offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<i8>
|
|
i32.add
|
|
local.set $8
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $8
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $6
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<i8,i8>|inlined.2 (result i32)
|
|
local.get $5
|
|
local.set $11
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $11
|
|
local.get $14
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
i32.load8_s offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<i8>
|
|
i32.add
|
|
local.set $8
|
|
local.get $9
|
|
local.set $13
|
|
local.get $10
|
|
local.get $8
|
|
i32.gt_s
|
|
if
|
|
local.get $9
|
|
i32.const 0
|
|
local.get $8
|
|
call $~lib/string/String#substring
|
|
local.set $13
|
|
block $~lib/internal/string/freeUnsafe|inlined.6
|
|
local.get $9
|
|
local.set $14
|
|
local.get $14
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.11
|
|
local.get $14
|
|
local.set $11
|
|
local.get $11
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.11
|
|
end
|
|
end
|
|
end
|
|
local.get $13
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa<u16> (; 206 ;) (type $ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 65535
|
|
i32.and
|
|
call $~lib/internal/number/utoa32
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<u16> (; 207 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 65535
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 65535
|
|
i32.and
|
|
call $~lib/internal/number/decimalCount32
|
|
local.set $3
|
|
block $~lib/internal/number/utoa32_core|inlined.7
|
|
local.get $0
|
|
local.set $4
|
|
local.get $2
|
|
i32.const 65535
|
|
i32.and
|
|
local.set $5
|
|
local.get $3
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<u16>#join (; 208 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<u16,u16>|inlined.0 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load16_u offset=8
|
|
end
|
|
call $~lib/internal/number/itoa<u16>
|
|
return
|
|
end
|
|
i32.const 10
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 10
|
|
i32.add
|
|
local.set $10
|
|
local.get $10
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $11
|
|
loop $repeat|0
|
|
local.get $11
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<u16,u16>|inlined.1 (result i32)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i32.load16_u offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<u16>
|
|
i32.add
|
|
local.set $8
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $8
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $6
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<u16,u16>|inlined.2 (result i32)
|
|
local.get $5
|
|
local.set $11
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $11
|
|
local.get $14
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
i32.load16_u offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<u16>
|
|
i32.add
|
|
local.set $8
|
|
local.get $9
|
|
local.set $13
|
|
local.get $10
|
|
local.get $8
|
|
i32.gt_s
|
|
if
|
|
local.get $9
|
|
i32.const 0
|
|
local.get $8
|
|
call $~lib/string/String#substring
|
|
local.set $13
|
|
block $~lib/internal/string/freeUnsafe|inlined.7
|
|
local.get $9
|
|
local.set $14
|
|
local.get $14
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.12
|
|
local.get $14
|
|
local.set $11
|
|
local.get $11
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.12
|
|
end
|
|
end
|
|
end
|
|
local.get $13
|
|
return
|
|
)
|
|
(func $~lib/internal/number/decimalCount64 (; 209 ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
local.get $0
|
|
i64.const 1000000000000000
|
|
i64.lt_u
|
|
if
|
|
local.get $0
|
|
i64.const 1000000000000
|
|
i64.lt_u
|
|
if
|
|
i32.const 11
|
|
i32.const 12
|
|
local.get $0
|
|
i64.const 100000000000
|
|
i64.lt_u
|
|
select
|
|
return
|
|
else
|
|
i32.const 14
|
|
i32.const 15
|
|
local.get $0
|
|
i64.const 100000000000000
|
|
i64.lt_u
|
|
select
|
|
local.set $1
|
|
i32.const 13
|
|
local.get $1
|
|
local.get $0
|
|
i64.const 10000000000000
|
|
i64.lt_u
|
|
select
|
|
return
|
|
end
|
|
unreachable
|
|
unreachable
|
|
else
|
|
local.get $0
|
|
i64.const 100000000000000000
|
|
i64.lt_u
|
|
if
|
|
i32.const 16
|
|
i32.const 17
|
|
local.get $0
|
|
i64.const 10000000000000000
|
|
i64.lt_u
|
|
select
|
|
return
|
|
else
|
|
i32.const 19
|
|
i32.const 20
|
|
local.get $0
|
|
i64.const -8446744073709551616
|
|
i64.lt_u
|
|
select
|
|
local.set $1
|
|
i32.const 18
|
|
local.get $1
|
|
local.get $0
|
|
i64.const 1000000000000000000
|
|
i64.lt_u
|
|
select
|
|
return
|
|
end
|
|
unreachable
|
|
unreachable
|
|
end
|
|
unreachable
|
|
unreachable
|
|
)
|
|
(func $~lib/internal/number/utoa64_lut (; 210 ;) (type $iIi_) (param $0 i32) (param $1 i64) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i64)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
(local $15 i64)
|
|
(local $16 i64)
|
|
block $~lib/internal/number/DIGITS|inlined.1 (result i32)
|
|
i32.const 7712
|
|
end
|
|
i32.load
|
|
local.set $3
|
|
block $break|0
|
|
loop $continue|0
|
|
local.get $1
|
|
i64.const 100000000
|
|
i64.ge_u
|
|
if
|
|
block
|
|
local.get $1
|
|
i64.const 100000000
|
|
i64.div_u
|
|
local.set $4
|
|
local.get $1
|
|
local.get $4
|
|
i64.const 100000000
|
|
i64.mul
|
|
i64.sub
|
|
i32.wrap_i64
|
|
local.set $5
|
|
local.get $4
|
|
local.set $1
|
|
local.get $5
|
|
i32.const 10000
|
|
i32.div_u
|
|
local.set $6
|
|
local.get $5
|
|
i32.const 10000
|
|
i32.rem_u
|
|
local.set $7
|
|
local.get $6
|
|
i32.const 100
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $6
|
|
i32.const 100
|
|
i32.rem_u
|
|
local.set $9
|
|
local.get $7
|
|
i32.const 100
|
|
i32.div_u
|
|
local.set $10
|
|
local.get $7
|
|
i32.const 100
|
|
i32.rem_u
|
|
local.set $11
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u64>|inlined.4 (result i64)
|
|
local.get $3
|
|
local.set $12
|
|
local.get $10
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
end
|
|
local.set $15
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u64>|inlined.5 (result i64)
|
|
local.get $3
|
|
local.set $14
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $12
|
|
local.get $14
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $12
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
end
|
|
local.set $16
|
|
local.get $2
|
|
i32.const 4
|
|
i32.sub
|
|
local.set $2
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $15
|
|
local.get $16
|
|
i64.const 32
|
|
i64.shl
|
|
i64.or
|
|
i64.store offset=4
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u64>|inlined.6 (result i64)
|
|
local.get $3
|
|
local.set $12
|
|
local.get $8
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
end
|
|
local.set $15
|
|
block $~lib/internal/arraybuffer/LOAD<u32,u64>|inlined.7 (result i64)
|
|
local.get $3
|
|
local.set $14
|
|
local.get $9
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $12
|
|
local.get $14
|
|
local.get $13
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $12
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
end
|
|
local.set $16
|
|
local.get $2
|
|
i32.const 4
|
|
i32.sub
|
|
local.set $2
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.get $15
|
|
local.get $16
|
|
i64.const 32
|
|
i64.shl
|
|
i64.or
|
|
i64.store offset=4
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.wrap_i64
|
|
local.get $2
|
|
call $~lib/internal/number/utoa32_lut
|
|
)
|
|
(func $~lib/internal/number/utoa64 (; 211 ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i64)
|
|
local.get $0
|
|
i64.eqz
|
|
if
|
|
i32.const 4312
|
|
return
|
|
end
|
|
local.get $0
|
|
global.get $~lib/builtins/u32.MAX_VALUE
|
|
i64.extend_i32_u
|
|
i64.le_u
|
|
if
|
|
local.get $0
|
|
i32.wrap_i64
|
|
local.set $2
|
|
local.get $2
|
|
call $~lib/internal/number/decimalCount32
|
|
local.set $3
|
|
local.get $3
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $1
|
|
block $~lib/internal/number/utoa32_core|inlined.8
|
|
local.get $1
|
|
local.set $4
|
|
local.get $2
|
|
local.set $5
|
|
local.get $3
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
else
|
|
local.get $0
|
|
call $~lib/internal/number/decimalCount64
|
|
local.set $3
|
|
local.get $3
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $1
|
|
block $~lib/internal/number/utoa64_core|inlined.0
|
|
local.get $1
|
|
local.set $2
|
|
local.get $0
|
|
local.set $7
|
|
local.get $3
|
|
local.set $6
|
|
local.get $2
|
|
local.get $7
|
|
local.get $6
|
|
call $~lib/internal/number/utoa64_lut
|
|
end
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $~lib/internal/number/itoa<u64> (; 212 ;) (type $Ii) (param $0 i64) (result i32)
|
|
local.get $0
|
|
call $~lib/internal/number/utoa64
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<u64> (; 213 ;) (type $iiIi) (param $0 i32) (param $1 i32) (param $2 i64) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i64)
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i64.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
local.get $2
|
|
global.get $~lib/builtins/u32.MAX_VALUE
|
|
i64.extend_i32_u
|
|
i64.le_u
|
|
if
|
|
local.get $2
|
|
i32.wrap_i64
|
|
local.set $4
|
|
local.get $4
|
|
call $~lib/internal/number/decimalCount32
|
|
local.set $3
|
|
block $~lib/internal/number/utoa32_core|inlined.9
|
|
local.get $0
|
|
local.set $5
|
|
local.get $4
|
|
local.set $6
|
|
local.get $3
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
local.get $7
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
else
|
|
local.get $2
|
|
call $~lib/internal/number/decimalCount64
|
|
local.set $3
|
|
block $~lib/internal/number/utoa64_core|inlined.1
|
|
local.get $0
|
|
local.set $4
|
|
local.get $2
|
|
local.set $8
|
|
local.get $3
|
|
local.set $7
|
|
local.get $4
|
|
local.get $8
|
|
local.get $7
|
|
call $~lib/internal/number/utoa64_lut
|
|
end
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<u64>#join (; 214 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i64)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<u64,u64>|inlined.1 (result i64)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i64.load offset=8
|
|
end
|
|
call $~lib/internal/number/itoa<u64>
|
|
return
|
|
end
|
|
i32.const 20
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 20
|
|
i32.add
|
|
local.set $10
|
|
local.get $10
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $11
|
|
loop $repeat|0
|
|
local.get $11
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<u64,u64>|inlined.2 (result i64)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i64.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<u64>
|
|
i32.add
|
|
local.set $8
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $8
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $6
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<u64,u64>|inlined.3 (result i64)
|
|
local.get $5
|
|
local.set $11
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $11
|
|
local.get $14
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
i64.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<u64>
|
|
i32.add
|
|
local.set $8
|
|
local.get $9
|
|
local.set $13
|
|
local.get $10
|
|
local.get $8
|
|
i32.gt_s
|
|
if
|
|
local.get $9
|
|
i32.const 0
|
|
local.get $8
|
|
call $~lib/string/String#substring
|
|
local.set $13
|
|
block $~lib/internal/string/freeUnsafe|inlined.8
|
|
local.get $9
|
|
local.set $14
|
|
local.get $14
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.13
|
|
local.get $14
|
|
local.set $11
|
|
local.get $11
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.13
|
|
end
|
|
end
|
|
end
|
|
local.get $13
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa64 (; 215 ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i64)
|
|
local.get $0
|
|
i64.eqz
|
|
if
|
|
i32.const 4312
|
|
return
|
|
end
|
|
local.get $0
|
|
i64.const 0
|
|
i64.lt_s
|
|
local.set $1
|
|
local.get $1
|
|
if
|
|
i64.const 0
|
|
local.get $0
|
|
i64.sub
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
global.get $~lib/builtins/u32.MAX_VALUE
|
|
i64.extend_i32_u
|
|
i64.le_u
|
|
if
|
|
local.get $0
|
|
i32.wrap_i64
|
|
local.set $3
|
|
local.get $3
|
|
call $~lib/internal/number/decimalCount32
|
|
local.get $1
|
|
i32.add
|
|
local.set $4
|
|
local.get $4
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $2
|
|
block $~lib/internal/number/utoa32_core|inlined.10
|
|
local.get $2
|
|
local.set $5
|
|
local.get $3
|
|
local.set $6
|
|
local.get $4
|
|
local.set $7
|
|
local.get $5
|
|
local.get $6
|
|
local.get $7
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
else
|
|
local.get $0
|
|
call $~lib/internal/number/decimalCount64
|
|
local.get $1
|
|
i32.add
|
|
local.set $4
|
|
local.get $4
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $2
|
|
block $~lib/internal/number/utoa64_core|inlined.2
|
|
local.get $2
|
|
local.set $3
|
|
local.get $0
|
|
local.set $8
|
|
local.get $4
|
|
local.set $7
|
|
local.get $3
|
|
local.get $8
|
|
local.get $7
|
|
call $~lib/internal/number/utoa64_lut
|
|
end
|
|
end
|
|
local.get $1
|
|
if
|
|
local.get $2
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $~lib/internal/number/itoa<i64> (; 216 ;) (type $Ii) (param $0 i64) (result i32)
|
|
local.get $0
|
|
call $~lib/internal/number/itoa64
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<i64> (; 217 ;) (type $iiIi) (param $0 i32) (param $1 i32) (param $2 i64) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i64)
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i64.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
local.get $2
|
|
i64.const 0
|
|
i64.lt_s
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
i64.const 0
|
|
local.get $2
|
|
i64.sub
|
|
local.set $2
|
|
end
|
|
local.get $2
|
|
global.get $~lib/builtins/u32.MAX_VALUE
|
|
i64.extend_i32_u
|
|
i64.le_u
|
|
if
|
|
local.get $2
|
|
i32.wrap_i64
|
|
local.set $5
|
|
local.get $5
|
|
call $~lib/internal/number/decimalCount32
|
|
local.get $4
|
|
i32.add
|
|
local.set $3
|
|
block $~lib/internal/number/utoa32_core|inlined.11
|
|
local.get $0
|
|
local.set $6
|
|
local.get $5
|
|
local.set $7
|
|
local.get $3
|
|
local.set $8
|
|
local.get $6
|
|
local.get $7
|
|
local.get $8
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
else
|
|
local.get $2
|
|
call $~lib/internal/number/decimalCount64
|
|
local.get $4
|
|
i32.add
|
|
local.set $3
|
|
block $~lib/internal/number/utoa64_core|inlined.3
|
|
local.get $0
|
|
local.set $5
|
|
local.get $2
|
|
local.set $9
|
|
local.get $3
|
|
local.set $8
|
|
local.get $5
|
|
local.get $9
|
|
local.get $8
|
|
call $~lib/internal/number/utoa64_lut
|
|
end
|
|
end
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<i64>#join (; 218 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i64)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<i64,i64>|inlined.0 (result i64)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i64.load offset=8
|
|
end
|
|
call $~lib/internal/number/itoa<i64>
|
|
return
|
|
end
|
|
i32.const 21
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 21
|
|
i32.add
|
|
local.set $10
|
|
local.get $10
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $11
|
|
loop $repeat|0
|
|
local.get $11
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<i64,i64>|inlined.1 (result i64)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i64.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<i64>
|
|
i32.add
|
|
local.set $8
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $8
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $6
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<i64,i64>|inlined.2 (result i64)
|
|
local.get $5
|
|
local.set $11
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $11
|
|
local.get $14
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
i64.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<i64>
|
|
i32.add
|
|
local.set $8
|
|
local.get $9
|
|
local.set $13
|
|
local.get $10
|
|
local.get $8
|
|
i32.gt_s
|
|
if
|
|
local.get $9
|
|
i32.const 0
|
|
local.get $8
|
|
call $~lib/string/String#substring
|
|
local.set $13
|
|
block $~lib/internal/string/freeUnsafe|inlined.9
|
|
local.get $9
|
|
local.set $14
|
|
local.get $14
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.14
|
|
local.get $14
|
|
local.set $11
|
|
local.get $11
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.14
|
|
end
|
|
end
|
|
end
|
|
local.get $13
|
|
return
|
|
)
|
|
(func $~lib/array/Array<Array<i32>>#join (; 219 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<Array<i32>,Array<i32>>|inlined.5 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if (result i32)
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<i32>#join
|
|
else
|
|
i32.const 3904
|
|
end
|
|
return
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $10
|
|
loop $repeat|0
|
|
local.get $10
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<Array<i32>,Array<i32>>|inlined.6 (result i32)
|
|
local.get $5
|
|
local.set $9
|
|
local.get $10
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $9
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<i32>#join
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
local.get $7
|
|
if
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
end
|
|
local.get $10
|
|
i32.const 1
|
|
i32.add
|
|
local.set $10
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<Array<i32>,Array<i32>>|inlined.7 (result i32)
|
|
local.get $5
|
|
local.set $10
|
|
local.get $2
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $10
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<i32>#join
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
local.get $3
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa<u8> (; 220 ;) (type $ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 255
|
|
i32.and
|
|
call $~lib/internal/number/utoa32
|
|
return
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<u8> (; 221 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 255
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 255
|
|
i32.and
|
|
call $~lib/internal/number/decimalCount32
|
|
local.set $3
|
|
block $~lib/internal/number/utoa32_core|inlined.12
|
|
local.get $0
|
|
local.set $4
|
|
local.get $2
|
|
i32.const 255
|
|
i32.and
|
|
local.set $5
|
|
local.get $3
|
|
local.set $6
|
|
local.get $4
|
|
local.get $5
|
|
local.get $6
|
|
call $~lib/internal/number/utoa32_lut
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<u8>#join (; 222 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<u8,u8>|inlined.1 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
end
|
|
call $~lib/internal/number/itoa<u8>
|
|
return
|
|
end
|
|
i32.const 10
|
|
local.get $6
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 10
|
|
i32.add
|
|
local.set $10
|
|
local.get $10
|
|
call $~lib/internal/string/allocateUnsafe
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $8
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $11
|
|
loop $repeat|0
|
|
local.get $11
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<u8,u8>|inlined.2 (result i32)
|
|
local.get $5
|
|
local.set $12
|
|
local.get $11
|
|
local.set $13
|
|
i32.const 0
|
|
local.set $14
|
|
local.get $12
|
|
local.get $13
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $14
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<u8>
|
|
i32.add
|
|
local.set $8
|
|
local.get $7
|
|
if
|
|
local.get $9
|
|
local.get $8
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
local.get $8
|
|
local.get $6
|
|
i32.add
|
|
local.set $8
|
|
end
|
|
end
|
|
local.get $11
|
|
i32.const 1
|
|
i32.add
|
|
local.set $11
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<u8,u8>|inlined.3 (result i32)
|
|
local.get $5
|
|
local.set $11
|
|
local.get $2
|
|
local.set $14
|
|
i32.const 0
|
|
local.set $13
|
|
local.get $11
|
|
local.get $14
|
|
i32.const 0
|
|
i32.shl
|
|
i32.add
|
|
local.get $13
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
end
|
|
local.set $4
|
|
local.get $8
|
|
local.get $9
|
|
local.get $8
|
|
local.get $4
|
|
call $~lib/internal/number/itoa_stream<u8>
|
|
i32.add
|
|
local.set $8
|
|
local.get $9
|
|
local.set $13
|
|
local.get $10
|
|
local.get $8
|
|
i32.gt_s
|
|
if
|
|
local.get $9
|
|
i32.const 0
|
|
local.get $8
|
|
call $~lib/string/String#substring
|
|
local.set $13
|
|
block $~lib/internal/string/freeUnsafe|inlined.10
|
|
local.get $9
|
|
local.set $14
|
|
local.get $14
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4088
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/memory/memory.free|inlined.15
|
|
local.get $14
|
|
local.set $11
|
|
local.get $11
|
|
call $~lib/allocator/arena/__memory_free
|
|
br $~lib/memory/memory.free|inlined.15
|
|
end
|
|
end
|
|
end
|
|
local.get $13
|
|
return
|
|
)
|
|
(func $~lib/array/Array<Array<u8>>#join (; 223 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<Array<u8>,Array<u8>>|inlined.0 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if (result i32)
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<u8>#join
|
|
else
|
|
i32.const 3904
|
|
end
|
|
return
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $10
|
|
loop $repeat|0
|
|
local.get $10
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<Array<u8>,Array<u8>>|inlined.1 (result i32)
|
|
local.get $5
|
|
local.set $9
|
|
local.get $10
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $9
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<u8>#join
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
local.get $7
|
|
if
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
end
|
|
local.get $10
|
|
i32.const 1
|
|
i32.add
|
|
local.set $10
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<Array<u8>,Array<u8>>|inlined.2 (result i32)
|
|
local.get $5
|
|
local.set $10
|
|
local.get $2
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $10
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<u8>#join
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
local.get $3
|
|
return
|
|
)
|
|
(func $~lib/array/Array<Array<u32>>#join (; 224 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<Array<u32>,Array<u32>>|inlined.0 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if (result i32)
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<u32>#join
|
|
else
|
|
i32.const 3904
|
|
end
|
|
return
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $10
|
|
loop $repeat|0
|
|
local.get $10
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<Array<u32>,Array<u32>>|inlined.1 (result i32)
|
|
local.get $5
|
|
local.set $9
|
|
local.get $10
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $9
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<u32>#join
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
local.get $7
|
|
if
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
end
|
|
local.get $10
|
|
i32.const 1
|
|
i32.add
|
|
local.set $10
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<Array<u32>,Array<u32>>|inlined.2 (result i32)
|
|
local.get $5
|
|
local.set $10
|
|
local.get $2
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $10
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<u32>#join
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
local.get $3
|
|
return
|
|
)
|
|
(func $~lib/array/Array<Array<Array<u32>>>#join (; 225 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3904
|
|
return
|
|
end
|
|
i32.const 3904
|
|
local.set $3
|
|
local.get $0
|
|
i32.load
|
|
local.set $5
|
|
local.get $1
|
|
i32.load
|
|
local.set $6
|
|
local.get $6
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
block $~lib/internal/arraybuffer/LOAD<Array<Array<u32>>,Array<Array<u32>>>|inlined.0 (result i32)
|
|
local.get $5
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $9
|
|
i32.const 0
|
|
local.set $10
|
|
local.get $8
|
|
local.get $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $10
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if (result i32)
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<Array<u32>>#join
|
|
else
|
|
i32.const 3904
|
|
end
|
|
return
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $10
|
|
loop $repeat|0
|
|
local.get $10
|
|
local.get $2
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
block
|
|
block $~lib/internal/arraybuffer/LOAD<Array<Array<u32>>,Array<Array<u32>>>|inlined.1 (result i32)
|
|
local.get $5
|
|
local.set $9
|
|
local.get $10
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $11
|
|
local.get $9
|
|
local.get $8
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $11
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<Array<u32>>#join
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
local.get $7
|
|
if
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
end
|
|
local.get $10
|
|
i32.const 1
|
|
i32.add
|
|
local.set $10
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
block $~lib/internal/arraybuffer/LOAD<Array<Array<u32>>,Array<Array<u32>>>|inlined.2 (result i32)
|
|
local.get $5
|
|
local.set $10
|
|
local.get $2
|
|
local.set $11
|
|
i32.const 0
|
|
local.set $8
|
|
local.get $10
|
|
local.get $11
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $8
|
|
i32.add
|
|
i32.load offset=8
|
|
end
|
|
local.set $4
|
|
local.get $4
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
local.get $1
|
|
call $~lib/array/Array<Array<u32>>#join
|
|
call $~lib/string/String.__concat
|
|
local.set $3
|
|
end
|
|
local.get $3
|
|
return
|
|
)
|
|
(func $start:std/array (; 226 ;) (type $_)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
call $start:~lib/allocator/arena
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#constructor
|
|
global.set $std/array/arr
|
|
global.get $std/array/Null
|
|
call $~lib/array/Array.isArray<Array<i32> | null>
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 37
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array.isArray<Array<i32>>
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 38
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
call $std/array/P#constructor
|
|
call $~lib/array/Array.isArray<P>
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 39
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
i32.const 1
|
|
call $~lib/typedarray/Uint8Array#constructor
|
|
call $~lib/array/Array.isArray<Uint8Array>
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 40
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/num
|
|
call $~lib/array/Array.isArray<i32>
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 41
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/str
|
|
call $~lib/array/Array.isArray<String>
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 42
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr8
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 3
|
|
call $~lib/array/Array<u8>#fill
|
|
drop
|
|
global.get $std/array/arr8
|
|
i32.const 256
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 49
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block (result i32)
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
global.get $std/array/arr8
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<u8>#fill|trampoline
|
|
end
|
|
drop
|
|
global.get $std/array/arr8
|
|
i32.const 280
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 52
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr8
|
|
i32.const 1
|
|
i32.const 0
|
|
i32.const -3
|
|
call $~lib/array/Array<u8>#fill
|
|
drop
|
|
global.get $std/array/arr8
|
|
i32.const 304
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 55
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
global.get $std/array/arr8
|
|
i32.const 2
|
|
i32.const -2
|
|
i32.const 0
|
|
call $~lib/array/Array<u8>#fill|trampoline
|
|
end
|
|
drop
|
|
global.get $std/array/arr8
|
|
i32.const 328
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 58
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr8
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.const 0
|
|
call $~lib/array/Array<u8>#fill
|
|
drop
|
|
global.get $std/array/arr8
|
|
i32.const 352
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 61
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr32
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 3
|
|
call $~lib/array/Array<u32>#fill
|
|
drop
|
|
global.get $std/array/arr32
|
|
i32.const 432
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 66
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block (result i32)
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
global.get $std/array/arr32
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#fill|trampoline
|
|
end
|
|
drop
|
|
global.get $std/array/arr32
|
|
i32.const 472
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 69
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr32
|
|
i32.const 1
|
|
i32.const 0
|
|
i32.const -3
|
|
call $~lib/array/Array<u32>#fill
|
|
drop
|
|
global.get $std/array/arr32
|
|
i32.const 512
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 72
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
global.get $std/array/arr32
|
|
i32.const 2
|
|
i32.const -2
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#fill|trampoline
|
|
end
|
|
drop
|
|
global.get $std/array/arr32
|
|
i32.const 552
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 75
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr32
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#fill
|
|
drop
|
|
global.get $std/array/arr32
|
|
i32.const 592
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 78
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.0 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 82
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 83
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 42
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 42
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 87
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.1 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 88
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 89
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 42
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 93
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.2 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 94
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 95
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
block $~lib/array/Array<i32>#get:length|inlined.3 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 99
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 100
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 101
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 44
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
block $~lib/array/Array<i32>#get:length|inlined.4 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 105
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 106
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 107
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 108
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 45
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
block $~lib/array/Array<i32>#get:length|inlined.5 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 112
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 113
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 114
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 115
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 45
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 116
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#constructor
|
|
global.set $std/array/other
|
|
global.get $std/array/arr
|
|
global.get $std/array/other
|
|
call $~lib/array/Array<i32>#concat
|
|
global.set $std/array/out
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 123
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.6 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 124
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.7 (result i32)
|
|
global.get $std/array/out
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 125
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 608
|
|
call $~lib/array/Array<i32>#concat
|
|
drop
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 128
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 130
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 131
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 45
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 132
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/other
|
|
i32.const 46
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/other
|
|
i32.const 47
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
global.get $std/array/other
|
|
call $~lib/array/Array<i32>#concat
|
|
global.set $std/array/out
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 139
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.8 (result i32)
|
|
global.get $std/array/other
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 140
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.9 (result i32)
|
|
global.get $std/array/out
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 5
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 141
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 142
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 143
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 45
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 144
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 46
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 145
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 47
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 146
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
block $~lib/array/Array<i32>#get:length|inlined.10 (result i32)
|
|
global.get $std/array/out
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 4
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 149
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#concat
|
|
global.set $std/array/out
|
|
block $~lib/array/Array<i32>#get:length|inlined.11 (result i32)
|
|
global.get $std/array/out
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 152
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/out
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 45
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 153
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.12 (result i32)
|
|
global.get $std/array/source
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 156
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/source
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#concat
|
|
global.set $std/array/out
|
|
block $~lib/array/Array<i32>#get:length|inlined.13 (result i32)
|
|
global.get $std/array/out
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 158
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.14 (result i32)
|
|
global.get $std/array/source
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 159
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 664
|
|
global.set $std/array/cwArr
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
global.get $std/array/cwArr
|
|
i32.const 0
|
|
i32.const 3
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
end
|
|
i32.const 704
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 165
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 744
|
|
global.set $std/array/cwArr
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
global.get $std/array/cwArr
|
|
i32.const 1
|
|
i32.const 3
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
end
|
|
i32.const 784
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 167
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 824
|
|
global.set $std/array/cwArr
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
global.get $std/array/cwArr
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
end
|
|
i32.const 864
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 169
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 904
|
|
global.set $std/array/cwArr
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
global.get $std/array/cwArr
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
end
|
|
i32.const 944
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 171
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 984
|
|
global.set $std/array/cwArr
|
|
global.get $std/array/cwArr
|
|
i32.const 0
|
|
i32.const 3
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1024
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 173
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1064
|
|
global.set $std/array/cwArr
|
|
global.get $std/array/cwArr
|
|
i32.const 1
|
|
i32.const 3
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1104
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 175
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1144
|
|
global.set $std/array/cwArr
|
|
global.get $std/array/cwArr
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1184
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 177
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1224
|
|
global.set $std/array/cwArr
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
global.get $std/array/cwArr
|
|
i32.const 0
|
|
i32.const -2
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
end
|
|
i32.const 1264
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 179
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1304
|
|
global.set $std/array/cwArr
|
|
global.get $std/array/cwArr
|
|
i32.const 0
|
|
i32.const -2
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1344
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 181
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1384
|
|
global.set $std/array/cwArr
|
|
global.get $std/array/cwArr
|
|
i32.const -4
|
|
i32.const -3
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1424
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 183
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1464
|
|
global.set $std/array/cwArr
|
|
global.get $std/array/cwArr
|
|
i32.const -4
|
|
i32.const -3
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1504
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 185
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1544
|
|
global.set $std/array/cwArr
|
|
block (result i32)
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
global.get $std/array/cwArr
|
|
i32.const -4
|
|
i32.const -3
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
end
|
|
i32.const 1584
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 187
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 42
|
|
call $~lib/array/Array<i32>#unshift
|
|
drop
|
|
block $~lib/array/Array<i32>#get:length|inlined.18 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 4
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 193
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 4
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 194
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 42
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 195
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 196
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 197
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 45
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 198
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 41
|
|
call $~lib/array/Array<i32>#unshift
|
|
drop
|
|
block $~lib/array/Array<i32>#get:length|inlined.19 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 5
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 202
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 203
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 41
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 204
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 42
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 205
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 206
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 207
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 45
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 208
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#shift
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 41
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 214
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.20 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 4
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 215
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 216
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 42
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 217
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 218
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 219
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 45
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 220
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 45
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 224
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.21 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 225
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 226
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 42
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 227
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 228
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 229
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#reverse
|
|
drop
|
|
block $~lib/array/Array<i32>#get:length|inlined.22 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 235
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 236
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 237
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 43
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 238
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 42
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 239
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 44
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 44
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 248
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 42
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 252
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 45
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 256
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 260
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const -100
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 264
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 268
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const -4
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 272
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 276
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 280
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 3
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 284
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.0 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
i32.const 44
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $2
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 290
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.1 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $2
|
|
i32.const 42
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $0
|
|
local.get $2
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 294
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.2 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
i32.const 45
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $2
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 298
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.3 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $2
|
|
i32.const 43
|
|
local.set $1
|
|
i32.const 100
|
|
local.set $0
|
|
local.get $2
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 302
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.4 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
i32.const 43
|
|
local.set $1
|
|
i32.const -100
|
|
local.set $2
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 306
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.5 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $2
|
|
i32.const 43
|
|
local.set $1
|
|
i32.const -2
|
|
local.set $0
|
|
local.get $2
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 310
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.6 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
i32.const 43
|
|
local.set $1
|
|
i32.const -4
|
|
local.set $2
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 314
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.7 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $2
|
|
i32.const 43
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $0
|
|
local.get $2
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 318
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.8 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
i32.const 43
|
|
local.set $1
|
|
i32.const 1
|
|
local.set $2
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 322
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#includes|inlined.9 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $2
|
|
i32.const 43
|
|
local.set $1
|
|
i32.const 2
|
|
local.set $0
|
|
local.get $2
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
end
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/includes
|
|
global.get $std/array/includes
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 326
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
drop
|
|
block $~lib/array/Array<i32>#get:length|inlined.23 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 4
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 330
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 331
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 44
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 332
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__get
|
|
i32.const 42
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 333
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block (result i32)
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
global.get $std/array/sarr
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice|trampoline
|
|
end
|
|
i32.const 1664
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 338
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 1680
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 339
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1720
|
|
global.set $std/array/sarr
|
|
block (result i32)
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
global.get $std/array/sarr
|
|
i32.const 2
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice|trampoline
|
|
end
|
|
i32.const 1760
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 342
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 1784
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 343
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1824
|
|
global.set $std/array/sarr
|
|
global.get $std/array/sarr
|
|
i32.const 2
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 1848
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 346
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 1888
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 347
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1928
|
|
global.set $std/array/sarr
|
|
global.get $std/array/sarr
|
|
i32.const 0
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 1952
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 350
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 1992
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 351
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2032
|
|
global.set $std/array/sarr
|
|
block (result i32)
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
global.get $std/array/sarr
|
|
i32.const -1
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice|trampoline
|
|
end
|
|
i32.const 2056
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 354
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 2096
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 355
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2136
|
|
global.set $std/array/sarr
|
|
block (result i32)
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
global.get $std/array/sarr
|
|
i32.const -2
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice|trampoline
|
|
end
|
|
i32.const 2160
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 358
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 2200
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 359
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2240
|
|
global.set $std/array/sarr
|
|
global.get $std/array/sarr
|
|
i32.const -2
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2264
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 362
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 2304
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 363
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2344
|
|
global.set $std/array/sarr
|
|
global.get $std/array/sarr
|
|
i32.const -7
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2368
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 366
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 2408
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 367
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2448
|
|
global.set $std/array/sarr
|
|
global.get $std/array/sarr
|
|
i32.const -2
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2464
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 370
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 2504
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 371
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2544
|
|
global.set $std/array/sarr
|
|
global.get $std/array/sarr
|
|
i32.const 1
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2560
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 374
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 2600
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 375
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2640
|
|
global.set $std/array/sarr
|
|
global.get $std/array/sarr
|
|
i32.const 4
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2656
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 378
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 2696
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 379
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2736
|
|
global.set $std/array/sarr
|
|
global.get $std/array/sarr
|
|
i32.const 7
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2752
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 382
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 2792
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 383
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2832
|
|
global.set $std/array/sarr
|
|
global.get $std/array/sarr
|
|
i32.const 7
|
|
i32.const 5
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2848
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 386
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/sarr
|
|
i32.const 2888
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 387
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__set
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__set
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__set
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#__set
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 397
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 400
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 403
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 411
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.24 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 8
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 412
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 5
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 414
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 6
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 427
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.25 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 428
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 7
|
|
call $~lib/array/Array<i32>#every
|
|
global.set $std/array/every
|
|
global.get $std/array/every
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 436
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 8
|
|
call $~lib/array/Array<i32>#every
|
|
global.set $std/array/every
|
|
global.get $std/array/every
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 439
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 9
|
|
call $~lib/array/Array<i32>#every
|
|
global.set $std/array/every
|
|
global.get $std/array/every
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 447
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.26 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 8
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 448
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 10
|
|
call $~lib/array/Array<i32>#every
|
|
global.set $std/array/every
|
|
global.get $std/array/every
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 450
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 11
|
|
call $~lib/array/Array<i32>#every
|
|
global.set $std/array/every
|
|
global.get $std/array/every
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 463
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.27 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 464
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 12
|
|
call $~lib/array/Array<i32>#some
|
|
global.set $std/array/some
|
|
global.get $std/array/some
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 472
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 13
|
|
call $~lib/array/Array<i32>#some
|
|
global.set $std/array/some
|
|
global.get $std/array/some
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 475
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 14
|
|
call $~lib/array/Array<i32>#some
|
|
global.set $std/array/some
|
|
global.get $std/array/some
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 483
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.28 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 8
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 484
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 15
|
|
call $~lib/array/Array<i32>#some
|
|
global.set $std/array/some
|
|
global.get $std/array/some
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 486
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 16
|
|
call $~lib/array/Array<i32>#some
|
|
global.set $std/array/some
|
|
global.get $std/array/some
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 499
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.29 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 500
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 17
|
|
call $~lib/array/Array<i32>#forEach
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 509
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 18
|
|
call $~lib/array/Array<i32>#forEach
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 518
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.30 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 8
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 519
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 19
|
|
call $~lib/array/Array<i32>#forEach
|
|
global.get $std/array/i
|
|
i32.const 406
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 522
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 20
|
|
call $~lib/array/Array<i32>#forEach
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 536
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.31 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 537
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 21
|
|
call $~lib/array/Array<i32>#forEach
|
|
block $~lib/array/Array<i32>#get:length|inlined.32 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 100
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 562
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $break|0
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $0
|
|
i32.const 100
|
|
i32.lt_s
|
|
i32.eqz
|
|
br_if $break|0
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $0
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 22
|
|
call $~lib/array/Array<i32>#map<f32>
|
|
global.set $std/array/newArr
|
|
block $~lib/array/Array<f32>#get:length|inlined.0 (result i32)
|
|
global.get $std/array/newArr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 4
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 573
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/newArr
|
|
i32.const 0
|
|
call $~lib/array/Array<f32>#__get
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__get
|
|
f32.convert_i32_s
|
|
f32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 574
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 23
|
|
call $~lib/array/Array<i32>#map<i32>
|
|
drop
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 583
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.33 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 8
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 584
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 24
|
|
call $~lib/array/Array<i32>#map<i32>
|
|
drop
|
|
global.get $std/array/i
|
|
i32.const 406
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 591
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 25
|
|
call $~lib/array/Array<i32>#map<i32>
|
|
drop
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 606
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.34 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 607
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 26
|
|
call $~lib/array/Array<i32>#filter
|
|
global.set $std/array/filteredArr
|
|
block $~lib/array/Array<i32>#get:length|inlined.35 (result i32)
|
|
global.get $std/array/filteredArr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 615
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 27
|
|
call $~lib/array/Array<i32>#filter
|
|
drop
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 624
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.36 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 8
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 625
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 28
|
|
call $~lib/array/Array<i32>#filter
|
|
drop
|
|
global.get $std/array/i
|
|
i32.const 406
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 632
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 29
|
|
call $~lib/array/Array<i32>#filter
|
|
drop
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 647
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.37 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 648
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 30
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 656
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 31
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 10
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 660
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 32
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<bool>
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/boolVal
|
|
global.get $std/array/boolVal
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 663
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 33
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<bool>
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/boolVal
|
|
global.get $std/array/boolVal
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 666
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 34
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 674
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.38 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 8
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 675
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 35
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 10
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 677
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 36
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 690
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.39 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 2
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 691
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 37
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 699
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 38
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 10
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 703
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 39
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<bool>
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/boolVal
|
|
global.get $std/array/boolVal
|
|
i32.const 1
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 706
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 40
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<bool>
|
|
i32.const 0
|
|
i32.ne
|
|
global.set $std/array/boolVal
|
|
global.get $std/array/boolVal
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 709
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 41
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 717
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.40 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 8
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 718
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 42
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 10
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 720
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 733
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#get:length|inlined.41 (result i32)
|
|
global.get $std/array/arr
|
|
local.set $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
end
|
|
i32.const 0
|
|
i32.eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 734
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
call $~lib/bindings/Math/random
|
|
i64.reinterpret_f64
|
|
call $~lib/math/NativeMath.seedRandom
|
|
block (result i32)
|
|
i32.const 0
|
|
global.set $~lib/argc
|
|
global.get $std/array/f32ArrayTyped
|
|
i32.const 0
|
|
call $~lib/array/Array<f32>#sort|trampoline
|
|
end
|
|
drop
|
|
global.get $std/array/f32ArrayTyped
|
|
i32.const 3240
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<f32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 821
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block (result i32)
|
|
i32.const 0
|
|
global.set $~lib/argc
|
|
global.get $std/array/f64ArrayTyped
|
|
i32.const 0
|
|
call $~lib/array/Array<f64>#sort|trampoline
|
|
end
|
|
drop
|
|
global.get $std/array/f64ArrayTyped
|
|
i32.const 3512
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<f64>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 825
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block (result i32)
|
|
i32.const 0
|
|
global.set $~lib/argc
|
|
global.get $std/array/i32ArrayTyped
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#sort|trampoline
|
|
end
|
|
drop
|
|
global.get $std/array/i32ArrayTyped
|
|
i32.const 3592
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 829
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block (result i32)
|
|
i32.const 0
|
|
global.set $~lib/argc
|
|
global.get $std/array/u32ArrayTyped
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#sort|trampoline
|
|
end
|
|
drop
|
|
global.get $std/array/u32ArrayTyped
|
|
i32.const 3672
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 833
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 64
|
|
call $std/array/createReverseOrderedArray
|
|
global.set $std/array/reversed64
|
|
i32.const 128
|
|
call $std/array/createReverseOrderedArray
|
|
global.set $std/array/reversed128
|
|
i32.const 1024
|
|
call $std/array/createReverseOrderedArray
|
|
global.set $std/array/reversed1024
|
|
i32.const 10000
|
|
call $std/array/createReverseOrderedArray
|
|
global.set $std/array/reversed10000
|
|
i32.const 512
|
|
call $std/array/createRandomOrderedArray
|
|
global.set $std/array/randomized512
|
|
global.get $std/array/reversed0
|
|
call $std/array/assertSortedDefault<i32>
|
|
global.get $std/array/reversed1
|
|
call $std/array/assertSortedDefault<i32>
|
|
global.get $std/array/reversed1
|
|
i32.const 3840
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 853
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/reversed2
|
|
call $std/array/assertSortedDefault<i32>
|
|
global.get $std/array/reversed2
|
|
i32.const 3864
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 856
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/reversed4
|
|
call $std/array/assertSortedDefault<i32>
|
|
global.get $std/array/reversed4
|
|
global.get $std/array/expected4
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 859
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/reversed64
|
|
call $std/array/assertSortedDefault<i32>
|
|
global.get $std/array/reversed64
|
|
global.get $std/array/expected4
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 862
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/reversed128
|
|
call $std/array/assertSortedDefault<i32>
|
|
global.get $std/array/reversed128
|
|
global.get $std/array/expected4
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 865
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/reversed1024
|
|
call $std/array/assertSortedDefault<i32>
|
|
global.get $std/array/reversed1024
|
|
global.get $std/array/expected4
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 868
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/reversed10000
|
|
call $std/array/assertSortedDefault<i32>
|
|
global.get $std/array/reversed10000
|
|
global.get $std/array/expected4
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 871
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/randomized512
|
|
call $std/array/assertSortedDefault<i32>
|
|
i32.const 64
|
|
call $std/array/createRandomOrderedArray
|
|
global.set $std/array/randomized64
|
|
i32.const 257
|
|
call $std/array/createRandomOrderedArray
|
|
global.set $std/array/randomized257
|
|
global.get $std/array/randomized64
|
|
i32.const 49
|
|
call $std/array/assertSorted<i32>
|
|
global.get $std/array/randomized64
|
|
i32.const 50
|
|
call $std/array/assertSorted<i32>
|
|
global.get $std/array/randomized257
|
|
i32.const 51
|
|
call $std/array/assertSorted<i32>
|
|
global.get $std/array/randomized257
|
|
i32.const 52
|
|
call $std/array/assertSorted<i32>
|
|
i32.const 512
|
|
call $std/array/createReverseOrderedNestedArray
|
|
global.set $std/array/reversedNested512
|
|
global.get $std/array/reversedNested512
|
|
i32.const 53
|
|
call $std/array/assertSorted<Array<i32>>
|
|
i32.const 512
|
|
call $std/array/createReverseOrderedElementsArray
|
|
global.set $std/array/reversedElements512
|
|
global.get $std/array/reversedElements512
|
|
i32.const 54
|
|
call $std/array/assertSorted<Proxy<i32>>
|
|
block
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
global.get $std/array/randomStringsActual
|
|
i32.const 0
|
|
call $std/array/assertSorted<String>|trampoline
|
|
end
|
|
global.get $std/array/randomStringsActual
|
|
global.get $std/array/randomStringsExpected
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<String>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 901
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 400
|
|
call $std/array/createRandomStringArray
|
|
global.set $std/array/randomStrings400
|
|
block
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
global.get $std/array/randomStrings400
|
|
i32.const 0
|
|
call $std/array/assertSorted<String>|trampoline
|
|
end
|
|
i32.const 4240
|
|
i32.const 4216
|
|
call $~lib/array/Array<bool>#join
|
|
i32.const 4248
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 910
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 4872
|
|
i32.const 3904
|
|
call $~lib/array/Array<i32>#join
|
|
i32.const 4880
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 911
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 4976
|
|
i32.const 4936
|
|
call $~lib/array/Array<u32>#join
|
|
i32.const 4880
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 912
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 5032
|
|
i32.const 5008
|
|
call $~lib/array/Array<i32>#join
|
|
i32.const 5040
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 913
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 6688
|
|
i32.const 5168
|
|
call $~lib/array/Array<f64>#join
|
|
i32.const 6696
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 914
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 6864
|
|
i32.const 3904
|
|
call $~lib/array/Array<String>#join
|
|
i32.const 6784
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 915
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block (result i32)
|
|
i32.const 0
|
|
i32.const 3
|
|
call $~lib/array/Array<Ref>#constructor
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 0
|
|
i32.const 0
|
|
call $std/array/Ref#constructor
|
|
call $~lib/array/Array<Ref>#__unchecked_set
|
|
local.get $3
|
|
i32.const 1
|
|
i32.const 0
|
|
call $~lib/array/Array<Ref>#__unchecked_set
|
|
local.get $3
|
|
i32.const 2
|
|
i32.const 0
|
|
call $std/array/Ref#constructor
|
|
call $~lib/array/Array<Ref>#__unchecked_set
|
|
local.get $3
|
|
end
|
|
global.set $std/array/refArr
|
|
global.get $std/array/refArr
|
|
i32.const 4216
|
|
call $~lib/array/Array<Ref>#join
|
|
i32.const 6912
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 917
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#toString|inlined.1 (result i32)
|
|
global.get $std/array/reversed0
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<i32>#join
|
|
end
|
|
i32.const 3904
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 921
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#toString|inlined.3 (result i32)
|
|
global.get $std/array/reversed1
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<i32>#join
|
|
end
|
|
i32.const 6784
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 922
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#toString|inlined.5 (result i32)
|
|
global.get $std/array/reversed2
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<i32>#join
|
|
end
|
|
i32.const 6984
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 923
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i32>#toString|inlined.7 (result i32)
|
|
global.get $std/array/reversed4
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<i32>#join
|
|
end
|
|
i32.const 7000
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 924
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i8>#toString|inlined.1 (result i32)
|
|
i32.const 7064
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<i8>#join
|
|
end
|
|
i32.const 7072
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 926
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<u16>#toString|inlined.1 (result i32)
|
|
i32.const 7128
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<u16>#join
|
|
end
|
|
i32.const 7136
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 927
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<u64>#toString|inlined.1 (result i32)
|
|
i32.const 7752
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<u64>#join
|
|
end
|
|
i32.const 7760
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 928
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<i64>#toString|inlined.1 (result i32)
|
|
i32.const 7952
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<i64>#join
|
|
end
|
|
i32.const 7960
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 929
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<String>#toString|inlined.1 (result i32)
|
|
global.get $std/array/randomStringsExpected
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<String>#join
|
|
end
|
|
i32.const 8048
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 930
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<String>#toString|inlined.3 (result i32)
|
|
i32.const 8168
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<String>#join
|
|
end
|
|
i32.const 8176
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 931
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<Array<i32>>#toString|inlined.1 (result i32)
|
|
global.get $std/array/subarr32
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<Array<i32>>#join
|
|
end
|
|
i32.const 8264
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 934
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<Array<u8>>#toString|inlined.1 (result i32)
|
|
global.get $std/array/subarr8
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<Array<u8>>#join
|
|
end
|
|
i32.const 8264
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 937
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
block $~lib/array/Array<Array<Array<u32>>>#toString|inlined.1 (result i32)
|
|
global.get $std/array/subarrU32
|
|
local.set $3
|
|
local.get $3
|
|
i32.const 4216
|
|
call $~lib/array/Array<Array<Array<u32>>>#join
|
|
end
|
|
i32.const 6784
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 120
|
|
i32.const 940
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $start (; 227 ;) (type $_)
|
|
call $start:std/array
|
|
)
|
|
(func $null (; 228 ;) (type $_)
|
|
)
|
|
)
|