mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 07:02:13 +00:00
14487 lines
262 KiB
Plaintext
14487 lines
262 KiB
Plaintext
(module
|
|
(type $iii (func (param i32 i32) (result i32)))
|
|
(type $iiiiv (func (param i32 i32 i32 i32)))
|
|
(type $ii (func (param i32) (result i32)))
|
|
(type $iiiv (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 $iv (func (param i32)))
|
|
(type $iiv (func (param i32 i32)))
|
|
(type $iiif (func (param i32 i32 i32) (result f32)))
|
|
(type $F (func (result f64)))
|
|
(type $Iv (func (param i64)))
|
|
(type $ffi (func (param f32 f32) (result i32)))
|
|
(type $FFi (func (param f64 f64) (result i32)))
|
|
(type $Fi (func (param f64) (result i32)))
|
|
(type $iiiiiv (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 $iIiv (func (param i32 i64 i32)))
|
|
(type $iiIi (func (param i32 i32 i64) (result i32)))
|
|
(type $v (func))
|
|
(type $FUNCSIG$ii (func (param i32) (result i32)))
|
|
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
|
|
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
|
|
(type $FUNCSIG$viii (func (param i32 i32 i32)))
|
|
(type $FUNCSIG$i (func (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")
|
|
(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")
|
|
(data (i32.const 104) "\0c\00\00\00s\00t\00d\00/\00a\00r\00r\00a\00y\00.\00t\00s")
|
|
(data (i32.const 136) "\05\00\00\00\00\00\00\00\01\02\03\04\05")
|
|
(data (i32.const 152) "\88\00\00\00\05")
|
|
(data (i32.const 160) "\05\00\00\00\00\00\00\00\01\01\01\04\05")
|
|
(data (i32.const 176) "\a0\00\00\00\05")
|
|
(data (i32.const 184) "\05")
|
|
(data (i32.const 200) "\b8\00\00\00\05")
|
|
(data (i32.const 208) "\05\00\00\00\00\00\00\00\01\01")
|
|
(data (i32.const 224) "\d0\00\00\00\05")
|
|
(data (i32.const 232) "\05\00\00\00\00\00\00\00\01\01\00\02\02")
|
|
(data (i32.const 248) "\e8\00\00\00\05")
|
|
(data (i32.const 256) "\05\00\00\00\00\00\00\00\01\01\00\02\02")
|
|
(data (i32.const 273) "\01\00\00\05")
|
|
(data (i32.const 280) "\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")
|
|
(data (i32.const 312) "\18\01\00\00\05")
|
|
(data (i32.const 320) "\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")
|
|
(data (i32.const 352) "@\01\00\00\05")
|
|
(data (i32.const 360) "\14")
|
|
(data (i32.const 392) "h\01\00\00\05")
|
|
(data (i32.const 400) "\14\00\00\00\00\00\00\00\01\00\00\00\01")
|
|
(data (i32.const 432) "\90\01\00\00\05")
|
|
(data (i32.const 440) "\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")
|
|
(data (i32.const 472) "\b8\01\00\00\05")
|
|
(data (i32.const 480) "\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")
|
|
(data (i32.const 512) "\e0\01\00\00\05")
|
|
(data (i32.const 528) "\08\02")
|
|
(data (i32.const 544) "\18\02")
|
|
(data (i32.const 552) "\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")
|
|
(data (i32.const 584) "(\02\00\00\05")
|
|
(data (i32.const 592) "\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")
|
|
(data (i32.const 624) "P\02\00\00\05")
|
|
(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")
|
|
(data (i32.const 664) "x\02\00\00\05")
|
|
(data (i32.const 672) "\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")
|
|
(data (i32.const 704) "\a0\02\00\00\05")
|
|
(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")
|
|
(data (i32.const 744) "\c8\02\00\00\05")
|
|
(data (i32.const 752) "\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")
|
|
(data (i32.const 784) "\f0\02\00\00\05")
|
|
(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")
|
|
(data (i32.const 824) "\18\03\00\00\05")
|
|
(data (i32.const 832) "\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")
|
|
(data (i32.const 864) "@\03\00\00\05")
|
|
(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")
|
|
(data (i32.const 904) "h\03\00\00\05")
|
|
(data (i32.const 912) "\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")
|
|
(data (i32.const 944) "\90\03\00\00\05")
|
|
(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")
|
|
(data (i32.const 984) "\b8\03\00\00\05")
|
|
(data (i32.const 992) "\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")
|
|
(data (i32.const 1024) "\e0\03\00\00\05")
|
|
(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")
|
|
(data (i32.const 1064) "\08\04\00\00\05")
|
|
(data (i32.const 1072) "\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")
|
|
(data (i32.const 1104) "0\04\00\00\05")
|
|
(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")
|
|
(data (i32.const 1144) "X\04\00\00\05")
|
|
(data (i32.const 1152) "\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")
|
|
(data (i32.const 1184) "\80\04\00\00\05")
|
|
(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")
|
|
(data (i32.const 1224) "\a8\04\00\00\05")
|
|
(data (i32.const 1232) "\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")
|
|
(data (i32.const 1264) "\d0\04\00\00\05")
|
|
(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")
|
|
(data (i32.const 1304) "\f8\04\00\00\05")
|
|
(data (i32.const 1312) "\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")
|
|
(data (i32.const 1344) " \05\00\00\05")
|
|
(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")
|
|
(data (i32.const 1384) "H\05\00\00\05")
|
|
(data (i32.const 1392) "\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")
|
|
(data (i32.const 1424) "p\05\00\00\05")
|
|
(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")
|
|
(data (i32.const 1464) "\98\05\00\00\05")
|
|
(data (i32.const 1472) "\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")
|
|
(data (i32.const 1504) "\c0\05\00\00\05")
|
|
(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")
|
|
(data (i32.const 1544) "\e8\05\00\00\05")
|
|
(data (i32.const 1552) "\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")
|
|
(data (i32.const 1584) "\10\06\00\00\05")
|
|
(data (i32.const 1600) "8\06")
|
|
(data (i32.const 1608) "\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")
|
|
(data (i32.const 1640) "H\06\00\00\05")
|
|
(data (i32.const 1648) "\0c\00\00\00\00\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1680) "p\06\00\00\03")
|
|
(data (i32.const 1688) "\08\00\00\00\00\00\00\00\01\00\00\00\02")
|
|
(data (i32.const 1704) "\98\06\00\00\02")
|
|
(data (i32.const 1712) "\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")
|
|
(data (i32.const 1744) "\b0\06\00\00\05")
|
|
(data (i32.const 1752) "\08\00\00\00\00\00\00\00\03\00\00\00\04")
|
|
(data (i32.const 1768) "\d8\06\00\00\02")
|
|
(data (i32.const 1776) "\0c\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\05")
|
|
(data (i32.const 1808) "\f0\06\00\00\03")
|
|
(data (i32.const 1816) "\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")
|
|
(data (i32.const 1848) "\18\07\00\00\05")
|
|
(data (i32.const 1856) "\04\00\00\00\00\00\00\00\01")
|
|
(data (i32.const 1872) "@\07\00\00\01")
|
|
(data (i32.const 1880) "\10\00\00\00\00\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1912) "X\07\00\00\04")
|
|
(data (i32.const 1920) "\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")
|
|
(data (i32.const 1952) "\80\07\00\00\05")
|
|
(data (i32.const 1960) "\04\00\00\00\00\00\00\00\05")
|
|
(data (i32.const 1976) "\a8\07\00\00\01")
|
|
(data (i32.const 1984) "\10\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04")
|
|
(data (i32.const 2016) "\c0\07\00\00\04")
|
|
(data (i32.const 2024) "\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")
|
|
(data (i32.const 2056) "\e8\07\00\00\05")
|
|
(data (i32.const 2064) "\08\00\00\00\00\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2080) "\10\08\00\00\02")
|
|
(data (i32.const 2088) "\0c\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03")
|
|
(data (i32.const 2120) "(\08\00\00\03")
|
|
(data (i32.const 2128) "\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")
|
|
(data (i32.const 2160) "P\08\00\00\05")
|
|
(data (i32.const 2168) "\04\00\00\00\00\00\00\00\04")
|
|
(data (i32.const 2184) "x\08\00\00\01")
|
|
(data (i32.const 2192) "\10\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\05")
|
|
(data (i32.const 2224) "\90\08\00\00\04")
|
|
(data (i32.const 2232) "\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")
|
|
(data (i32.const 2264) "\b8\08\00\00\05")
|
|
(data (i32.const 2272) "\04\00\00\00\00\00\00\00\01")
|
|
(data (i32.const 2288) "\e0\08\00\00\01")
|
|
(data (i32.const 2296) "\10\00\00\00\00\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2328) "\f8\08\00\00\04")
|
|
(data (i32.const 2336) "\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")
|
|
(data (i32.const 2368) " \t\00\00\05")
|
|
(data (i32.const 2384) "H\t")
|
|
(data (i32.const 2392) "\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")
|
|
(data (i32.const 2424) "X\t\00\00\05")
|
|
(data (i32.const 2432) "\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")
|
|
(data (i32.const 2464) "\80\t\00\00\05")
|
|
(data (i32.const 2480) "\a8\t")
|
|
(data (i32.const 2488) "\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")
|
|
(data (i32.const 2520) "\b8\t\00\00\05")
|
|
(data (i32.const 2528) "\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")
|
|
(data (i32.const 2560) "\e0\t\00\00\05")
|
|
(data (i32.const 2576) "\08\n")
|
|
(data (i32.const 2584) "\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")
|
|
(data (i32.const 2616) "\18\n\00\00\05")
|
|
(data (i32.const 2624) "\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")
|
|
(data (i32.const 2656) "@\n\00\00\05")
|
|
(data (i32.const 2672) "h\n")
|
|
(data (i32.const 2680) "\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")
|
|
(data (i32.const 2712) "x\n\00\00\05")
|
|
(data (i32.const 2720) "\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")
|
|
(data (i32.const 2752) "\a0\n\00\00\05")
|
|
(data (i32.const 2768) "\c8\n")
|
|
(data (i32.const 2776) "\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")
|
|
(data (i32.const 2808) "\d8\n\00\00\05")
|
|
(data (i32.const 2816) "\0c\00\00\00~\00l\00i\00b\00/\00m\00a\00t\00h\00.\00t\00s")
|
|
(data (i32.const 2848) "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?")
|
|
(data (i32.const 3024) " ")
|
|
(data (i32.const 3034) "\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")
|
|
(data (i32.const 3088) "\d0\0b\00\00\08")
|
|
(data (i32.const 3096) " ")
|
|
(data (i32.const 3106) "\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")
|
|
(data (i32.const 3160) "\18\0c\00\00\08")
|
|
(data (i32.const 3168) "@")
|
|
(data (i32.const 3182) "\f0?\00\00\00\00\00\00\f8\7f\00\00\00\00\00\00\f0\ff\05\00\00\00\00\00\f0?")
|
|
(data (i32.const 3222) "\f0\bf\00\00\00\00\00\00\00\c0\00\00\00\00\00\00\f0\7f")
|
|
(data (i32.const 3296) "`\0c\00\00\08")
|
|
(data (i32.const 3304) "@")
|
|
(data (i32.const 3318) "\f0\ff\00\00\00\00\00\00\00\c0\00\00\00\00\00\00\f0\bf")
|
|
(data (i32.const 3350) "\f0?\05\00\00\00\00\00\f0?\00\00\00\00\00\00\f0\7f\00\00\00\00\00\00\f8\7f")
|
|
(data (i32.const 3432) "\e8\0c\00\00\08")
|
|
(data (i32.const 3440) "\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")
|
|
(data (i32.const 3472) "p\0d\00\00\05")
|
|
(data (i32.const 3480) "\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")
|
|
(data (i32.const 3512) "\98\0d\00\00\05")
|
|
(data (i32.const 3520) "\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")
|
|
(data (i32.const 3552) "\c0\0d\00\00\05")
|
|
(data (i32.const 3560) "\14")
|
|
(data (i32.const 3572) "\01\00\00\00\02\00\00\00\fe\ff\ff\ff\ff\ff\ff\ff")
|
|
(data (i32.const 3592) "\e8\0d\00\00\05")
|
|
(data (i32.const 3608) "\10\0e")
|
|
(data (i32.const 3616) "\04\00\00\00\00\00\00\00\01")
|
|
(data (i32.const 3632) " \0e\00\00\01")
|
|
(data (i32.const 3640) "\08\00\00\00\00\00\00\00\02\00\00\00\01")
|
|
(data (i32.const 3656) "8\0e\00\00\02")
|
|
(data (i32.const 3664) "\10\00\00\00\00\00\00\00\03\00\00\00\02\00\00\00\01")
|
|
(data (i32.const 3696) "P\0e\00\00\04")
|
|
(data (i32.const 3704) "\10")
|
|
(data (i32.const 3716) "\01\00\00\00\02\00\00\00\03")
|
|
(data (i32.const 3736) "x\0e\00\00\04")
|
|
(data (i32.const 3744) "\04\00\00\00\00\00\00\00\01")
|
|
(data (i32.const 3760) "\a0\0e\00\00\01")
|
|
(data (i32.const 3768) "\08\00\00\00\00\00\00\00\01\00\00\00\02")
|
|
(data (i32.const 3784) "\b8\0e\00\00\02")
|
|
(data (i32.const 3792) "\01\00\00\00a")
|
|
(data (i32.const 3800) "\01\00\00\00b")
|
|
(data (i32.const 3808) "\02\00\00\00a\00b")
|
|
(data (i32.const 3816) "\02\00\00\00b\00a")
|
|
(data (i32.const 3832) "\1c\00\00\00\00\00\00\00\d0\0e\00\00\d8\0e\00\00\d0\0e\00\00\e0\0e\00\00\e8\0e\00\00\f0\0e")
|
|
(data (i32.const 3896) "\f8\0e\00\00\07")
|
|
(data (i32.const 3904) "\1c\00\00\00\00\00\00\00\f0\0e\00\00\d0\0e\00\00\d0\0e\00\00\e0\0e\00\00\d8\0e\00\00\e8\0e")
|
|
(data (i32.const 3968) "@\0f\00\00\07")
|
|
(data (i32.const 3976) "\0e\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
|
|
(data (i32.const 4008) "\17\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
|
|
(data (i32.const 4064) "\04\00\00\00n\00u\00l\00l")
|
|
(data (i32.const 4080) "\02\00\00\00\00\00\00\00\01")
|
|
(data (i32.const 4096) "\f0\0f\00\00\02")
|
|
(data (i32.const 4104) "\04\00\00\00t\00r\00u\00e")
|
|
(data (i32.const 4120) "\05\00\00\00f\00a\00l\00s\00e")
|
|
(data (i32.const 4136) "\01\00\00\00,")
|
|
(data (i32.const 4144) "\02\00\00\00\00\00\00\00\01")
|
|
(data (i32.const 4160) "0\10\00\00\02")
|
|
(data (i32.const 4168) "\n\00\00\00t\00r\00u\00e\00,\00f\00a\00l\00s\00e")
|
|
(data (i32.const 4192) "\0c\00\00\00\00\00\00\00\01\00\00\00\fe\ff\ff\ff\fd\ff\ff\ff")
|
|
(data (i32.const 4224) "`\10\00\00\03")
|
|
(data (i32.const 4232) "\01\00\00\000")
|
|
(data (i32.const 4240) "\90\01\00\00\00\00\00\000\000\000\001\000\002\000\003\000\004\000\005\000\006\000\007\000\008\000\009\001\000\001\001\001\002\001\003\001\004\001\005\001\006\001\007\001\008\001\009\002\000\002\001\002\002\002\003\002\004\002\005\002\006\002\007\002\008\002\009\003\000\003\001\003\002\003\003\003\004\003\005\003\006\003\007\003\008\003\009\004\000\004\001\004\002\004\003\004\004\004\005\004\006\004\007\004\008\004\009\005\000\005\001\005\002\005\003\005\004\005\005\005\006\005\007\005\008\005\009\006\000\006\001\006\002\006\003\006\004\006\005\006\006\006\007\006\008\006\009\007\000\007\001\007\002\007\003\007\004\007\005\007\006\007\007\007\008\007\009\008\000\008\001\008\002\008\003\008\004\008\005\008\006\008\007\008\008\008\009\009\000\009\001\009\002\009\003\009\004\009\005\009\006\009\007\009\008\009\009")
|
|
(data (i32.const 4752) "\90\10\00\00d")
|
|
(data (i32.const 4760) "\0c\00\00\00\00\00\00\00\01\00\00\00\fe\ff\ff\ff\fd\ff\ff\ff")
|
|
(data (i32.const 4792) "\98\12\00\00\03")
|
|
(data (i32.const 4800) "\05\00\00\001\00-\002\00-\003")
|
|
(data (i32.const 4816) "\0c\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03")
|
|
(data (i32.const 4848) "\d0\12\00\00\03")
|
|
(data (i32.const 4856) "\01\00\00\00-")
|
|
(data (i32.const 4864) "\0c\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03")
|
|
(data (i32.const 4897) "\13\00\00\03")
|
|
(data (i32.const 4904) "\08")
|
|
(data (i32.const 4915) "\80\00\00\00\80")
|
|
(data (i32.const 4920) "(\13\00\00\02")
|
|
(data (i32.const 4928) "\02\00\00\00_\00_")
|
|
(data (i32.const 4936) "\08")
|
|
(data (i32.const 4947) "\80\00\00\00\80")
|
|
(data (i32.const 4952) "H\13\00\00\02")
|
|
(data (i32.const 4960) "\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")
|
|
(data (i32.const 5016) "0")
|
|
(data (i32.const 5038) "\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")
|
|
(data (i32.const 5080) "\98\13\00\00\06")
|
|
(data (i32.const 5088) "\02\00\00\00,\00 ")
|
|
(data (i32.const 5096) "\03\00\00\000\00.\000")
|
|
(data (i32.const 5112) "\03\00\00\00N\00a\00N")
|
|
(data (i32.const 5128) "\t\00\00\00-\00I\00n\00f\00i\00n\00i\00t\00y")
|
|
(data (i32.const 5152) "\08\00\00\00I\00n\00f\00i\00n\00i\00t\00y")
|
|
(data (i32.const 5176) "\b8\02\00\00\00\00\00\00\88\02\1c\08\a0\d5\8f\fav\bf>\a2\7f\e1\ae\bav\acU0 \fb\16\8b\ea5\ce]J\89B\cf-;eU\aa\b0k\9a\dfE\1a=\03\cf\1a\e6\ca\c6\9a\c7\17\fep\abO\dc\bc\be\fc\b1w\ff\0c\d6kA\ef\91V\be<\fc\7f\90\ad\1f\d0\8d\83\9aU1(\\Q\d3\b5\c9\a6\ad\8f\acq\9d\cb\8b\ee#w\"\9c\eamSx@\91I\cc\aeW\ce\b6]y\12<\827V\fbM6\94\10\c2O\98H8o\ea\96\90\c7:\82%\cb\85t\d7\f4\97\bf\97\cd\cf\86\a0\e5\ac*\17\98\n4\ef\8e\b25*\fbg8\b2;?\c6\d2\df\d4\c8\84\ba\cd\d3\1a\'D\dd\c5\96\c9%\bb\ce\9fk\93\84\a5b}$l\ac\db\f6\da_\0dXf\ab\a3&\f1\c3\de\93\f8\e2\f3\b8\80\ff\aa\a8\ad\b5\b5\8bJ|l\05_b\87S0\c14`\ff\bc\c9U&\ba\91\8c\85N\96\bd~)p$w\f9\df\8f\b8\e5\b8\9f\bd\df\a6\94}t\88\cf_\a9\f8\cf\9b\a8\8f\93pD\b9k\15\0f\bf\f8\f0\08\8a\b611eU%\b0\cd\ac\7f{\d0\c6\e2?\99\06;+*\c4\10\\\e4\d3\92si\99$$\aa\0e\ca\00\83\f2\b5\87\fd\eb\1a\11\92d\08\e5\bc\cc\88Po\t\cc\bc\8c,e\19\e2X\17\b7\d1\00\00\00\00\00\00@\9c\00\00\00\00\10\a5\d4\e8\00\00b\ac\c5\ebx\ad\84\t\94\f8x9?\81\b3\15\07\c9{\ce\97\c0p\\\ea{\ce2~\8fh\80\e9\ab\a48\d2\d5E\"\9a\17&\'O\9f\'\fb\c4\d41\a2c\ed\a8\ad\c8\8c8e\de\b0\dbe\ab\1a\8e\08\c7\83\9a\1dqB\f9\1d]\c4X\e7\1b\a6,iM\92\ea\8dp\1ad\ee\01\daJw\ef\9a\99\a3m\a2\85k}\b4{x\t\f2w\18\ddy\a1\e4T\b4\c2\c5\9b[\92\86[\86=]\96\c8\c5S5\c8\b3\a0\97\fa\\\b4*\95\e3_\a0\99\bd\9fF\de%\8c9\db4\c2\9b\a5\\\9f\98\a3r\9a\c6\f6\ce\be\e9TS\bf\dc\b7\e2A\"\f2\17\f3\fc\88\a5x\\\d3\9b\ce \cc\dfS!{\f3Z\16\98:0\1f\97\dc\b5\a0\e2\96\b3\e3\\S\d1\d9\a8<D\a7\a4\d9|\9b\fb\10D\a4\a7LLv\bb\1a\9c@\b6\ef\8e\ab\8b,\84W\a6\10\ef\1f\d0)1\91\e9\e5\a4\10\9b\9d\0c\9c\a1\fb\9b\10\e7)\f4;b\d9 (\ac\85\cf\a7z^KD\80-\dd\ac\03@\e4!\bf\8f\ffD^/\9cg\8eA\b8\8c\9c\9d\173\d4\a9\1b\e3\b4\92\db\19\9e\d9w\df\ban\bf\96\ebk\ee\f0\9b;\02\87\af")
|
|
(data (i32.const 6200) "8\14\00\00W")
|
|
(data (i32.const 6208) "\ae\00\00\00\00\00\00\00<\fbW\fbr\fb\8c\fb\a7\fb\c1\fb\dc\fb\f6\fb\11\fc,\fcF\fca\fc{\fc\96\fc\b1\fc\cb\fc\e6\fc\00\fd\1b\fd5\fdP\fdk\fd\85\fd\a0\fd\ba\fd\d5\fd\ef\fd\n\fe%\fe?\feZ\fet\fe\8f\fe\a9\fe\c4\fe\df\fe\f9\fe\14\ff.\ffI\ffc\ff~\ff\99\ff\b3\ff\ce\ff\e8\ff\03\00\1e\008\00S\00m\00\88\00\a2\00\bd\00\d8\00\f2\00\0d\01\'\01B\01\\\01w\01\92\01\ac\01\c7\01\e1\01\fc\01\16\021\02L\02f\02\81\02\9b\02\b6\02\d0\02\eb\02\06\03 \03;\03U\03p\03\8b\03\a5\03\c0\03\da\03\f5\03\0f\04*\04")
|
|
(data (i32.const 6464) "@\18\00\00W")
|
|
(data (i32.const 6472) "(\00\00\00\00\00\00\00\01\00\00\00\n\00\00\00d\00\00\00\e8\03\00\00\10\'\00\00\a0\86\01\00@B\0f\00\80\96\98\00\00\e1\f5\05\00\ca\9a;")
|
|
(data (i32.const 6536) "H\19\00\00\n")
|
|
(data (i32.const 6544) "0")
|
|
(data (i32.const 6566) "\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")
|
|
(data (i32.const 6608) "\90\19\00\00\06")
|
|
(data (i32.const 6616) "(\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")
|
|
(data (i32.const 6704) "\01\00\00\001")
|
|
(data (i32.const 6712) "\0c\00\00\00\00\00\00\00\f0\0e\00\000\1a")
|
|
(data (i32.const 6744) "8\1a\00\00\03")
|
|
(data (i32.const 6752) "\0c\00\00\00\00\00\00\00\f0\0e\00\000\1a")
|
|
(data (i32.const 6784) "`\1a\00\00\03")
|
|
(data (i32.const 6792) "\0f\00\00\00[\00o\00b\00j\00e\00c\00t\00 \00O\00b\00j\00e\00c\00t\00]")
|
|
(data (i32.const 6832) " \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]")
|
|
(data (i32.const 6904) "\03\00\00\001\00,\002")
|
|
(data (i32.const 6920) "\07\00\00\000\00,\001\00,\002\00,\003")
|
|
(data (i32.const 6944) "\03\00\00\00\00\00\00\00\01\ff")
|
|
(data (i32.const 6960) " \1b\00\00\03")
|
|
(data (i32.const 6968) "\03\00\00\00\00\00\00\00\01\ff")
|
|
(data (i32.const 6984) "8\1b\00\00\03")
|
|
(data (i32.const 6992) "\06\00\00\001\00,\00-\001\00,\000")
|
|
(data (i32.const 7008) "\06\00\00\00\00\00\00\00\01\00\ff\ff")
|
|
(data (i32.const 7024) "`\1b\00\00\03")
|
|
(data (i32.const 7032) "\06\00\00\00\00\00\00\00\01\00\ff\ff")
|
|
(data (i32.const 7048) "x\1b\00\00\03")
|
|
(data (i32.const 7056) "\t\00\00\001\00,\006\005\005\003\005\00,\000")
|
|
(data (i32.const 7080) "\18\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\ff")
|
|
(data (i32.const 7112) "\a8\1b\00\00\03")
|
|
(data (i32.const 7120) "\90\01\00\00\00\00\00\000\000\000\001\000\002\000\003\000\004\000\005\000\006\000\007\000\008\000\009\001\000\001\001\001\002\001\003\001\004\001\005\001\006\001\007\001\008\001\009\002\000\002\001\002\002\002\003\002\004\002\005\002\006\002\007\002\008\002\009\003\000\003\001\003\002\003\003\003\004\003\005\003\006\003\007\003\008\003\009\004\000\004\001\004\002\004\003\004\004\004\005\004\006\004\007\004\008\004\009\005\000\005\001\005\002\005\003\005\004\005\005\005\006\005\007\005\008\005\009\006\000\006\001\006\002\006\003\006\004\006\005\006\006\006\007\006\008\006\009\007\000\007\001\007\002\007\003\007\004\007\005\007\006\007\007\007\008\007\009\008\000\008\001\008\002\008\003\008\004\008\005\008\006\008\007\008\008\008\009\009\000\009\001\009\002\009\003\009\004\009\005\009\006\009\007\009\008\009\009")
|
|
(data (i32.const 7632) "\d0\1b\00\00d")
|
|
(data (i32.const 7640) "\18\00\00\00\00\00\00\00\01\00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\ff")
|
|
(data (i32.const 7672) "\d8\1d\00\00\03")
|
|
(data (i32.const 7680) "\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")
|
|
(data (i32.const 7736) " \00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\ff@Eu\c3*\9d\fb\ff")
|
|
(data (i32.const 7768) "\ff\ff\ff\ff\ff\ff\ff\7f")
|
|
(data (i32.const 7800) "8\1e\00\00\04")
|
|
(data (i32.const 7808) " \00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\ff@Eu\c3*\9d\fb\ff")
|
|
(data (i32.const 7840) "\ff\ff\ff\ff\ff\ff\ff\7f")
|
|
(data (i32.const 7872) "\80\1e\00\00\04")
|
|
(data (i32.const 7880) "*\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")
|
|
(data (i32.const 7968) "\0d\00\00\00,\00a\00,\00a\00,\00a\00b\00,\00b\00,\00b\00a\00,")
|
|
(data (i32.const 8000) "\01\00\00\002")
|
|
(data (i32.const 8008) "\01\00\00\004")
|
|
(data (i32.const 8016) "\10\00\00\00\00\00\00\000\1a\00\00@\1f\00\00\00\00\00\00H\1f")
|
|
(data (i32.const 8048) "P\1f\00\00\04")
|
|
(data (i32.const 8056) "\10\00\00\00\00\00\00\000\1a\00\00@\1f\00\00\00\00\00\00H\1f")
|
|
(data (i32.const 8088) "x\1f\00\00\04")
|
|
(data (i32.const 8096) "\06\00\00\001\00,\002\00,\00,\004")
|
|
(data (i32.const 8112) "\08\00\00\00\00\00\00\00\01\00\00\00\02")
|
|
(data (i32.const 8128) "\b0\1f\00\00\02")
|
|
(data (i32.const 8136) "\08\00\00\00\00\00\00\00\03\00\00\00\04")
|
|
(data (i32.const 8152) "\c8\1f\00\00\02")
|
|
(data (i32.const 8160) "\08\00\00\00\00\00\00\00\c0\1f\00\00\d8\1f")
|
|
(data (i32.const 8176) "\e0\1f\00\00\02")
|
|
(data (i32.const 8184) "\07\00\00\001\00,\002\00,\003\00,\004")
|
|
(data (i32.const 8208) "\02\00\00\00\00\00\00\00\01\02")
|
|
(data (i32.const 8224) "\10 \00\00\02")
|
|
(data (i32.const 8232) "\02\00\00\00\00\00\00\00\03\04")
|
|
(data (i32.const 8248) "( \00\00\02")
|
|
(data (i32.const 8256) "\08\00\00\00\00\00\00\00 \00\008 ")
|
|
(data (i32.const 8272) "@ \00\00\02")
|
|
(data (i32.const 8280) "\04\00\00\00\00\00\00\00\01")
|
|
(data (i32.const 8296) "X \00\00\01")
|
|
(data (i32.const 8304) "\04\00\00\00\00\00\00\00h ")
|
|
(data (i32.const 8320) "p \00\00\01")
|
|
(data (i32.const 8328) "\04\00\00\00\00\00\00\00\80 ")
|
|
(data (i32.const 8344) "\88 \00\00\01")
|
|
(table $0 57 anyfunc)
|
|
(elem (i32.const 0) $null $start~anonymous|1 $start~anonymous|2 $start~anonymous|3 $start~anonymous|4 $start~anonymous|3 $start~anonymous|6 $start~anonymous|7 $start~anonymous|8 $start~anonymous|9 $start~anonymous|10 $start~anonymous|11 $start~anonymous|12 $start~anonymous|13 $start~anonymous|14 $start~anonymous|15 $start~anonymous|16 $start~anonymous|17 $start~anonymous|18 $start~anonymous|17 $start~anonymous|20 $start~anonymous|21 $start~anonymous|22 $start~anonymous|23 $start~anonymous|24 $start~anonymous|25 $start~anonymous|26 $start~anonymous|27 $start~anonymous|28 $start~anonymous|29 $start~anonymous|30 $start~anonymous|30 $start~anonymous|32 $start~anonymous|33 $start~anonymous|34 $start~anonymous|30 $start~anonymous|36 $start~anonymous|30 $start~anonymous|30 $start~anonymous|32 $start~anonymous|33 $start~anonymous|34 $start~anonymous|30 $start~anonymous|36 $~lib/array/Array<f32>#sort|trampoline~anonymous|44 $~lib/array/Array<f64>#sort|trampoline~anonymous|45 $~lib/array/Array<i32>#sort|trampoline~anonymous|46 $~lib/array/Array<u32>#sort|trampoline~anonymous|47 $~lib/array/Array<i32>#sort|trampoline~anonymous|46 $~lib/array/Array<i32>#sort|trampoline~anonymous|46 $start~anonymous|50 $~lib/array/Array<i32>#sort|trampoline~anonymous|46 $start~anonymous|50 $start~anonymous|53 $start~anonymous|54 $start~anonymous|55 $start~anonymous|55)
|
|
(global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0))
|
|
(global $~lib/allocator/arena/offset (mut i32) (i32.const 0))
|
|
(global $~lib/internal/number/_K (mut i32) (i32.const 0))
|
|
(global $~lib/internal/number/_exp (mut i32) (i32.const 0))
|
|
(global $~lib/internal/number/_frc_minus (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_frc_plus (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_frc_pow (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_exp_pow (mut i32) (i32.const 0))
|
|
(global $std/array/arr (mut i32) (i32.const 0))
|
|
(global $std/array/Null (mut i32) (i32.const 0))
|
|
(global $std/array/arr8 (mut i32) (i32.const 152))
|
|
(global $~argc (mut i32) (i32.const 0))
|
|
(global $std/array/arr32 (mut i32) (i32.const 312))
|
|
(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 544))
|
|
(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 1544))
|
|
(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/f32ArrayTyped (mut i32) (i32.const 3088))
|
|
(global $std/array/f64ArrayTyped (mut i32) (i32.const 3296))
|
|
(global $std/array/i32ArrayTyped (mut i32) (i32.const 3472))
|
|
(global $std/array/u32ArrayTyped (mut i32) (i32.const 3552))
|
|
(global $std/array/reversed0 (mut i32) (i32.const 3608))
|
|
(global $std/array/reversed1 (mut i32) (i32.const 3632))
|
|
(global $std/array/reversed2 (mut i32) (i32.const 3656))
|
|
(global $std/array/reversed4 (mut i32) (i32.const 3696))
|
|
(global $std/array/expected4 (mut i32) (i32.const 3736))
|
|
(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 3896))
|
|
(global $std/array/randomStringsExpected (mut i32) (i32.const 3968))
|
|
(global $std/array/randomStrings400 (mut i32) (i32.const 0))
|
|
(global $std/array/refArr (mut i32) (i32.const 0))
|
|
(global $std/array/subarr32 (mut i32) (i32.const 8176))
|
|
(global $std/array/subarr8 (mut i32) (i32.const 8272))
|
|
(global $std/array/subarrU32 (mut i32) (i32.const 8344))
|
|
(export "memory" (memory $0))
|
|
(export "table" (table $0))
|
|
(start $start)
|
|
(func $~lib/allocator/arena/__memory_allocate (; 2 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
get_local $0
|
|
i32.const 1073741824
|
|
i32.gt_u
|
|
if
|
|
unreachable
|
|
end
|
|
get_global $~lib/allocator/arena/offset
|
|
tee_local $1
|
|
get_local $0
|
|
i32.const 1
|
|
get_local $0
|
|
i32.const 1
|
|
i32.gt_u
|
|
select
|
|
i32.add
|
|
i32.const 7
|
|
i32.add
|
|
i32.const -8
|
|
i32.and
|
|
tee_local $2
|
|
current_memory
|
|
tee_local $3
|
|
i32.const 16
|
|
i32.shl
|
|
i32.gt_u
|
|
if
|
|
get_local $3
|
|
get_local $2
|
|
get_local $1
|
|
i32.sub
|
|
i32.const 65535
|
|
i32.add
|
|
i32.const -65536
|
|
i32.and
|
|
i32.const 16
|
|
i32.shr_u
|
|
tee_local $0
|
|
get_local $3
|
|
get_local $0
|
|
i32.gt_s
|
|
select
|
|
grow_memory
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
grow_memory
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
unreachable
|
|
end
|
|
end
|
|
end
|
|
get_local $2
|
|
set_global $~lib/allocator/arena/offset
|
|
get_local $1
|
|
)
|
|
(func $~lib/internal/arraybuffer/allocateUnsafe (; 3 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
get_local $0
|
|
i32.const 1073741816
|
|
i32.gt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 40
|
|
i32.const 26
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
i32.const 32
|
|
get_local $0
|
|
i32.const 7
|
|
i32.add
|
|
i32.clz
|
|
i32.sub
|
|
i32.shl
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
tee_local $1
|
|
get_local $0
|
|
i32.store
|
|
get_local $1
|
|
)
|
|
(func $~lib/internal/memory/memset (; 4 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i64)
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
i32.store8
|
|
get_local $0
|
|
get_local $2
|
|
i32.add
|
|
i32.const 1
|
|
i32.sub
|
|
get_local $1
|
|
i32.store8
|
|
get_local $2
|
|
i32.const 2
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
get_local $1
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 2
|
|
i32.add
|
|
get_local $1
|
|
i32.store8
|
|
get_local $0
|
|
get_local $2
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 2
|
|
i32.sub
|
|
get_local $1
|
|
i32.store8
|
|
get_local $3
|
|
i32.const 3
|
|
i32.sub
|
|
get_local $1
|
|
i32.store8
|
|
get_local $2
|
|
i32.const 6
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.const 3
|
|
i32.add
|
|
get_local $1
|
|
i32.store8
|
|
get_local $0
|
|
get_local $2
|
|
i32.add
|
|
i32.const 4
|
|
i32.sub
|
|
get_local $1
|
|
i32.store8
|
|
get_local $2
|
|
i32.const 8
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 0
|
|
get_local $0
|
|
i32.sub
|
|
i32.const 3
|
|
i32.and
|
|
tee_local $3
|
|
i32.sub
|
|
set_local $2
|
|
get_local $0
|
|
get_local $3
|
|
i32.add
|
|
tee_local $0
|
|
get_local $1
|
|
i32.const 255
|
|
i32.and
|
|
i32.const 16843009
|
|
i32.mul
|
|
tee_local $1
|
|
i32.store
|
|
get_local $2
|
|
i32.const -4
|
|
i32.and
|
|
tee_local $2
|
|
get_local $0
|
|
i32.add
|
|
i32.const 4
|
|
i32.sub
|
|
get_local $1
|
|
i32.store
|
|
get_local $2
|
|
i32.const 8
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
get_local $1
|
|
i32.store
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
get_local $1
|
|
i32.store
|
|
get_local $0
|
|
get_local $2
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 12
|
|
i32.sub
|
|
get_local $1
|
|
i32.store
|
|
get_local $3
|
|
i32.const 8
|
|
i32.sub
|
|
get_local $1
|
|
i32.store
|
|
get_local $2
|
|
i32.const 24
|
|
i32.le_u
|
|
if
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.const 12
|
|
i32.add
|
|
get_local $1
|
|
i32.store
|
|
get_local $0
|
|
i32.const 16
|
|
i32.add
|
|
get_local $1
|
|
i32.store
|
|
get_local $0
|
|
i32.const 20
|
|
i32.add
|
|
get_local $1
|
|
i32.store
|
|
get_local $0
|
|
i32.const 24
|
|
i32.add
|
|
get_local $1
|
|
i32.store
|
|
get_local $0
|
|
get_local $2
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 28
|
|
i32.sub
|
|
get_local $1
|
|
i32.store
|
|
get_local $3
|
|
i32.const 24
|
|
i32.sub
|
|
get_local $1
|
|
i32.store
|
|
get_local $3
|
|
i32.const 20
|
|
i32.sub
|
|
get_local $1
|
|
i32.store
|
|
get_local $3
|
|
i32.const 16
|
|
i32.sub
|
|
get_local $1
|
|
i32.store
|
|
get_local $0
|
|
i32.const 4
|
|
i32.and
|
|
i32.const 24
|
|
i32.add
|
|
tee_local $3
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
get_local $3
|
|
i32.sub
|
|
set_local $2
|
|
get_local $1
|
|
i64.extend_u/i32
|
|
tee_local $4
|
|
get_local $4
|
|
i64.const 32
|
|
i64.shl
|
|
i64.or
|
|
set_local $4
|
|
loop $continue|0
|
|
get_local $2
|
|
i32.const 32
|
|
i32.ge_u
|
|
if
|
|
get_local $0
|
|
get_local $4
|
|
i64.store
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
get_local $4
|
|
i64.store
|
|
get_local $0
|
|
i32.const 16
|
|
i32.add
|
|
get_local $4
|
|
i64.store
|
|
get_local $0
|
|
i32.const 24
|
|
i32.add
|
|
get_local $4
|
|
i64.store
|
|
get_local $2
|
|
i32.const 32
|
|
i32.sub
|
|
set_local $2
|
|
get_local $0
|
|
i32.const 32
|
|
i32.add
|
|
set_local $0
|
|
br $continue|0
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/array/Array<i32>#constructor (; 5 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
get_local $0
|
|
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
|
|
get_local $0
|
|
i32.const 2
|
|
i32.shl
|
|
tee_local $3
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
set_local $2
|
|
i32.const 8
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
tee_local $1
|
|
i32.const 0
|
|
i32.store
|
|
get_local $1
|
|
i32.const 0
|
|
i32.store offset=4
|
|
get_local $1
|
|
get_local $2
|
|
i32.store
|
|
get_local $1
|
|
get_local $0
|
|
i32.store offset=4
|
|
get_local $2
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 0
|
|
get_local $3
|
|
call $~lib/internal/memory/memset
|
|
get_local $1
|
|
)
|
|
(func $~lib/array/Array<u8>#fill (; 6 ;) (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)
|
|
get_local $0
|
|
i32.load
|
|
set_local $6
|
|
get_local $0
|
|
i32.load offset=4
|
|
set_local $4
|
|
get_local $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
get_local $2
|
|
get_local $4
|
|
i32.add
|
|
tee_local $5
|
|
i32.const 0
|
|
get_local $5
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
get_local $2
|
|
get_local $4
|
|
get_local $2
|
|
get_local $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
tee_local $2
|
|
get_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
get_local $3
|
|
get_local $4
|
|
i32.add
|
|
tee_local $5
|
|
i32.const 0
|
|
get_local $5
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
get_local $3
|
|
get_local $4
|
|
get_local $3
|
|
get_local $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
tee_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $6
|
|
i32.add
|
|
i32.const 8
|
|
i32.add
|
|
get_local $1
|
|
get_local $3
|
|
get_local $2
|
|
i32.sub
|
|
call $~lib/internal/memory/memset
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $std/array/isArraysEqual<u8> (; 7 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $4
|
|
get_local $1
|
|
i32.load offset=4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
loop $repeat|0
|
|
get_local $2
|
|
get_local $4
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $2
|
|
get_local $3
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 255
|
|
i32.and
|
|
get_local $2
|
|
get_local $1
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $2
|
|
get_local $3
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 255
|
|
i32.and
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
else
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/array/Array<u8>#fill|trampoline (; 8 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
block $2of2
|
|
block $1of2
|
|
block $0of2
|
|
block $outOfRange
|
|
get_global $~argc
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $0of2 $1of2 $2of2 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_local $2
|
|
end
|
|
i32.const 2147483647
|
|
set_local $3
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
get_local $2
|
|
get_local $3
|
|
call $~lib/array/Array<u8>#fill
|
|
)
|
|
(func $~lib/array/Array<u32>#fill (; 9 ;) (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)
|
|
get_local $0
|
|
i32.load
|
|
set_local $6
|
|
get_local $0
|
|
i32.load offset=4
|
|
set_local $4
|
|
get_local $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
get_local $2
|
|
get_local $4
|
|
i32.add
|
|
tee_local $5
|
|
i32.const 0
|
|
get_local $5
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
get_local $2
|
|
get_local $4
|
|
get_local $2
|
|
get_local $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
set_local $2
|
|
get_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
get_local $3
|
|
get_local $4
|
|
i32.add
|
|
tee_local $5
|
|
i32.const 0
|
|
get_local $5
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
get_local $3
|
|
get_local $4
|
|
get_local $3
|
|
get_local $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
set_local $3
|
|
loop $repeat|0
|
|
get_local $2
|
|
get_local $3
|
|
i32.ge_s
|
|
i32.eqz
|
|
if
|
|
get_local $6
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $1
|
|
i32.store offset=8
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $std/array/isArraysEqual<u32> (; 10 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $2
|
|
get_local $1
|
|
i32.load offset=4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
end
|
|
loop $repeat|0
|
|
get_local $3
|
|
get_local $2
|
|
i32.lt_s
|
|
if
|
|
get_local $3
|
|
get_local $0
|
|
i32.load
|
|
tee_local $4
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
get_local $3
|
|
get_local $1
|
|
i32.load
|
|
tee_local $4
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
else
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/array/Array<u32>#fill|trampoline (; 11 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
block $2of2
|
|
block $1of2
|
|
block $0of2
|
|
block $outOfRange
|
|
get_global $~argc
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $0of2 $1of2 $2of2 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_local $2
|
|
end
|
|
i32.const 2147483647
|
|
set_local $3
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
get_local $2
|
|
get_local $3
|
|
call $~lib/array/Array<u32>#fill
|
|
)
|
|
(func $~lib/internal/memory/memcpy (; 12 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
loop $continue|0
|
|
get_local $1
|
|
i32.const 3
|
|
i32.and
|
|
get_local $2
|
|
get_local $2
|
|
select
|
|
if
|
|
get_local $0
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $2
|
|
br $continue|0
|
|
end
|
|
end
|
|
get_local $0
|
|
i32.const 3
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
loop $continue|1
|
|
get_local $2
|
|
i32.const 16
|
|
i32.ge_u
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.load
|
|
i32.store
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
get_local $1
|
|
i32.const 4
|
|
i32.add
|
|
i32.load
|
|
i32.store
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
get_local $1
|
|
i32.const 8
|
|
i32.add
|
|
i32.load
|
|
i32.store
|
|
get_local $0
|
|
i32.const 12
|
|
i32.add
|
|
get_local $1
|
|
i32.const 12
|
|
i32.add
|
|
i32.load
|
|
i32.store
|
|
get_local $1
|
|
i32.const 16
|
|
i32.add
|
|
set_local $1
|
|
get_local $0
|
|
i32.const 16
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i32.const 16
|
|
i32.sub
|
|
set_local $2
|
|
br $continue|1
|
|
end
|
|
end
|
|
get_local $2
|
|
i32.const 8
|
|
i32.and
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.load
|
|
i32.store
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
get_local $1
|
|
i32.const 4
|
|
i32.add
|
|
i32.load
|
|
i32.store
|
|
get_local $1
|
|
i32.const 8
|
|
i32.add
|
|
set_local $1
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
set_local $0
|
|
end
|
|
get_local $2
|
|
i32.const 4
|
|
i32.and
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.load
|
|
i32.store
|
|
get_local $1
|
|
i32.const 4
|
|
i32.add
|
|
set_local $1
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
set_local $0
|
|
end
|
|
get_local $2
|
|
i32.const 2
|
|
i32.and
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.load16_u
|
|
i32.store16
|
|
get_local $1
|
|
i32.const 2
|
|
i32.add
|
|
set_local $1
|
|
get_local $0
|
|
i32.const 2
|
|
i32.add
|
|
set_local $0
|
|
end
|
|
get_local $2
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 32
|
|
i32.ge_u
|
|
if
|
|
block $break|2
|
|
block $case2|2
|
|
block $case1|2
|
|
get_local $0
|
|
i32.const 3
|
|
i32.and
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
get_local $3
|
|
i32.const 2
|
|
i32.eq
|
|
br_if $case1|2
|
|
get_local $3
|
|
i32.const 3
|
|
i32.eq
|
|
br_if $case2|2
|
|
br $break|2
|
|
end
|
|
get_local $1
|
|
i32.load
|
|
set_local $5
|
|
get_local $0
|
|
get_local $1
|
|
tee_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
set_local $0
|
|
get_local $1
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $2
|
|
i32.const 3
|
|
i32.sub
|
|
set_local $2
|
|
loop $continue|3
|
|
get_local $2
|
|
i32.const 17
|
|
i32.ge_u
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.load
|
|
tee_local $3
|
|
i32.const 8
|
|
i32.shl
|
|
get_local $5
|
|
i32.const 24
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
get_local $1
|
|
i32.const 5
|
|
i32.add
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 8
|
|
i32.shl
|
|
get_local $3
|
|
i32.const 24
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
get_local $1
|
|
i32.const 9
|
|
i32.add
|
|
i32.load
|
|
tee_local $3
|
|
i32.const 8
|
|
i32.shl
|
|
get_local $5
|
|
i32.const 24
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $0
|
|
i32.const 12
|
|
i32.add
|
|
get_local $1
|
|
i32.const 13
|
|
i32.add
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 8
|
|
i32.shl
|
|
get_local $3
|
|
i32.const 24
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $1
|
|
i32.const 16
|
|
i32.add
|
|
set_local $1
|
|
get_local $0
|
|
i32.const 16
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i32.const 16
|
|
i32.sub
|
|
set_local $2
|
|
br $continue|3
|
|
end
|
|
end
|
|
br $break|2
|
|
end
|
|
get_local $1
|
|
i32.load
|
|
set_local $5
|
|
get_local $0
|
|
get_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $2
|
|
i32.const 2
|
|
i32.sub
|
|
set_local $2
|
|
loop $continue|4
|
|
get_local $2
|
|
i32.const 18
|
|
i32.ge_u
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.const 2
|
|
i32.add
|
|
i32.load
|
|
tee_local $3
|
|
i32.const 16
|
|
i32.shl
|
|
get_local $5
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
get_local $1
|
|
i32.const 6
|
|
i32.add
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 16
|
|
i32.shl
|
|
get_local $3
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
get_local $1
|
|
i32.const 10
|
|
i32.add
|
|
i32.load
|
|
tee_local $3
|
|
i32.const 16
|
|
i32.shl
|
|
get_local $5
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $0
|
|
i32.const 12
|
|
i32.add
|
|
get_local $1
|
|
i32.const 14
|
|
i32.add
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 16
|
|
i32.shl
|
|
get_local $3
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $1
|
|
i32.const 16
|
|
i32.add
|
|
set_local $1
|
|
get_local $0
|
|
i32.const 16
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i32.const 16
|
|
i32.sub
|
|
set_local $2
|
|
br $continue|4
|
|
end
|
|
end
|
|
br $break|2
|
|
end
|
|
get_local $1
|
|
i32.load
|
|
set_local $5
|
|
get_local $0
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $2
|
|
loop $continue|5
|
|
get_local $2
|
|
i32.const 19
|
|
i32.ge_u
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.const 3
|
|
i32.add
|
|
i32.load
|
|
tee_local $3
|
|
i32.const 24
|
|
i32.shl
|
|
get_local $5
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
get_local $1
|
|
i32.const 7
|
|
i32.add
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 24
|
|
i32.shl
|
|
get_local $3
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
get_local $1
|
|
i32.const 11
|
|
i32.add
|
|
i32.load
|
|
tee_local $3
|
|
i32.const 24
|
|
i32.shl
|
|
get_local $5
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $0
|
|
i32.const 12
|
|
i32.add
|
|
get_local $1
|
|
i32.const 15
|
|
i32.add
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 24
|
|
i32.shl
|
|
get_local $3
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store
|
|
get_local $1
|
|
i32.const 16
|
|
i32.add
|
|
set_local $1
|
|
get_local $0
|
|
i32.const 16
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i32.const 16
|
|
i32.sub
|
|
set_local $2
|
|
br $continue|5
|
|
end
|
|
end
|
|
end
|
|
end
|
|
get_local $2
|
|
i32.const 16
|
|
i32.and
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
tee_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
set_local $0
|
|
get_local $1
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
get_local $2
|
|
i32.const 8
|
|
i32.and
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
tee_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
set_local $0
|
|
get_local $1
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
get_local $2
|
|
i32.const 4
|
|
i32.and
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
tee_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
set_local $0
|
|
get_local $1
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
set_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
get_local $2
|
|
i32.const 2
|
|
i32.and
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
get_local $2
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.load8_u
|
|
i32.store8
|
|
end
|
|
)
|
|
(func $~lib/internal/memory/memmove (; 13 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
get_local $1
|
|
i32.eq
|
|
if
|
|
return
|
|
end
|
|
get_local $1
|
|
get_local $2
|
|
i32.add
|
|
get_local $0
|
|
i32.le_u
|
|
tee_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
i32.add
|
|
get_local $1
|
|
i32.le_u
|
|
set_local $3
|
|
end
|
|
get_local $3
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
get_local $2
|
|
call $~lib/internal/memory/memcpy
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
i32.lt_u
|
|
if
|
|
get_local $1
|
|
i32.const 7
|
|
i32.and
|
|
get_local $0
|
|
i32.const 7
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
loop $continue|0
|
|
get_local $0
|
|
i32.const 7
|
|
i32.and
|
|
if
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $2
|
|
get_local $0
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
br $continue|0
|
|
end
|
|
end
|
|
loop $continue|1
|
|
get_local $2
|
|
i32.const 8
|
|
i32.ge_u
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i64.load
|
|
i64.store
|
|
get_local $2
|
|
i32.const 8
|
|
i32.sub
|
|
set_local $2
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
i32.const 8
|
|
i32.add
|
|
set_local $1
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
loop $continue|2
|
|
get_local $2
|
|
if
|
|
get_local $0
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $4
|
|
get_local $3
|
|
i32.load8_u
|
|
i32.store8
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $2
|
|
br $continue|2
|
|
end
|
|
end
|
|
else
|
|
get_local $1
|
|
i32.const 7
|
|
i32.and
|
|
get_local $0
|
|
i32.const 7
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
loop $continue|3
|
|
get_local $0
|
|
get_local $2
|
|
i32.add
|
|
i32.const 7
|
|
i32.and
|
|
if
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $2
|
|
get_local $0
|
|
i32.add
|
|
get_local $1
|
|
get_local $2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
br $continue|3
|
|
end
|
|
end
|
|
loop $continue|4
|
|
get_local $2
|
|
i32.const 8
|
|
i32.ge_u
|
|
if
|
|
get_local $2
|
|
i32.const 8
|
|
i32.sub
|
|
tee_local $2
|
|
get_local $0
|
|
i32.add
|
|
get_local $1
|
|
get_local $2
|
|
i32.add
|
|
i64.load
|
|
i64.store
|
|
br $continue|4
|
|
end
|
|
end
|
|
end
|
|
loop $continue|5
|
|
get_local $2
|
|
if
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $2
|
|
get_local $0
|
|
i32.add
|
|
get_local $1
|
|
get_local $2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
br $continue|5
|
|
end
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/internal/arraybuffer/reallocateUnsafe (; 14 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
get_local $1
|
|
get_local $0
|
|
i32.load
|
|
tee_local $2
|
|
i32.gt_s
|
|
if
|
|
get_local $1
|
|
i32.const 1073741816
|
|
i32.gt_s
|
|
if
|
|
i32.const 0
|
|
i32.const 40
|
|
i32.const 40
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.const 32
|
|
get_local $2
|
|
i32.const 7
|
|
i32.add
|
|
i32.clz
|
|
i32.sub
|
|
i32.shl
|
|
i32.const 8
|
|
i32.sub
|
|
i32.le_s
|
|
if
|
|
get_local $0
|
|
get_local $1
|
|
i32.store
|
|
else
|
|
get_local $1
|
|
call $~lib/internal/arraybuffer/allocateUnsafe
|
|
tee_local $3
|
|
i32.const 8
|
|
i32.add
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
get_local $2
|
|
call $~lib/internal/memory/memmove
|
|
get_local $3
|
|
set_local $0
|
|
end
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
get_local $2
|
|
i32.add
|
|
i32.const 0
|
|
get_local $1
|
|
get_local $2
|
|
i32.sub
|
|
call $~lib/internal/memory/memset
|
|
else
|
|
get_local $1
|
|
get_local $2
|
|
i32.lt_s
|
|
if
|
|
get_local $1
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 0
|
|
i32.const 40
|
|
i32.const 62
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
i32.store
|
|
end
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $~lib/array/Array<i32>#push (; 15 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
get_local $2
|
|
get_local $0
|
|
i32.load
|
|
tee_local $4
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.ge_u
|
|
if
|
|
get_local $2
|
|
i32.const 268435454
|
|
i32.ge_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 184
|
|
i32.const 42
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
get_local $4
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
tee_local $4
|
|
i32.store
|
|
end
|
|
get_local $0
|
|
get_local $3
|
|
i32.store offset=4
|
|
get_local $4
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $1
|
|
i32.store offset=8
|
|
get_local $3
|
|
)
|
|
(func $~lib/array/Array<i32>#pop (; 16 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $1
|
|
i32.const 1
|
|
i32.lt_s
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 246
|
|
i32.const 20
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
get_local $1
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $2
|
|
get_local $0
|
|
get_local $1
|
|
i32.store offset=4
|
|
get_local $2
|
|
)
|
|
(func $~lib/array/Array<i32>#concat (; 17 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $2
|
|
get_local $1
|
|
if (result i32)
|
|
get_local $1
|
|
i32.load offset=4
|
|
else
|
|
i32.const 0
|
|
end
|
|
tee_local $4
|
|
i32.add
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_local $3
|
|
get_local $2
|
|
if
|
|
get_local $3
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
get_local $0
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
get_local $4
|
|
if
|
|
get_local $3
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $1
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
get_local $3
|
|
)
|
|
(func $~lib/array/Array<i32>#copyWithin (; 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)
|
|
get_local $0
|
|
i32.load
|
|
set_local $6
|
|
get_local $3
|
|
tee_local $4
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $5
|
|
get_local $4
|
|
get_local $5
|
|
i32.lt_s
|
|
select
|
|
set_local $3
|
|
get_local $1
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
get_local $1
|
|
get_local $5
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 0
|
|
get_local $4
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
get_local $1
|
|
tee_local $4
|
|
get_local $5
|
|
get_local $4
|
|
get_local $5
|
|
i32.lt_s
|
|
select
|
|
end
|
|
set_local $1
|
|
get_local $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
get_local $2
|
|
get_local $5
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 0
|
|
get_local $4
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
get_local $2
|
|
tee_local $4
|
|
get_local $5
|
|
get_local $4
|
|
get_local $5
|
|
i32.lt_s
|
|
select
|
|
end
|
|
set_local $2
|
|
get_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
get_local $3
|
|
get_local $5
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 0
|
|
get_local $4
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
get_local $3
|
|
tee_local $4
|
|
get_local $5
|
|
get_local $4
|
|
get_local $5
|
|
i32.lt_s
|
|
select
|
|
end
|
|
get_local $2
|
|
i32.sub
|
|
tee_local $4
|
|
get_local $5
|
|
get_local $1
|
|
i32.sub
|
|
tee_local $5
|
|
get_local $4
|
|
get_local $5
|
|
i32.lt_s
|
|
select
|
|
set_local $3
|
|
get_local $2
|
|
get_local $1
|
|
i32.lt_s
|
|
tee_local $4
|
|
if
|
|
get_local $1
|
|
get_local $2
|
|
get_local $3
|
|
i32.add
|
|
i32.lt_s
|
|
set_local $4
|
|
end
|
|
get_local $4
|
|
if
|
|
get_local $3
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $4
|
|
get_local $2
|
|
i32.add
|
|
set_local $2
|
|
get_local $1
|
|
get_local $4
|
|
i32.add
|
|
set_local $1
|
|
loop $continue|0
|
|
get_local $3
|
|
if
|
|
get_local $6
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $6
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
i32.store offset=8
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $2
|
|
get_local $1
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $1
|
|
get_local $3
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
br $continue|0
|
|
end
|
|
end
|
|
else
|
|
get_local $6
|
|
i32.const 8
|
|
i32.add
|
|
tee_local $4
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $~lib/array/Array<i32>#copyWithin|trampoline (; 19 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
get_global $~argc
|
|
i32.const 2
|
|
i32.sub
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 2147483647
|
|
set_local $3
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
get_local $2
|
|
get_local $3
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
)
|
|
(func $~lib/array/Array<i32>#unshift (; 20 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $4
|
|
get_local $3
|
|
get_local $0
|
|
i32.load
|
|
tee_local $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
tee_local $5
|
|
i32.ge_u
|
|
if
|
|
get_local $3
|
|
i32.const 268435454
|
|
i32.ge_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 334
|
|
i32.const 42
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $2
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
tee_local $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
set_local $5
|
|
get_local $0
|
|
get_local $2
|
|
i32.store
|
|
end
|
|
get_local $2
|
|
i32.const 8
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 4
|
|
i32.add
|
|
get_local $3
|
|
get_local $5
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
get_local $2
|
|
get_local $1
|
|
i32.store offset=8
|
|
get_local $0
|
|
get_local $4
|
|
i32.store offset=4
|
|
get_local $4
|
|
)
|
|
(func $~lib/array/Array<i32>#shift (; 21 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $1
|
|
i32.const 1
|
|
i32.lt_s
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 305
|
|
i32.const 20
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
i32.load offset=8
|
|
set_local $4
|
|
get_local $3
|
|
i32.const 8
|
|
i32.add
|
|
tee_local $5
|
|
i32.const 4
|
|
i32.add
|
|
set_local $2
|
|
get_local $5
|
|
get_local $2
|
|
get_local $1
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
tee_local $1
|
|
call $~lib/internal/memory/memmove
|
|
get_local $1
|
|
get_local $3
|
|
i32.add
|
|
i32.const 0
|
|
i32.store offset=8
|
|
get_local $0
|
|
get_local $2
|
|
i32.store offset=4
|
|
get_local $4
|
|
)
|
|
(func $~lib/array/Array<i32>#reverse (; 22 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i32.load
|
|
set_local $3
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $2
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $1
|
|
get_local $2
|
|
i32.ge_s
|
|
br_if $break|0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $4
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $3
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
i32.store offset=8
|
|
get_local $3
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $4
|
|
i32.store offset=8
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $~lib/array/Array<i32>#indexOf (; 23 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $4
|
|
i32.eqz
|
|
tee_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $2
|
|
get_local $4
|
|
i32.ge_s
|
|
set_local $3
|
|
end
|
|
get_local $3
|
|
if
|
|
i32.const -1
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $4
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 0
|
|
get_local $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
set_local $2
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $0
|
|
loop $continue|0
|
|
get_local $2
|
|
get_local $4
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
get_local $1
|
|
i32.eq
|
|
if
|
|
get_local $2
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $continue|0
|
|
end
|
|
end
|
|
i32.const -1
|
|
)
|
|
(func $~lib/array/Array<i32>#splice (; 24 ;) (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)
|
|
get_local $0
|
|
i32.load
|
|
set_local $5
|
|
get_local $2
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $4
|
|
get_local $1
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
get_local $1
|
|
get_local $4
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 0
|
|
get_local $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
get_local $1
|
|
get_local $4
|
|
get_local $1
|
|
get_local $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
tee_local $1
|
|
i32.sub
|
|
tee_local $3
|
|
get_local $2
|
|
get_local $3
|
|
i32.lt_s
|
|
select
|
|
tee_local $3
|
|
i32.const 0
|
|
get_local $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
tee_local $2
|
|
call $~lib/array/Array<i32>#constructor
|
|
tee_local $6
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
get_local $5
|
|
i32.const 8
|
|
i32.add
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
tee_local $3
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
get_local $1
|
|
get_local $2
|
|
i32.add
|
|
tee_local $1
|
|
get_local $4
|
|
i32.ne
|
|
if
|
|
get_local $3
|
|
get_local $5
|
|
i32.const 8
|
|
i32.add
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $4
|
|
get_local $1
|
|
i32.sub
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
end
|
|
get_local $0
|
|
get_local $4
|
|
get_local $2
|
|
i32.sub
|
|
i32.store offset=4
|
|
get_local $6
|
|
)
|
|
(func $~lib/array/Array<i32>#splice|trampoline (; 25 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
get_global $~argc
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 2147483647
|
|
set_local $2
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
get_local $2
|
|
call $~lib/array/Array<i32>#splice
|
|
)
|
|
(func $~lib/array/Array<i32>#__set (; 26 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $1
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.ge_u
|
|
if
|
|
get_local $1
|
|
i32.const 268435454
|
|
i32.ge_u
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 109
|
|
i32.const 41
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
tee_local $3
|
|
i32.store
|
|
get_local $0
|
|
get_local $4
|
|
i32.store offset=4
|
|
end
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $2
|
|
i32.store offset=8
|
|
)
|
|
(func $start~anonymous|1 (; 27 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.eqz
|
|
)
|
|
(func $~lib/array/Array<i32>#findIndex (; 28 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load
|
|
set_local $4
|
|
get_local $0
|
|
i32.load offset=4
|
|
set_local $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $2
|
|
get_local $3
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $5
|
|
get_local $3
|
|
get_local $5
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 3
|
|
set_global $~argc
|
|
get_local $4
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
call_indirect (type $iiii)
|
|
if
|
|
get_local $2
|
|
return
|
|
else
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const -1
|
|
)
|
|
(func $start~anonymous|2 (; 29 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.const 1
|
|
i32.eq
|
|
)
|
|
(func $start~anonymous|3 (; 30 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start~anonymous|4 (; 31 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_local $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start~anonymous|6 (; 32 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_local $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start~anonymous|7 (; 33 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.const 0
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#every (; 34 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load
|
|
set_local $4
|
|
get_local $0
|
|
i32.load offset=4
|
|
set_local $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $2
|
|
get_local $3
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $5
|
|
get_local $3
|
|
get_local $5
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 3
|
|
set_global $~argc
|
|
get_local $4
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
call_indirect (type $iiii)
|
|
if
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
else
|
|
i32.const 0
|
|
return
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $start~anonymous|8 (; 35 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.const 0
|
|
i32.le_s
|
|
)
|
|
(func $start~anonymous|9 (; 36 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_local $0
|
|
i32.const 10
|
|
i32.lt_s
|
|
)
|
|
(func $start~anonymous|10 (; 37 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.const 10
|
|
i32.lt_s
|
|
)
|
|
(func $start~anonymous|11 (; 38 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_local $0
|
|
i32.const 3
|
|
i32.lt_s
|
|
)
|
|
(func $start~anonymous|12 (; 39 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.const 3
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#some (; 40 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load
|
|
set_local $4
|
|
get_local $0
|
|
i32.load offset=4
|
|
set_local $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $2
|
|
get_local $3
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $5
|
|
get_local $3
|
|
get_local $5
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 3
|
|
set_global $~argc
|
|
get_local $4
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
call_indirect (type $iiii)
|
|
if
|
|
i32.const 1
|
|
return
|
|
else
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const 0
|
|
)
|
|
(func $start~anonymous|13 (; 41 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.const -1
|
|
i32.le_s
|
|
)
|
|
(func $start~anonymous|14 (; 42 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_local $0
|
|
i32.const 10
|
|
i32.gt_s
|
|
)
|
|
(func $start~anonymous|15 (; 43 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.const 10
|
|
i32.gt_s
|
|
)
|
|
(func $start~anonymous|16 (; 44 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_local $0
|
|
i32.const 3
|
|
i32.gt_s
|
|
)
|
|
(func $start~anonymous|17 (; 45 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
get_global $std/array/i
|
|
get_local $0
|
|
i32.add
|
|
set_global $std/array/i
|
|
)
|
|
(func $~lib/array/Array<i32>#forEach (; 46 ;) (type $iiv) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
block $break|0
|
|
get_local $0
|
|
i32.load offset=4
|
|
set_local $4
|
|
loop $repeat|0
|
|
get_local $2
|
|
get_local $4
|
|
i32.lt_s
|
|
tee_local $3
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.lt_s
|
|
set_local $3
|
|
end
|
|
get_local $3
|
|
i32.eqz
|
|
br_if $break|0
|
|
i32.const 3
|
|
set_global $~argc
|
|
get_local $0
|
|
i32.load
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
call_indirect (type $iiiv)
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $start~anonymous|18 (; 47 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
get_local $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/i
|
|
get_local $0
|
|
i32.add
|
|
set_global $std/array/i
|
|
)
|
|
(func $start~anonymous|20 (; 48 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
get_local $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/i
|
|
get_local $0
|
|
i32.add
|
|
set_global $std/array/i
|
|
)
|
|
(func $start~anonymous|21 (; 49 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
get_local $1
|
|
i32.eqz
|
|
if
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $3
|
|
i32.const 4
|
|
i32.ge_s
|
|
br_if $break|0
|
|
get_local $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
i32.const 0
|
|
set_local $3
|
|
loop $repeat|1
|
|
block $break|1
|
|
get_local $3
|
|
i32.const 100
|
|
i32.ge_s
|
|
br_if $break|1
|
|
get_local $2
|
|
get_local $3
|
|
i32.const 100
|
|
i32.add
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|1
|
|
end
|
|
end
|
|
i32.const 0
|
|
set_local $3
|
|
loop $repeat|2
|
|
block $break|2
|
|
get_local $3
|
|
i32.const 100
|
|
i32.ge_s
|
|
br_if $break|2
|
|
get_local $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|2
|
|
end
|
|
end
|
|
i32.const 0
|
|
set_local $3
|
|
loop $repeat|3
|
|
block $break|3
|
|
get_local $3
|
|
i32.const 100
|
|
i32.ge_s
|
|
br_if $break|3
|
|
get_local $2
|
|
get_local $3
|
|
i32.const 200
|
|
i32.add
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|3
|
|
end
|
|
end
|
|
end
|
|
get_local $1
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
get_local $0
|
|
i32.const 202
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 557
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
)
|
|
(func $start~anonymous|22 (; 50 ;) (type $iiif) (param $0 i32) (param $1 i32) (param $2 i32) (result f32)
|
|
get_local $0
|
|
f32.convert_s/i32
|
|
)
|
|
(func $~lib/array/Array<i32>#map<f32> (; 51 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
get_local $0
|
|
i32.load
|
|
set_local $4
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $3
|
|
call $~lib/array/Array<i32>#constructor
|
|
tee_local $5
|
|
i32.load
|
|
set_local $6
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $3
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $2
|
|
get_local $3
|
|
get_local $2
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
if
|
|
i32.const 3
|
|
set_global $~argc
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
tee_local $2
|
|
get_local $6
|
|
i32.add
|
|
get_local $2
|
|
get_local $4
|
|
i32.add
|
|
i32.load offset=8
|
|
get_local $1
|
|
get_local $0
|
|
i32.const 22
|
|
call_indirect (type $iiif)
|
|
f32.store offset=8
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $5
|
|
)
|
|
(func $start~anonymous|23 (; 52 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/i
|
|
get_local $0
|
|
i32.add
|
|
set_global $std/array/i
|
|
get_local $0
|
|
)
|
|
(func $~lib/array/Array<i32>#map<i32> (; 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)
|
|
(local $7 i32)
|
|
get_local $0
|
|
i32.load
|
|
set_local $4
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $3
|
|
call $~lib/array/Array<i32>#constructor
|
|
tee_local $5
|
|
i32.load
|
|
set_local $6
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $2
|
|
get_local $3
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $7
|
|
get_local $3
|
|
get_local $7
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 3
|
|
set_global $~argc
|
|
get_local $6
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
get_local $4
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
call_indirect (type $iiii)
|
|
i32.store offset=8
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $5
|
|
)
|
|
(func $start~anonymous|24 (; 54 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_global $std/array/i
|
|
get_local $0
|
|
i32.add
|
|
set_global $std/array/i
|
|
get_local $0
|
|
)
|
|
(func $start~anonymous|25 (; 55 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/i
|
|
get_local $0
|
|
i32.add
|
|
set_global $std/array/i
|
|
get_local $0
|
|
)
|
|
(func $start~anonymous|26 (; 56 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#filter (; 57 ;) (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)
|
|
get_local $0
|
|
i32.load
|
|
set_local $6
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_local $4
|
|
get_local $0
|
|
i32.load offset=4
|
|
set_local $5
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $2
|
|
get_local $5
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $3
|
|
get_local $5
|
|
get_local $3
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
get_local $6
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $3
|
|
i32.const 3
|
|
set_global $~argc
|
|
get_local $3
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
call_indirect (type $iiii)
|
|
if
|
|
get_local $4
|
|
get_local $3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
end
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $4
|
|
)
|
|
(func $start~anonymous|27 (; 58 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/i
|
|
get_local $0
|
|
i32.add
|
|
set_global $std/array/i
|
|
get_local $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $start~anonymous|28 (; 59 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_global $std/array/i
|
|
get_local $0
|
|
i32.add
|
|
set_global $std/array/i
|
|
get_local $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $start~anonymous|29 (; 60 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/i
|
|
get_local $0
|
|
i32.add
|
|
set_global $std/array/i
|
|
get_local $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $start~anonymous|30 (; 61 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
get_local $0
|
|
get_local $1
|
|
i32.add
|
|
)
|
|
(func $~lib/array/Array<i32>#reduce<i32> (; 62 ;) (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)
|
|
get_local $0
|
|
i32.load
|
|
set_local $5
|
|
get_local $0
|
|
i32.load offset=4
|
|
set_local $4
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $3
|
|
get_local $4
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $6
|
|
get_local $4
|
|
get_local $6
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 4
|
|
set_global $~argc
|
|
get_local $2
|
|
get_local $5
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
get_local $3
|
|
get_local $0
|
|
get_local $1
|
|
call_indirect (type $iiiii)
|
|
set_local $2
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $2
|
|
)
|
|
(func $start~anonymous|32 (; 63 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
get_local $0
|
|
get_local $1
|
|
i32.const 2
|
|
i32.gt_s
|
|
get_local $0
|
|
select
|
|
)
|
|
(func $start~anonymous|33 (; 64 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
get_local $0
|
|
get_local $1
|
|
i32.const 100
|
|
i32.gt_s
|
|
get_local $0
|
|
select
|
|
)
|
|
(func $start~anonymous|34 (; 65 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
get_local $3
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_local $0
|
|
get_local $1
|
|
i32.add
|
|
)
|
|
(func $start~anonymous|36 (; 66 ;) (type $iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
get_local $3
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_local $0
|
|
get_local $1
|
|
i32.add
|
|
)
|
|
(func $~lib/array/Array<i32>#reduceRight<i32> (; 67 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i32.load
|
|
set_local $4
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if $break|0
|
|
i32.const 4
|
|
set_global $~argc
|
|
get_local $2
|
|
get_local $4
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
get_local $3
|
|
get_local $0
|
|
get_local $1
|
|
call_indirect (type $iiiii)
|
|
set_local $2
|
|
get_local $3
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $2
|
|
)
|
|
(func $~lib/math/splitMix32 (; 68 ;) (type $ii) (param $0 i32) (result i32)
|
|
get_local $0
|
|
i32.const 1831565813
|
|
i32.add
|
|
tee_local $0
|
|
get_local $0
|
|
i32.const 15
|
|
i32.shr_u
|
|
i32.xor
|
|
get_local $0
|
|
i32.const 1
|
|
i32.or
|
|
i32.mul
|
|
tee_local $0
|
|
get_local $0
|
|
i32.const 61
|
|
i32.or
|
|
get_local $0
|
|
i32.const 7
|
|
i32.shr_u
|
|
get_local $0
|
|
i32.xor
|
|
i32.mul
|
|
get_local $0
|
|
i32.add
|
|
i32.xor
|
|
tee_local $0
|
|
get_local $0
|
|
i32.const 14
|
|
i32.shr_u
|
|
i32.xor
|
|
)
|
|
(func $~lib/math/NativeMath.seedRandom (; 69 ;) (type $Iv) (param $0 i64)
|
|
(local $1 i64)
|
|
get_local $0
|
|
i64.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 2816
|
|
i32.const 959
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
set_global $~lib/math/random_seeded
|
|
get_local $0
|
|
i64.const 33
|
|
i64.shr_u
|
|
get_local $0
|
|
i64.xor
|
|
i64.const -49064778989728563
|
|
i64.mul
|
|
tee_local $1
|
|
get_local $1
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
i64.const -4265267296055464877
|
|
i64.mul
|
|
tee_local $1
|
|
get_local $1
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
set_global $~lib/math/random_state0_64
|
|
get_global $~lib/math/random_state0_64
|
|
i64.const -1
|
|
i64.xor
|
|
tee_local $1
|
|
get_local $1
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
i64.const -49064778989728563
|
|
i64.mul
|
|
tee_local $1
|
|
get_local $1
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
i64.const -4265267296055464877
|
|
i64.mul
|
|
tee_local $1
|
|
get_local $1
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
set_global $~lib/math/random_state1_64
|
|
get_local $0
|
|
i32.wrap/i64
|
|
call $~lib/math/splitMix32
|
|
set_global $~lib/math/random_state0_32
|
|
get_global $~lib/math/random_state0_32
|
|
call $~lib/math/splitMix32
|
|
set_global $~lib/math/random_state1_32
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<f32> (; 70 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 f32)
|
|
(local $6 f32)
|
|
(local $7 i32)
|
|
loop $repeat|0
|
|
get_local $4
|
|
get_local $1
|
|
i32.ge_s
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f32.load offset=8
|
|
set_local $5
|
|
get_local $4
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $continue|1
|
|
get_local $3
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block $break|1
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f32.load offset=8
|
|
set_local $6
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $5
|
|
get_local $6
|
|
get_local $2
|
|
call_indirect (type $ffi)
|
|
i32.const 0
|
|
i32.ge_s
|
|
br_if $break|1
|
|
get_local $3
|
|
tee_local $7
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
get_local $7
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $6
|
|
f32.store offset=8
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $5
|
|
f32.store offset=8
|
|
get_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/internal/sort/weakHeapSort<f32> (; 71 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 f32)
|
|
(local $7 f32)
|
|
(local $8 i32)
|
|
get_local $1
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
tee_local $5
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
tee_local $8
|
|
i32.const 0
|
|
get_local $5
|
|
call $~lib/internal/memory/memset
|
|
get_local $1
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $repeat|0
|
|
get_local $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
get_local $3
|
|
set_local $5
|
|
loop $continue|1
|
|
get_local $5
|
|
i32.const 1
|
|
i32.and
|
|
get_local $5
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $8
|
|
i32.add
|
|
i32.load
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shr_s
|
|
set_local $5
|
|
br $continue|1
|
|
end
|
|
end
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shr_s
|
|
tee_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f32.load offset=8
|
|
set_local $7
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f32.load offset=8
|
|
set_local $6
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $7
|
|
get_local $6
|
|
get_local $2
|
|
call_indirect (type $ffi)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $3
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $8
|
|
i32.add
|
|
tee_local $5
|
|
get_local $5
|
|
i32.load
|
|
i32.const 1
|
|
get_local $3
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $7
|
|
f32.store offset=8
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $6
|
|
f32.store offset=8
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $repeat|2
|
|
get_local $3
|
|
i32.const 2
|
|
i32.ge_s
|
|
if
|
|
get_local $0
|
|
f32.load offset=8
|
|
set_local $6
|
|
get_local $0
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
tee_local $1
|
|
f32.load offset=8
|
|
f32.store offset=8
|
|
get_local $1
|
|
get_local $6
|
|
f32.store offset=8
|
|
i32.const 1
|
|
set_local $4
|
|
loop $continue|3
|
|
get_local $4
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $8
|
|
i32.add
|
|
i32.load
|
|
get_local $4
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
tee_local $5
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $5
|
|
set_local $4
|
|
br $continue|3
|
|
end
|
|
end
|
|
loop $continue|4
|
|
get_local $4
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
get_local $0
|
|
f32.load offset=8
|
|
set_local $6
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f32.load offset=8
|
|
set_local $7
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $6
|
|
get_local $7
|
|
get_local $2
|
|
call_indirect (type $ffi)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $4
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $8
|
|
i32.add
|
|
tee_local $1
|
|
get_local $1
|
|
i32.load
|
|
i32.const 1
|
|
get_local $4
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $6
|
|
f32.store offset=8
|
|
get_local $0
|
|
get_local $7
|
|
f32.store offset=8
|
|
end
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shr_s
|
|
set_local $4
|
|
br $continue|4
|
|
end
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
br $repeat|2
|
|
end
|
|
end
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
tee_local $1
|
|
f32.load offset=8
|
|
set_local $6
|
|
get_local $1
|
|
get_local $0
|
|
f32.load offset=8
|
|
f32.store offset=8
|
|
get_local $0
|
|
get_local $6
|
|
f32.store offset=8
|
|
)
|
|
(func $~lib/array/Array<f32>#sort (; 72 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 f32)
|
|
(local $5 f32)
|
|
get_local $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 406
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
get_local $0
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $2
|
|
get_local $3
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
get_local $2
|
|
i32.const 4
|
|
i32.add
|
|
f32.load offset=8
|
|
set_local $4
|
|
get_local $2
|
|
f32.load offset=8
|
|
set_local $5
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $4
|
|
get_local $5
|
|
get_local $1
|
|
call_indirect (type $ffi)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
i32.const 4
|
|
i32.add
|
|
get_local $5
|
|
f32.store offset=8
|
|
get_local $2
|
|
get_local $4
|
|
f32.store offset=8
|
|
end
|
|
get_local $0
|
|
return
|
|
end
|
|
get_local $3
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $3
|
|
get_local $1
|
|
call $~lib/internal/sort/insertionSort<f32>
|
|
else
|
|
get_local $2
|
|
get_local $3
|
|
get_local $1
|
|
call $~lib/internal/sort/weakHeapSort<f32>
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $~lib/array/Array<f32>#sort|trampoline~anonymous|44 (; 73 ;) (type $ffi) (param $0 f32) (param $1 f32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
get_local $0
|
|
i32.reinterpret/f32
|
|
tee_local $2
|
|
get_local $2
|
|
i32.const 31
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.xor
|
|
tee_local $2
|
|
get_local $1
|
|
i32.reinterpret/f32
|
|
tee_local $3
|
|
get_local $3
|
|
i32.const 31
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.xor
|
|
tee_local $3
|
|
i32.gt_s
|
|
get_local $2
|
|
get_local $3
|
|
i32.lt_s
|
|
i32.sub
|
|
)
|
|
(func $std/array/isArraysEqual<f32> (; 74 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 f32)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $5
|
|
i32.const 3164
|
|
i32.load
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.const 3160
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $5
|
|
i32.lt_s
|
|
if
|
|
get_local $1
|
|
tee_local $2
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f32)
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $3
|
|
i32.add
|
|
f32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
tee_local $4
|
|
get_local $4
|
|
f32.ne
|
|
get_local $1
|
|
i32.const 3160
|
|
i32.load
|
|
tee_local $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f32)
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $2
|
|
i32.add
|
|
f32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
tee_local $4
|
|
get_local $4
|
|
f32.ne
|
|
i32.ne
|
|
if
|
|
get_local $1
|
|
tee_local $2
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f32)
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $3
|
|
i32.add
|
|
f32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
get_local $1
|
|
i32.const 3160
|
|
i32.load
|
|
tee_local $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f32)
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $2
|
|
i32.add
|
|
f32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
f32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<f64> (; 75 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 f64)
|
|
(local $6 f64)
|
|
(local $7 i32)
|
|
loop $repeat|0
|
|
get_local $4
|
|
get_local $1
|
|
i32.ge_s
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f64.load offset=8
|
|
set_local $5
|
|
get_local $4
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $continue|1
|
|
get_local $3
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block $break|1
|
|
get_local $3
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f64.load offset=8
|
|
set_local $6
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $5
|
|
get_local $6
|
|
get_local $2
|
|
call_indirect (type $FFi)
|
|
i32.const 0
|
|
i32.ge_s
|
|
br_if $break|1
|
|
get_local $3
|
|
tee_local $7
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
get_local $7
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $6
|
|
f64.store offset=8
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $5
|
|
f64.store offset=8
|
|
get_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/internal/sort/weakHeapSort<f64> (; 76 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 f64)
|
|
(local $7 f64)
|
|
(local $8 i32)
|
|
get_local $1
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
tee_local $5
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
tee_local $8
|
|
i32.const 0
|
|
get_local $5
|
|
call $~lib/internal/memory/memset
|
|
get_local $1
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $repeat|0
|
|
get_local $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
get_local $3
|
|
set_local $5
|
|
loop $continue|1
|
|
get_local $5
|
|
i32.const 1
|
|
i32.and
|
|
get_local $5
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $8
|
|
i32.add
|
|
i32.load
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shr_s
|
|
set_local $5
|
|
br $continue|1
|
|
end
|
|
end
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shr_s
|
|
tee_local $4
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f64.load offset=8
|
|
set_local $7
|
|
get_local $3
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f64.load offset=8
|
|
set_local $6
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $7
|
|
get_local $6
|
|
get_local $2
|
|
call_indirect (type $FFi)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $3
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $8
|
|
i32.add
|
|
tee_local $5
|
|
get_local $5
|
|
i32.load
|
|
i32.const 1
|
|
get_local $3
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
get_local $3
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $7
|
|
f64.store offset=8
|
|
get_local $4
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $6
|
|
f64.store offset=8
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $repeat|2
|
|
get_local $3
|
|
i32.const 2
|
|
i32.ge_s
|
|
if
|
|
get_local $0
|
|
f64.load offset=8
|
|
set_local $6
|
|
get_local $0
|
|
get_local $3
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
tee_local $1
|
|
f64.load offset=8
|
|
f64.store offset=8
|
|
get_local $1
|
|
get_local $6
|
|
f64.store offset=8
|
|
i32.const 1
|
|
set_local $4
|
|
loop $continue|3
|
|
get_local $4
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $8
|
|
i32.add
|
|
i32.load
|
|
get_local $4
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
tee_local $5
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $5
|
|
set_local $4
|
|
br $continue|3
|
|
end
|
|
end
|
|
loop $continue|4
|
|
get_local $4
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
get_local $0
|
|
f64.load offset=8
|
|
set_local $6
|
|
get_local $4
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
f64.load offset=8
|
|
set_local $7
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $6
|
|
get_local $7
|
|
get_local $2
|
|
call_indirect (type $FFi)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $4
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $8
|
|
i32.add
|
|
tee_local $1
|
|
get_local $1
|
|
i32.load
|
|
i32.const 1
|
|
get_local $4
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
get_local $4
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $6
|
|
f64.store offset=8
|
|
get_local $0
|
|
get_local $7
|
|
f64.store offset=8
|
|
end
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shr_s
|
|
set_local $4
|
|
br $continue|4
|
|
end
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
br $repeat|2
|
|
end
|
|
end
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
tee_local $1
|
|
f64.load offset=8
|
|
set_local $6
|
|
get_local $1
|
|
get_local $0
|
|
f64.load offset=8
|
|
f64.store offset=8
|
|
get_local $0
|
|
get_local $6
|
|
f64.store offset=8
|
|
)
|
|
(func $~lib/array/Array<f64>#sort (; 77 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 f64)
|
|
(local $5 f64)
|
|
get_local $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 406
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
get_local $0
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $2
|
|
get_local $3
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
get_local $2
|
|
i32.const 8
|
|
i32.add
|
|
f64.load offset=8
|
|
set_local $4
|
|
get_local $2
|
|
f64.load offset=8
|
|
set_local $5
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $4
|
|
get_local $5
|
|
get_local $1
|
|
call_indirect (type $FFi)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
i32.const 8
|
|
i32.add
|
|
get_local $5
|
|
f64.store offset=8
|
|
get_local $2
|
|
get_local $4
|
|
f64.store offset=8
|
|
end
|
|
get_local $0
|
|
return
|
|
end
|
|
get_local $3
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $3
|
|
get_local $1
|
|
call $~lib/internal/sort/insertionSort<f64>
|
|
else
|
|
get_local $2
|
|
get_local $3
|
|
get_local $1
|
|
call $~lib/internal/sort/weakHeapSort<f64>
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $~lib/array/Array<f64>#sort|trampoline~anonymous|45 (; 78 ;) (type $FFi) (param $0 f64) (param $1 f64) (result i32)
|
|
(local $2 i64)
|
|
(local $3 i64)
|
|
get_local $0
|
|
i64.reinterpret/f64
|
|
tee_local $2
|
|
get_local $2
|
|
i64.const 63
|
|
i64.shr_s
|
|
i64.const 1
|
|
i64.shr_u
|
|
i64.xor
|
|
tee_local $2
|
|
get_local $1
|
|
i64.reinterpret/f64
|
|
tee_local $3
|
|
get_local $3
|
|
i64.const 63
|
|
i64.shr_s
|
|
i64.const 1
|
|
i64.shr_u
|
|
i64.xor
|
|
tee_local $3
|
|
i64.gt_s
|
|
get_local $2
|
|
get_local $3
|
|
i64.lt_s
|
|
i32.sub
|
|
)
|
|
(func $std/array/isArraysEqual<f64> (; 79 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 f64)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $5
|
|
i32.const 3436
|
|
i32.load
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.const 3432
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $5
|
|
i32.lt_s
|
|
if
|
|
get_local $1
|
|
tee_local $2
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f64)
|
|
get_local $2
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $3
|
|
i32.add
|
|
f64.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
tee_local $4
|
|
get_local $4
|
|
f64.ne
|
|
get_local $1
|
|
i32.const 3432
|
|
i32.load
|
|
tee_local $2
|
|
i32.load
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f64)
|
|
get_local $1
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $2
|
|
i32.add
|
|
f64.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
tee_local $4
|
|
get_local $4
|
|
f64.ne
|
|
i32.ne
|
|
if
|
|
get_local $1
|
|
tee_local $2
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f64)
|
|
get_local $2
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $3
|
|
i32.add
|
|
f64.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
get_local $1
|
|
i32.const 3432
|
|
i32.load
|
|
tee_local $2
|
|
i32.load
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f64)
|
|
get_local $1
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $2
|
|
i32.add
|
|
f64.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
f64.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/internal/sort/insertionSort<i32> (; 80 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
loop $repeat|0
|
|
get_local $4
|
|
get_local $1
|
|
i32.ge_s
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $6
|
|
get_local $4
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $continue|1
|
|
get_local $3
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block $break|1
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $5
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $6
|
|
get_local $5
|
|
get_local $2
|
|
call_indirect (type $iii)
|
|
i32.const 0
|
|
i32.ge_s
|
|
br_if $break|1
|
|
get_local $5
|
|
set_local $7
|
|
get_local $3
|
|
tee_local $5
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
get_local $5
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $7
|
|
i32.store offset=8
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $6
|
|
i32.store offset=8
|
|
get_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/internal/sort/weakHeapSort<i32> (; 81 ;) (type $FUNCSIG$viii) (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)
|
|
get_local $1
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
tee_local $6
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
tee_local $7
|
|
i32.const 0
|
|
get_local $6
|
|
call $~lib/internal/memory/memset
|
|
get_local $1
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $repeat|0
|
|
get_local $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
get_local $3
|
|
set_local $4
|
|
loop $continue|1
|
|
get_local $4
|
|
i32.const 1
|
|
i32.and
|
|
get_local $4
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $7
|
|
i32.add
|
|
i32.load
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shr_s
|
|
set_local $4
|
|
br $continue|1
|
|
end
|
|
end
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shr_s
|
|
tee_local $5
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $4
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $6
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $4
|
|
get_local $6
|
|
get_local $2
|
|
call_indirect (type $iii)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $3
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $7
|
|
i32.add
|
|
tee_local $8
|
|
get_local $8
|
|
i32.load
|
|
i32.const 1
|
|
get_local $3
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $4
|
|
i32.store offset=8
|
|
get_local $5
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $6
|
|
i32.store offset=8
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
loop $repeat|2
|
|
get_local $3
|
|
i32.const 2
|
|
i32.ge_s
|
|
if
|
|
get_local $0
|
|
i32.load offset=8
|
|
set_local $6
|
|
get_local $0
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
tee_local $1
|
|
i32.load offset=8
|
|
i32.store offset=8
|
|
get_local $1
|
|
get_local $6
|
|
i32.store offset=8
|
|
i32.const 1
|
|
set_local $5
|
|
loop $continue|3
|
|
get_local $5
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $7
|
|
i32.add
|
|
i32.load
|
|
get_local $5
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
tee_local $4
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $4
|
|
set_local $5
|
|
br $continue|3
|
|
end
|
|
end
|
|
loop $continue|4
|
|
get_local $5
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
get_local $0
|
|
i32.load offset=8
|
|
set_local $6
|
|
get_local $5
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $4
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $6
|
|
get_local $4
|
|
get_local $2
|
|
call_indirect (type $iii)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $5
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $7
|
|
i32.add
|
|
tee_local $1
|
|
get_local $1
|
|
i32.load
|
|
i32.const 1
|
|
get_local $5
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
get_local $5
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $6
|
|
i32.store offset=8
|
|
get_local $0
|
|
get_local $4
|
|
i32.store offset=8
|
|
end
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shr_s
|
|
set_local $5
|
|
br $continue|4
|
|
end
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $3
|
|
br $repeat|2
|
|
end
|
|
end
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
tee_local $2
|
|
i32.load offset=8
|
|
set_local $1
|
|
get_local $2
|
|
get_local $0
|
|
i32.load offset=8
|
|
i32.store offset=8
|
|
get_local $0
|
|
get_local $1
|
|
i32.store offset=8
|
|
)
|
|
(func $~lib/array/Array<i32>#sort (; 82 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 406
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
get_local $0
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $3
|
|
get_local $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
get_local $3
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $2
|
|
get_local $3
|
|
i32.load offset=8
|
|
set_local $4
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $2
|
|
get_local $4
|
|
get_local $1
|
|
call_indirect (type $iii)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $3
|
|
i32.const 4
|
|
i32.add
|
|
get_local $4
|
|
i32.store offset=8
|
|
get_local $3
|
|
get_local $2
|
|
i32.store offset=8
|
|
end
|
|
get_local $0
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
get_local $3
|
|
get_local $2
|
|
get_local $1
|
|
call $~lib/internal/sort/insertionSort<i32>
|
|
else
|
|
get_local $3
|
|
get_local $2
|
|
get_local $1
|
|
call $~lib/internal/sort/weakHeapSort<i32>
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $~lib/array/Array<i32>#sort|trampoline~anonymous|46 (; 83 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
get_local $0
|
|
get_local $1
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array<u32>#sort|trampoline~anonymous|47 (; 84 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
get_local $0
|
|
get_local $1
|
|
i32.gt_u
|
|
get_local $0
|
|
get_local $1
|
|
i32.lt_u
|
|
i32.sub
|
|
)
|
|
(func $std/array/createReverseOrderedArray (; 85 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
get_local $0
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_local $1
|
|
i32.const 0
|
|
set_local $0
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $0
|
|
get_local $1
|
|
i32.load offset=4
|
|
i32.ge_s
|
|
br_if $break|0
|
|
get_local $1
|
|
get_local $0
|
|
get_local $1
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
get_local $0
|
|
i32.sub
|
|
call $~lib/array/Array<i32>#__set
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/math/NativeMath.random (; 86 ;) (type $F) (result f64)
|
|
(local $0 i64)
|
|
(local $1 i64)
|
|
get_global $~lib/math/random_seeded
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 2816
|
|
i32.const 968
|
|
i32.const 24
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $~lib/math/random_state0_64
|
|
set_local $0
|
|
get_global $~lib/math/random_state1_64
|
|
tee_local $1
|
|
set_global $~lib/math/random_state0_64
|
|
get_local $1
|
|
get_local $0
|
|
i64.const 23
|
|
i64.shl
|
|
get_local $0
|
|
i64.xor
|
|
tee_local $0
|
|
get_local $0
|
|
i64.const 17
|
|
i64.shr_u
|
|
i64.xor
|
|
i64.xor
|
|
get_local $1
|
|
i64.const 26
|
|
i64.shr_u
|
|
i64.xor
|
|
tee_local $0
|
|
set_global $~lib/math/random_state1_64
|
|
get_local $0
|
|
get_local $1
|
|
i64.add
|
|
i64.const 4503599627370495
|
|
i64.and
|
|
i64.const 4607182418800017408
|
|
i64.or
|
|
f64.reinterpret/i64
|
|
f64.const 1
|
|
f64.sub
|
|
)
|
|
(func $std/array/createRandomOrderedArray (; 87 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
get_local $0
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_local $0
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $1
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.ge_s
|
|
br_if $break|0
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/math/NativeMath.random
|
|
get_local $0
|
|
i32.load offset=4
|
|
f64.convert_s/i32
|
|
f64.mul
|
|
i32.trunc_s/f64
|
|
call $~lib/array/Array<i32>#__set
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $std/array/isSorted<i32> (; 88 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
i32.const 1
|
|
set_local $2
|
|
get_local $0
|
|
i32.load offset=4
|
|
set_local $4
|
|
loop $repeat|0
|
|
get_local $2
|
|
get_local $4
|
|
i32.lt_s
|
|
if
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
get_local $0
|
|
i32.load
|
|
tee_local $5
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $5
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
get_local $2
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $3
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
get_local $1
|
|
call_indirect (type $iii)
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
i32.const 0
|
|
return
|
|
else
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $std/array/assertSorted<i32> (; 89 ;) (type $iiv) (param $0 i32) (param $1 i32)
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/array/Array<i32>#sort
|
|
get_local $1
|
|
call $std/array/isSorted<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 808
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $std/array/assertSortedDefault<i32> (; 90 ;) (type $iv) (param $0 i32)
|
|
get_local $0
|
|
i32.const 48
|
|
call $std/array/assertSorted<i32>
|
|
)
|
|
(func $start~anonymous|50 (; 91 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
get_local $1
|
|
get_local $0
|
|
i32.sub
|
|
)
|
|
(func $std/array/createReverseOrderedNestedArray (; 92 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
i32.const 512
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_local $1
|
|
loop $repeat|0
|
|
get_local $0
|
|
get_local $1
|
|
i32.load offset=4
|
|
i32.lt_s
|
|
if
|
|
get_local $1
|
|
get_local $0
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#constructor
|
|
call $~lib/array/Array<i32>#__set
|
|
get_local $0
|
|
get_local $1
|
|
i32.load
|
|
tee_local $2
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $2
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_local $1
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
get_local $0
|
|
i32.sub
|
|
call $~lib/array/Array<i32>#__set
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $start~anonymous|53 (; 93 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
i32.const 0
|
|
get_local $0
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_local $1
|
|
i32.load
|
|
tee_local $1
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $1
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array<Array<i32>>#sort (; 94 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.const 406
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
get_local $0
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $3
|
|
get_local $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
get_local $3
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
set_local $2
|
|
get_local $3
|
|
i32.load offset=8
|
|
set_local $4
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_local $2
|
|
get_local $4
|
|
get_local $1
|
|
call_indirect (type $iii)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
get_local $3
|
|
i32.const 4
|
|
i32.add
|
|
get_local $4
|
|
i32.store offset=8
|
|
get_local $3
|
|
get_local $2
|
|
i32.store offset=8
|
|
end
|
|
get_local $0
|
|
return
|
|
end
|
|
get_local $3
|
|
get_local $2
|
|
get_local $1
|
|
call $~lib/internal/sort/insertionSort<i32>
|
|
get_local $0
|
|
)
|
|
(func $std/array/assertSorted<Array<i32>> (; 95 ;) (type $iiv) (param $0 i32) (param $1 i32)
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/array/Array<Array<i32>>#sort
|
|
get_local $1
|
|
call $std/array/isSorted<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 808
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $std/array/createReverseOrderedElementsArray (; 96 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
i32.const 512
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_local $0
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
get_local $1
|
|
i32.sub
|
|
set_local $2
|
|
i32.const 4
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
tee_local $3
|
|
get_local $2
|
|
i32.store
|
|
get_local $0
|
|
get_local $1
|
|
get_local $3
|
|
call $~lib/array/Array<i32>#__set
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $start~anonymous|54 (; 97 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
get_local $0
|
|
i32.load
|
|
get_local $1
|
|
i32.load
|
|
i32.sub
|
|
)
|
|
(func $~lib/internal/string/compareUnsafe (; 98 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
loop $continue|0
|
|
get_local $2
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load16_u offset=4
|
|
get_local $1
|
|
i32.load16_u offset=4
|
|
i32.sub
|
|
tee_local $3
|
|
i32.eqz
|
|
else
|
|
get_local $2
|
|
end
|
|
if
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $2
|
|
get_local $0
|
|
i32.const 2
|
|
i32.add
|
|
set_local $0
|
|
get_local $1
|
|
i32.const 2
|
|
i32.add
|
|
set_local $1
|
|
br $continue|0
|
|
end
|
|
end
|
|
get_local $3
|
|
)
|
|
(func $~lib/string/String.__gt (; 99 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
get_local $0
|
|
get_local $1
|
|
i32.eq
|
|
tee_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $0
|
|
i32.eqz
|
|
set_local $2
|
|
end
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $1
|
|
i32.eqz
|
|
set_local $2
|
|
end
|
|
get_local $2
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $1
|
|
i32.load
|
|
set_local $3
|
|
get_local $0
|
|
i32.load
|
|
tee_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
get_local $2
|
|
get_local $3
|
|
get_local $2
|
|
get_local $3
|
|
i32.lt_s
|
|
select
|
|
call $~lib/internal/string/compareUnsafe
|
|
i32.const 0
|
|
i32.gt_s
|
|
)
|
|
(func $~lib/string/String.__lt (; 100 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
get_local $0
|
|
get_local $1
|
|
i32.eq
|
|
tee_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $0
|
|
i32.eqz
|
|
set_local $2
|
|
end
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $1
|
|
i32.eqz
|
|
set_local $2
|
|
end
|
|
get_local $2
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $2
|
|
get_local $1
|
|
i32.load
|
|
tee_local $3
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
get_local $2
|
|
get_local $3
|
|
get_local $2
|
|
get_local $3
|
|
i32.lt_s
|
|
select
|
|
call $~lib/internal/string/compareUnsafe
|
|
i32.const 0
|
|
i32.lt_s
|
|
)
|
|
(func $start~anonymous|55 (; 101 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/string/String.__gt
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/string/String.__lt
|
|
i32.sub
|
|
)
|
|
(func $~lib/string/String.__eq (; 102 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
get_local $0
|
|
get_local $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.eqz
|
|
tee_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $1
|
|
i32.eqz
|
|
set_local $2
|
|
end
|
|
get_local $2
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
tee_local $2
|
|
get_local $1
|
|
i32.load
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
get_local $2
|
|
call $~lib/internal/string/compareUnsafe
|
|
i32.eqz
|
|
)
|
|
(func $std/array/isArraysEqual<String> (; 103 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
tee_local $4
|
|
get_local $1
|
|
i32.load offset=4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
loop $repeat|0
|
|
get_local $2
|
|
get_local $4
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $3
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
get_local $2
|
|
get_local $1
|
|
i32.load
|
|
tee_local $3
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $2
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $3
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
call $~lib/string/String.__eq
|
|
if
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
else
|
|
i32.const 0
|
|
return
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $~lib/internal/string/allocateUnsafe (; 104 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
get_local $0
|
|
i32.const 0
|
|
i32.gt_s
|
|
tee_local $1
|
|
if
|
|
get_local $0
|
|
i32.const 536870910
|
|
i32.le_s
|
|
set_local $1
|
|
end
|
|
get_local $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 14
|
|
i32.const 2
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 4
|
|
i32.add
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
tee_local $1
|
|
get_local $0
|
|
i32.store
|
|
get_local $1
|
|
)
|
|
(func $~lib/string/String#charAt (; 105 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
get_local $0
|
|
i32.const 2848
|
|
i32.load
|
|
i32.ge_u
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 1
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $1
|
|
get_local $0
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 2848
|
|
i32.add
|
|
i32.load16_u offset=4
|
|
i32.store16 offset=4
|
|
get_local $1
|
|
)
|
|
(func $~lib/internal/string/copyUnsafe (; 106 ;) (type $iiiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32)
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.const 4
|
|
i32.add
|
|
get_local $3
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $2
|
|
i32.add
|
|
i32.const 4
|
|
i32.add
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
)
|
|
(func $~lib/string/String#concat (; 107 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 3976
|
|
i32.const 110
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
get_local $1
|
|
i32.const 4064
|
|
get_local $1
|
|
select
|
|
tee_local $1
|
|
i32.load
|
|
tee_local $4
|
|
i32.add
|
|
tee_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
get_local $2
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $2
|
|
i32.const 0
|
|
get_local $0
|
|
i32.const 0
|
|
get_local $3
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $2
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 0
|
|
get_local $4
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $2
|
|
)
|
|
(func $~lib/string/String.__concat (; 108 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
get_local $0
|
|
i32.const 4064
|
|
get_local $0
|
|
select
|
|
get_local $1
|
|
call $~lib/string/String#concat
|
|
)
|
|
(func $std/array/createRandomString (; 109 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
i32.const 3824
|
|
set_local $1
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $2
|
|
get_local $0
|
|
i32.ge_s
|
|
br_if $break|0
|
|
get_local $1
|
|
call $~lib/math/NativeMath.random
|
|
i32.const 2848
|
|
i32.load
|
|
f64.convert_s/i32
|
|
f64.mul
|
|
f64.floor
|
|
i32.trunc_s/f64
|
|
call $~lib/string/String#charAt
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
get_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $std/array/createRandomStringArray (; 110 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
i32.const 400
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_local $1
|
|
loop $repeat|0
|
|
get_local $0
|
|
get_local $1
|
|
i32.load offset=4
|
|
i32.lt_s
|
|
if
|
|
get_local $1
|
|
get_local $0
|
|
call $~lib/math/NativeMath.random
|
|
f64.const 32
|
|
f64.mul
|
|
i32.trunc_s/f64
|
|
call $std/array/createRandomString
|
|
call $~lib/array/Array<i32>#__set
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/string/String#substring (; 111 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 3976
|
|
i32.const 269
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $1
|
|
i32.const 0
|
|
get_local $1
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
tee_local $2
|
|
get_local $0
|
|
i32.load
|
|
tee_local $3
|
|
get_local $2
|
|
get_local $3
|
|
i32.lt_s
|
|
select
|
|
set_local $1
|
|
i32.const 0
|
|
get_local $3
|
|
i32.const 0
|
|
get_local $3
|
|
i32.lt_s
|
|
select
|
|
tee_local $2
|
|
get_local $1
|
|
get_local $2
|
|
get_local $1
|
|
i32.lt_s
|
|
select
|
|
set_local $4
|
|
get_local $2
|
|
get_local $1
|
|
get_local $2
|
|
get_local $1
|
|
i32.gt_s
|
|
select
|
|
tee_local $1
|
|
get_local $4
|
|
i32.sub
|
|
tee_local $3
|
|
i32.eqz
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
get_local $4
|
|
i32.eqz
|
|
tee_local $2
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load
|
|
get_local $1
|
|
i32.eq
|
|
else
|
|
get_local $2
|
|
end
|
|
if
|
|
get_local $0
|
|
return
|
|
end
|
|
get_local $3
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $2
|
|
i32.const 0
|
|
get_local $0
|
|
get_local $4
|
|
get_local $3
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $2
|
|
)
|
|
(func $~lib/array/Array<bool>#join (; 112 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 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)
|
|
i32.const 4164
|
|
i32.load
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $4
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 4160
|
|
i32.load
|
|
set_local $5
|
|
i32.const 4136
|
|
i32.load
|
|
tee_local $6
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $7
|
|
get_local $4
|
|
i32.eqz
|
|
if
|
|
i32.const 4104
|
|
i32.const 4120
|
|
get_local $5
|
|
i32.load8_u offset=8
|
|
select
|
|
return
|
|
end
|
|
get_local $6
|
|
i32.const 5
|
|
i32.add
|
|
get_local $4
|
|
i32.mul
|
|
i32.const 5
|
|
i32.add
|
|
tee_local $8
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $2
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $4
|
|
i32.lt_s
|
|
if
|
|
get_local $1
|
|
get_local $5
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
i32.const 0
|
|
i32.ne
|
|
tee_local $9
|
|
i32.eqz
|
|
i32.const 4
|
|
i32.add
|
|
set_local $3
|
|
get_local $2
|
|
get_local $0
|
|
i32.const 4104
|
|
i32.const 4120
|
|
get_local $9
|
|
select
|
|
i32.const 0
|
|
get_local $3
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $0
|
|
get_local $3
|
|
i32.add
|
|
set_local $0
|
|
get_local $7
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
i32.const 4136
|
|
i32.const 0
|
|
get_local $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $0
|
|
get_local $6
|
|
i32.add
|
|
set_local $0
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $4
|
|
get_local $5
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
i32.const 0
|
|
i32.ne
|
|
tee_local $1
|
|
i32.eqz
|
|
i32.const 4
|
|
i32.add
|
|
set_local $3
|
|
get_local $2
|
|
get_local $0
|
|
i32.const 4104
|
|
i32.const 4120
|
|
get_local $1
|
|
select
|
|
i32.const 0
|
|
get_local $3
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $2
|
|
set_local $1
|
|
get_local $8
|
|
get_local $0
|
|
get_local $3
|
|
i32.add
|
|
tee_local $0
|
|
i32.gt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
call $~lib/string/String#substring
|
|
set_local $1
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/internal/number/decimalCount32 (; 113 ;) (type $ii) (param $0 i32) (result i32)
|
|
get_local $0
|
|
i32.const 100000
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 100
|
|
i32.lt_u
|
|
if (result i32)
|
|
i32.const 1
|
|
i32.const 2
|
|
get_local $0
|
|
i32.const 10
|
|
i32.lt_u
|
|
select
|
|
else
|
|
i32.const 3
|
|
i32.const 4
|
|
i32.const 5
|
|
get_local $0
|
|
i32.const 10000
|
|
i32.lt_u
|
|
select
|
|
get_local $0
|
|
i32.const 1000
|
|
i32.lt_u
|
|
select
|
|
end
|
|
else
|
|
get_local $0
|
|
i32.const 10000000
|
|
i32.lt_u
|
|
if (result i32)
|
|
i32.const 6
|
|
i32.const 7
|
|
get_local $0
|
|
i32.const 1000000
|
|
i32.lt_u
|
|
select
|
|
else
|
|
i32.const 8
|
|
i32.const 9
|
|
i32.const 10
|
|
get_local $0
|
|
i32.const 1000000000
|
|
i32.lt_u
|
|
select
|
|
get_local $0
|
|
i32.const 100000000
|
|
i32.lt_u
|
|
select
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/internal/number/utoa32_lut (; 114 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
i32.const 4752
|
|
i32.load
|
|
set_local $3
|
|
loop $continue|0
|
|
get_local $1
|
|
i32.const 10000
|
|
i32.ge_u
|
|
if
|
|
get_local $1
|
|
i32.const 10000
|
|
i32.rem_u
|
|
set_local $4
|
|
get_local $1
|
|
i32.const 10000
|
|
i32.div_u
|
|
set_local $1
|
|
get_local $2
|
|
i32.const 4
|
|
i32.sub
|
|
tee_local $2
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $3
|
|
get_local $4
|
|
i32.const 100
|
|
i32.div_u
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
get_local $3
|
|
get_local $4
|
|
i32.const 100
|
|
i32.rem_u
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
i64.const 32
|
|
i64.shl
|
|
i64.or
|
|
i64.store offset=4
|
|
br $continue|0
|
|
end
|
|
end
|
|
get_local $1
|
|
i32.const 100
|
|
i32.ge_u
|
|
if
|
|
get_local $1
|
|
i32.const 100
|
|
i32.rem_u
|
|
set_local $4
|
|
get_local $1
|
|
i32.const 100
|
|
i32.div_u
|
|
set_local $1
|
|
get_local $2
|
|
i32.const 2
|
|
i32.sub
|
|
tee_local $2
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $3
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
i32.store offset=4
|
|
end
|
|
get_local $1
|
|
i32.const 10
|
|
i32.ge_u
|
|
if
|
|
get_local $2
|
|
i32.const 2
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $3
|
|
get_local $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
i32.store offset=4
|
|
else
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $1
|
|
i32.const 48
|
|
i32.add
|
|
i32.store16 offset=4
|
|
end
|
|
)
|
|
(func $~lib/internal/number/itoa32 (; 115 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
get_local $0
|
|
i32.eqz
|
|
if
|
|
i32.const 4232
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.const 0
|
|
i32.lt_s
|
|
tee_local $1
|
|
if
|
|
i32.const 0
|
|
get_local $0
|
|
i32.sub
|
|
set_local $0
|
|
end
|
|
get_local $0
|
|
call $~lib/internal/number/decimalCount32
|
|
get_local $1
|
|
i32.add
|
|
tee_local $3
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $2
|
|
get_local $0
|
|
get_local $3
|
|
call $~lib/internal/number/utoa32_lut
|
|
get_local $1
|
|
if
|
|
get_local $2
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
get_local $2
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<i32> (; 116 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
get_local $0
|
|
block (result i32)
|
|
get_local $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
tee_local $1
|
|
if
|
|
i32.const 0
|
|
get_local $2
|
|
i32.sub
|
|
set_local $2
|
|
end
|
|
get_local $2
|
|
end
|
|
get_local $2
|
|
call $~lib/internal/number/decimalCount32
|
|
get_local $1
|
|
i32.add
|
|
tee_local $2
|
|
call $~lib/internal/number/utoa32_lut
|
|
get_local $1
|
|
if
|
|
get_local $0
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
get_local $2
|
|
)
|
|
(func $~lib/array/Array<i32>#join (; 117 ;) (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)
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $4
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $5
|
|
get_local $1
|
|
i32.load
|
|
tee_local $6
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $7
|
|
get_local $4
|
|
i32.eqz
|
|
if
|
|
get_local $5
|
|
i32.load offset=8
|
|
call $~lib/internal/number/itoa32
|
|
return
|
|
end
|
|
get_local $6
|
|
i32.const 11
|
|
i32.add
|
|
get_local $4
|
|
i32.mul
|
|
i32.const 11
|
|
i32.add
|
|
tee_local $8
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $0
|
|
loop $repeat|0
|
|
get_local $3
|
|
get_local $4
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $5
|
|
i32.add
|
|
i32.load offset=8
|
|
call $~lib/internal/number/itoa_stream<i32>
|
|
get_local $2
|
|
i32.add
|
|
set_local $2
|
|
get_local $7
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
get_local $1
|
|
i32.const 0
|
|
get_local $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $2
|
|
get_local $6
|
|
i32.add
|
|
set_local $2
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $0
|
|
set_local $3
|
|
get_local $8
|
|
get_local $0
|
|
get_local $2
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $5
|
|
i32.add
|
|
i32.load offset=8
|
|
call $~lib/internal/number/itoa_stream<i32>
|
|
get_local $2
|
|
i32.add
|
|
tee_local $2
|
|
i32.gt_s
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
call $~lib/string/String#substring
|
|
set_local $3
|
|
get_local $0
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $3
|
|
)
|
|
(func $~lib/internal/number/utoa32 (; 118 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
get_local $0
|
|
i32.eqz
|
|
if
|
|
i32.const 4232
|
|
return
|
|
end
|
|
get_local $0
|
|
call $~lib/internal/number/decimalCount32
|
|
tee_local $1
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $2
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/internal/number/utoa32_lut
|
|
get_local $2
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<u32> (; 119 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $2
|
|
get_local $2
|
|
call $~lib/internal/number/decimalCount32
|
|
tee_local $3
|
|
call $~lib/internal/number/utoa32_lut
|
|
get_local $3
|
|
)
|
|
(func $~lib/array/Array<u32>#join (; 120 ;) (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)
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $4
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $5
|
|
get_local $1
|
|
i32.load
|
|
tee_local $6
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $7
|
|
get_local $4
|
|
i32.eqz
|
|
if
|
|
get_local $5
|
|
i32.load offset=8
|
|
call $~lib/internal/number/utoa32
|
|
return
|
|
end
|
|
get_local $6
|
|
i32.const 10
|
|
i32.add
|
|
get_local $4
|
|
i32.mul
|
|
i32.const 10
|
|
i32.add
|
|
tee_local $8
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $0
|
|
loop $repeat|0
|
|
get_local $3
|
|
get_local $4
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $5
|
|
i32.add
|
|
i32.load offset=8
|
|
call $~lib/internal/number/itoa_stream<u32>
|
|
get_local $2
|
|
i32.add
|
|
set_local $2
|
|
get_local $7
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
get_local $1
|
|
i32.const 0
|
|
get_local $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $2
|
|
get_local $6
|
|
i32.add
|
|
set_local $2
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $0
|
|
set_local $3
|
|
get_local $8
|
|
get_local $0
|
|
get_local $2
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $5
|
|
i32.add
|
|
i32.load offset=8
|
|
call $~lib/internal/number/itoa_stream<u32>
|
|
get_local $2
|
|
i32.add
|
|
tee_local $2
|
|
i32.gt_s
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
call $~lib/string/String#substring
|
|
set_local $3
|
|
get_local $0
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $3
|
|
)
|
|
(func $~lib/internal/number/genDigits (; 121 ;) (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 i32)
|
|
(local $10 i64)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i64)
|
|
(local $14 i64)
|
|
get_local $3
|
|
get_local $1
|
|
i64.sub
|
|
set_local $8
|
|
i64.const 1
|
|
i32.const 0
|
|
get_local $4
|
|
i32.sub
|
|
tee_local $11
|
|
i64.extend_s/i32
|
|
tee_local $13
|
|
i64.shl
|
|
tee_local $10
|
|
i64.const 1
|
|
i64.sub
|
|
tee_local $14
|
|
get_local $3
|
|
i64.and
|
|
set_local $1
|
|
get_local $3
|
|
get_local $13
|
|
i64.shr_u
|
|
i32.wrap/i64
|
|
tee_local $7
|
|
call $~lib/internal/number/decimalCount32
|
|
set_local $9
|
|
i32.const 6536
|
|
i32.load
|
|
set_local $12
|
|
loop $continue|0
|
|
get_local $9
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
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
|
|
get_local $9
|
|
tee_local $2
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
get_local $2
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $case9|1 $case8|1 $case7|1 $case6|1 $case5|1 $case4|1 $case3|1 $case2|1 $case1|1 $case10|1
|
|
end
|
|
get_local $7
|
|
i32.const 1000000000
|
|
i32.div_u
|
|
set_local $4
|
|
get_local $7
|
|
i32.const 1000000000
|
|
i32.rem_u
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
get_local $7
|
|
i32.const 100000000
|
|
i32.div_u
|
|
set_local $4
|
|
get_local $7
|
|
i32.const 100000000
|
|
i32.rem_u
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
get_local $7
|
|
i32.const 10000000
|
|
i32.div_u
|
|
set_local $4
|
|
get_local $7
|
|
i32.const 10000000
|
|
i32.rem_u
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
get_local $7
|
|
i32.const 1000000
|
|
i32.div_u
|
|
set_local $4
|
|
get_local $7
|
|
i32.const 1000000
|
|
i32.rem_u
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
get_local $7
|
|
i32.const 100000
|
|
i32.div_u
|
|
set_local $4
|
|
get_local $7
|
|
i32.const 100000
|
|
i32.rem_u
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
get_local $7
|
|
i32.const 10000
|
|
i32.div_u
|
|
set_local $4
|
|
get_local $7
|
|
i32.const 10000
|
|
i32.rem_u
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
get_local $7
|
|
i32.const 1000
|
|
i32.div_u
|
|
set_local $4
|
|
get_local $7
|
|
i32.const 1000
|
|
i32.rem_u
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
get_local $7
|
|
i32.const 100
|
|
i32.div_u
|
|
set_local $4
|
|
get_local $7
|
|
i32.const 100
|
|
i32.rem_u
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
get_local $7
|
|
i32.const 10
|
|
i32.div_u
|
|
set_local $4
|
|
get_local $7
|
|
i32.const 10
|
|
i32.rem_u
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
get_local $7
|
|
set_local $4
|
|
i32.const 0
|
|
set_local $7
|
|
br $break|1
|
|
end
|
|
i32.const 0
|
|
set_local $4
|
|
end
|
|
get_local $4
|
|
get_local $6
|
|
i32.or
|
|
if
|
|
get_local $6
|
|
tee_local $2
|
|
i32.const 1
|
|
i32.add
|
|
set_local $6
|
|
get_local $2
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $4
|
|
i32.const 65535
|
|
i32.and
|
|
i32.const 48
|
|
i32.add
|
|
i32.store16 offset=4
|
|
end
|
|
get_local $9
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $9
|
|
get_local $7
|
|
i64.extend_u/i32
|
|
get_local $11
|
|
i64.extend_s/i32
|
|
i64.shl
|
|
get_local $1
|
|
i64.add
|
|
tee_local $3
|
|
get_local $5
|
|
i64.le_u
|
|
if
|
|
get_global $~lib/internal/number/_K
|
|
get_local $9
|
|
i32.add
|
|
set_global $~lib/internal/number/_K
|
|
get_local $12
|
|
get_local $9
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
get_local $11
|
|
i64.extend_s/i32
|
|
i64.shl
|
|
set_local $1
|
|
get_local $6
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
tee_local $2
|
|
i32.load16_u offset=4
|
|
set_local $7
|
|
loop $continue|2
|
|
get_local $3
|
|
get_local $8
|
|
i64.lt_u
|
|
tee_local $0
|
|
if
|
|
get_local $5
|
|
get_local $3
|
|
i64.sub
|
|
get_local $1
|
|
i64.ge_u
|
|
set_local $0
|
|
end
|
|
get_local $0
|
|
if
|
|
get_local $1
|
|
get_local $3
|
|
i64.add
|
|
get_local $8
|
|
i64.lt_u
|
|
tee_local $0
|
|
i32.eqz
|
|
if
|
|
get_local $8
|
|
get_local $3
|
|
i64.sub
|
|
get_local $1
|
|
get_local $3
|
|
i64.add
|
|
get_local $8
|
|
i64.sub
|
|
i64.gt_u
|
|
set_local $0
|
|
end
|
|
end
|
|
get_local $0
|
|
if
|
|
get_local $7
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $7
|
|
get_local $1
|
|
get_local $3
|
|
i64.add
|
|
set_local $3
|
|
br $continue|2
|
|
end
|
|
end
|
|
get_local $2
|
|
get_local $7
|
|
i32.store16 offset=4
|
|
get_local $6
|
|
return
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
loop $continue|3 (result i32)
|
|
get_local $5
|
|
i64.const 10
|
|
i64.mul
|
|
set_local $5
|
|
get_local $1
|
|
i64.const 10
|
|
i64.mul
|
|
tee_local $1
|
|
get_local $11
|
|
i64.extend_s/i32
|
|
i64.shr_u
|
|
tee_local $3
|
|
get_local $6
|
|
i64.extend_s/i32
|
|
i64.or
|
|
i64.const 0
|
|
i64.ne
|
|
if
|
|
get_local $6
|
|
tee_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $6
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $3
|
|
i32.wrap/i64
|
|
i32.const 65535
|
|
i32.and
|
|
i32.const 48
|
|
i32.add
|
|
i32.store16 offset=4
|
|
end
|
|
get_local $9
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $9
|
|
get_local $1
|
|
get_local $14
|
|
i64.and
|
|
tee_local $1
|
|
get_local $5
|
|
i64.ge_u
|
|
br_if $continue|3
|
|
get_global $~lib/internal/number/_K
|
|
get_local $9
|
|
i32.add
|
|
set_global $~lib/internal/number/_K
|
|
get_local $12
|
|
i32.const 0
|
|
get_local $9
|
|
i32.sub
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
get_local $8
|
|
i64.mul
|
|
set_local $8
|
|
get_local $6
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
tee_local $7
|
|
i32.load16_u offset=4
|
|
set_local $4
|
|
loop $continue|4
|
|
get_local $1
|
|
get_local $8
|
|
i64.lt_u
|
|
tee_local $2
|
|
if
|
|
get_local $5
|
|
get_local $1
|
|
i64.sub
|
|
get_local $10
|
|
i64.ge_u
|
|
set_local $2
|
|
end
|
|
get_local $2
|
|
if
|
|
get_local $1
|
|
get_local $10
|
|
i64.add
|
|
get_local $8
|
|
i64.lt_u
|
|
tee_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $8
|
|
get_local $1
|
|
i64.sub
|
|
get_local $1
|
|
get_local $10
|
|
i64.add
|
|
get_local $8
|
|
i64.sub
|
|
i64.gt_u
|
|
set_local $2
|
|
end
|
|
end
|
|
get_local $2
|
|
if
|
|
get_local $4
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $4
|
|
get_local $1
|
|
get_local $10
|
|
i64.add
|
|
set_local $1
|
|
br $continue|4
|
|
end
|
|
end
|
|
get_local $7
|
|
get_local $4
|
|
i32.store16 offset=4
|
|
get_local $6
|
|
end
|
|
)
|
|
(func $~lib/internal/number/prettify (; 122 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.const 3145774
|
|
i32.store offset=4
|
|
get_local $1
|
|
i32.const 2
|
|
i32.add
|
|
return
|
|
end
|
|
get_local $1
|
|
get_local $1
|
|
get_local $2
|
|
i32.add
|
|
tee_local $5
|
|
i32.le_s
|
|
tee_local $3
|
|
if
|
|
get_local $5
|
|
i32.const 21
|
|
i32.le_s
|
|
set_local $3
|
|
end
|
|
get_local $3
|
|
if (result i32)
|
|
get_local $1
|
|
set_local $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $3
|
|
get_local $5
|
|
i32.ge_s
|
|
br_if $break|0
|
|
get_local $3
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.const 3145774
|
|
i32.store offset=4
|
|
get_local $5
|
|
i32.const 2
|
|
i32.add
|
|
else
|
|
get_local $5
|
|
i32.const 0
|
|
i32.gt_s
|
|
tee_local $3
|
|
if
|
|
get_local $5
|
|
i32.const 21
|
|
i32.le_s
|
|
set_local $3
|
|
end
|
|
get_local $3
|
|
if (result i32)
|
|
get_local $5
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 4
|
|
i32.add
|
|
tee_local $0
|
|
i32.const 2
|
|
i32.add
|
|
get_local $0
|
|
i32.const 0
|
|
get_local $2
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
get_local $3
|
|
i32.const 46
|
|
i32.store16 offset=4
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
else
|
|
i32.const -6
|
|
get_local $5
|
|
i32.lt_s
|
|
tee_local $3
|
|
if
|
|
get_local $5
|
|
i32.const 0
|
|
i32.le_s
|
|
set_local $3
|
|
end
|
|
get_local $3
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
tee_local $2
|
|
i32.const 2
|
|
get_local $5
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
get_local $2
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
get_local $0
|
|
i32.const 3014704
|
|
i32.store offset=4
|
|
i32.const 2
|
|
set_local $4
|
|
loop $repeat|1
|
|
block $break|1
|
|
get_local $4
|
|
get_local $3
|
|
i32.ge_s
|
|
br_if $break|1
|
|
get_local $4
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
get_local $4
|
|
i32.const 1
|
|
i32.add
|
|
set_local $4
|
|
br $repeat|1
|
|
end
|
|
end
|
|
get_local $1
|
|
get_local $3
|
|
i32.add
|
|
else
|
|
get_local $1
|
|
i32.const 1
|
|
i32.eq
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 101
|
|
i32.store16 offset=6
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
tee_local $3
|
|
block (result i32)
|
|
get_local $5
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $4
|
|
i32.const 0
|
|
i32.lt_s
|
|
tee_local $2
|
|
if
|
|
i32.const 0
|
|
get_local $4
|
|
i32.sub
|
|
set_local $4
|
|
end
|
|
get_local $4
|
|
end
|
|
get_local $4
|
|
call $~lib/internal/number/decimalCount32
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $4
|
|
call $~lib/internal/number/utoa32_lut
|
|
get_local $3
|
|
i32.const 45
|
|
i32.const 43
|
|
get_local $2
|
|
select
|
|
i32.store16 offset=4
|
|
get_local $4
|
|
i32.const 2
|
|
i32.add
|
|
else
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
tee_local $3
|
|
i32.const 4
|
|
i32.add
|
|
get_local $3
|
|
i32.const 2
|
|
i32.add
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
tee_local $4
|
|
i32.const 2
|
|
i32.sub
|
|
call $~lib/internal/memory/memmove
|
|
get_local $0
|
|
i32.const 46
|
|
i32.store16 offset=6
|
|
get_local $0
|
|
get_local $4
|
|
i32.add
|
|
tee_local $0
|
|
i32.const 101
|
|
i32.store16 offset=6
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
tee_local $3
|
|
block (result i32)
|
|
get_local $5
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $4
|
|
i32.const 0
|
|
i32.lt_s
|
|
tee_local $2
|
|
if
|
|
i32.const 0
|
|
get_local $4
|
|
i32.sub
|
|
set_local $4
|
|
end
|
|
get_local $4
|
|
end
|
|
get_local $4
|
|
call $~lib/internal/number/decimalCount32
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $0
|
|
call $~lib/internal/number/utoa32_lut
|
|
get_local $3
|
|
i32.const 45
|
|
i32.const 43
|
|
get_local $2
|
|
select
|
|
i32.store16 offset=4
|
|
get_local $0
|
|
get_local $1
|
|
i32.add
|
|
i32.const 2
|
|
i32.add
|
|
end
|
|
end
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/internal/number/dtoa_core (; 123 ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32)
|
|
(local $2 i64)
|
|
(local $3 i64)
|
|
(local $4 i32)
|
|
(local $5 i64)
|
|
(local $6 i32)
|
|
(local $7 i64)
|
|
(local $8 i32)
|
|
(local $9 i64)
|
|
(local $10 i64)
|
|
(local $11 i64)
|
|
(local $12 i64)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
(local $15 i64)
|
|
get_local $1
|
|
f64.const 0
|
|
f64.lt
|
|
tee_local $13
|
|
if (result f64)
|
|
get_local $0
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
get_local $1
|
|
f64.neg
|
|
else
|
|
get_local $1
|
|
end
|
|
i64.reinterpret/f64
|
|
tee_local $2
|
|
i64.const 9218868437227405312
|
|
i64.and
|
|
i64.const 52
|
|
i64.shr_u
|
|
i32.wrap/i64
|
|
set_local $8
|
|
get_local $2
|
|
i64.const 4503599627370495
|
|
i64.and
|
|
get_local $8
|
|
i32.const 0
|
|
i32.ne
|
|
tee_local $6
|
|
i64.extend_u/i32
|
|
i64.const 52
|
|
i64.shl
|
|
i64.add
|
|
set_local $2
|
|
get_local $8
|
|
i32.const 1
|
|
get_local $6
|
|
select
|
|
i32.const 1075
|
|
i32.sub
|
|
tee_local $8
|
|
i32.const 1
|
|
i32.sub
|
|
set_local $6
|
|
get_local $2
|
|
i64.const 1
|
|
i64.shl
|
|
i64.const 1
|
|
i64.add
|
|
tee_local $5
|
|
i64.clz
|
|
i32.wrap/i64
|
|
set_local $4
|
|
get_local $5
|
|
get_local $4
|
|
i64.extend_s/i32
|
|
i64.shl
|
|
set_global $~lib/internal/number/_frc_plus
|
|
get_local $2
|
|
get_local $2
|
|
i64.const 4503599627370496
|
|
i64.eq
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $14
|
|
i64.extend_s/i32
|
|
i64.shl
|
|
i64.const 1
|
|
i64.sub
|
|
get_local $8
|
|
get_local $14
|
|
i32.sub
|
|
get_local $6
|
|
get_local $4
|
|
i32.sub
|
|
tee_local $6
|
|
i32.sub
|
|
i64.extend_s/i32
|
|
i64.shl
|
|
set_global $~lib/internal/number/_frc_minus
|
|
get_local $6
|
|
set_global $~lib/internal/number/_exp
|
|
i32.const 348
|
|
i32.const -61
|
|
get_global $~lib/internal/number/_exp
|
|
i32.sub
|
|
f64.convert_s/i32
|
|
f64.const 0.30102999566398114
|
|
f64.mul
|
|
f64.const 347
|
|
f64.add
|
|
tee_local $1
|
|
i32.trunc_s/f64
|
|
tee_local $4
|
|
get_local $4
|
|
f64.convert_s/i32
|
|
get_local $1
|
|
f64.ne
|
|
i32.add
|
|
i32.const 3
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.add
|
|
tee_local $6
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
set_global $~lib/internal/number/_K
|
|
i32.const 6464
|
|
i32.load
|
|
set_local $4
|
|
i32.const 6200
|
|
i32.load
|
|
get_local $6
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
i64.load offset=8
|
|
set_global $~lib/internal/number/_frc_pow
|
|
get_local $4
|
|
get_local $6
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.load16_s offset=8
|
|
set_global $~lib/internal/number/_exp_pow
|
|
get_local $2
|
|
get_local $2
|
|
i64.clz
|
|
i32.wrap/i64
|
|
tee_local $4
|
|
i64.extend_s/i32
|
|
i64.shl
|
|
tee_local $2
|
|
i64.const 4294967295
|
|
i64.and
|
|
tee_local $7
|
|
get_global $~lib/internal/number/_frc_pow
|
|
tee_local $5
|
|
i64.const 4294967295
|
|
i64.and
|
|
tee_local $9
|
|
i64.mul
|
|
set_local $10
|
|
get_local $5
|
|
i64.const 32
|
|
i64.shr_u
|
|
tee_local $11
|
|
get_local $7
|
|
i64.mul
|
|
get_local $2
|
|
i64.const 32
|
|
i64.shr_u
|
|
tee_local $12
|
|
get_local $9
|
|
i64.mul
|
|
get_local $10
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
tee_local $3
|
|
i64.const 4294967295
|
|
i64.and
|
|
i64.add
|
|
i64.const 2147483647
|
|
i64.add
|
|
i64.const 32
|
|
i64.shr_u
|
|
get_local $11
|
|
get_local $12
|
|
i64.mul
|
|
get_local $3
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
i64.add
|
|
set_local $2
|
|
get_local $5
|
|
i64.const 4294967295
|
|
i64.and
|
|
tee_local $11
|
|
get_global $~lib/internal/number/_frc_plus
|
|
tee_local $3
|
|
i64.const 4294967295
|
|
i64.and
|
|
tee_local $10
|
|
i64.mul
|
|
set_local $7
|
|
get_local $10
|
|
get_local $5
|
|
i64.const 32
|
|
i64.shr_u
|
|
tee_local $9
|
|
i64.mul
|
|
get_local $11
|
|
get_local $3
|
|
i64.const 32
|
|
i64.shr_u
|
|
tee_local $12
|
|
i64.mul
|
|
get_local $7
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
tee_local $3
|
|
i64.const 4294967295
|
|
i64.and
|
|
i64.add
|
|
i64.const 2147483647
|
|
i64.add
|
|
i64.const 32
|
|
i64.shr_u
|
|
get_local $9
|
|
get_local $12
|
|
i64.mul
|
|
get_local $3
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
i64.add
|
|
set_local $15
|
|
get_global $~lib/internal/number/_frc_minus
|
|
tee_local $3
|
|
i64.const 4294967295
|
|
i64.and
|
|
tee_local $7
|
|
get_local $5
|
|
i64.const 4294967295
|
|
i64.and
|
|
tee_local $9
|
|
i64.mul
|
|
set_local $10
|
|
get_local $5
|
|
i64.const 32
|
|
i64.shr_u
|
|
tee_local $11
|
|
get_local $7
|
|
i64.mul
|
|
get_local $3
|
|
i64.const 32
|
|
i64.shr_u
|
|
tee_local $12
|
|
get_local $9
|
|
i64.mul
|
|
get_local $10
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
tee_local $3
|
|
i64.const 4294967295
|
|
i64.and
|
|
i64.add
|
|
set_local $5
|
|
get_local $15
|
|
i64.const 1
|
|
i64.sub
|
|
tee_local $7
|
|
get_local $11
|
|
get_local $12
|
|
i64.mul
|
|
get_local $3
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
get_local $5
|
|
i64.const 2147483647
|
|
i64.add
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
i64.const 1
|
|
i64.add
|
|
i64.sub
|
|
set_local $3
|
|
get_local $13
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $0
|
|
get_local $2
|
|
get_local $8
|
|
get_local $4
|
|
i32.sub
|
|
get_global $~lib/internal/number/_exp_pow
|
|
tee_local $4
|
|
i32.add
|
|
i32.const -64
|
|
i32.sub
|
|
get_local $7
|
|
get_local $4
|
|
get_global $~lib/internal/number/_exp
|
|
i32.add
|
|
i32.const -64
|
|
i32.sub
|
|
get_local $3
|
|
get_local $13
|
|
call $~lib/internal/number/genDigits
|
|
get_local $13
|
|
i32.sub
|
|
get_global $~lib/internal/number/_K
|
|
call $~lib/internal/number/prettify
|
|
get_local $13
|
|
i32.add
|
|
)
|
|
(func $~lib/internal/number/dtoa (; 124 ;) (type $Fi) (param $0 f64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
get_local $0
|
|
f64.const 0
|
|
f64.eq
|
|
if
|
|
i32.const 5096
|
|
return
|
|
end
|
|
get_local $0
|
|
get_local $0
|
|
f64.sub
|
|
f64.const 0
|
|
f64.ne
|
|
if
|
|
get_local $0
|
|
get_local $0
|
|
f64.ne
|
|
if
|
|
i32.const 5112
|
|
return
|
|
end
|
|
i32.const 5128
|
|
i32.const 5152
|
|
get_local $0
|
|
f64.const 0
|
|
f64.lt
|
|
select
|
|
return
|
|
end
|
|
i32.const 28
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $2
|
|
get_local $0
|
|
call $~lib/internal/number/dtoa_core
|
|
set_local $1
|
|
get_local $2
|
|
get_local $1
|
|
call $~lib/string/String#substring
|
|
set_local $1
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/internal/number/dtoa_stream (; 125 ;) (type $iiFi) (param $0 i32) (param $1 i32) (param $2 f64) (result i32)
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
f64.const 0
|
|
f64.eq
|
|
if
|
|
get_local $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
get_local $0
|
|
i32.const 46
|
|
i32.store16 offset=6
|
|
get_local $0
|
|
i32.const 48
|
|
i32.store16 offset=8
|
|
i32.const 3
|
|
return
|
|
end
|
|
get_local $2
|
|
get_local $2
|
|
f64.sub
|
|
f64.const 0
|
|
f64.ne
|
|
if
|
|
get_local $2
|
|
get_local $2
|
|
f64.ne
|
|
if
|
|
get_local $0
|
|
i32.const 78
|
|
i32.store16 offset=4
|
|
get_local $0
|
|
i32.const 97
|
|
i32.store16 offset=6
|
|
get_local $0
|
|
i32.const 78
|
|
i32.store16 offset=8
|
|
i32.const 3
|
|
return
|
|
else
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.const 5128
|
|
i32.const 5152
|
|
get_local $2
|
|
f64.const 0
|
|
f64.lt
|
|
tee_local $0
|
|
select
|
|
i32.const 4
|
|
i32.add
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
tee_local $0
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/internal/memory/memmove
|
|
get_local $0
|
|
return
|
|
end
|
|
unreachable
|
|
end
|
|
get_local $0
|
|
get_local $2
|
|
call $~lib/internal/number/dtoa_core
|
|
)
|
|
(func $~lib/array/Array<f64>#join (; 126 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
i32.const 6612
|
|
i32.load
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 6608
|
|
i32.load
|
|
set_local $4
|
|
i32.const 5088
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $6
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
f64.load offset=8
|
|
call $~lib/internal/number/dtoa
|
|
return
|
|
end
|
|
get_local $5
|
|
i32.const 28
|
|
i32.add
|
|
get_local $3
|
|
i32.mul
|
|
i32.const 28
|
|
i32.add
|
|
tee_local $7
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $2
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
f64.load offset=8
|
|
call $~lib/internal/number/dtoa_stream
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $6
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
i32.const 5088
|
|
i32.const 0
|
|
get_local $5
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $0
|
|
get_local $5
|
|
i32.add
|
|
set_local $0
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $7
|
|
get_local $2
|
|
tee_local $1
|
|
get_local $0
|
|
get_local $3
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
f64.load offset=8
|
|
call $~lib/internal/number/dtoa_stream
|
|
get_local $0
|
|
i32.add
|
|
tee_local $0
|
|
i32.gt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
call $~lib/string/String#substring
|
|
set_local $1
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/array/Array<String>#join (; 127 ;) (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)
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $5
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $6
|
|
get_local $1
|
|
i32.load
|
|
tee_local $7
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $8
|
|
get_local $5
|
|
i32.eqz
|
|
if
|
|
get_local $6
|
|
i32.load offset=8
|
|
return
|
|
end
|
|
i32.const 0
|
|
set_local $0
|
|
get_local $5
|
|
i32.const 1
|
|
i32.add
|
|
set_local $2
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $0
|
|
get_local $2
|
|
i32.ge_s
|
|
br_if $break|0
|
|
get_local $6
|
|
get_local $0
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
i32.load
|
|
get_local $3
|
|
i32.add
|
|
set_local $3
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
i32.const 0
|
|
set_local $2
|
|
get_local $5
|
|
get_local $7
|
|
i32.mul
|
|
get_local $3
|
|
i32.add
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $0
|
|
i32.const 0
|
|
set_local $3
|
|
loop $repeat|1
|
|
block $break|1
|
|
get_local $3
|
|
get_local $5
|
|
i32.ge_s
|
|
br_if $break|1
|
|
get_local $6
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $4
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
get_local $4
|
|
i32.const 0
|
|
get_local $4
|
|
i32.load
|
|
tee_local $4
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $2
|
|
get_local $4
|
|
i32.add
|
|
set_local $2
|
|
end
|
|
get_local $8
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
get_local $1
|
|
i32.const 0
|
|
get_local $7
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $2
|
|
get_local $7
|
|
i32.add
|
|
set_local $2
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|1
|
|
end
|
|
end
|
|
get_local $6
|
|
get_local $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $4
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
get_local $4
|
|
i32.const 0
|
|
get_local $4
|
|
i32.load
|
|
call $~lib/internal/string/copyUnsafe
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $~lib/array/Array<Ref>#join (; 128 ;) (type $FUNCSIG$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)
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $5
|
|
i32.const 4136
|
|
i32.load
|
|
tee_local $4
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $6
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
i32.const 6792
|
|
return
|
|
end
|
|
get_local $4
|
|
i32.const 15
|
|
i32.add
|
|
get_local $3
|
|
i32.mul
|
|
i32.const 15
|
|
i32.add
|
|
tee_local $7
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $2
|
|
i32.const 0
|
|
set_local $0
|
|
loop $repeat|0
|
|
get_local $0
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $5
|
|
i32.add
|
|
i32.load offset=8
|
|
if
|
|
get_local $2
|
|
get_local $1
|
|
i32.const 6792
|
|
i32.const 0
|
|
i32.const 15
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $1
|
|
i32.const 15
|
|
i32.add
|
|
set_local $1
|
|
end
|
|
get_local $6
|
|
if
|
|
get_local $2
|
|
get_local $1
|
|
i32.const 4136
|
|
i32.const 0
|
|
get_local $4
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $1
|
|
get_local $4
|
|
i32.add
|
|
set_local $1
|
|
end
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $2
|
|
set_local $0
|
|
block (result i32)
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $5
|
|
i32.add
|
|
i32.load offset=8
|
|
if
|
|
get_local $2
|
|
get_local $1
|
|
i32.const 6792
|
|
i32.const 0
|
|
i32.const 15
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $1
|
|
i32.const 15
|
|
i32.add
|
|
set_local $1
|
|
end
|
|
get_local $7
|
|
get_local $1
|
|
i32.gt_s
|
|
end
|
|
if
|
|
get_local $2
|
|
get_local $1
|
|
call $~lib/string/String#substring
|
|
set_local $0
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $0
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<i8> (; 129 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i32.const 255
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
get_local $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 24
|
|
i32.shl
|
|
i32.const 24
|
|
i32.shr_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
tee_local $3
|
|
if
|
|
i32.const 0
|
|
get_local $2
|
|
i32.sub
|
|
set_local $2
|
|
end
|
|
get_local $2
|
|
i32.const 24
|
|
i32.shl
|
|
i32.const 24
|
|
i32.shr_s
|
|
tee_local $2
|
|
call $~lib/internal/number/decimalCount32
|
|
get_local $3
|
|
i32.add
|
|
set_local $1
|
|
get_local $0
|
|
get_local $2
|
|
get_local $1
|
|
call $~lib/internal/number/utoa32_lut
|
|
get_local $3
|
|
if
|
|
get_local $0
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/array/Array<i8>#join (; 130 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
i32.const 6988
|
|
i32.load
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 6984
|
|
i32.load
|
|
set_local $4
|
|
i32.const 4136
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $6
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i32.load8_s offset=8
|
|
call $~lib/internal/number/itoa32
|
|
return
|
|
end
|
|
get_local $5
|
|
i32.const 11
|
|
i32.add
|
|
get_local $3
|
|
i32.mul
|
|
i32.const 11
|
|
i32.add
|
|
tee_local $7
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $2
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
get_local $4
|
|
i32.add
|
|
i32.load8_s offset=8
|
|
call $~lib/internal/number/itoa_stream<i8>
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $6
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
i32.const 4136
|
|
i32.const 0
|
|
get_local $5
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $0
|
|
get_local $5
|
|
i32.add
|
|
set_local $0
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $7
|
|
get_local $2
|
|
tee_local $1
|
|
get_local $0
|
|
get_local $3
|
|
get_local $4
|
|
i32.add
|
|
i32.load8_s offset=8
|
|
call $~lib/internal/number/itoa_stream<i8>
|
|
get_local $0
|
|
i32.add
|
|
tee_local $0
|
|
i32.gt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
call $~lib/string/String#substring
|
|
set_local $1
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<u16> (; 131 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i32.const 65535
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
get_local $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 65535
|
|
i32.and
|
|
tee_local $2
|
|
call $~lib/internal/number/decimalCount32
|
|
set_local $1
|
|
get_local $0
|
|
get_local $2
|
|
get_local $1
|
|
call $~lib/internal/number/utoa32_lut
|
|
get_local $1
|
|
)
|
|
(func $~lib/array/Array<u16>#join (; 132 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
i32.const 7052
|
|
i32.load
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 7048
|
|
i32.load
|
|
set_local $4
|
|
i32.const 4136
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $6
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i32.load16_u offset=8
|
|
call $~lib/internal/number/utoa32
|
|
return
|
|
end
|
|
get_local $5
|
|
i32.const 10
|
|
i32.add
|
|
get_local $3
|
|
i32.mul
|
|
i32.const 10
|
|
i32.add
|
|
tee_local $7
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $2
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load16_u offset=8
|
|
call $~lib/internal/number/itoa_stream<u16>
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $6
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
i32.const 4136
|
|
i32.const 0
|
|
get_local $5
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $0
|
|
get_local $5
|
|
i32.add
|
|
set_local $0
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $7
|
|
get_local $2
|
|
tee_local $1
|
|
get_local $0
|
|
get_local $3
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load16_u offset=8
|
|
call $~lib/internal/number/itoa_stream<u16>
|
|
get_local $0
|
|
i32.add
|
|
tee_local $0
|
|
i32.gt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
call $~lib/string/String#substring
|
|
set_local $1
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/internal/number/decimalCount64 (; 133 ;) (type $Ii) (param $0 i64) (result i32)
|
|
get_local $0
|
|
i64.const 1000000000000000
|
|
i64.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i64.const 1000000000000
|
|
i64.lt_u
|
|
if (result i32)
|
|
i32.const 11
|
|
i32.const 12
|
|
get_local $0
|
|
i64.const 100000000000
|
|
i64.lt_u
|
|
select
|
|
else
|
|
i32.const 13
|
|
i32.const 14
|
|
i32.const 15
|
|
get_local $0
|
|
i64.const 100000000000000
|
|
i64.lt_u
|
|
select
|
|
get_local $0
|
|
i64.const 10000000000000
|
|
i64.lt_u
|
|
select
|
|
end
|
|
else
|
|
get_local $0
|
|
i64.const 100000000000000000
|
|
i64.lt_u
|
|
if (result i32)
|
|
i32.const 16
|
|
i32.const 17
|
|
get_local $0
|
|
i64.const 10000000000000000
|
|
i64.lt_u
|
|
select
|
|
else
|
|
i32.const 18
|
|
i32.const 19
|
|
i32.const 20
|
|
get_local $0
|
|
i64.const -8446744073709551616
|
|
i64.lt_u
|
|
select
|
|
get_local $0
|
|
i64.const 1000000000000000000
|
|
i64.lt_u
|
|
select
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/internal/number/utoa64_lut (; 134 ;) (type $iIiv) (param $0 i32) (param $1 i64) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
i32.const 7632
|
|
i32.load
|
|
set_local $3
|
|
loop $continue|0
|
|
get_local $1
|
|
i64.const 100000000
|
|
i64.ge_u
|
|
if
|
|
get_local $1
|
|
get_local $1
|
|
i64.const 100000000
|
|
i64.div_u
|
|
tee_local $1
|
|
i64.const 100000000
|
|
i64.mul
|
|
i64.sub
|
|
i32.wrap/i64
|
|
tee_local $4
|
|
i32.const 10000
|
|
i32.div_u
|
|
tee_local $5
|
|
i32.const 100
|
|
i32.div_u
|
|
set_local $6
|
|
get_local $5
|
|
i32.const 100
|
|
i32.rem_u
|
|
set_local $5
|
|
get_local $2
|
|
i32.const 4
|
|
i32.sub
|
|
tee_local $2
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $3
|
|
get_local $4
|
|
i32.const 10000
|
|
i32.rem_u
|
|
tee_local $4
|
|
i32.const 100
|
|
i32.div_u
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
get_local $3
|
|
get_local $4
|
|
i32.const 100
|
|
i32.rem_u
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
i64.const 32
|
|
i64.shl
|
|
i64.or
|
|
i64.store offset=4
|
|
get_local $2
|
|
i32.const 4
|
|
i32.sub
|
|
tee_local $2
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
get_local $3
|
|
get_local $6
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
get_local $3
|
|
get_local $5
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i64.load32_u offset=8
|
|
i64.const 32
|
|
i64.shl
|
|
i64.or
|
|
i64.store offset=4
|
|
br $continue|0
|
|
end
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
i32.wrap/i64
|
|
get_local $2
|
|
call $~lib/internal/number/utoa32_lut
|
|
)
|
|
(func $~lib/internal/number/utoa64 (; 135 ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
get_local $0
|
|
i64.eqz
|
|
if
|
|
i32.const 4232
|
|
return
|
|
end
|
|
get_local $0
|
|
i64.const 4294967295
|
|
i64.le_u
|
|
if
|
|
get_local $0
|
|
i32.wrap/i64
|
|
tee_local $3
|
|
call $~lib/internal/number/decimalCount32
|
|
tee_local $1
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $2
|
|
get_local $3
|
|
get_local $1
|
|
call $~lib/internal/number/utoa32_lut
|
|
else
|
|
get_local $0
|
|
call $~lib/internal/number/decimalCount64
|
|
tee_local $1
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $2
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/internal/number/utoa64_lut
|
|
end
|
|
get_local $2
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<u64> (; 136 ;) (type $iiIi) (param $0 i32) (param $1 i32) (param $2 i64) (result i32)
|
|
(local $3 i32)
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i64.eqz
|
|
if
|
|
get_local $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
get_local $2
|
|
i64.const 4294967295
|
|
i64.le_u
|
|
if
|
|
get_local $2
|
|
i32.wrap/i64
|
|
tee_local $3
|
|
call $~lib/internal/number/decimalCount32
|
|
set_local $1
|
|
get_local $0
|
|
get_local $3
|
|
get_local $1
|
|
call $~lib/internal/number/utoa32_lut
|
|
else
|
|
get_local $0
|
|
get_local $2
|
|
get_local $2
|
|
call $~lib/internal/number/decimalCount64
|
|
tee_local $1
|
|
call $~lib/internal/number/utoa64_lut
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/array/Array<u64>#join (; 137 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
i32.const 7676
|
|
i32.load
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 7672
|
|
i32.load
|
|
set_local $4
|
|
i32.const 4136
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $6
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i64.load offset=8
|
|
call $~lib/internal/number/utoa64
|
|
return
|
|
end
|
|
get_local $5
|
|
i32.const 20
|
|
i32.add
|
|
get_local $3
|
|
i32.mul
|
|
i32.const 20
|
|
i32.add
|
|
tee_local $7
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $2
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i64.load offset=8
|
|
call $~lib/internal/number/itoa_stream<u64>
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $6
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
i32.const 4136
|
|
i32.const 0
|
|
get_local $5
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $0
|
|
get_local $5
|
|
i32.add
|
|
set_local $0
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $7
|
|
get_local $2
|
|
tee_local $1
|
|
get_local $0
|
|
get_local $3
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i64.load offset=8
|
|
call $~lib/internal/number/itoa_stream<u64>
|
|
get_local $0
|
|
i32.add
|
|
tee_local $0
|
|
i32.gt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
call $~lib/string/String#substring
|
|
set_local $1
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/internal/number/itoa64 (; 138 ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $0
|
|
i64.eqz
|
|
if
|
|
i32.const 4232
|
|
return
|
|
end
|
|
block (result i32)
|
|
get_local $0
|
|
i64.const 0
|
|
i64.lt_s
|
|
tee_local $1
|
|
if
|
|
i64.const 0
|
|
get_local $0
|
|
i64.sub
|
|
set_local $0
|
|
end
|
|
get_local $0
|
|
i64.const 4294967295
|
|
i64.le_u
|
|
end
|
|
if
|
|
get_local $0
|
|
i32.wrap/i64
|
|
tee_local $4
|
|
call $~lib/internal/number/decimalCount32
|
|
get_local $1
|
|
i32.add
|
|
tee_local $2
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $3
|
|
get_local $4
|
|
get_local $2
|
|
call $~lib/internal/number/utoa32_lut
|
|
else
|
|
get_local $0
|
|
call $~lib/internal/number/decimalCount64
|
|
get_local $1
|
|
i32.add
|
|
tee_local $2
|
|
call $~lib/internal/string/allocateUnsafe
|
|
tee_local $3
|
|
get_local $0
|
|
get_local $2
|
|
call $~lib/internal/number/utoa64_lut
|
|
end
|
|
get_local $1
|
|
if
|
|
get_local $3
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
get_local $3
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<i64> (; 139 ;) (type $iiIi) (param $0 i32) (param $1 i32) (param $2 i64) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i64.eqz
|
|
if
|
|
get_local $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
block (result i32)
|
|
get_local $2
|
|
i64.const 0
|
|
i64.lt_s
|
|
tee_local $3
|
|
if
|
|
i64.const 0
|
|
get_local $2
|
|
i64.sub
|
|
set_local $2
|
|
end
|
|
get_local $2
|
|
i64.const 4294967295
|
|
i64.le_u
|
|
end
|
|
if
|
|
get_local $2
|
|
i32.wrap/i64
|
|
tee_local $4
|
|
call $~lib/internal/number/decimalCount32
|
|
get_local $3
|
|
i32.add
|
|
set_local $1
|
|
get_local $0
|
|
get_local $4
|
|
get_local $1
|
|
call $~lib/internal/number/utoa32_lut
|
|
else
|
|
get_local $0
|
|
get_local $2
|
|
get_local $2
|
|
call $~lib/internal/number/decimalCount64
|
|
get_local $3
|
|
i32.add
|
|
tee_local $1
|
|
call $~lib/internal/number/utoa64_lut
|
|
end
|
|
get_local $3
|
|
if
|
|
get_local $0
|
|
i32.const 45
|
|
i32.store16 offset=4
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/array/Array<i64>#join (; 140 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
i32.const 7876
|
|
i32.load
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 7872
|
|
i32.load
|
|
set_local $4
|
|
i32.const 4136
|
|
i32.load
|
|
tee_local $5
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $6
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i64.load offset=8
|
|
call $~lib/internal/number/itoa64
|
|
return
|
|
end
|
|
get_local $5
|
|
i32.const 21
|
|
i32.add
|
|
get_local $3
|
|
i32.mul
|
|
i32.const 21
|
|
i32.add
|
|
tee_local $7
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $2
|
|
loop $repeat|0
|
|
get_local $1
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
get_local $1
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i64.load offset=8
|
|
call $~lib/internal/number/itoa_stream<i64>
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $6
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
i32.const 4136
|
|
i32.const 0
|
|
get_local $5
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $0
|
|
get_local $5
|
|
i32.add
|
|
set_local $0
|
|
end
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $7
|
|
get_local $2
|
|
tee_local $1
|
|
get_local $0
|
|
get_local $3
|
|
i32.const 3
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i64.load offset=8
|
|
call $~lib/internal/number/itoa_stream<i64>
|
|
get_local $0
|
|
i32.add
|
|
tee_local $0
|
|
i32.gt_s
|
|
if
|
|
get_local $2
|
|
get_local $0
|
|
call $~lib/string/String#substring
|
|
set_local $1
|
|
get_local $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/array/Array<Array<i32>>#join (; 141 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 3824
|
|
set_local $1
|
|
get_local $0
|
|
i32.load
|
|
set_local $4
|
|
i32.const 4136
|
|
i32.load
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $5
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i32.load offset=8
|
|
tee_local $2
|
|
if (result i32)
|
|
get_local $2
|
|
i32.const 4136
|
|
call $~lib/array/Array<i32>#join
|
|
else
|
|
i32.const 3824
|
|
end
|
|
return
|
|
end
|
|
i32.const 0
|
|
set_local $0
|
|
loop $repeat|0
|
|
get_local $0
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $2
|
|
if
|
|
get_local $1
|
|
get_local $2
|
|
i32.const 4136
|
|
call $~lib/array/Array<i32>#join
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
end
|
|
get_local $5
|
|
if
|
|
get_local $1
|
|
i32.const 4136
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
end
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $2
|
|
if
|
|
get_local $1
|
|
get_local $2
|
|
i32.const 4136
|
|
call $~lib/array/Array<i32>#join
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/internal/number/itoa_stream<u8> (; 142 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
get_local $1
|
|
i32.const 1
|
|
i32.shl
|
|
get_local $0
|
|
i32.add
|
|
set_local $0
|
|
get_local $2
|
|
i32.const 255
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
get_local $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 1
|
|
return
|
|
end
|
|
get_local $2
|
|
i32.const 255
|
|
i32.and
|
|
tee_local $2
|
|
call $~lib/internal/number/decimalCount32
|
|
set_local $1
|
|
get_local $0
|
|
get_local $2
|
|
get_local $1
|
|
call $~lib/internal/number/utoa32_lut
|
|
get_local $1
|
|
)
|
|
(func $~lib/array/Array<u8>#join (; 143 ;) (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)
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $4
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
get_local $0
|
|
i32.load
|
|
set_local $5
|
|
get_local $1
|
|
i32.load
|
|
tee_local $6
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $7
|
|
get_local $4
|
|
i32.eqz
|
|
if
|
|
get_local $5
|
|
i32.load8_u offset=8
|
|
call $~lib/internal/number/utoa32
|
|
return
|
|
end
|
|
get_local $6
|
|
i32.const 10
|
|
i32.add
|
|
get_local $4
|
|
i32.mul
|
|
i32.const 10
|
|
i32.add
|
|
tee_local $8
|
|
call $~lib/internal/string/allocateUnsafe
|
|
set_local $0
|
|
loop $repeat|0
|
|
get_local $3
|
|
get_local $4
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
get_local $3
|
|
get_local $5
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
call $~lib/internal/number/itoa_stream<u8>
|
|
get_local $2
|
|
i32.add
|
|
set_local $2
|
|
get_local $7
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
get_local $1
|
|
i32.const 0
|
|
get_local $6
|
|
call $~lib/internal/string/copyUnsafe
|
|
get_local $2
|
|
get_local $6
|
|
i32.add
|
|
set_local $2
|
|
end
|
|
get_local $3
|
|
i32.const 1
|
|
i32.add
|
|
set_local $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $0
|
|
set_local $3
|
|
get_local $8
|
|
get_local $0
|
|
get_local $2
|
|
get_local $4
|
|
get_local $5
|
|
i32.add
|
|
i32.load8_u offset=8
|
|
call $~lib/internal/number/itoa_stream<u8>
|
|
get_local $2
|
|
i32.add
|
|
tee_local $2
|
|
i32.gt_s
|
|
if
|
|
get_local $0
|
|
get_local $2
|
|
call $~lib/string/String#substring
|
|
set_local $3
|
|
get_local $0
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4008
|
|
i32.const 28
|
|
i32.const 4
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
end
|
|
get_local $3
|
|
)
|
|
(func $~lib/array/Array<Array<u8>>#join (; 144 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 3824
|
|
set_local $1
|
|
get_local $0
|
|
i32.load
|
|
set_local $4
|
|
i32.const 4136
|
|
i32.load
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $5
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i32.load offset=8
|
|
tee_local $2
|
|
if (result i32)
|
|
get_local $2
|
|
i32.const 4136
|
|
call $~lib/array/Array<u8>#join
|
|
else
|
|
i32.const 3824
|
|
end
|
|
return
|
|
end
|
|
i32.const 0
|
|
set_local $0
|
|
loop $repeat|0
|
|
get_local $0
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $2
|
|
if
|
|
get_local $1
|
|
get_local $2
|
|
i32.const 4136
|
|
call $~lib/array/Array<u8>#join
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
end
|
|
get_local $5
|
|
if
|
|
get_local $1
|
|
i32.const 4136
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
end
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $2
|
|
if
|
|
get_local $1
|
|
get_local $2
|
|
i32.const 4136
|
|
call $~lib/array/Array<u8>#join
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $~lib/array/Array<Array<u32>>#join (; 145 ;) (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)
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $4
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 3824
|
|
set_local $2
|
|
get_local $0
|
|
i32.load
|
|
set_local $5
|
|
get_local $1
|
|
i32.load
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $6
|
|
get_local $4
|
|
i32.eqz
|
|
if
|
|
get_local $5
|
|
i32.load offset=8
|
|
tee_local $3
|
|
if (result i32)
|
|
get_local $3
|
|
get_local $1
|
|
call $~lib/array/Array<u32>#join
|
|
else
|
|
i32.const 3824
|
|
end
|
|
return
|
|
end
|
|
i32.const 0
|
|
set_local $0
|
|
loop $repeat|0
|
|
block $break|0
|
|
get_local $0
|
|
get_local $4
|
|
i32.ge_s
|
|
br_if $break|0
|
|
get_local $5
|
|
get_local $0
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $3
|
|
if
|
|
get_local $2
|
|
get_local $3
|
|
get_local $1
|
|
call $~lib/array/Array<u32>#join
|
|
call $~lib/string/String.__concat
|
|
set_local $2
|
|
end
|
|
get_local $6
|
|
if
|
|
get_local $2
|
|
get_local $1
|
|
call $~lib/string/String.__concat
|
|
set_local $2
|
|
end
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $5
|
|
get_local $4
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $3
|
|
if (result i32)
|
|
get_local $2
|
|
get_local $3
|
|
get_local $1
|
|
call $~lib/array/Array<u32>#join
|
|
call $~lib/string/String.__concat
|
|
else
|
|
get_local $2
|
|
end
|
|
)
|
|
(func $~lib/array/Array<Array<Array<u32>>>#join (; 146 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
get_local $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
tee_local $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 3824
|
|
return
|
|
end
|
|
i32.const 3824
|
|
set_local $1
|
|
get_local $0
|
|
i32.load
|
|
set_local $4
|
|
i32.const 4136
|
|
i32.load
|
|
i32.const 0
|
|
i32.ne
|
|
set_local $5
|
|
get_local $3
|
|
i32.eqz
|
|
if
|
|
get_local $4
|
|
i32.load offset=8
|
|
tee_local $2
|
|
if (result i32)
|
|
get_local $2
|
|
i32.const 4136
|
|
call $~lib/array/Array<Array<u32>>#join
|
|
else
|
|
i32.const 3824
|
|
end
|
|
return
|
|
end
|
|
i32.const 0
|
|
set_local $0
|
|
loop $repeat|0
|
|
get_local $0
|
|
get_local $3
|
|
i32.lt_s
|
|
if
|
|
get_local $0
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $2
|
|
if
|
|
get_local $1
|
|
get_local $2
|
|
i32.const 4136
|
|
call $~lib/array/Array<Array<u32>>#join
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
end
|
|
get_local $5
|
|
if
|
|
get_local $1
|
|
i32.const 4136
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
end
|
|
get_local $0
|
|
i32.const 1
|
|
i32.add
|
|
set_local $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_local $3
|
|
i32.const 2
|
|
i32.shl
|
|
get_local $4
|
|
i32.add
|
|
i32.load offset=8
|
|
tee_local $2
|
|
if
|
|
get_local $1
|
|
get_local $2
|
|
i32.const 4136
|
|
call $~lib/array/Array<Array<u32>>#join
|
|
call $~lib/string/String.__concat
|
|
set_local $1
|
|
end
|
|
get_local $1
|
|
)
|
|
(func $start (; 147 ;) (type $v)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
i32.const 8352
|
|
set_global $~lib/allocator/arena/startOffset
|
|
get_global $~lib/allocator/arena/startOffset
|
|
set_global $~lib/allocator/arena/offset
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_global $std/array/arr
|
|
get_global $std/array/Null
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 36
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 0
|
|
i32.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 37
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
drop
|
|
get_global $std/array/arr8
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 3
|
|
call $~lib/array/Array<u8>#fill
|
|
drop
|
|
get_global $std/array/arr8
|
|
i32.const 176
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 47
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
set_global $~argc
|
|
get_global $std/array/arr8
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<u8>#fill|trampoline
|
|
drop
|
|
get_global $std/array/arr8
|
|
i32.const 200
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 50
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr8
|
|
i32.const 1
|
|
i32.const 0
|
|
i32.const -3
|
|
call $~lib/array/Array<u8>#fill
|
|
drop
|
|
get_global $std/array/arr8
|
|
i32.const 224
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 53
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_global $std/array/arr8
|
|
i32.const 2
|
|
i32.const -2
|
|
call $~lib/array/Array<u8>#fill|trampoline
|
|
drop
|
|
get_global $std/array/arr8
|
|
i32.const 248
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 56
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr8
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.const 0
|
|
call $~lib/array/Array<u8>#fill
|
|
drop
|
|
get_global $std/array/arr8
|
|
i32.const 272
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 59
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr32
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 3
|
|
call $~lib/array/Array<u32>#fill
|
|
drop
|
|
get_global $std/array/arr32
|
|
i32.const 352
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 64
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
set_global $~argc
|
|
get_global $std/array/arr32
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#fill|trampoline
|
|
drop
|
|
get_global $std/array/arr32
|
|
i32.const 392
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 67
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr32
|
|
i32.const 1
|
|
i32.const 0
|
|
i32.const -3
|
|
call $~lib/array/Array<u32>#fill
|
|
drop
|
|
get_global $std/array/arr32
|
|
i32.const 432
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 70
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_global $std/array/arr32
|
|
i32.const 2
|
|
i32.const -2
|
|
call $~lib/array/Array<u32>#fill|trampoline
|
|
drop
|
|
get_global $std/array/arr32
|
|
i32.const 472
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 73
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr32
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#fill
|
|
drop
|
|
get_global $std/array/arr32
|
|
i32.const 512
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 76
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 80
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 81
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 42
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 85
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 86
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 87
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 91
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 92
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 93
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 97
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 98
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 99
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 44
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 103
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 104
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 105
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 106
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 45
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 110
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 111
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 112
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 113
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 114
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_global $std/array/other
|
|
get_global $std/array/arr
|
|
get_global $std/array/other
|
|
call $~lib/array/Array<i32>#concat
|
|
set_global $std/array/out
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 121
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 122
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/out
|
|
i32.load offset=4
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 123
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/out
|
|
i32.const 528
|
|
call $~lib/array/Array<i32>#concat
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 126
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/out
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 128
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/out
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 129
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
get_global $std/array/out
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 130
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/other
|
|
i32.const 46
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/other
|
|
i32.const 47
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
get_global $std/array/other
|
|
call $~lib/array/Array<i32>#concat
|
|
set_global $std/array/out
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 137
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/other
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 138
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/out
|
|
i32.load offset=4
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 139
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/out
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 140
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/out
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 141
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
get_global $std/array/out
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 142
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
get_global $std/array/out
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 12
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 46
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 143
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 4
|
|
get_global $std/array/out
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 16
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 47
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 144
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/out
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/out
|
|
i32.load offset=4
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 147
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#concat
|
|
set_global $std/array/out
|
|
get_global $std/array/out
|
|
i32.load offset=4
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 150
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
get_global $std/array/out
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 151
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/source
|
|
i32.load offset=4
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 154
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/source
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#concat
|
|
set_global $std/array/out
|
|
get_global $std/array/out
|
|
i32.load offset=4
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 156
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/source
|
|
i32.load offset=4
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 157
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 584
|
|
set_global $std/array/cwArr
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_global $std/array/cwArr
|
|
i32.const 0
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
i32.const 624
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 163
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 664
|
|
set_global $std/array/cwArr
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_global $std/array/cwArr
|
|
i32.const 1
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
i32.const 704
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 165
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 744
|
|
set_global $std/array/cwArr
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_global $std/array/cwArr
|
|
i32.const 1
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
i32.const 784
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 167
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 824
|
|
set_global $std/array/cwArr
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_global $std/array/cwArr
|
|
i32.const 2
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
i32.const 864
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 169
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 904
|
|
set_global $std/array/cwArr
|
|
get_global $std/array/cwArr
|
|
i32.const 0
|
|
i32.const 3
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 944
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 171
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 984
|
|
set_global $std/array/cwArr
|
|
get_global $std/array/cwArr
|
|
i32.const 1
|
|
i32.const 3
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1024
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 173
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1064
|
|
set_global $std/array/cwArr
|
|
get_global $std/array/cwArr
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1104
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 175
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1144
|
|
set_global $std/array/cwArr
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_global $std/array/cwArr
|
|
i32.const 0
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
i32.const 1184
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 177
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1224
|
|
set_global $std/array/cwArr
|
|
get_global $std/array/cwArr
|
|
i32.const 0
|
|
i32.const -2
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1264
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 179
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1304
|
|
set_global $std/array/cwArr
|
|
get_global $std/array/cwArr
|
|
i32.const -4
|
|
i32.const -3
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1344
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 181
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1384
|
|
set_global $std/array/cwArr
|
|
get_global $std/array/cwArr
|
|
i32.const -4
|
|
i32.const -3
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
i32.const 1424
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 183
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1464
|
|
set_global $std/array/cwArr
|
|
i32.const 2
|
|
set_global $~argc
|
|
get_global $std/array/cwArr
|
|
i32.const -4
|
|
i32.const -3
|
|
call $~lib/array/Array<i32>#copyWithin|trampoline
|
|
i32.const 1504
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 185
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 42
|
|
call $~lib/array/Array<i32>#unshift
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 191
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 192
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 193
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 194
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 195
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 12
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 196
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 41
|
|
call $~lib/array/Array<i32>#unshift
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 200
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 201
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 41
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 202
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 203
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 204
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 12
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 205
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 4
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 16
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 206
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#shift
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 41
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 212
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 213
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 214
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 215
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 216
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 217
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 12
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 218
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 222
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 223
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 224
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 225
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 226
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 227
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#reverse
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 233
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 234
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 235
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 236
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 8
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 237
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 44
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 44
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 246
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 42
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 250
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 45
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 254
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 258
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const -100
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 262
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 266
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const -4
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 270
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 274
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 278
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 282
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 44
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 288
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 42
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 292
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 45
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 296
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 300
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const -100
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 304
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 308
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const -4
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 312
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 316
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 320
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/includes
|
|
get_global $std/array/includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 324
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 1
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 328
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_s
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 329
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 330
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $0
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $0
|
|
i32.const 4
|
|
i32.add
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 331
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
set_global $~argc
|
|
get_global $std/array/sarr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice|trampoline
|
|
i32.const 1584
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 336
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 1600
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 337
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1640
|
|
set_global $std/array/sarr
|
|
i32.const 1
|
|
set_global $~argc
|
|
get_global $std/array/sarr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#splice|trampoline
|
|
i32.const 1680
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 340
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 1704
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 341
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1744
|
|
set_global $std/array/sarr
|
|
get_global $std/array/sarr
|
|
i32.const 2
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 1768
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 344
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 1808
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 345
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1848
|
|
set_global $std/array/sarr
|
|
get_global $std/array/sarr
|
|
i32.const 0
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 1872
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 348
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 1912
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 349
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 1952
|
|
set_global $std/array/sarr
|
|
i32.const 1
|
|
set_global $~argc
|
|
get_global $std/array/sarr
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#splice|trampoline
|
|
i32.const 1976
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 352
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 2016
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 353
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2056
|
|
set_global $std/array/sarr
|
|
i32.const 1
|
|
set_global $~argc
|
|
get_global $std/array/sarr
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#splice|trampoline
|
|
i32.const 2080
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 356
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 2120
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 357
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2160
|
|
set_global $std/array/sarr
|
|
get_global $std/array/sarr
|
|
i32.const -2
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2184
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 360
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 2224
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 361
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2264
|
|
set_global $std/array/sarr
|
|
get_global $std/array/sarr
|
|
i32.const -7
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2288
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 364
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 2328
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 365
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2368
|
|
set_global $std/array/sarr
|
|
get_global $std/array/sarr
|
|
i32.const -2
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2384
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 368
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 2424
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 369
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2464
|
|
set_global $std/array/sarr
|
|
get_global $std/array/sarr
|
|
i32.const 1
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2480
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 372
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 2520
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 373
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2560
|
|
set_global $std/array/sarr
|
|
get_global $std/array/sarr
|
|
i32.const 4
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2576
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 376
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 2616
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 377
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2656
|
|
set_global $std/array/sarr
|
|
get_global $std/array/sarr
|
|
i32.const 7
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2672
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 380
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 2712
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 381
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 2752
|
|
set_global $std/array/sarr
|
|
get_global $std/array/sarr
|
|
i32.const 7
|
|
i32.const 5
|
|
call $~lib/array/Array<i32>#splice
|
|
i32.const 2768
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 384
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/sarr
|
|
i32.const 2808
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 385
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__set
|
|
get_global $std/array/arr
|
|
i32.const 1
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__set
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__set
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#__set
|
|
get_global $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#findIndex
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 395
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#findIndex
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 398
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#findIndex
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 401
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#findIndex
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 409
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 410
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 5
|
|
call $~lib/array/Array<i32>#findIndex
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const -1
|
|
i32.eq
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 412
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 6
|
|
call $~lib/array/Array<i32>#findIndex
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 425
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 426
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 7
|
|
call $~lib/array/Array<i32>#every
|
|
set_global $std/array/every
|
|
get_global $std/array/every
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 434
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 8
|
|
call $~lib/array/Array<i32>#every
|
|
set_global $std/array/every
|
|
get_global $std/array/every
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 437
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 9
|
|
call $~lib/array/Array<i32>#every
|
|
set_global $std/array/every
|
|
get_global $std/array/every
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 445
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 446
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 10
|
|
call $~lib/array/Array<i32>#every
|
|
set_global $std/array/every
|
|
get_global $std/array/every
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 448
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 11
|
|
call $~lib/array/Array<i32>#every
|
|
set_global $std/array/every
|
|
get_global $std/array/every
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 461
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 462
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 12
|
|
call $~lib/array/Array<i32>#some
|
|
set_global $std/array/some
|
|
get_global $std/array/some
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 470
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 13
|
|
call $~lib/array/Array<i32>#some
|
|
set_global $std/array/some
|
|
get_global $std/array/some
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 473
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 14
|
|
call $~lib/array/Array<i32>#some
|
|
set_global $std/array/some
|
|
get_global $std/array/some
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 481
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 482
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 15
|
|
call $~lib/array/Array<i32>#some
|
|
set_global $std/array/some
|
|
get_global $std/array/some
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 484
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 16
|
|
call $~lib/array/Array<i32>#some
|
|
set_global $std/array/some
|
|
get_global $std/array/some
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 497
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 498
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 17
|
|
call $~lib/array/Array<i32>#forEach
|
|
get_global $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 507
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 18
|
|
call $~lib/array/Array<i32>#forEach
|
|
get_global $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 516
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 517
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 19
|
|
call $~lib/array/Array<i32>#forEach
|
|
get_global $std/array/i
|
|
i32.const 406
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 520
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 20
|
|
call $~lib/array/Array<i32>#forEach
|
|
get_global $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 534
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 535
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 21
|
|
call $~lib/array/Array<i32>#forEach
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 100
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 560
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
loop $repeat|0
|
|
get_local $1
|
|
i32.const 100
|
|
i32.lt_s
|
|
if
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_local $1
|
|
i32.const 1
|
|
i32.add
|
|
set_local $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#map<f32>
|
|
set_global $std/array/newArr
|
|
get_global $std/array/newArr
|
|
i32.load offset=4
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 571
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/newArr
|
|
i32.load
|
|
tee_local $1
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result f32)
|
|
get_local $1
|
|
f32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
get_global $std/array/arr
|
|
i32.load
|
|
tee_local $1
|
|
i32.load
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.lt_u
|
|
if (result i32)
|
|
get_local $1
|
|
i32.load offset=8
|
|
else
|
|
unreachable
|
|
end
|
|
f32.convert_s/i32
|
|
f32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 572
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 23
|
|
call $~lib/array/Array<i32>#map<i32>
|
|
drop
|
|
get_global $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 581
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 582
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 24
|
|
call $~lib/array/Array<i32>#map<i32>
|
|
drop
|
|
get_global $std/array/i
|
|
i32.const 406
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 589
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 25
|
|
call $~lib/array/Array<i32>#map<i32>
|
|
drop
|
|
get_global $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 604
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 605
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 26
|
|
call $~lib/array/Array<i32>#filter
|
|
set_global $std/array/filteredArr
|
|
get_global $std/array/filteredArr
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 613
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 27
|
|
call $~lib/array/Array<i32>#filter
|
|
drop
|
|
get_global $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 622
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 623
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 28
|
|
call $~lib/array/Array<i32>#filter
|
|
drop
|
|
get_global $std/array/i
|
|
i32.const 406
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 630
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
i32.const 0
|
|
set_global $std/array/i
|
|
get_global $std/array/arr
|
|
i32.const 29
|
|
call $~lib/array/Array<i32>#filter
|
|
drop
|
|
get_global $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 645
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 646
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 30
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 654
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 31
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 658
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 32
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/boolVal
|
|
get_global $std/array/boolVal
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 661
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 33
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/boolVal
|
|
get_global $std/array/boolVal
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 664
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 34
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 672
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 673
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 35
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 675
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 36
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 688
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 689
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 37
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 697
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 38
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 701
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 39
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/boolVal
|
|
get_global $std/array/boolVal
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 704
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 40
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
i32.const 0
|
|
i32.ne
|
|
set_global $std/array/boolVal
|
|
get_global $std/array/boolVal
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 707
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 41
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 715
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 716
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 42
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 718
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 43
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
set_global $std/array/i
|
|
get_global $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 731
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.load offset=4
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 732
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
drop
|
|
get_global $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
|
|
i32.const 0
|
|
set_global $~argc
|
|
get_global $std/array/f32ArrayTyped
|
|
set_local $0
|
|
i32.const 0
|
|
set_local $1
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
get_global $~argc
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
set_local $1
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/array/Array<f32>#sort
|
|
drop
|
|
get_global $std/array/f32ArrayTyped
|
|
call $std/array/isArraysEqual<f32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 819
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_global $~argc
|
|
get_global $std/array/f64ArrayTyped
|
|
set_local $0
|
|
i32.const 0
|
|
set_local $1
|
|
block $1of153
|
|
block $0of154
|
|
block $outOfRange55
|
|
get_global $~argc
|
|
br_table $0of154 $1of153 $outOfRange55
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 45
|
|
set_local $1
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/array/Array<f64>#sort
|
|
drop
|
|
get_global $std/array/f64ArrayTyped
|
|
call $std/array/isArraysEqual<f64>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 823
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_global $~argc
|
|
get_global $std/array/i32ArrayTyped
|
|
set_local $0
|
|
i32.const 0
|
|
set_local $1
|
|
block $1of156
|
|
block $0of157
|
|
block $outOfRange58
|
|
get_global $~argc
|
|
br_table $0of157 $1of156 $outOfRange58
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 46
|
|
set_local $1
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/array/Array<i32>#sort
|
|
drop
|
|
get_global $std/array/i32ArrayTyped
|
|
i32.const 3512
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 827
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
set_global $~argc
|
|
get_global $std/array/u32ArrayTyped
|
|
set_local $0
|
|
i32.const 0
|
|
set_local $1
|
|
block $1of159
|
|
block $0of160
|
|
block $outOfRange61
|
|
get_global $~argc
|
|
br_table $0of160 $1of159 $outOfRange61
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 47
|
|
set_local $1
|
|
end
|
|
get_local $0
|
|
get_local $1
|
|
call $~lib/array/Array<i32>#sort
|
|
drop
|
|
get_global $std/array/u32ArrayTyped
|
|
i32.const 3592
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 831
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 64
|
|
call $std/array/createReverseOrderedArray
|
|
set_global $std/array/reversed64
|
|
i32.const 128
|
|
call $std/array/createReverseOrderedArray
|
|
set_global $std/array/reversed128
|
|
i32.const 1024
|
|
call $std/array/createReverseOrderedArray
|
|
set_global $std/array/reversed1024
|
|
i32.const 10000
|
|
call $std/array/createReverseOrderedArray
|
|
set_global $std/array/reversed10000
|
|
i32.const 512
|
|
call $std/array/createRandomOrderedArray
|
|
set_global $std/array/randomized512
|
|
get_global $std/array/reversed0
|
|
call $std/array/assertSortedDefault<i32>
|
|
get_global $std/array/reversed1
|
|
call $std/array/assertSortedDefault<i32>
|
|
get_global $std/array/reversed1
|
|
i32.const 3760
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 851
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed2
|
|
call $std/array/assertSortedDefault<i32>
|
|
get_global $std/array/reversed2
|
|
i32.const 3784
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 854
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed4
|
|
call $std/array/assertSortedDefault<i32>
|
|
get_global $std/array/reversed4
|
|
get_global $std/array/expected4
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 857
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed64
|
|
call $std/array/assertSortedDefault<i32>
|
|
get_global $std/array/reversed64
|
|
get_global $std/array/expected4
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 860
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed128
|
|
call $std/array/assertSortedDefault<i32>
|
|
get_global $std/array/reversed128
|
|
get_global $std/array/expected4
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 863
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed1024
|
|
call $std/array/assertSortedDefault<i32>
|
|
get_global $std/array/reversed1024
|
|
get_global $std/array/expected4
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 866
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed10000
|
|
call $std/array/assertSortedDefault<i32>
|
|
get_global $std/array/reversed10000
|
|
get_global $std/array/expected4
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 869
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/randomized512
|
|
call $std/array/assertSortedDefault<i32>
|
|
i32.const 64
|
|
call $std/array/createRandomOrderedArray
|
|
set_global $std/array/randomized64
|
|
i32.const 257
|
|
call $std/array/createRandomOrderedArray
|
|
set_global $std/array/randomized257
|
|
get_global $std/array/randomized64
|
|
i32.const 49
|
|
call $std/array/assertSorted<i32>
|
|
get_global $std/array/randomized64
|
|
i32.const 50
|
|
call $std/array/assertSorted<i32>
|
|
get_global $std/array/randomized257
|
|
i32.const 51
|
|
call $std/array/assertSorted<i32>
|
|
get_global $std/array/randomized257
|
|
i32.const 52
|
|
call $std/array/assertSorted<i32>
|
|
call $std/array/createReverseOrderedNestedArray
|
|
set_global $std/array/reversedNested512
|
|
get_global $std/array/reversedNested512
|
|
i32.const 53
|
|
call $std/array/assertSorted<Array<i32>>
|
|
call $std/array/createReverseOrderedElementsArray
|
|
set_global $std/array/reversedElements512
|
|
get_global $std/array/reversedElements512
|
|
i32.const 54
|
|
call $std/array/assertSorted<Array<i32>>
|
|
get_global $std/array/randomStringsActual
|
|
i32.const 55
|
|
call $std/array/assertSorted<Array<i32>>
|
|
get_global $std/array/randomStringsActual
|
|
get_global $std/array/randomStringsExpected
|
|
call $std/array/isArraysEqual<String>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 898
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
call $std/array/createRandomStringArray
|
|
set_global $std/array/randomStrings400
|
|
get_global $std/array/randomStrings400
|
|
i32.const 56
|
|
call $std/array/assertSorted<Array<i32>>
|
|
call $~lib/array/Array<bool>#join
|
|
i32.const 4168
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 907
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 4792
|
|
i32.const 3824
|
|
call $~lib/array/Array<i32>#join
|
|
i32.const 4800
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 908
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 4896
|
|
i32.const 4856
|
|
call $~lib/array/Array<u32>#join
|
|
i32.const 4800
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 909
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 4952
|
|
i32.const 4928
|
|
call $~lib/array/Array<i32>#join
|
|
i32.const 4960
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 910
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
call $~lib/array/Array<f64>#join
|
|
i32.const 6616
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 911
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 6784
|
|
i32.const 3824
|
|
call $~lib/array/Array<String>#join
|
|
i32.const 6704
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 912
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#constructor
|
|
set_local $1
|
|
i32.const 0
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
set_local $0
|
|
get_local $1
|
|
i32.load
|
|
get_local $0
|
|
i32.store offset=8
|
|
get_local $1
|
|
i32.load
|
|
i32.const 4
|
|
i32.add
|
|
i32.const 0
|
|
i32.store offset=8
|
|
i32.const 0
|
|
call $~lib/allocator/arena/__memory_allocate
|
|
set_local $0
|
|
get_local $1
|
|
i32.load
|
|
i32.const 8
|
|
i32.add
|
|
get_local $0
|
|
i32.store offset=8
|
|
get_local $1
|
|
set_global $std/array/refArr
|
|
get_global $std/array/refArr
|
|
call $~lib/array/Array<Ref>#join
|
|
i32.const 6832
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 914
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed0
|
|
i32.const 4136
|
|
call $~lib/array/Array<i32>#join
|
|
i32.const 3824
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 918
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed1
|
|
i32.const 4136
|
|
call $~lib/array/Array<i32>#join
|
|
i32.const 6704
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 919
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed2
|
|
i32.const 4136
|
|
call $~lib/array/Array<i32>#join
|
|
i32.const 6904
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 920
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/reversed4
|
|
i32.const 4136
|
|
call $~lib/array/Array<i32>#join
|
|
i32.const 6920
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 921
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
call $~lib/array/Array<i8>#join
|
|
i32.const 6992
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 923
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
call $~lib/array/Array<u16>#join
|
|
i32.const 7056
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 924
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
call $~lib/array/Array<u64>#join
|
|
i32.const 7680
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 925
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
call $~lib/array/Array<i64>#join
|
|
i32.const 7880
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 926
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/randomStringsExpected
|
|
i32.const 4136
|
|
call $~lib/array/Array<String>#join
|
|
i32.const 7968
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 927
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
i32.const 8088
|
|
i32.const 4136
|
|
call $~lib/array/Array<String>#join
|
|
i32.const 8096
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 928
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/subarr32
|
|
call $~lib/array/Array<Array<i32>>#join
|
|
i32.const 8184
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 931
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/subarr8
|
|
call $~lib/array/Array<Array<u8>>#join
|
|
i32.const 8184
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 934
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
get_global $std/array/subarrU32
|
|
call $~lib/array/Array<Array<Array<u32>>>#join
|
|
i32.const 6704
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 104
|
|
i32.const 937
|
|
i32.const 0
|
|
call $~lib/env/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $null (; 148 ;) (type $v)
|
|
nop
|
|
)
|
|
)
|