mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-26 07:22:21 +00:00
16705 lines
320 KiB
Plaintext
16705 lines
320 KiB
Plaintext
(module
|
|
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
|
|
(type $FUNCSIG$v (func))
|
|
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
|
|
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
|
|
(type $FUNCSIG$vii (func (param i32 i32)))
|
|
(type $FUNCSIG$ii (func (param i32) (result i32)))
|
|
(type $FUNCSIG$viii (func (param i32 i32 i32)))
|
|
(type $FUNCSIG$vi (func (param i32)))
|
|
(type $FUNCSIG$iiiii (func (param i32 i32 i32 i32) (result i32)))
|
|
(type $FUNCSIG$fiii (func (param i32 i32 i32) (result f32)))
|
|
(type $FUNCSIG$fii (func (param i32 i32) (result f32)))
|
|
(type $FUNCSIG$d (func (result f64)))
|
|
(type $FUNCSIG$vj (func (param i64)))
|
|
(type $FUNCSIG$jj (func (param i64) (result i64)))
|
|
(type $FUNCSIG$iff (func (param f32 f32) (result i32)))
|
|
(type $FUNCSIG$if (func (param f32) (result i32)))
|
|
(type $FUNCSIG$idd (func (param f64 f64) (result i32)))
|
|
(type $FUNCSIG$dii (func (param i32 i32) (result f64)))
|
|
(type $FUNCSIG$id (func (param f64) (result i32)))
|
|
(type $FUNCSIG$iid (func (param i32 f64) (result i32)))
|
|
(type $FUNCSIG$iijijiji (func (param i32 i64 i32 i64 i32 i64 i32) (result i32)))
|
|
(type $FUNCSIG$iiid (func (param i32 i32 f64) (result i32)))
|
|
(type $FUNCSIG$ij (func (param i64) (result i32)))
|
|
(type $FUNCSIG$viji (func (param i32 i64 i32)))
|
|
(type $FUNCSIG$iiij (func (param i32 i32 i64) (result i32)))
|
|
(type $FUNCSIG$i (func (result i32)))
|
|
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
|
|
(import "rtrace" "onalloc" (func $~lib/rt/rtrace/onalloc (param i32)))
|
|
(import "rtrace" "onfree" (func $~lib/rt/rtrace/onfree (param i32)))
|
|
(import "rtrace" "onincrement" (func $~lib/rt/rtrace/onincrement (param i32)))
|
|
(import "rtrace" "ondecrement" (func $~lib/rt/rtrace/ondecrement (param i32)))
|
|
(import "Math" "random" (func $~lib/bindings/Math/random (result f64)))
|
|
(memory $0 1)
|
|
(data (i32.const 8) "\1e\00\00\00\01\00\00\00\01\00\00\00\1e\00\00\00~\00l\00i\00b\00/\00r\00t\00/\00t\00l\00s\00f\00.\00t\00s")
|
|
(data (i32.const 56) "(\00\00\00\01\00\00\00\01\00\00\00(\00\00\00a\00l\00l\00o\00c\00a\00t\00i\00o\00n\00 \00t\00o\00o\00 \00l\00a\00r\00g\00e")
|
|
(data (i32.const 112) "\1e\00\00\00\01\00\00\00\01\00\00\00\1e\00\00\00~\00l\00i\00b\00/\00r\00t\00/\00p\00u\00r\00e\00.\00t\00s")
|
|
(data (i32.const 160) "$\00\00\00\01\00\00\00\01\00\00\00$\00\00\00I\00n\00d\00e\00x\00 \00o\00u\00t\00 \00o\00f\00 \00r\00a\00n\00g\00e")
|
|
(data (i32.const 216) "\14\00\00\00\01\00\00\00\01\00\00\00\14\00\00\00~\00l\00i\00b\00/\00r\00t\00.\00t\00s")
|
|
(data (i32.const 256) "\1c\00\00\00\01\00\00\00\01\00\00\00\1c\00\00\00I\00n\00v\00a\00l\00i\00d\00 \00l\00e\00n\00g\00t\00h")
|
|
(data (i32.const 304) "&\00\00\00\01\00\00\00\01\00\00\00&\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00b\00u\00f\00f\00e\00r\00.\00t\00s")
|
|
(data (i32.const 360) "\18\00\00\00\01\00\00\00\01\00\00\00\18\00\00\00s\00t\00d\00/\00a\00r\00r\00a\00y\00.\00t\00s")
|
|
(data (i32.const 400) "\06\00\00\00\01\00\00\00\01\00\00\00\06\00\00\00a\00b\00c")
|
|
(data (i32.const 424) "\05\00\00\00\01\00\00\00\00\00\00\00\05\00\00\00\01\02\03\04\05")
|
|
(data (i32.const 448) "\05\00\00\00\01\00\00\00\00\00\00\00\05\00\00\00\01\01\01\04\05")
|
|
(data (i32.const 472) "\1a\00\00\00\01\00\00\00\01\00\00\00\1a\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s")
|
|
(data (i32.const 520) "\05\00\00\00\01\00\00\00\00\00\00\00\05")
|
|
(data (i32.const 544) "\05\00\00\00\01\00\00\00\00\00\00\00\05\00\00\00\01\01")
|
|
(data (i32.const 568) "\05\00\00\00\01\00\00\00\00\00\00\00\05\00\00\00\01\01\00\02\02")
|
|
(data (i32.const 592) "\05\00\00\00\01\00\00\00\00\00\00\00\05\00\00\00\01\01\00\02\02")
|
|
(data (i32.const 616) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 656) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\01\00\00\00\01\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 696) "\14\00\00\00\01\00\00\00\00\00\00\00\14")
|
|
(data (i32.const 736) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\01")
|
|
(data (i32.const 776) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\01\00\00\00\00\00\00\00\02\00\00\00\02")
|
|
(data (i32.const 816) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\01\00\00\00\00\00\00\00\02\00\00\00\02")
|
|
(data (i32.const 856) "\1c\00\00\00\01\00\00\00\01\00\00\00\1c\00\00\00A\00r\00r\00a\00y\00 \00i\00s\00 \00e\00m\00p\00t\00y")
|
|
(data (i32.const 908) "\01")
|
|
(data (i32.const 924) "\01")
|
|
(data (i32.const 936) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 976) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\04\00\00\00\05\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1016) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1056) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\04\00\00\00\05\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1096) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1136) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\05")
|
|
(data (i32.const 1176) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1216) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1256) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1296) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\04\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1336) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1376) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\04\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1416) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1456) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\03\00\00\00\04\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1496) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1536) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\04\00\00\00\05\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1576) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1616) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\04\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1656) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1696) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\03\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1736) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1776) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\03\00\00\00\04\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1816) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1856) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\03\00\00\00\04\00\00\00\05\00\00\00\05")
|
|
(data (i32.const 1896) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1936) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 1980) "\01")
|
|
(data (i32.const 1992) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2032) "\0c\00\00\00\01\00\00\00\00\00\00\00\0c\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2064) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\01\00\00\00\02")
|
|
(data (i32.const 2088) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2128) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\03\00\00\00\04")
|
|
(data (i32.const 2152) "\0c\00\00\00\01\00\00\00\00\00\00\00\0c\00\00\00\01\00\00\00\02\00\00\00\05")
|
|
(data (i32.const 2184) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2224) "\04\00\00\00\01\00\00\00\00\00\00\00\04\00\00\00\01")
|
|
(data (i32.const 2248) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2280) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2320) "\04\00\00\00\01\00\00\00\00\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2344) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04")
|
|
(data (i32.const 2376) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2416) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2440) "\0c\00\00\00\01\00\00\00\00\00\00\00\0c\00\00\00\01\00\00\00\02\00\00\00\03")
|
|
(data (i32.const 2472) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2512) "\04\00\00\00\01\00\00\00\00\00\00\00\04\00\00\00\04")
|
|
(data (i32.const 2536) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\05")
|
|
(data (i32.const 2568) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2608) "\04\00\00\00\01\00\00\00\00\00\00\00\04\00\00\00\01")
|
|
(data (i32.const 2632) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2664) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2708) "\01")
|
|
(data (i32.const 2720) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2760) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2804) "\01")
|
|
(data (i32.const 2816) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2856) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2900) "\01")
|
|
(data (i32.const 2912) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2952) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 2996) "\01")
|
|
(data (i32.const 3008) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 3048) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 3092) "\01")
|
|
(data (i32.const 3104) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\02\00\00\00\03\00\00\00\04\00\00\00\05")
|
|
(data (i32.const 3144) "\18\00\00\00\01\00\00\00\01\00\00\00\18\00\00\00~\00l\00i\00b\00/\00m\00a\00t\00h\00.\00t\00s")
|
|
(data (i32.const 3184) "\ac\00\00\00\01\00\00\00\01\00\00\00\ac\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 3376) " \00\00\00\01\00\00\00\00\00\00\00 \00\00\00\00\00\80?\00\00\c0\7f\00\00\80\ff\00\00\80?\00\00\00\00\00\00\80\bf\00\00\00\c0\00\00\80\7f")
|
|
(data (i32.const 3424) " \00\00\00\01\00\00\00\00\00\00\00 \00\00\00\00\00\80\ff\00\00\00\c0\00\00\80\bf\00\00\00\00\00\00\80?\00\00\80?\00\00\80\7f\00\00\c0\7f")
|
|
(data (i32.const 3472) "@\00\00\00\01\00\00\00\00\00\00\00@")
|
|
(data (i32.const 3494) "\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 3534) "\f0\bf\00\00\00\00\00\00\00\c0\00\00\00\00\00\00\f0\7f")
|
|
(data (i32.const 3552) "@\00\00\00\01\00\00\00\00\00\00\00@")
|
|
(data (i32.const 3574) "\f0\ff\00\00\00\00\00\00\00\c0\00\00\00\00\00\00\f0\bf")
|
|
(data (i32.const 3606) "\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 3632) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\fe\ff\ff\ff\ff\ff\ff\ff\00\00\00\00\02")
|
|
(data (i32.const 3672) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\fe\ff\ff\ff\ff\ff\ff\ff\00\00\00\00\01\00\00\00\02")
|
|
(data (i32.const 3712) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\01\00\00\00\ff\ff\ff\ff\fe\ff\ff\ff\00\00\00\00\02")
|
|
(data (i32.const 3752) "\14\00\00\00\01\00\00\00\00\00\00\00\14\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\fe\ff\ff\ff\ff\ff\ff\ff")
|
|
(data (i32.const 3796) "\01")
|
|
(data (i32.const 3808) "\04\00\00\00\01\00\00\00\00\00\00\00\04\00\00\00\01")
|
|
(data (i32.const 3832) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\02\00\00\00\01")
|
|
(data (i32.const 3856) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\00\03\00\00\00\02\00\00\00\01")
|
|
(data (i32.const 3888) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03")
|
|
(data (i32.const 3920) "(\00\00\00\01\00\00\00\01\00\00\00(\00\00\00P\00R\00N\00G\00 \00m\00u\00s\00t\00 \00b\00e\00 \00s\00e\00e\00d\00e\00d\00.")
|
|
(data (i32.const 3976) "\04\00\00\00\01\00\00\00\00\00\00\00\04\00\00\00\01")
|
|
(data (i32.const 4000) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\01\00\00\00\02")
|
|
(data (i32.const 4024) "^\00\00\00\01\00\00\00\01\00\00\00^\00\00\00E\00l\00e\00m\00e\00n\00t\00 \00t\00y\00p\00e\00 \00m\00u\00s\00t\00 \00b\00e\00 \00n\00u\00l\00l\00a\00b\00l\00e\00 \00i\00f\00 \00a\00r\00r\00a\00y\00 \00i\00s\00 \00h\00o\00l\00e\00y")
|
|
(data (i32.const 4136) "\02\00\00\00\01\00\00\00\01\00\00\00\02\00\00\00a")
|
|
(data (i32.const 4160) "\02\00\00\00\01\00\00\00\01\00\00\00\02\00\00\00b")
|
|
(data (i32.const 4184) "\04\00\00\00\01\00\00\00\01\00\00\00\04\00\00\00a\00b")
|
|
(data (i32.const 4208) "\04\00\00\00\01\00\00\00\01\00\00\00\04\00\00\00b\00a")
|
|
(data (i32.const 4236) "\01\00\00\00\01")
|
|
(data (i32.const 4248) "\1c\00\00\00\01\00\00\00\00\00\00\00\1c\00\00\008\10\00\00P\10\00\008\10\00\00h\10\00\00\80\10\00\00\98\10")
|
|
(data (i32.const 4296) "\1c\00\00\00\01\00\00\00\00\00\00\00\1c\00\00\00\98\10\00\008\10\00\008\10\00\00h\10\00\00P\10\00\00\80\10")
|
|
(data (i32.const 4344) "\1c\00\00\00\01\00\00\00\01\00\00\00\1c\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
|
|
(data (i32.const 4392) "\08\00\00\00\01\00\00\00\01\00\00\00\08\00\00\00n\00u\00l\00l")
|
|
(data (i32.const 4416) "\02\00\00\00\01\00\00\00\00\00\00\00\02\00\00\00\01")
|
|
(data (i32.const 4440) "\08\00\00\00\01\00\00\00\01\00\00\00\08\00\00\00t\00r\00u\00e")
|
|
(data (i32.const 4464) "\n\00\00\00\01\00\00\00\01\00\00\00\n\00\00\00f\00a\00l\00s\00e")
|
|
(data (i32.const 4496) "\02\00\00\00\01\00\00\00\01\00\00\00\02\00\00\00,")
|
|
(data (i32.const 4520) "\14\00\00\00\01\00\00\00\01\00\00\00\14\00\00\00t\00r\00u\00e\00,\00f\00a\00l\00s\00e")
|
|
(data (i32.const 4560) "\0c\00\00\00\01\00\00\00\00\00\00\00\0c\00\00\00\01\00\00\00\fe\ff\ff\ff\fd\ff\ff\ff")
|
|
(data (i32.const 4592) "\02\00\00\00\01\00\00\00\01\00\00\00\02\00\00\000")
|
|
(data (i32.const 4616) "\n\00\00\00\01\00\00\00\01\00\00\00\n\00\00\001\00-\002\00-\003")
|
|
(data (i32.const 4648) "\0c\00\00\00\01\00\00\00\00\00\00\00\0c\00\00\00\01\00\00\00\02\00\00\00\03")
|
|
(data (i32.const 4680) "\02\00\00\00\01\00\00\00\01\00\00\00\02\00\00\00-")
|
|
(data (i32.const 4704) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\00\00\00\80\00\00\00\80")
|
|
(data (i32.const 4728) "\04\00\00\00\01\00\00\00\01\00\00\00\04\00\00\00_\00_")
|
|
(data (i32.const 4752) "0\00\00\00\01\00\00\00\01\00\00\000\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 4816) "0\00\00\00\01\00\00\00\00\00\00\000")
|
|
(data (i32.const 4846) "\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 4880) "\04\00\00\00\01\00\00\00\01\00\00\00\04\00\00\00,\00 ")
|
|
(data (i32.const 4904) "\06\00\00\00\01\00\00\00\01\00\00\00\06\00\00\000\00.\000")
|
|
(data (i32.const 4928) "\06\00\00\00\01\00\00\00\01\00\00\00\06\00\00\00N\00a\00N")
|
|
(data (i32.const 4952) "\12\00\00\00\01\00\00\00\01\00\00\00\12\00\00\00-\00I\00n\00f\00i\00n\00i\00t\00y")
|
|
(data (i32.const 4992) "\10\00\00\00\01\00\00\00\01\00\00\00\10\00\00\00I\00n\00f\00i\00n\00i\00t\00y")
|
|
(data (i32.const 5024) "\b8\02\00\00\01\00\00\00\00\00\00\00\b8\02\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 5736) "\10\00\00\00\01\00\00\00\10\00\00\00\10\00\00\00\b0\13\00\00\b0\13\00\00\b8\02\00\00W")
|
|
(data (i32.const 5768) "\ae\00\00\00\01\00\00\00\00\00\00\00\ae\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 5960) "\10\00\00\00\01\00\00\00\11\00\00\00\10\00\00\00\98\16\00\00\98\16\00\00\ae\00\00\00W")
|
|
(data (i32.const 5992) "(\00\00\00\01\00\00\00\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 6048) "\10\00\00\00\01\00\00\00\07\00\00\00\10\00\00\00x\17\00\00x\17\00\00(\00\00\00\n")
|
|
(data (i32.const 6080) "P\00\00\00\01\00\00\00\01\00\00\00P\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 6176) "\02\00\00\00\01\00\00\00\01\00\00\00\02\00\00\001")
|
|
(data (i32.const 6200) "\0c\00\00\00\01\00\00\00\00\00\00\00\0c\00\00\00\98\10\00\000\18")
|
|
(data (i32.const 6232) "\1e\00\00\00\01\00\00\00\01\00\00\00\1e\00\00\00[\00o\00b\00j\00e\00c\00t\00 \00O\00b\00j\00e\00c\00t\00]")
|
|
(data (i32.const 6280) "@\00\00\00\01\00\00\00\01\00\00\00@\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 6364) "\01")
|
|
(data (i32.const 6376) "\04\00\00\00\01\00\00\00\00\00\00\00\04\00\00\00\01")
|
|
(data (i32.const 6400) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\01\00\00\00\02")
|
|
(data (i32.const 6424) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\00\00\00\00\00\01\00\00\00\02\00\00\00\03")
|
|
(data (i32.const 6456) "\06\00\00\00\01\00\00\00\01\00\00\00\06\00\00\001\00,\002")
|
|
(data (i32.const 6480) "\0e\00\00\00\01\00\00\00\01\00\00\00\0e\00\00\000\00,\001\00,\002\00,\003")
|
|
(data (i32.const 6512) "\03\00\00\00\01\00\00\00\00\00\00\00\03\00\00\00\01\ff")
|
|
(data (i32.const 6536) "\0c\00\00\00\01\00\00\00\01\00\00\00\0c\00\00\001\00,\00-\001\00,\000")
|
|
(data (i32.const 6568) "\06\00\00\00\01\00\00\00\00\00\00\00\06\00\00\00\01\00\ff\ff")
|
|
(data (i32.const 6592) "\12\00\00\00\01\00\00\00\01\00\00\00\12\00\00\001\00,\006\005\005\003\005\00,\000")
|
|
(data (i32.const 6632) "\18\00\00\00\01\00\00\00\00\00\00\00\18\00\00\00\01\00\00\00\00\00\00\00\ff\ff\ff\ff\ff\ff\ff\ff")
|
|
(data (i32.const 6672) "0\00\00\00\01\00\00\00\01\00\00\000\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 6736) " \00\00\00\01\00\00\00\00\00\00\00 \00\00\00\ff\ff\ff\ff\ff\ff\ff\ff@Eu\c3*\9d\fb\ff")
|
|
(data (i32.const 6776) "\ff\ff\ff\ff\ff\ff\ff\7f")
|
|
(data (i32.const 6784) "T\00\00\00\01\00\00\00\01\00\00\00T\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 6888) "\1c\00\00\00\01\00\00\00\00\00\00\00\1c\00\00\00\98\10\00\008\10\00\008\10\00\00h\10\00\00P\10\00\00\80\10")
|
|
(data (i32.const 6936) "\1a\00\00\00\01\00\00\00\01\00\00\00\1a\00\00\00,\00a\00,\00a\00,\00a\00b\00,\00b\00,\00b\00a\00,")
|
|
(data (i32.const 6984) "\02\00\00\00\01\00\00\00\01\00\00\00\02\00\00\002")
|
|
(data (i32.const 7008) "\02\00\00\00\01\00\00\00\01\00\00\00\02\00\00\004")
|
|
(data (i32.const 7032) "\10\00\00\00\01\00\00\00\00\00\00\00\10\00\00\000\18\00\00X\1b\00\00\00\00\00\00p\1b")
|
|
(data (i32.const 7064) "\0c\00\00\00\01\00\00\00\01\00\00\00\0c\00\00\001\00,\002\00,\00,\004")
|
|
(data (i32.const 7096) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\01\00\00\00\02")
|
|
(data (i32.const 7120) "\08\00\00\00\01\00\00\00\00\00\00\00\08\00\00\00\03\00\00\00\04")
|
|
(data (i32.const 7144) "\0e\00\00\00\01\00\00\00\01\00\00\00\0e\00\00\001\00,\002\00,\003\00,\004")
|
|
(data (i32.const 7176) "\02\00\00\00\01\00\00\00\00\00\00\00\02\00\00\00\01\02")
|
|
(data (i32.const 7200) "\02\00\00\00\01\00\00\00\00\00\00\00\02\00\00\00\03\04")
|
|
(data (i32.const 7224) "\04\00\00\00\01\00\00\00\00\00\00\00\04\00\00\00\01")
|
|
(data (i32.const 7248) "\1a\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\00\00\00\00I\00\00\00\02\00\00\00\08\00\00\00\00\00\00\00\08\00\00\00\02\00\00\00\19\00\00\00\02\00\00\00I\00\00\00\02\00\00\00I\00\00\00\02\00\00\00\89\00\00\00\02\00\00\00I\04\00\00\02\00\00\00\08\00\00\00\00\00\00\00I\04\00\00\02\00\00\00I\06\00\00\02\00\00\00I\04\00\00\02\00\00\00\19\00\00\00\02\00\00\00\89\00\00\00\02\00\00\00)\00\00\00\02\00\00\00\08\00\00\00\00\00\00\00I\06\00\00\02\00\00\00\19\00\00\00\02\00\00\00)\00\00\00\02\00\00\00\89\00\00\00\02\00\00\00I\04\00\00\02\00\00\00I\04\00\00\02\00\00\00I\04\00\00\02")
|
|
(table $0 57 funcref)
|
|
(elem (i32.const 0) $null $start:std/array~anonymous|0 $start:std/array~anonymous|1 $start:std/array~anonymous|2 $start:std/array~anonymous|3 $start:std/array~anonymous|2 $start:std/array~anonymous|5 $start:std/array~anonymous|6 $start:std/array~anonymous|7 $start:std/array~anonymous|8 $start:std/array~anonymous|9 $start:std/array~anonymous|10 $start:std/array~anonymous|11 $start:std/array~anonymous|12 $start:std/array~anonymous|13 $start:std/array~anonymous|14 $start:std/array~anonymous|15 $start:std/array~anonymous|16 $start:std/array~anonymous|17 $start:std/array~anonymous|16 $start:std/array~anonymous|19 $start:std/array~anonymous|20 $start:std/array~anonymous|21 $start:std/array~anonymous|22 $start:std/array~anonymous|23 $start:std/array~anonymous|24 $start:std/array~anonymous|25 $start:std/array~anonymous|26 $start:std/array~anonymous|27 $start:std/array~anonymous|28 $start:std/array~anonymous|29 $start:std/array~anonymous|29 $start:std/array~anonymous|31 $start:std/array~anonymous|32 $start:std/array~anonymous|33 $start:std/array~anonymous|29 $start:std/array~anonymous|35 $start:std/array~anonymous|29 $start:std/array~anonymous|29 $start:std/array~anonymous|31 $start:std/array~anonymous|32 $start:std/array~anonymous|33 $start:std/array~anonymous|29 $start:std/array~anonymous|35 $~lib/util/sort/COMPARATOR<f32>~anonymous|0 $~lib/util/sort/COMPARATOR<f64>~anonymous|0 $~lib/util/sort/COMPARATOR<i32>~anonymous|0 $~lib/util/sort/COMPARATOR<u32>~anonymous|0 $~lib/util/sort/COMPARATOR<i32>~anonymous|0 $~lib/util/sort/COMPARATOR<i32>~anonymous|0 $start:std/array~anonymous|44 $~lib/util/sort/COMPARATOR<i32>~anonymous|0 $start:std/array~anonymous|44 $start:std/array~anonymous|47 $start:std/array~anonymous|48 $~lib/util/sort/COMPARATOR<~lib/string/String | null>~anonymous|0 $~lib/util/sort/COMPARATOR<~lib/string/String | null>~anonymous|0)
|
|
(global $~lib/rt/tlsf/ROOT (mut i32) (i32.const 0))
|
|
(global $~lib/rt/pure/CUR (mut i32) (i32.const 0))
|
|
(global $~lib/rt/pure/END (mut i32) (i32.const 0))
|
|
(global $~lib/rt/pure/ROOTS (mut i32) (i32.const 0))
|
|
(global $std/array/arr (mut i32) (i32.const 0))
|
|
(global $std/array/i (mut i32) (i32.const 0))
|
|
(global $~lib/argc (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 $~lib/util/number/_frc_plus (mut i64) (i64.const 0))
|
|
(global $~lib/util/number/_frc_minus (mut i64) (i64.const 0))
|
|
(global $~lib/util/number/_exp (mut i32) (i32.const 0))
|
|
(global $~lib/util/number/_K (mut i32) (i32.const 0))
|
|
(global $~lib/util/number/_frc_pow (mut i64) (i64.const 0))
|
|
(global $~lib/util/number/_exp_pow (mut i32) (i32.const 0))
|
|
(global $~lib/started (mut i32) (i32.const 0))
|
|
(export "memory" (memory $0))
|
|
(export "__alloc" (func $~lib/rt/tlsf/__alloc))
|
|
(export "__realloc" (func $~lib/rt/tlsf/__realloc))
|
|
(export "__free" (func $~lib/rt/tlsf/__free))
|
|
(export "__retain" (func $~lib/rt/pure/__retain))
|
|
(export "__release" (func $~lib/rt/pure/__release))
|
|
(export "__collect" (func $~lib/rt/pure/__collect))
|
|
(export "__instanceof" (func $~lib/rt/__instanceof))
|
|
(export "__typeinfo" (func $~lib/rt/__typeinfo))
|
|
(export "main" (func $std/array/main))
|
|
(func $~lib/rt/tlsf/removeBlock (; 6 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $1
|
|
i32.load
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 276
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
i32.const -4
|
|
i32.and
|
|
local.tee $2
|
|
i32.const 16
|
|
i32.ge_u
|
|
if (result i32)
|
|
local.get $2
|
|
i32.const 1073741808
|
|
i32.lt_u
|
|
else
|
|
i32.const 0
|
|
end
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 278
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 256
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $2
|
|
i32.const 4
|
|
i32.shr_u
|
|
local.set $2
|
|
i32.const 0
|
|
else
|
|
local.get $2
|
|
i32.const 31
|
|
local.get $2
|
|
i32.clz
|
|
i32.sub
|
|
local.tee $3
|
|
i32.const 4
|
|
i32.sub
|
|
i32.shr_u
|
|
i32.const 16
|
|
i32.xor
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 7
|
|
i32.sub
|
|
end
|
|
local.tee $3
|
|
i32.const 23
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $2
|
|
i32.const 16
|
|
i32.lt_u
|
|
else
|
|
i32.const 0
|
|
end
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 291
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.load offset=20
|
|
local.set $4
|
|
local.get $1
|
|
i32.load offset=16
|
|
local.tee $5
|
|
if
|
|
local.get $5
|
|
local.get $4
|
|
i32.store offset=20
|
|
end
|
|
local.get $4
|
|
if
|
|
local.get $4
|
|
local.get $5
|
|
i32.store offset=16
|
|
end
|
|
local.get $3
|
|
i32.const 4
|
|
i32.shl
|
|
local.get $2
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load offset=96
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
local.get $3
|
|
i32.const 4
|
|
i32.shl
|
|
local.get $2
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $4
|
|
i32.store offset=96
|
|
local.get $4
|
|
i32.eqz
|
|
if
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load offset=4
|
|
i32.const 1
|
|
local.get $2
|
|
i32.shl
|
|
i32.const -1
|
|
i32.xor
|
|
i32.and
|
|
local.tee $1
|
|
i32.store offset=4
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
local.get $0
|
|
i32.load
|
|
i32.const 1
|
|
local.get $3
|
|
i32.shl
|
|
i32.const -1
|
|
i32.xor
|
|
i32.and
|
|
i32.store
|
|
end
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/rt/tlsf/insertBlock (; 7 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 204
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.load
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 206
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.get $1
|
|
i32.load
|
|
i32.const -4
|
|
i32.and
|
|
i32.add
|
|
local.tee $4
|
|
i32.load
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
local.get $3
|
|
i32.const -4
|
|
i32.and
|
|
i32.const 16
|
|
i32.add
|
|
local.get $5
|
|
i32.const -4
|
|
i32.and
|
|
i32.add
|
|
local.tee $2
|
|
i32.const 1073741808
|
|
i32.lt_u
|
|
if
|
|
local.get $0
|
|
local.get $4
|
|
call $~lib/rt/tlsf/removeBlock
|
|
local.get $1
|
|
local.get $3
|
|
i32.const 3
|
|
i32.and
|
|
local.get $2
|
|
i32.or
|
|
local.tee $3
|
|
i32.store
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.get $1
|
|
i32.load
|
|
i32.const -4
|
|
i32.and
|
|
i32.add
|
|
local.tee $4
|
|
i32.load
|
|
local.set $5
|
|
end
|
|
end
|
|
local.get $3
|
|
i32.const 2
|
|
i32.and
|
|
if
|
|
local.get $1
|
|
i32.const 4
|
|
i32.sub
|
|
i32.load
|
|
local.tee $2
|
|
i32.load
|
|
local.tee $6
|
|
i32.const 1
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 227
|
|
i32.const 15
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $6
|
|
i32.const -4
|
|
i32.and
|
|
i32.const 16
|
|
i32.add
|
|
local.get $3
|
|
i32.const -4
|
|
i32.and
|
|
i32.add
|
|
local.tee $7
|
|
i32.const 1073741808
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/rt/tlsf/removeBlock
|
|
local.get $2
|
|
local.get $6
|
|
i32.const 3
|
|
i32.and
|
|
local.get $7
|
|
i32.or
|
|
local.tee $3
|
|
i32.store
|
|
local.get $2
|
|
else
|
|
local.get $1
|
|
end
|
|
local.set $1
|
|
end
|
|
local.get $4
|
|
local.get $5
|
|
i32.const 2
|
|
i32.or
|
|
i32.store
|
|
local.get $3
|
|
i32.const -4
|
|
i32.and
|
|
local.tee $2
|
|
i32.const 16
|
|
i32.ge_u
|
|
if (result i32)
|
|
local.get $2
|
|
i32.const 1073741808
|
|
i32.lt_u
|
|
else
|
|
i32.const 0
|
|
end
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 242
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $4
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.get $2
|
|
i32.add
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 243
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $4
|
|
i32.const 4
|
|
i32.sub
|
|
local.get $1
|
|
i32.store
|
|
local.get $2
|
|
i32.const 256
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $2
|
|
i32.const 4
|
|
i32.shr_u
|
|
local.set $4
|
|
i32.const 0
|
|
else
|
|
local.get $2
|
|
i32.const 31
|
|
local.get $2
|
|
i32.clz
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 4
|
|
i32.sub
|
|
i32.shr_u
|
|
i32.const 16
|
|
i32.xor
|
|
local.set $4
|
|
local.get $2
|
|
i32.const 7
|
|
i32.sub
|
|
end
|
|
local.tee $3
|
|
i32.const 23
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $4
|
|
i32.const 16
|
|
i32.lt_u
|
|
else
|
|
i32.const 0
|
|
end
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 259
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
i32.const 4
|
|
i32.shl
|
|
local.get $4
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load offset=96
|
|
local.set $2
|
|
local.get $1
|
|
i32.const 0
|
|
i32.store offset=16
|
|
local.get $1
|
|
local.get $2
|
|
i32.store offset=20
|
|
local.get $2
|
|
if
|
|
local.get $2
|
|
local.get $1
|
|
i32.store offset=16
|
|
end
|
|
local.get $3
|
|
i32.const 4
|
|
i32.shl
|
|
local.get $4
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $1
|
|
i32.store offset=96
|
|
local.get $0
|
|
local.get $0
|
|
i32.load
|
|
i32.const 1
|
|
local.get $3
|
|
i32.shl
|
|
i32.or
|
|
i32.store
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load offset=4
|
|
i32.const 1
|
|
local.get $4
|
|
i32.shl
|
|
i32.or
|
|
i32.store offset=4
|
|
)
|
|
(func $~lib/rt/tlsf/addMemory (; 8 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $2
|
|
i32.const 15
|
|
i32.and
|
|
i32.eqz
|
|
i32.const 0
|
|
local.get $1
|
|
i32.const 15
|
|
i32.and
|
|
i32.eqz
|
|
i32.const 0
|
|
local.get $1
|
|
local.get $2
|
|
i32.le_u
|
|
select
|
|
select
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 385
|
|
i32.const 4
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=1568
|
|
local.tee $3
|
|
if
|
|
local.get $1
|
|
local.get $3
|
|
i32.const 16
|
|
i32.add
|
|
i32.lt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 395
|
|
i32.const 15
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 16
|
|
i32.sub
|
|
local.get $3
|
|
i32.eq
|
|
if
|
|
local.get $3
|
|
i32.load
|
|
local.set $4
|
|
local.get $1
|
|
i32.const 16
|
|
i32.sub
|
|
local.set $1
|
|
end
|
|
else
|
|
local.get $1
|
|
local.get $0
|
|
i32.const 1572
|
|
i32.add
|
|
i32.lt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 407
|
|
i32.const 4
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $2
|
|
local.get $1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 48
|
|
i32.lt_u
|
|
if
|
|
return
|
|
end
|
|
local.get $1
|
|
local.get $4
|
|
i32.const 2
|
|
i32.and
|
|
local.get $2
|
|
i32.const 32
|
|
i32.sub
|
|
i32.const 1
|
|
i32.or
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 0
|
|
i32.store offset=16
|
|
local.get $1
|
|
i32.const 0
|
|
i32.store offset=20
|
|
local.get $1
|
|
local.get $2
|
|
i32.add
|
|
i32.const 16
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 2
|
|
i32.store
|
|
local.get $0
|
|
local.get $2
|
|
i32.store offset=1568
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/rt/tlsf/insertBlock
|
|
)
|
|
(func $~lib/rt/tlsf/initializeRoot (; 9 ;) (type $FUNCSIG$v)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
i32.const 1
|
|
memory.size
|
|
local.tee $0
|
|
i32.gt_s
|
|
if (result i32)
|
|
i32.const 1
|
|
local.get $0
|
|
i32.sub
|
|
memory.grow
|
|
i32.const 0
|
|
i32.lt_s
|
|
else
|
|
i32.const 0
|
|
end
|
|
if
|
|
unreachable
|
|
end
|
|
i32.const 7472
|
|
i32.const 0
|
|
i32.store
|
|
i32.const 9040
|
|
i32.const 0
|
|
i32.store
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $0
|
|
i32.const 23
|
|
i32.ge_u
|
|
br_if $break|0
|
|
local.get $0
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 7472
|
|
i32.add
|
|
i32.const 0
|
|
i32.store offset=4
|
|
i32.const 0
|
|
local.set $1
|
|
loop $repeat|1
|
|
block $break|1
|
|
local.get $1
|
|
i32.const 16
|
|
i32.ge_u
|
|
br_if $break|1
|
|
local.get $0
|
|
i32.const 4
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 7472
|
|
i32.add
|
|
i32.const 0
|
|
i32.store offset=96
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
br $repeat|1
|
|
end
|
|
end
|
|
local.get $0
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
i32.const 7472
|
|
i32.const 9056
|
|
memory.size
|
|
i32.const 16
|
|
i32.shl
|
|
call $~lib/rt/tlsf/addMemory
|
|
i32.const 7472
|
|
global.set $~lib/rt/tlsf/ROOT
|
|
)
|
|
(func $~lib/rt/tlsf/prepareSize (; 10 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 1073741808
|
|
i32.ge_u
|
|
if
|
|
i32.const 72
|
|
i32.const 24
|
|
i32.const 447
|
|
i32.const 29
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 15
|
|
i32.add
|
|
i32.const -16
|
|
i32.and
|
|
local.tee $0
|
|
i32.const 16
|
|
local.get $0
|
|
i32.const 16
|
|
i32.gt_u
|
|
select
|
|
)
|
|
(func $~lib/rt/tlsf/searchBlock (; 11 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
local.get $1
|
|
i32.const 256
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $1
|
|
i32.const 4
|
|
i32.shr_u
|
|
local.set $1
|
|
i32.const 0
|
|
else
|
|
local.get $1
|
|
i32.const 536870904
|
|
i32.lt_u
|
|
if
|
|
i32.const 1
|
|
i32.const 27
|
|
local.get $1
|
|
i32.clz
|
|
i32.sub
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $1
|
|
end
|
|
local.get $1
|
|
i32.const 31
|
|
local.get $1
|
|
i32.clz
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 4
|
|
i32.sub
|
|
i32.shr_u
|
|
i32.const 16
|
|
i32.xor
|
|
local.set $1
|
|
local.get $2
|
|
i32.const 7
|
|
i32.sub
|
|
end
|
|
local.tee $2
|
|
i32.const 23
|
|
i32.lt_u
|
|
if (result i32)
|
|
local.get $1
|
|
i32.const 16
|
|
i32.lt_u
|
|
else
|
|
i32.const 0
|
|
end
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 337
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load offset=4
|
|
i32.const -1
|
|
local.get $1
|
|
i32.shl
|
|
i32.and
|
|
local.tee $1
|
|
if (result i32)
|
|
local.get $1
|
|
i32.ctz
|
|
local.get $2
|
|
i32.const 4
|
|
i32.shl
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load offset=96
|
|
else
|
|
local.get $0
|
|
i32.load
|
|
i32.const -1
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
i32.shl
|
|
i32.and
|
|
local.tee $1
|
|
if (result i32)
|
|
local.get $1
|
|
i32.ctz
|
|
local.tee $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load offset=4
|
|
local.tee $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 350
|
|
i32.const 17
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.ctz
|
|
local.get $1
|
|
i32.const 4
|
|
i32.shl
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load offset=96
|
|
else
|
|
i32.const 0
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/rt/tlsf/growMemory (; 12 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
memory.size
|
|
local.tee $2
|
|
local.get $1
|
|
i32.const 65535
|
|
i32.add
|
|
i32.const -65536
|
|
i32.and
|
|
i32.const 16
|
|
i32.shr_u
|
|
local.tee $1
|
|
local.get $2
|
|
local.get $1
|
|
i32.gt_s
|
|
select
|
|
memory.grow
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
memory.grow
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 16
|
|
i32.shl
|
|
memory.size
|
|
i32.const 16
|
|
i32.shl
|
|
call $~lib/rt/tlsf/addMemory
|
|
)
|
|
(func $~lib/rt/tlsf/prepareBlock (; 13 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $1
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 15
|
|
i32.and
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 364
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
i32.const -4
|
|
i32.and
|
|
local.get $2
|
|
i32.sub
|
|
local.tee $4
|
|
i32.const 32
|
|
i32.ge_u
|
|
if
|
|
local.get $1
|
|
local.get $3
|
|
i32.const 2
|
|
i32.and
|
|
local.get $2
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.get $2
|
|
i32.add
|
|
local.tee $1
|
|
local.get $4
|
|
i32.const 16
|
|
i32.sub
|
|
i32.const 1
|
|
i32.or
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/rt/tlsf/insertBlock
|
|
else
|
|
local.get $1
|
|
local.get $3
|
|
i32.const -2
|
|
i32.and
|
|
i32.store
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.get $1
|
|
i32.load
|
|
i32.const -4
|
|
i32.and
|
|
i32.add
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.get $1
|
|
i32.load
|
|
i32.const -4
|
|
i32.and
|
|
i32.add
|
|
i32.load
|
|
i32.const -3
|
|
i32.and
|
|
i32.store
|
|
end
|
|
)
|
|
(func $~lib/rt/tlsf/allocateBlock (; 14 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/rt/tlsf/prepareSize
|
|
local.tee $3
|
|
call $~lib/rt/tlsf/searchBlock
|
|
local.tee $2
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/rt/tlsf/growMemory
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/rt/tlsf/searchBlock
|
|
local.tee $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 477
|
|
i32.const 15
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $2
|
|
i32.load
|
|
i32.const -4
|
|
i32.and
|
|
local.get $3
|
|
i32.lt_u
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 479
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $2
|
|
local.get $1
|
|
i32.store offset=12
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/rt/tlsf/removeBlock
|
|
local.get $0
|
|
local.get $2
|
|
local.get $3
|
|
call $~lib/rt/tlsf/prepareBlock
|
|
local.get $2
|
|
call $~lib/rt/rtrace/onalloc
|
|
local.get $2
|
|
)
|
|
(func $~lib/rt/tlsf/__alloc (; 15 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
global.get $~lib/rt/tlsf/ROOT
|
|
local.tee $2
|
|
if (result i32)
|
|
local.get $2
|
|
else
|
|
call $~lib/rt/tlsf/initializeRoot
|
|
global.get $~lib/rt/tlsf/ROOT
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/tlsf/allocateBlock
|
|
local.tee $0
|
|
local.get $1
|
|
i32.store offset=8
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
)
|
|
(func $~lib/memory/memory.copy (; 16 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
block $~lib/util/memory/memmove|inlined.0
|
|
local.get $2
|
|
local.set $3
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
br_if $~lib/util/memory/memmove|inlined.0
|
|
local.get $0
|
|
local.get $1
|
|
i32.lt_u
|
|
if
|
|
local.get $1
|
|
i32.const 7
|
|
i32.and
|
|
local.get $0
|
|
i32.const 7
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
loop $continue|0
|
|
local.get $0
|
|
i32.const 7
|
|
i32.and
|
|
if
|
|
local.get $3
|
|
i32.eqz
|
|
br_if $~lib/util/memory/memmove|inlined.0
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $3
|
|
local.get $0
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $1
|
|
local.tee $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $2
|
|
local.get $4
|
|
i32.load8_u
|
|
i32.store8
|
|
br $continue|0
|
|
end
|
|
end
|
|
loop $continue|1
|
|
local.get $3
|
|
i32.const 8
|
|
i32.ge_u
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i64.load
|
|
i64.store
|
|
local.get $3
|
|
i32.const 8
|
|
i32.sub
|
|
local.set $3
|
|
local.get $0
|
|
i32.const 8
|
|
i32.add
|
|
local.set $0
|
|
local.get $1
|
|
i32.const 8
|
|
i32.add
|
|
local.set $1
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
loop $continue|2
|
|
local.get $3
|
|
if
|
|
local.get $0
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
local.get $1
|
|
local.tee $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
local.get $2
|
|
local.get $4
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $3
|
|
br $continue|2
|
|
end
|
|
end
|
|
else
|
|
local.get $1
|
|
i32.const 7
|
|
i32.and
|
|
local.get $0
|
|
i32.const 7
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
loop $continue|3
|
|
local.get $0
|
|
local.get $3
|
|
i32.add
|
|
i32.const 7
|
|
i32.and
|
|
if
|
|
local.get $3
|
|
i32.eqz
|
|
br_if $~lib/util/memory/memmove|inlined.0
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $3
|
|
i32.add
|
|
local.get $1
|
|
local.get $3
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
br $continue|3
|
|
end
|
|
end
|
|
loop $continue|4
|
|
local.get $3
|
|
i32.const 8
|
|
i32.ge_u
|
|
if
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 8
|
|
i32.sub
|
|
local.tee $3
|
|
i32.add
|
|
local.get $1
|
|
local.get $3
|
|
i32.add
|
|
i64.load
|
|
i64.store
|
|
br $continue|4
|
|
end
|
|
end
|
|
end
|
|
loop $continue|5
|
|
local.get $3
|
|
if
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $3
|
|
i32.add
|
|
local.get $1
|
|
local.get $3
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
br $continue|5
|
|
end
|
|
end
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/rt/tlsf/reallocateBlock (; 17 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $2
|
|
call $~lib/rt/tlsf/prepareSize
|
|
local.set $3
|
|
local.get $1
|
|
i32.load
|
|
local.tee $4
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 493
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $3
|
|
local.get $4
|
|
i32.const -4
|
|
i32.and
|
|
i32.le_u
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/rt/tlsf/prepareBlock
|
|
local.get $1
|
|
local.get $2
|
|
i32.store offset=12
|
|
local.get $1
|
|
return
|
|
end
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.get $1
|
|
i32.load
|
|
i32.const -4
|
|
i32.and
|
|
i32.add
|
|
local.tee $6
|
|
i32.load
|
|
local.tee $5
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
local.get $4
|
|
i32.const -4
|
|
i32.and
|
|
i32.const 16
|
|
i32.add
|
|
local.get $5
|
|
i32.const -4
|
|
i32.and
|
|
i32.add
|
|
local.tee $5
|
|
local.get $3
|
|
i32.ge_u
|
|
if
|
|
local.get $0
|
|
local.get $6
|
|
call $~lib/rt/tlsf/removeBlock
|
|
local.get $1
|
|
local.get $4
|
|
i32.const 3
|
|
i32.and
|
|
local.get $5
|
|
i32.or
|
|
i32.store
|
|
local.get $1
|
|
local.get $2
|
|
i32.store offset=12
|
|
local.get $0
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/rt/tlsf/prepareBlock
|
|
local.get $1
|
|
return
|
|
end
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/rt/tlsf/allocateBlock
|
|
local.tee $3
|
|
local.get $1
|
|
i32.load offset=4
|
|
i32.store offset=4
|
|
local.get $3
|
|
local.get $1
|
|
i32.load offset=8
|
|
i32.store offset=8
|
|
local.get $3
|
|
i32.const 16
|
|
i32.add
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.get $2
|
|
call $~lib/memory/memory.copy
|
|
local.get $1
|
|
local.get $4
|
|
i32.const 1
|
|
i32.or
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/rt/tlsf/insertBlock
|
|
local.get $3
|
|
)
|
|
(func $~lib/rt/tlsf/__realloc (; 18 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
global.get $~lib/rt/tlsf/ROOT
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 553
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 15
|
|
i32.and
|
|
i32.eqz
|
|
i32.const 0
|
|
local.get $0
|
|
select
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 554
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $~lib/rt/tlsf/ROOT
|
|
local.get $0
|
|
i32.const 16
|
|
i32.sub
|
|
local.get $1
|
|
call $~lib/rt/tlsf/reallocateBlock
|
|
i32.const 16
|
|
i32.add
|
|
)
|
|
(func $~lib/rt/tlsf/freeBlock (; 19 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
local.get $1
|
|
i32.load
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 531
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
local.get $2
|
|
i32.const 1
|
|
i32.or
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/rt/tlsf/insertBlock
|
|
local.get $1
|
|
call $~lib/rt/rtrace/onfree
|
|
)
|
|
(func $~lib/rt/tlsf/__free (; 20 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
global.get $~lib/rt/tlsf/ROOT
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 561
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 15
|
|
i32.and
|
|
i32.eqz
|
|
i32.const 0
|
|
local.get $0
|
|
select
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 24
|
|
i32.const 562
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $~lib/rt/tlsf/ROOT
|
|
local.get $0
|
|
i32.const 16
|
|
i32.sub
|
|
call $~lib/rt/tlsf/freeBlock
|
|
)
|
|
(func $~lib/rt/pure/increment (; 21 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
(local $1 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $1
|
|
i32.const -268435456
|
|
i32.and
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.const -268435456
|
|
i32.and
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 128
|
|
i32.const 104
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.store offset=4
|
|
local.get $0
|
|
call $~lib/rt/rtrace/onincrement
|
|
local.get $0
|
|
i32.load
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
i32.const 0
|
|
i32.const 128
|
|
i32.const 107
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/rt/pure/__retain (; 22 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 7460
|
|
i32.gt_u
|
|
if
|
|
local.get $0
|
|
i32.const 16
|
|
i32.sub
|
|
call $~lib/rt/pure/increment
|
|
end
|
|
local.get $0
|
|
)
|
|
(func $~lib/rt/__typeinfo (; 23 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 7248
|
|
i32.load
|
|
i32.gt_u
|
|
if
|
|
i32.const 176
|
|
i32.const 232
|
|
i32.const 22
|
|
i32.const 27
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 7252
|
|
i32.add
|
|
i32.load
|
|
)
|
|
(func $~lib/rt/pure/growRoots (; 24 ;) (type $FUNCSIG$v)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
global.get $~lib/rt/pure/CUR
|
|
global.get $~lib/rt/pure/ROOTS
|
|
local.tee $2
|
|
i32.sub
|
|
local.tee $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.tee $0
|
|
i32.const 256
|
|
local.get $0
|
|
i32.const 256
|
|
i32.gt_u
|
|
select
|
|
local.tee $3
|
|
i32.const 0
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $0
|
|
local.get $2
|
|
local.get $1
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
global.set $~lib/rt/pure/ROOTS
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
global.set $~lib/rt/pure/CUR
|
|
local.get $0
|
|
local.get $3
|
|
i32.add
|
|
global.set $~lib/rt/pure/END
|
|
)
|
|
(func $~lib/rt/pure/appendRoot (; 25 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
(local $1 i32)
|
|
global.get $~lib/rt/pure/CUR
|
|
local.tee $1
|
|
global.get $~lib/rt/pure/END
|
|
i32.ge_u
|
|
if
|
|
call $~lib/rt/pure/growRoots
|
|
global.get $~lib/rt/pure/CUR
|
|
local.set $1
|
|
end
|
|
local.get $1
|
|
local.get $0
|
|
i32.store
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
global.set $~lib/rt/pure/CUR
|
|
)
|
|
(func $~lib/rt/pure/decrement (; 26 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $2
|
|
i32.const 268435455
|
|
i32.and
|
|
local.set $1
|
|
local.get $0
|
|
call $~lib/rt/rtrace/ondecrement
|
|
local.get $0
|
|
i32.load
|
|
i32.const 1
|
|
i32.and
|
|
if
|
|
i32.const 0
|
|
i32.const 128
|
|
i32.const 115
|
|
i32.const 13
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
i32.const 1
|
|
i32.eq
|
|
if
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1
|
|
call $~lib/rt/__visit_members
|
|
local.get $2
|
|
i32.const -2147483648
|
|
i32.and
|
|
if
|
|
local.get $0
|
|
i32.const -2147483648
|
|
i32.store offset=4
|
|
else
|
|
global.get $~lib/rt/tlsf/ROOT
|
|
local.get $0
|
|
call $~lib/rt/tlsf/freeBlock
|
|
end
|
|
else
|
|
local.get $1
|
|
i32.const 0
|
|
i32.le_u
|
|
if
|
|
i32.const 0
|
|
i32.const 128
|
|
i32.const 124
|
|
i32.const 15
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=8
|
|
call $~lib/rt/__typeinfo
|
|
i32.const 8
|
|
i32.and
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.get $2
|
|
i32.const -268435456
|
|
i32.and
|
|
i32.or
|
|
i32.store offset=4
|
|
else
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const -1342177280
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get $2
|
|
i32.const -2147483648
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/appendRoot
|
|
end
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/rt/pure/__release (; 27 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
local.get $0
|
|
i32.const 7460
|
|
i32.gt_u
|
|
if
|
|
local.get $0
|
|
i32.const 16
|
|
i32.sub
|
|
call $~lib/rt/pure/decrement
|
|
end
|
|
)
|
|
(func $~lib/rt/pure/markGray (; 28 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
(local $1 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $1
|
|
i32.const 1879048192
|
|
i32.and
|
|
i32.const 268435456
|
|
i32.ne
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i32.const -1879048193
|
|
i32.and
|
|
i32.const 268435456
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 2
|
|
call $~lib/rt/__visit_members
|
|
end
|
|
)
|
|
(func $~lib/rt/pure/scanBlack (; 29 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
local.get $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const -1879048193
|
|
i32.and
|
|
i32.store offset=4
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 4
|
|
call $~lib/rt/__visit_members
|
|
)
|
|
(func $~lib/rt/pure/scan (; 30 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
(local $1 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $1
|
|
i32.const 1879048192
|
|
i32.and
|
|
i32.const 268435456
|
|
i32.eq
|
|
if
|
|
local.get $1
|
|
i32.const 268435455
|
|
i32.and
|
|
i32.const 0
|
|
i32.gt_u
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/scanBlack
|
|
else
|
|
local.get $0
|
|
local.get $1
|
|
i32.const -1879048193
|
|
i32.and
|
|
i32.const 536870912
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 3
|
|
call $~lib/rt/__visit_members
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/rt/pure/collectWhite (; 31 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
(local $1 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $1
|
|
i32.const 1879048192
|
|
i32.and
|
|
i32.const 536870912
|
|
i32.eq
|
|
if (result i32)
|
|
local.get $1
|
|
i32.const -2147483648
|
|
i32.and
|
|
i32.eqz
|
|
else
|
|
i32.const 0
|
|
end
|
|
if
|
|
local.get $0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 5
|
|
call $~lib/rt/__visit_members
|
|
end
|
|
global.get $~lib/rt/tlsf/ROOT
|
|
local.get $0
|
|
call $~lib/rt/tlsf/freeBlock
|
|
)
|
|
(func $~lib/rt/pure/__collect (; 32 ;) (type $FUNCSIG$v)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
global.get $~lib/rt/pure/ROOTS
|
|
local.tee $5
|
|
local.tee $2
|
|
local.set $3
|
|
global.get $~lib/rt/pure/CUR
|
|
local.set $0
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $3
|
|
local.get $0
|
|
i32.ge_u
|
|
br_if $break|0
|
|
local.get $3
|
|
i32.load
|
|
local.tee $4
|
|
i32.load offset=4
|
|
local.tee $1
|
|
i32.const 1879048192
|
|
i32.and
|
|
i32.const 805306368
|
|
i32.eq
|
|
if (result i32)
|
|
local.get $1
|
|
i32.const 268435455
|
|
i32.and
|
|
i32.const 0
|
|
i32.gt_u
|
|
else
|
|
i32.const 0
|
|
end
|
|
if
|
|
local.get $4
|
|
call $~lib/rt/pure/markGray
|
|
local.get $2
|
|
local.get $4
|
|
i32.store
|
|
local.get $2
|
|
i32.const 4
|
|
i32.add
|
|
local.set $2
|
|
else
|
|
i32.const 0
|
|
local.get $1
|
|
i32.const 268435455
|
|
i32.and
|
|
i32.eqz
|
|
local.get $1
|
|
i32.const 1879048192
|
|
i32.and
|
|
select
|
|
if
|
|
global.get $~lib/rt/tlsf/ROOT
|
|
local.get $4
|
|
call $~lib/rt/tlsf/freeBlock
|
|
else
|
|
local.get $4
|
|
local.get $1
|
|
i32.const 2147483647
|
|
i32.and
|
|
i32.store offset=4
|
|
end
|
|
end
|
|
local.get $3
|
|
i32.const 4
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $2
|
|
global.set $~lib/rt/pure/CUR
|
|
local.get $5
|
|
local.set $0
|
|
loop $repeat|1
|
|
block $break|1
|
|
local.get $0
|
|
local.get $2
|
|
i32.ge_u
|
|
br_if $break|1
|
|
local.get $0
|
|
i32.load
|
|
call $~lib/rt/pure/scan
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.set $0
|
|
br $repeat|1
|
|
end
|
|
end
|
|
local.get $5
|
|
local.set $0
|
|
loop $repeat|2
|
|
block $break|2
|
|
local.get $0
|
|
local.get $2
|
|
i32.ge_u
|
|
br_if $break|2
|
|
local.get $0
|
|
i32.load
|
|
local.tee $1
|
|
local.get $1
|
|
i32.load offset=4
|
|
i32.const 2147483647
|
|
i32.and
|
|
i32.store offset=4
|
|
local.get $1
|
|
call $~lib/rt/pure/collectWhite
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.set $0
|
|
br $repeat|2
|
|
end
|
|
end
|
|
local.get $5
|
|
global.set $~lib/rt/pure/CUR
|
|
)
|
|
(func $~lib/rt/__instanceof (; 33 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
i32.const 16
|
|
i32.sub
|
|
i32.load offset=8
|
|
local.tee $0
|
|
i32.const 7248
|
|
i32.load
|
|
i32.le_u
|
|
if
|
|
loop $continue|0
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 7252
|
|
i32.add
|
|
i32.load offset=4
|
|
local.tee $0
|
|
br_if $continue|0
|
|
end
|
|
end
|
|
i32.const 0
|
|
)
|
|
(func $~lib/rt/pure/__retainRelease (; 34 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.ne
|
|
if
|
|
local.get $1
|
|
i32.const 7460
|
|
i32.gt_u
|
|
if
|
|
local.get $1
|
|
i32.const 16
|
|
i32.sub
|
|
call $~lib/rt/pure/increment
|
|
end
|
|
local.get $0
|
|
i32.const 7460
|
|
i32.gt_u
|
|
if
|
|
local.get $0
|
|
i32.const 16
|
|
i32.sub
|
|
call $~lib/rt/pure/decrement
|
|
end
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $~lib/arraybuffer/ArrayBufferView#constructor (; 35 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $1
|
|
i32.const 1073741808
|
|
local.get $2
|
|
i32.shr_u
|
|
i32.gt_u
|
|
if
|
|
i32.const 272
|
|
i32.const 320
|
|
i32.const 14
|
|
i32.const 56
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
local.get $2
|
|
i32.shl
|
|
local.tee $2
|
|
i32.const 0
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.set $1
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 12
|
|
i32.const 2
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=4
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=8
|
|
local.get $0
|
|
local.get $0
|
|
i32.load
|
|
local.get $1
|
|
call $~lib/rt/pure/__retainRelease
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=4
|
|
local.get $0
|
|
local.get $2
|
|
i32.store offset=8
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<i32>#constructor (; 36 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
i32.const 16
|
|
i32.const 3
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
i32.const 0
|
|
i32.const 2
|
|
call $~lib/arraybuffer/ArrayBufferView#constructor
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.store offset=12
|
|
local.get $0
|
|
i32.const 0
|
|
i32.store offset=12
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array.isArray<~lib/array/Array<i32> | null> (; 37 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ne
|
|
)
|
|
(func $~lib/array/Array.isArray<std/array/P> (; 38 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
)
|
|
(func $~lib/rt/__allocArray (; 39 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
(local $4 i32)
|
|
i32.const 16
|
|
local.get $2
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $2
|
|
local.get $0
|
|
local.get $1
|
|
i32.shl
|
|
local.tee $1
|
|
i32.const 0
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $4
|
|
call $~lib/rt/pure/__retain
|
|
i32.store
|
|
local.get $2
|
|
local.get $4
|
|
i32.store offset=4
|
|
local.get $2
|
|
local.get $1
|
|
i32.store offset=8
|
|
local.get $2
|
|
local.get $0
|
|
i32.store offset=12
|
|
local.get $3
|
|
if
|
|
local.get $4
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/memory/memory.copy
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $~lib/memory/memory.fill (; 40 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i64)
|
|
block $~lib/util/memory/memset|inlined.0
|
|
local.get $2
|
|
i32.eqz
|
|
br_if $~lib/util/memory/memset|inlined.0
|
|
local.get $0
|
|
local.get $1
|
|
i32.store8
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 1
|
|
i32.sub
|
|
local.get $1
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 2
|
|
i32.le_u
|
|
br_if $~lib/util/memory/memset|inlined.0
|
|
local.get $0
|
|
i32.const 1
|
|
i32.add
|
|
local.get $1
|
|
i32.store8
|
|
local.get $0
|
|
i32.const 2
|
|
i32.add
|
|
local.get $1
|
|
i32.store8
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
local.tee $3
|
|
i32.const 2
|
|
i32.sub
|
|
local.get $1
|
|
i32.store8
|
|
local.get $3
|
|
i32.const 3
|
|
i32.sub
|
|
local.get $1
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 6
|
|
i32.le_u
|
|
br_if $~lib/util/memory/memset|inlined.0
|
|
local.get $0
|
|
i32.const 3
|
|
i32.add
|
|
local.get $1
|
|
i32.store8
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
i32.const 4
|
|
i32.sub
|
|
local.get $1
|
|
i32.store8
|
|
local.get $2
|
|
i32.const 8
|
|
i32.le_u
|
|
br_if $~lib/util/memory/memset|inlined.0
|
|
local.get $2
|
|
i32.const 0
|
|
local.get $0
|
|
i32.sub
|
|
i32.const 3
|
|
i32.and
|
|
local.tee $2
|
|
i32.sub
|
|
local.set $3
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
local.tee $2
|
|
local.get $1
|
|
i32.const 255
|
|
i32.and
|
|
i32.const 16843009
|
|
i32.mul
|
|
local.tee $0
|
|
i32.store
|
|
local.get $3
|
|
i32.const -4
|
|
i32.and
|
|
local.tee $3
|
|
local.get $2
|
|
i32.add
|
|
i32.const 4
|
|
i32.sub
|
|
local.get $0
|
|
i32.store
|
|
local.get $3
|
|
i32.const 8
|
|
i32.le_u
|
|
br_if $~lib/util/memory/memset|inlined.0
|
|
local.get $2
|
|
i32.const 4
|
|
i32.add
|
|
local.get $0
|
|
i32.store
|
|
local.get $2
|
|
i32.const 8
|
|
i32.add
|
|
local.get $0
|
|
i32.store
|
|
local.get $2
|
|
local.get $3
|
|
i32.add
|
|
local.tee $1
|
|
i32.const 12
|
|
i32.sub
|
|
local.get $0
|
|
i32.store
|
|
local.get $1
|
|
i32.const 8
|
|
i32.sub
|
|
local.get $0
|
|
i32.store
|
|
local.get $3
|
|
i32.const 24
|
|
i32.le_u
|
|
br_if $~lib/util/memory/memset|inlined.0
|
|
local.get $2
|
|
i32.const 12
|
|
i32.add
|
|
local.get $0
|
|
i32.store
|
|
local.get $2
|
|
i32.const 16
|
|
i32.add
|
|
local.get $0
|
|
i32.store
|
|
local.get $2
|
|
i32.const 20
|
|
i32.add
|
|
local.get $0
|
|
i32.store
|
|
local.get $2
|
|
i32.const 24
|
|
i32.add
|
|
local.get $0
|
|
i32.store
|
|
local.get $2
|
|
local.get $3
|
|
i32.add
|
|
local.tee $1
|
|
i32.const 28
|
|
i32.sub
|
|
local.get $0
|
|
i32.store
|
|
local.get $1
|
|
i32.const 24
|
|
i32.sub
|
|
local.get $0
|
|
i32.store
|
|
local.get $1
|
|
i32.const 20
|
|
i32.sub
|
|
local.get $0
|
|
i32.store
|
|
local.get $1
|
|
i32.const 16
|
|
i32.sub
|
|
local.get $0
|
|
i32.store
|
|
local.get $2
|
|
local.get $2
|
|
i32.const 4
|
|
i32.and
|
|
i32.const 24
|
|
i32.add
|
|
local.tee $2
|
|
i32.add
|
|
local.set $1
|
|
local.get $3
|
|
local.get $2
|
|
i32.sub
|
|
local.set $2
|
|
local.get $0
|
|
i64.extend_i32_u
|
|
local.get $0
|
|
i64.extend_i32_u
|
|
i64.const 32
|
|
i64.shl
|
|
i64.or
|
|
local.set $4
|
|
loop $continue|0
|
|
local.get $2
|
|
i32.const 32
|
|
i32.ge_u
|
|
if
|
|
local.get $1
|
|
local.get $4
|
|
i64.store
|
|
local.get $1
|
|
i32.const 8
|
|
i32.add
|
|
local.get $4
|
|
i64.store
|
|
local.get $1
|
|
i32.const 16
|
|
i32.add
|
|
local.get $4
|
|
i64.store
|
|
local.get $1
|
|
i32.const 24
|
|
i32.add
|
|
local.get $4
|
|
i64.store
|
|
local.get $2
|
|
i32.const 32
|
|
i32.sub
|
|
local.set $2
|
|
local.get $1
|
|
i32.const 32
|
|
i32.add
|
|
local.set $1
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/array/Array<u8>#fill (; 41 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $5
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $4
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $2
|
|
local.get $4
|
|
i32.add
|
|
local.tee $2
|
|
i32.const 0
|
|
local.get $2
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $2
|
|
local.get $4
|
|
local.get $2
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.tee $2
|
|
local.get $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $3
|
|
local.get $4
|
|
i32.add
|
|
local.tee $3
|
|
i32.const 0
|
|
local.get $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $3
|
|
local.get $4
|
|
local.get $3
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.tee $3
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
local.get $5
|
|
i32.add
|
|
local.get $1
|
|
local.get $3
|
|
local.get $2
|
|
i32.sub
|
|
call $~lib/memory/memory.fill
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/array/Array<u8>#__get (; 42 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
local.get $0
|
|
i32.load offset=8
|
|
i32.ge_u
|
|
if
|
|
i32.const 176
|
|
i32.const 488
|
|
i32.const 100
|
|
i32.const 61
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.add
|
|
i32.load8_u
|
|
)
|
|
(func $std/array/isArraysEqual<u8> (; 43 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
block $folding-inner1
|
|
block $folding-inner0
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
local.get $1
|
|
i32.load offset=12
|
|
i32.ne
|
|
br_if $folding-inner0
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
br_if $folding-inner1
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<u8>#__get
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<u8>#__get
|
|
i32.ne
|
|
br_if $folding-inner0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
br $folding-inner1
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
)
|
|
(func $~lib/array/Array<u32>#fill (; 44 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $5
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $4
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $2
|
|
local.get $4
|
|
i32.add
|
|
local.tee $2
|
|
i32.const 0
|
|
local.get $2
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $2
|
|
local.get $4
|
|
local.get $2
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $3
|
|
local.get $4
|
|
i32.add
|
|
local.tee $3
|
|
i32.const 0
|
|
local.get $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $3
|
|
local.get $4
|
|
local.get $3
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $3
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.ge_s
|
|
i32.eqz
|
|
if
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
local.get $1
|
|
i32.store
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/array/Array<u32>#__get (; 45 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
local.get $0
|
|
i32.load offset=8
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.ge_u
|
|
if
|
|
i32.const 176
|
|
i32.const 488
|
|
i32.const 100
|
|
i32.const 61
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
)
|
|
(func $std/array/isArraysEqual<u32> (; 46 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
block $folding-inner1
|
|
block $folding-inner0
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $2
|
|
local.get $1
|
|
i32.load offset=12
|
|
i32.ne
|
|
br_if $folding-inner0
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
br $folding-inner1
|
|
end
|
|
end
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/array/Array<u32>#__get
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.ne
|
|
br_if $folding-inner0
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
br $folding-inner1
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
)
|
|
(func $std/array/internalCapacity<i32> (; 47 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $1
|
|
i32.const 16
|
|
i32.sub
|
|
i32.load offset=12
|
|
local.set $2
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shr_s
|
|
)
|
|
(func $~lib/array/ensureSize (; 48 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $1
|
|
local.get $0
|
|
i32.load offset=8
|
|
local.tee $2
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.gt_u
|
|
if
|
|
local.get $1
|
|
i32.const 268435452
|
|
i32.gt_u
|
|
if
|
|
i32.const 272
|
|
i32.const 488
|
|
i32.const 14
|
|
i32.const 47
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.tee $4
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.tee $3
|
|
call $~lib/rt/tlsf/__realloc
|
|
local.tee $1
|
|
local.get $2
|
|
i32.add
|
|
i32.const 0
|
|
local.get $3
|
|
local.get $2
|
|
i32.sub
|
|
call $~lib/memory/memory.fill
|
|
local.get $1
|
|
local.get $4
|
|
i32.ne
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=4
|
|
end
|
|
local.get $0
|
|
local.get $3
|
|
i32.store offset=8
|
|
end
|
|
)
|
|
(func $~lib/array/Array<i32>#push (; 49 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee $3
|
|
call $~lib/array/ensureSize
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $1
|
|
i32.store
|
|
local.get $0
|
|
local.get $3
|
|
i32.store offset=12
|
|
)
|
|
(func $~lib/array/Array<i32>#pop (; 50 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $1
|
|
i32.const 1
|
|
i32.lt_s
|
|
if
|
|
i32.const 872
|
|
i32.const 488
|
|
i32.const 250
|
|
i32.const 20
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.set $2
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=12
|
|
local.get $2
|
|
)
|
|
(func $~lib/array/Array<i32>#concat (; 51 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
local.get $1
|
|
i32.load offset=12
|
|
i32.const 0
|
|
local.get $1
|
|
select
|
|
local.tee $4
|
|
i32.add
|
|
local.tee $2
|
|
i32.const 268435452
|
|
i32.gt_u
|
|
if
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 272
|
|
i32.const 488
|
|
i32.const 197
|
|
i32.const 59
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $2
|
|
i32.load offset=4
|
|
local.tee $5
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.tee $0
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $5
|
|
i32.add
|
|
local.get $1
|
|
i32.load offset=4
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
)
|
|
(func $~lib/rt/pure/__skippedRelease (; 52 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
i32.const 7460
|
|
i32.gt_u
|
|
if
|
|
local.get $0
|
|
i32.const 16
|
|
i32.sub
|
|
call $~lib/rt/pure/decrement
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<i32>#copyWithin (; 53 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $5
|
|
local.get $3
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $4
|
|
local.get $3
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
local.set $3
|
|
local.get $1
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $1
|
|
local.get $4
|
|
i32.add
|
|
local.tee $1
|
|
i32.const 0
|
|
local.get $1
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $1
|
|
local.get $4
|
|
local.get $1
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $1
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $2
|
|
local.get $4
|
|
i32.add
|
|
local.tee $2
|
|
i32.const 0
|
|
local.get $2
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $2
|
|
local.get $4
|
|
local.get $2
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $3
|
|
local.get $4
|
|
i32.add
|
|
local.tee $3
|
|
i32.const 0
|
|
local.get $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $3
|
|
local.get $4
|
|
local.get $3
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.get $2
|
|
i32.sub
|
|
local.tee $3
|
|
local.get $4
|
|
local.get $1
|
|
i32.sub
|
|
local.tee $4
|
|
local.get $3
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
local.set $3
|
|
local.get $1
|
|
local.get $2
|
|
local.get $3
|
|
i32.add
|
|
i32.lt_s
|
|
i32.const 0
|
|
local.get $2
|
|
local.get $1
|
|
i32.lt_s
|
|
select
|
|
if
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $4
|
|
local.get $2
|
|
i32.add
|
|
local.set $2
|
|
local.get $1
|
|
local.get $4
|
|
i32.add
|
|
local.set $1
|
|
loop $continue|0
|
|
local.get $3
|
|
if
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
i32.load
|
|
i32.store
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $1
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $3
|
|
br $continue|0
|
|
end
|
|
end
|
|
else
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/array/Array<i32>#unshift (; 54 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.add
|
|
local.tee $2
|
|
call $~lib/array/ensureSize
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $3
|
|
i32.const 4
|
|
i32.add
|
|
local.get $3
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $3
|
|
local.get $1
|
|
i32.store
|
|
local.get $0
|
|
local.get $2
|
|
i32.store offset=12
|
|
)
|
|
(func $~lib/array/Array<i32>#shift (; 55 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $1
|
|
i32.const 1
|
|
i32.lt_s
|
|
if
|
|
i32.const 872
|
|
i32.const 488
|
|
i32.const 311
|
|
i32.const 20
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $2
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
local.get $2
|
|
i32.const 4
|
|
i32.add
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.tee $4
|
|
call $~lib/memory/memory.copy
|
|
local.get $2
|
|
local.get $4
|
|
i32.add
|
|
i32.const 0
|
|
i32.store
|
|
local.get $0
|
|
local.get $1
|
|
i32.store offset=12
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<i32>#reverse (; 56 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $1
|
|
if
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.set $1
|
|
loop $continue|0
|
|
local.get $2
|
|
local.get $1
|
|
i32.lt_u
|
|
if
|
|
local.get $2
|
|
i32.load
|
|
local.set $3
|
|
local.get $2
|
|
local.get $1
|
|
i32.load
|
|
i32.store
|
|
local.get $1
|
|
local.get $3
|
|
i32.store
|
|
local.get $2
|
|
i32.const 4
|
|
i32.add
|
|
local.set $2
|
|
local.get $1
|
|
i32.const 4
|
|
i32.sub
|
|
local.set $1
|
|
br $continue|0
|
|
end
|
|
end
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/array/Array<i32>#indexOf (; 57 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
if (result i32)
|
|
local.get $2
|
|
local.get $3
|
|
i32.ge_s
|
|
else
|
|
i32.const 1
|
|
end
|
|
if
|
|
i32.const -1
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
local.get $3
|
|
i32.add
|
|
local.tee $2
|
|
i32.const 0
|
|
local.get $2
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
local.set $2
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $0
|
|
loop $continue|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
local.get $2
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $continue|0
|
|
end
|
|
end
|
|
i32.const -1
|
|
)
|
|
(func $~lib/array/Array<i32>#includes (; 58 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
i32.const 0
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#splice (; 59 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
local.get $2
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
local.get $1
|
|
i32.const 0
|
|
i32.lt_s
|
|
if (result i32)
|
|
local.get $1
|
|
local.get $3
|
|
i32.add
|
|
local.tee $1
|
|
i32.const 0
|
|
local.get $1
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
else
|
|
local.get $1
|
|
local.get $3
|
|
local.get $1
|
|
local.get $3
|
|
i32.lt_s
|
|
select
|
|
end
|
|
local.tee $1
|
|
i32.sub
|
|
local.tee $4
|
|
local.get $2
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
local.tee $2
|
|
i32.const 0
|
|
local.get $2
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
local.tee $2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $4
|
|
i32.load offset=4
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $5
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.tee $6
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $1
|
|
local.get $2
|
|
i32.add
|
|
local.tee $1
|
|
local.get $3
|
|
i32.ne
|
|
if
|
|
local.get $6
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
local.get $3
|
|
local.get $1
|
|
i32.sub
|
|
i32.const 2
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
end
|
|
local.get $0
|
|
local.get $3
|
|
local.get $2
|
|
i32.sub
|
|
i32.store offset=12
|
|
local.get $4
|
|
)
|
|
(func $~lib/array/Array<i32>#__set (; 60 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $3
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
call $~lib/array/ensureSize
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.get $2
|
|
i32.store
|
|
local.get $1
|
|
local.get $3
|
|
i32.ge_s
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.store offset=12
|
|
end
|
|
)
|
|
(func $start:std/array~anonymous|0 (; 61 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.eqz
|
|
)
|
|
(func $~lib/array/Array<i32>#findIndex (; 62 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $2
|
|
local.get $3
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $4
|
|
local.get $3
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iiii)
|
|
if
|
|
local.get $2
|
|
return
|
|
else
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const -1
|
|
)
|
|
(func $start:std/array~anonymous|1 (; 63 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 1
|
|
i32.eq
|
|
)
|
|
(func $start:std/array~anonymous|2 (; 64 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start:std/array~anonymous|3 (; 65 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start:std/array~anonymous|5 (; 66 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 100
|
|
i32.eq
|
|
)
|
|
(func $start:std/array~anonymous|6 (; 67 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 0
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#every (; 68 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $2
|
|
local.get $3
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $4
|
|
local.get $3
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iiii)
|
|
if
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
else
|
|
i32.const 0
|
|
return
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const 1
|
|
)
|
|
(func $start:std/array~anonymous|7 (; 69 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 0
|
|
i32.le_s
|
|
)
|
|
(func $start:std/array~anonymous|8 (; 70 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 10
|
|
i32.lt_s
|
|
)
|
|
(func $start:std/array~anonymous|9 (; 71 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 10
|
|
i32.lt_s
|
|
)
|
|
(func $start:std/array~anonymous|10 (; 72 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 3
|
|
i32.lt_s
|
|
)
|
|
(func $start:std/array~anonymous|11 (; 73 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 3
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#some (; 74 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $2
|
|
local.get $3
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $4
|
|
local.get $3
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iiii)
|
|
if
|
|
i32.const 1
|
|
return
|
|
else
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
i32.const 0
|
|
)
|
|
(func $start:std/array~anonymous|12 (; 75 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const -1
|
|
i32.le_s
|
|
)
|
|
(func $start:std/array~anonymous|13 (; 76 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 10
|
|
i32.gt_s
|
|
)
|
|
(func $start:std/array~anonymous|14 (; 77 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 10
|
|
i32.gt_s
|
|
)
|
|
(func $start:std/array~anonymous|15 (; 78 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 3
|
|
i32.gt_s
|
|
)
|
|
(func $start:std/array~anonymous|16 (; 79 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $~lib/array/Array<i32>#forEach (; 80 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
block $break|0
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $3
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $4
|
|
local.get $3
|
|
local.get $4
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$viii)
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $start:std/array~anonymous|17 (; 81 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $start:std/array~anonymous|19 (; 82 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $start:std/array~anonymous|20 (; 83 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $3
|
|
i32.const 4
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|1
|
|
block $break|1
|
|
local.get $3
|
|
i32.const 100
|
|
i32.ge_s
|
|
br_if $break|1
|
|
local.get $2
|
|
local.get $3
|
|
i32.const 100
|
|
i32.add
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|1
|
|
end
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|2
|
|
block $break|2
|
|
local.get $3
|
|
i32.const 100
|
|
i32.ge_s
|
|
br_if $break|2
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|2
|
|
end
|
|
end
|
|
i32.const 0
|
|
local.set $3
|
|
loop $repeat|3
|
|
block $break|3
|
|
local.get $3
|
|
i32.const 100
|
|
i32.ge_s
|
|
br_if $break|3
|
|
local.get $2
|
|
local.get $3
|
|
i32.const 200
|
|
i32.add
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|3
|
|
end
|
|
end
|
|
end
|
|
local.get $1
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
local.get $0
|
|
i32.const 202
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 570
|
|
i32.const 6
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $start:std/array~anonymous|21 (; 84 ;) (type $FUNCSIG$fiii) (param $0 i32) (param $1 i32) (param $2 i32) (result f32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
f32.convert_i32_s
|
|
)
|
|
(func $~lib/array/Array<i32>#map<f32> (; 85 ;) (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 f32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
i32.const 2
|
|
i32.const 8
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $4
|
|
i32.load offset=4
|
|
local.set $5
|
|
loop $repeat|0
|
|
local.get $1
|
|
local.get $3
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $2
|
|
local.get $3
|
|
local.get $2
|
|
i32.lt_s
|
|
select
|
|
i32.lt_s
|
|
if
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.tee $2
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.add
|
|
i32.load
|
|
local.get $1
|
|
local.get $0
|
|
call $start:std/array~anonymous|21
|
|
local.set $6
|
|
local.get $2
|
|
local.get $5
|
|
i32.add
|
|
local.get $6
|
|
f32.store
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $4
|
|
)
|
|
(func $~lib/array/Array<f32>#__get (; 86 ;) (type $FUNCSIG$fii) (param $0 i32) (param $1 i32) (result f32)
|
|
local.get $1
|
|
local.get $0
|
|
i32.load offset=8
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.ge_u
|
|
if
|
|
i32.const 176
|
|
i32.const 488
|
|
i32.const 100
|
|
i32.const 61
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
f32.load
|
|
)
|
|
(func $start:std/array~anonymous|22 (; 87 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<i32>#map<i32> (; 88 ;) (type $FUNCSIG$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.get $0
|
|
i32.load offset=12
|
|
local.tee $4
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $5
|
|
i32.load offset=4
|
|
local.set $6
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $2
|
|
local.get $4
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
local.get $4
|
|
local.get $3
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.tee $3
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.add
|
|
i32.load
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iiii)
|
|
local.set $7
|
|
local.get $3
|
|
local.get $6
|
|
i32.add
|
|
local.get $7
|
|
i32.store
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $5
|
|
)
|
|
(func $start:std/array~anonymous|23 (; 89 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
)
|
|
(func $start:std/array~anonymous|24 (; 90 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
)
|
|
(func $start:std/array~anonymous|25 (; 91 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $~lib/array/Array<i32>#filter (; 92 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.set $4
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $5
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $2
|
|
local.get $5
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
local.get $5
|
|
local.get $3
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.set $3
|
|
i32.const 3
|
|
global.set $~lib/argc
|
|
local.get $3
|
|
local.get $2
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iiii)
|
|
if
|
|
local.get $4
|
|
local.get $3
|
|
call $~lib/array/Array<i32>#push
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $4
|
|
)
|
|
(func $start:std/array~anonymous|26 (; 93 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $start:std/array~anonymous|27 (; 94 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $start:std/array~anonymous|28 (; 95 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $2
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/i
|
|
local.get $0
|
|
i32.add
|
|
global.set $std/array/i
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 2
|
|
i32.ge_s
|
|
)
|
|
(func $start:std/array~anonymous|29 (; 96 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $3
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $~lib/array/Array<i32>#reduce<i32> (; 97 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $4
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $3
|
|
local.get $4
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $5
|
|
local.get $4
|
|
local.get $5
|
|
i32.lt_s
|
|
select
|
|
i32.ge_s
|
|
br_if $break|0
|
|
i32.const 4
|
|
global.set $~lib/argc
|
|
local.get $2
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $3
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iiiii)
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $start:std/array~anonymous|31 (; 98 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $3
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
local.get $1
|
|
i32.const 2
|
|
i32.gt_s
|
|
local.get $0
|
|
select
|
|
)
|
|
(func $start:std/array~anonymous|32 (; 99 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $3
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
local.get $1
|
|
i32.const 100
|
|
i32.gt_s
|
|
local.get $0
|
|
select
|
|
)
|
|
(func $start:std/array~anonymous|33 (; 100 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $3
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $3
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $start:std/array~anonymous|35 (; 101 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
local.get $3
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $3
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
)
|
|
(func $~lib/array/Array<i32>#reduceRight<i32> (; 102 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if $break|0
|
|
i32.const 4
|
|
global.set $~lib/argc
|
|
local.get $2
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
local.get $3
|
|
local.get $0
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iiiii)
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $~lib/math/murmurHash3 (; 103 ;) (type $FUNCSIG$jj) (param $0 i64) (result i64)
|
|
local.get $0
|
|
i64.const 33
|
|
i64.shr_u
|
|
local.get $0
|
|
i64.xor
|
|
i64.const -49064778989728563
|
|
i64.mul
|
|
local.tee $0
|
|
local.get $0
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
i64.const -4265267296055464877
|
|
i64.mul
|
|
local.tee $0
|
|
local.get $0
|
|
i64.const 33
|
|
i64.shr_u
|
|
i64.xor
|
|
)
|
|
(func $~lib/math/splitMix32 (; 104 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 1831565813
|
|
i32.add
|
|
local.tee $0
|
|
local.get $0
|
|
i32.const 15
|
|
i32.shr_u
|
|
i32.xor
|
|
local.get $0
|
|
i32.const 1
|
|
i32.or
|
|
i32.mul
|
|
local.tee $0
|
|
local.get $0
|
|
i32.const 61
|
|
i32.or
|
|
local.get $0
|
|
i32.const 7
|
|
i32.shr_u
|
|
local.get $0
|
|
i32.xor
|
|
i32.mul
|
|
local.get $0
|
|
i32.add
|
|
i32.xor
|
|
local.tee $0
|
|
local.get $0
|
|
i32.const 14
|
|
i32.shr_u
|
|
i32.xor
|
|
)
|
|
(func $~lib/math/NativeMath.seedRandom (; 105 ;) (type $FUNCSIG$vj) (param $0 i64)
|
|
local.get $0
|
|
i64.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 3160
|
|
i32.const 1021
|
|
i32.const 4
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
global.set $~lib/math/random_seeded
|
|
local.get $0
|
|
call $~lib/math/murmurHash3
|
|
global.set $~lib/math/random_state0_64
|
|
global.get $~lib/math/random_state0_64
|
|
i64.const -1
|
|
i64.xor
|
|
call $~lib/math/murmurHash3
|
|
global.set $~lib/math/random_state1_64
|
|
local.get $0
|
|
i32.wrap_i64
|
|
call $~lib/math/splitMix32
|
|
global.set $~lib/math/random_state0_32
|
|
global.get $~lib/math/random_state0_32
|
|
call $~lib/math/splitMix32
|
|
global.set $~lib/math/random_state1_32
|
|
)
|
|
(func $~lib/util/sort/insertionSort<f32> (; 106 ;) (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)
|
|
block $break|0
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $1
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f32.load
|
|
local.set $5
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $continue|1
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block $break|1
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f32.load
|
|
local.set $6
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $5
|
|
local.get $6
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$iff)
|
|
i32.const 0
|
|
i32.ge_s
|
|
br_if $break|1
|
|
local.get $4
|
|
local.tee $7
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
local.get $7
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $6
|
|
f32.store
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $5
|
|
f32.store
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/util/sort/weakHeapSort<f32> (; 107 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 f32)
|
|
(local $6 i32)
|
|
(local $7 f32)
|
|
(local $8 i32)
|
|
local.get $1
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.tee $3
|
|
i32.const 0
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $6
|
|
i32.const 0
|
|
local.get $3
|
|
call $~lib/memory/memory.fill
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $4
|
|
i32.const 0
|
|
i32.le_s
|
|
br_if $break|0
|
|
local.get $4
|
|
local.set $3
|
|
loop $continue|1
|
|
local.get $3
|
|
i32.const 1
|
|
i32.and
|
|
local.get $3
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
i32.load
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $3
|
|
br $continue|1
|
|
end
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.tee $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f32.load
|
|
local.set $5
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f32.load
|
|
local.set $7
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $5
|
|
local.get $7
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$iff)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $4
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
local.tee $8
|
|
local.get $8
|
|
i32.load
|
|
i32.const 1
|
|
local.get $4
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $5
|
|
f32.store
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $7
|
|
f32.store
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $repeat|2
|
|
block $break|2
|
|
local.get $4
|
|
i32.const 2
|
|
i32.lt_s
|
|
br_if $break|2
|
|
local.get $0
|
|
f32.load
|
|
local.set $5
|
|
local.get $0
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.tee $1
|
|
f32.load
|
|
f32.store
|
|
local.get $1
|
|
local.get $5
|
|
f32.store
|
|
i32.const 1
|
|
local.set $3
|
|
loop $continue|3
|
|
local.get $3
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
i32.load
|
|
local.get $3
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.tee $1
|
|
local.get $4
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
local.set $3
|
|
br $continue|3
|
|
end
|
|
end
|
|
loop $continue|4
|
|
local.get $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
local.get $0
|
|
f32.load
|
|
local.set $5
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f32.load
|
|
local.set $7
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $5
|
|
local.get $7
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$iff)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $3
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
local.tee $1
|
|
local.get $1
|
|
i32.load
|
|
i32.const 1
|
|
local.get $3
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $5
|
|
f32.store
|
|
local.get $0
|
|
local.get $7
|
|
f32.store
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $3
|
|
br $continue|4
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
br $repeat|2
|
|
end
|
|
end
|
|
local.get $6
|
|
call $~lib/rt/tlsf/__free
|
|
local.get $0
|
|
f32.load offset=4
|
|
local.set $5
|
|
local.get $0
|
|
local.get $0
|
|
f32.load
|
|
f32.store offset=4
|
|
local.get $0
|
|
local.get $5
|
|
f32.store
|
|
)
|
|
(func $~lib/array/Array<f32>#sort (; 108 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 f32)
|
|
(local $5 f32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
local.get $2
|
|
f32.load offset=4
|
|
local.set $4
|
|
local.get $2
|
|
f32.load
|
|
local.set $5
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $4
|
|
local.get $5
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iff)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
local.get $5
|
|
f32.store offset=4
|
|
local.get $2
|
|
local.get $4
|
|
f32.store
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $3
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/util/sort/insertionSort<f32>
|
|
else
|
|
local.get $2
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/util/sort/weakHeapSort<f32>
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/util/sort/COMPARATOR<f32>~anonymous|0 (; 109 ;) (type $FUNCSIG$iff) (param $0 f32) (param $1 f32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i32.reinterpret_f32
|
|
local.tee $2
|
|
local.get $2
|
|
i32.const 31
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.xor
|
|
local.tee $2
|
|
local.get $1
|
|
i32.reinterpret_f32
|
|
local.tee $3
|
|
local.get $3
|
|
i32.const 31
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.xor
|
|
local.tee $3
|
|
i32.gt_s
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
i32.sub
|
|
)
|
|
(func $~lib/builtins/isNaN<f32> (; 110 ;) (type $FUNCSIG$if) (param $0 f32) (result i32)
|
|
local.get $0
|
|
local.get $0
|
|
f32.ne
|
|
)
|
|
(func $std/array/isArraysEqual<f32> (; 111 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
block $folding-inner1
|
|
block $folding-inner0
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
local.get $1
|
|
i32.load offset=12
|
|
i32.ne
|
|
br_if $folding-inner0
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
br_if $folding-inner1
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<f32>#__get
|
|
call $~lib/builtins/isNaN<f32>
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<f32>#__get
|
|
call $~lib/builtins/isNaN<f32>
|
|
i32.ne
|
|
if
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<f32>#__get
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<f32>#__get
|
|
f32.ne
|
|
br_if $folding-inner0
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
br $folding-inner1
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
)
|
|
(func $~lib/util/sort/insertionSort<f64> (; 112 ;) (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)
|
|
block $break|0
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $1
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $3
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f64.load
|
|
local.set $5
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $continue|1
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block $break|1
|
|
local.get $4
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f64.load
|
|
local.set $6
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $5
|
|
local.get $6
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$idd)
|
|
i32.const 0
|
|
i32.ge_s
|
|
br_if $break|1
|
|
local.get $4
|
|
local.tee $7
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
local.get $7
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $6
|
|
f64.store
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $5
|
|
f64.store
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/util/sort/weakHeapSort<f64> (; 113 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 f64)
|
|
(local $6 i32)
|
|
(local $7 f64)
|
|
(local $8 i32)
|
|
local.get $1
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.tee $3
|
|
i32.const 0
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $6
|
|
i32.const 0
|
|
local.get $3
|
|
call $~lib/memory/memory.fill
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $4
|
|
i32.const 0
|
|
i32.le_s
|
|
br_if $break|0
|
|
local.get $4
|
|
local.set $3
|
|
loop $continue|1
|
|
local.get $3
|
|
i32.const 1
|
|
i32.and
|
|
local.get $3
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
i32.load
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $3
|
|
br $continue|1
|
|
end
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.tee $3
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f64.load
|
|
local.set $5
|
|
local.get $4
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f64.load
|
|
local.set $7
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $5
|
|
local.get $7
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$idd)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $4
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
local.tee $8
|
|
local.get $8
|
|
i32.load
|
|
i32.const 1
|
|
local.get $4
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
local.get $4
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $5
|
|
f64.store
|
|
local.get $3
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $7
|
|
f64.store
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $repeat|2
|
|
block $break|2
|
|
local.get $4
|
|
i32.const 2
|
|
i32.lt_s
|
|
br_if $break|2
|
|
local.get $0
|
|
f64.load
|
|
local.set $5
|
|
local.get $0
|
|
local.get $4
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.tee $1
|
|
f64.load
|
|
f64.store
|
|
local.get $1
|
|
local.get $5
|
|
f64.store
|
|
i32.const 1
|
|
local.set $3
|
|
loop $continue|3
|
|
local.get $3
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
i32.load
|
|
local.get $3
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.tee $1
|
|
local.get $4
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
local.set $3
|
|
br $continue|3
|
|
end
|
|
end
|
|
loop $continue|4
|
|
local.get $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
local.get $0
|
|
f64.load
|
|
local.set $5
|
|
local.get $3
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
f64.load
|
|
local.set $7
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $5
|
|
local.get $7
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$idd)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $3
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
local.tee $1
|
|
local.get $1
|
|
i32.load
|
|
i32.const 1
|
|
local.get $3
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
local.get $3
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $5
|
|
f64.store
|
|
local.get $0
|
|
local.get $7
|
|
f64.store
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $3
|
|
br $continue|4
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
br $repeat|2
|
|
end
|
|
end
|
|
local.get $6
|
|
call $~lib/rt/tlsf/__free
|
|
local.get $0
|
|
f64.load offset=8
|
|
local.set $5
|
|
local.get $0
|
|
local.get $0
|
|
f64.load
|
|
f64.store offset=8
|
|
local.get $0
|
|
local.get $5
|
|
f64.store
|
|
)
|
|
(func $~lib/array/Array<f64>#sort (; 114 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 f64)
|
|
(local $5 f64)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
local.get $2
|
|
f64.load offset=8
|
|
local.set $4
|
|
local.get $2
|
|
f64.load
|
|
local.set $5
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $4
|
|
local.get $5
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$idd)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
local.get $5
|
|
f64.store offset=8
|
|
local.get $2
|
|
local.get $4
|
|
f64.store
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $3
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/util/sort/insertionSort<f64>
|
|
else
|
|
local.get $2
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/util/sort/weakHeapSort<f64>
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/util/sort/COMPARATOR<f64>~anonymous|0 (; 115 ;) (type $FUNCSIG$idd) (param $0 f64) (param $1 f64) (result i32)
|
|
(local $2 i64)
|
|
(local $3 i64)
|
|
local.get $0
|
|
i64.reinterpret_f64
|
|
local.tee $2
|
|
local.get $2
|
|
i64.const 63
|
|
i64.shr_s
|
|
i64.const 1
|
|
i64.shr_u
|
|
i64.xor
|
|
local.tee $2
|
|
local.get $1
|
|
i64.reinterpret_f64
|
|
local.tee $3
|
|
local.get $3
|
|
i64.const 63
|
|
i64.shr_s
|
|
i64.const 1
|
|
i64.shr_u
|
|
i64.xor
|
|
local.tee $3
|
|
i64.gt_s
|
|
local.get $2
|
|
local.get $3
|
|
i64.lt_s
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array<f64>#__get (; 116 ;) (type $FUNCSIG$dii) (param $0 i32) (param $1 i32) (result f64)
|
|
local.get $1
|
|
local.get $0
|
|
i32.load offset=8
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.ge_u
|
|
if
|
|
i32.const 176
|
|
i32.const 488
|
|
i32.const 100
|
|
i32.const 61
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
f64.load
|
|
)
|
|
(func $~lib/builtins/isNaN<f64> (; 117 ;) (type $FUNCSIG$id) (param $0 f64) (result i32)
|
|
local.get $0
|
|
local.get $0
|
|
f64.ne
|
|
)
|
|
(func $std/array/isArraysEqual<f64> (; 118 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
block $folding-inner1
|
|
block $folding-inner0
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
local.get $1
|
|
i32.load offset=12
|
|
i32.ne
|
|
br_if $folding-inner0
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
br_if $folding-inner1
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<f64>#__get
|
|
call $~lib/builtins/isNaN<f64>
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<f64>#__get
|
|
call $~lib/builtins/isNaN<f64>
|
|
i32.ne
|
|
if
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<f64>#__get
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<f64>#__get
|
|
f64.ne
|
|
br_if $folding-inner0
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
br $folding-inner1
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
)
|
|
(func $~lib/util/sort/insertionSort<i32> (; 119 ;) (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)
|
|
block $break|0
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $1
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load
|
|
local.set $5
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $continue|1
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block $break|1
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load
|
|
local.set $6
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $5
|
|
local.get $6
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$iii)
|
|
i32.const 0
|
|
i32.ge_s
|
|
br_if $break|1
|
|
local.get $4
|
|
local.tee $7
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
local.get $7
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $6
|
|
i32.store
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $5
|
|
i32.store
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/util/sort/weakHeapSort<i32> (; 120 ;) (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)
|
|
local.get $1
|
|
i32.const 31
|
|
i32.add
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.tee $3
|
|
i32.const 0
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $5
|
|
i32.const 0
|
|
local.get $3
|
|
call $~lib/memory/memory.fill
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $3
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $3
|
|
i32.const 0
|
|
i32.le_s
|
|
br_if $break|0
|
|
local.get $3
|
|
local.set $4
|
|
loop $continue|1
|
|
local.get $4
|
|
i32.const 1
|
|
i32.and
|
|
local.get $4
|
|
i32.const 6
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
i32.load
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shr_s
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eq
|
|
if
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $4
|
|
br $continue|1
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.tee $7
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load
|
|
local.set $4
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load
|
|
local.set $6
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $4
|
|
local.get $6
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$iii)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $3
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
local.tee $8
|
|
local.get $8
|
|
i32.load
|
|
i32.const 1
|
|
local.get $3
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $4
|
|
i32.store
|
|
local.get $7
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $6
|
|
i32.store
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $3
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $1
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $repeat|2
|
|
block $break|2
|
|
local.get $4
|
|
i32.const 2
|
|
i32.lt_s
|
|
br_if $break|2
|
|
local.get $0
|
|
i32.load
|
|
local.set $1
|
|
local.get $0
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.tee $3
|
|
i32.load
|
|
i32.store
|
|
local.get $3
|
|
local.get $1
|
|
i32.store
|
|
i32.const 1
|
|
local.set $1
|
|
loop $continue|3
|
|
local.get $1
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
i32.load
|
|
local.get $1
|
|
i32.const 31
|
|
i32.and
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
local.tee $3
|
|
local.get $4
|
|
i32.lt_s
|
|
if
|
|
local.get $3
|
|
local.set $1
|
|
br $continue|3
|
|
end
|
|
end
|
|
loop $continue|4
|
|
local.get $1
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
local.get $0
|
|
i32.load
|
|
local.set $3
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load
|
|
local.set $6
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $3
|
|
local.get $6
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$iii)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
i32.const 5
|
|
i32.shr_s
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $5
|
|
i32.add
|
|
local.tee $7
|
|
local.get $7
|
|
i32.load
|
|
i32.const 1
|
|
local.get $1
|
|
i32.const 31
|
|
i32.and
|
|
i32.shl
|
|
i32.xor
|
|
i32.store
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $3
|
|
i32.store
|
|
local.get $0
|
|
local.get $6
|
|
i32.store
|
|
end
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shr_s
|
|
local.set $1
|
|
br $continue|4
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
br $repeat|2
|
|
end
|
|
end
|
|
local.get $5
|
|
call $~lib/rt/tlsf/__free
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $1
|
|
local.get $0
|
|
local.get $0
|
|
i32.load
|
|
i32.store offset=4
|
|
local.get $0
|
|
local.get $1
|
|
i32.store
|
|
)
|
|
(func $~lib/array/Array<i32>#sort (; 121 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
local.get $3
|
|
i32.load offset=4
|
|
local.set $2
|
|
local.get $3
|
|
i32.load
|
|
local.set $4
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $2
|
|
local.get $4
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iii)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
i32.store offset=4
|
|
local.get $3
|
|
local.get $2
|
|
i32.store
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 256
|
|
i32.lt_s
|
|
if
|
|
local.get $3
|
|
local.get $2
|
|
local.get $1
|
|
call $~lib/util/sort/insertionSort<i32>
|
|
else
|
|
local.get $3
|
|
local.get $2
|
|
local.get $1
|
|
call $~lib/util/sort/weakHeapSort<i32>
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/util/sort/COMPARATOR<i32>~anonymous|0 (; 122 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.sub
|
|
)
|
|
(func $~lib/util/sort/COMPARATOR<u32>~anonymous|0 (; 123 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
local.get $1
|
|
i32.gt_u
|
|
local.get $0
|
|
local.get $1
|
|
i32.lt_u
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array.create<i32> (; 124 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 268435452
|
|
i32.gt_u
|
|
if
|
|
i32.const 272
|
|
i32.const 488
|
|
i32.const 45
|
|
i32.const 61
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.store offset=12
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 0
|
|
local.get $0
|
|
i32.load offset=8
|
|
call $~lib/memory/memory.fill
|
|
local.get $0
|
|
)
|
|
(func $std/array/createReverseOrderedArray (; 125 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/array/Array.create<i32>
|
|
local.set $2
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $1
|
|
local.get $0
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $2
|
|
local.get $1
|
|
local.get $0
|
|
i32.const 1
|
|
i32.sub
|
|
local.get $1
|
|
i32.sub
|
|
call $~lib/array/Array<i32>#__set
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $~lib/math/NativeMath.random (; 126 ;) (type $FUNCSIG$d) (result f64)
|
|
(local $0 i64)
|
|
(local $1 i64)
|
|
global.get $~lib/math/random_seeded
|
|
i32.eqz
|
|
if
|
|
i32.const 3936
|
|
i32.const 3160
|
|
i32.const 1030
|
|
i32.const 24
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $~lib/math/random_state0_64
|
|
local.set $0
|
|
global.get $~lib/math/random_state1_64
|
|
local.tee $1
|
|
global.set $~lib/math/random_state0_64
|
|
local.get $0
|
|
i64.const 23
|
|
i64.shl
|
|
local.get $0
|
|
i64.xor
|
|
local.tee $0
|
|
local.get $0
|
|
i64.const 17
|
|
i64.shr_u
|
|
i64.xor
|
|
local.get $1
|
|
i64.xor
|
|
local.get $1
|
|
i64.const 26
|
|
i64.shr_u
|
|
i64.xor
|
|
local.tee $0
|
|
global.set $~lib/math/random_state1_64
|
|
local.get $0
|
|
local.get $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 (; 127 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/array/Array.create<i32>
|
|
local.set $2
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $1
|
|
local.get $0
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $2
|
|
local.get $1
|
|
call $~lib/math/NativeMath.random
|
|
local.get $0
|
|
f64.convert_i32_s
|
|
f64.mul
|
|
i32.trunc_f64_s
|
|
call $~lib/array/Array<i32>#__set
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $std/array/isSorted<i32> (; 128 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
i32.const 1
|
|
local.set $2
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $3
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
if
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
call $~lib/array/Array<u32>#__get
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<u32>#__get
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iii)
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
return
|
|
else
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
)
|
|
(func $std/array/assertSorted<i32> (; 129 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<i32>#sort
|
|
local.tee $2
|
|
local.get $1
|
|
call $std/array/isSorted<i32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 832
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $std/array/assertSortedDefault<i32> (; 130 ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.const 48
|
|
call $std/array/assertSorted<i32>
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $start:std/array~anonymous|44 (; 131 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
local.get $0
|
|
i32.sub
|
|
)
|
|
(func $~lib/array/Array.create<~lib/array/Array<i32>> (; 132 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 10
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.store offset=12
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 0
|
|
local.get $0
|
|
i32.load offset=8
|
|
call $~lib/memory/memory.fill
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<i32>>#__unchecked_set (; 133 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
local.tee $0
|
|
local.get $0
|
|
i32.load
|
|
local.get $2
|
|
call $~lib/rt/pure/__retainRelease
|
|
i32.store
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<i32>>#__set (; 134 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $3
|
|
i32.gt_u
|
|
if
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
i32.const 4040
|
|
i32.const 488
|
|
i32.const 112
|
|
i32.const 38
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
call $~lib/array/ensureSize
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__unchecked_set
|
|
local.get $1
|
|
local.get $3
|
|
i32.ge_s
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.store offset=12
|
|
end
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $std/array/createReverseOrderedNestedArray (; 135 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
call $~lib/array/Array.create<~lib/array/Array<i32>>
|
|
local.set $1
|
|
loop $repeat|0
|
|
local.get $0
|
|
i32.const 2
|
|
i32.lt_s
|
|
if
|
|
i32.const 1
|
|
call $~lib/array/Array.create<i32>
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.const 1
|
|
local.get $0
|
|
i32.sub
|
|
call $~lib/array/Array<i32>#__set
|
|
local.get $1
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__set
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $start:std/array~anonymous|47 (; 136 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
local.get $1
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.sub
|
|
local.set $2
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
)
|
|
(func $~lib/util/sort/insertionSort<~lib/array/Array<i32>> (; 137 ;) (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)
|
|
block $break|0
|
|
loop $repeat|0
|
|
local.get $3
|
|
local.get $1
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retain
|
|
local.set $6
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
loop $continue|1
|
|
local.get $4
|
|
i32.const 0
|
|
i32.ge_s
|
|
if
|
|
block $break|1
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retain
|
|
local.set $5
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $6
|
|
local.get $5
|
|
local.get $2
|
|
call_indirect (type $FUNCSIG$iii)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $4
|
|
local.tee $7
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
local.get $7
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $5
|
|
i32.store
|
|
else
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
br $break|1
|
|
end
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
br $continue|1
|
|
end
|
|
end
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $6
|
|
i32.store
|
|
local.get $6
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
i32.const 1
|
|
i32.add
|
|
local.set $3
|
|
br $repeat|0
|
|
unreachable
|
|
end
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<i32>>#sort (; 138 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.le_s
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 2
|
|
i32.eq
|
|
if
|
|
local.get $3
|
|
i32.load offset=4
|
|
call $~lib/rt/pure/__retain
|
|
local.set $2
|
|
local.get $3
|
|
i32.load
|
|
call $~lib/rt/pure/__retain
|
|
local.set $4
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $2
|
|
local.get $4
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iii)
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
local.get $3
|
|
local.get $4
|
|
i32.store offset=4
|
|
local.get $3
|
|
local.get $2
|
|
i32.store
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $3
|
|
local.get $2
|
|
local.get $1
|
|
call $~lib/util/sort/insertionSort<~lib/array/Array<i32>>
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<i32>>#__unchecked_get (; 139 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.get $1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<i32>>#__get (; 140 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.ge_u
|
|
if
|
|
i32.const 4040
|
|
i32.const 488
|
|
i32.const 97
|
|
i32.const 45
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
local.get $0
|
|
i32.load offset=8
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.ge_u
|
|
if
|
|
i32.const 176
|
|
i32.const 488
|
|
i32.const 100
|
|
i32.const 61
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__unchecked_get
|
|
)
|
|
(func $std/array/isSorted<~lib/array/Array<i32>> (; 141 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
i32.const 1
|
|
local.set $2
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $5
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $5
|
|
i32.lt_s
|
|
if
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__get
|
|
local.tee $3
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__get
|
|
local.tee $4
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iii)
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
return
|
|
else
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
)
|
|
(func $std/array/assertSorted<~lib/array/Array<i32>> (; 142 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#sort
|
|
local.tee $2
|
|
local.get $1
|
|
call $std/array/isSorted<~lib/array/Array<i32>>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 832
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $~lib/array/Array.create<std/array/Proxy<i32>> (; 143 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
i32.const 512
|
|
i32.const 2
|
|
i32.const 12
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.store offset=12
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 0
|
|
local.get $0
|
|
i32.load offset=8
|
|
call $~lib/memory/memory.fill
|
|
local.get $0
|
|
)
|
|
(func $std/array/createReverseOrderedElementsArray (; 144 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
call $~lib/array/Array.create<std/array/Proxy<i32>>
|
|
local.set $1
|
|
loop $repeat|0
|
|
local.get $0
|
|
i32.const 512
|
|
i32.lt_s
|
|
if
|
|
i32.const 4
|
|
i32.const 11
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $2
|
|
i32.const 511
|
|
local.get $0
|
|
i32.sub
|
|
i32.store
|
|
local.get $1
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__set
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $start:std/array~anonymous|48 (; 145 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load
|
|
local.get $1
|
|
i32.load
|
|
i32.sub
|
|
local.set $2
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
)
|
|
(func $~lib/array/Array<~lib/string/String | null>#__get (; 146 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
local.get $0
|
|
i32.load offset=8
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.ge_u
|
|
if
|
|
i32.const 176
|
|
i32.const 488
|
|
i32.const 100
|
|
i32.const 61
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__unchecked_get
|
|
)
|
|
(func $std/array/isSorted<~lib/string/String | null> (; 147 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
i32.const 1
|
|
local.set $2
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.set $5
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $5
|
|
i32.lt_s
|
|
if
|
|
i32.const 2
|
|
global.set $~lib/argc
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
call $~lib/array/Array<~lib/string/String | null>#__get
|
|
local.tee $3
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<~lib/string/String | null>#__get
|
|
local.tee $4
|
|
local.get $1
|
|
call_indirect (type $FUNCSIG$iii)
|
|
i32.const 0
|
|
i32.gt_s
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
return
|
|
else
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
)
|
|
(func $std/array/assertSorted<~lib/string/String | null> (; 148 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#sort
|
|
local.tee $2
|
|
local.get $1
|
|
call $std/array/isSorted<~lib/string/String | null>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 832
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $~lib/string/String#get:length (; 149 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 16
|
|
i32.sub
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.shr_u
|
|
)
|
|
(func $~lib/util/string/compareImpl (; 150 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
local.set $3
|
|
local.get $1
|
|
local.set $4
|
|
loop $continue|0
|
|
local.get $2
|
|
if (result i32)
|
|
local.get $3
|
|
i32.load16_u
|
|
local.get $4
|
|
i32.load16_u
|
|
i32.sub
|
|
local.tee $5
|
|
i32.eqz
|
|
else
|
|
i32.const 0
|
|
end
|
|
if
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $2
|
|
local.get $3
|
|
i32.const 2
|
|
i32.add
|
|
local.set $3
|
|
local.get $4
|
|
i32.const 2
|
|
i32.add
|
|
local.set $4
|
|
br $continue|0
|
|
end
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
)
|
|
(func $~lib/util/sort/COMPARATOR<~lib/string/String | null>~anonymous|0 (; 151 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
block $folding-inner0
|
|
i32.const 1
|
|
local.get $1
|
|
i32.eqz
|
|
i32.const 1
|
|
local.get $0
|
|
i32.eqz
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
select
|
|
select
|
|
if
|
|
br $folding-inner0
|
|
end
|
|
local.get $0
|
|
call $~lib/string/String#get:length
|
|
local.set $2
|
|
local.get $1
|
|
call $~lib/string/String#get:length
|
|
local.set $3
|
|
i32.const 0
|
|
local.get $3
|
|
i32.eqz
|
|
local.get $2
|
|
select
|
|
if
|
|
br $folding-inner0
|
|
end
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const -1
|
|
return
|
|
end
|
|
local.get $3
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
local.get $3
|
|
local.get $2
|
|
local.get $3
|
|
i32.lt_s
|
|
select
|
|
call $~lib/util/string/compareImpl
|
|
local.set $2
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
)
|
|
(func $~lib/string/String.__eq (; 152 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
return
|
|
end
|
|
block $folding-inner0
|
|
local.get $1
|
|
i32.eqz
|
|
i32.const 1
|
|
local.get $0
|
|
select
|
|
if
|
|
br $folding-inner0
|
|
end
|
|
local.get $0
|
|
call $~lib/string/String#get:length
|
|
local.tee $2
|
|
local.get $1
|
|
call $~lib/string/String#get:length
|
|
i32.ne
|
|
if
|
|
br $folding-inner0
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/util/string/compareImpl
|
|
i32.eqz
|
|
local.set $2
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
)
|
|
(func $~lib/string/String.__ne (; 153 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
local.set $2
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
)
|
|
(func $std/array/isArraysEqual<~lib/string/String | null> (; 154 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
local.tee $5
|
|
local.get $1
|
|
i32.load offset=12
|
|
i32.ne
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.eq
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
return
|
|
end
|
|
loop $repeat|0
|
|
local.get $2
|
|
local.get $5
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/array/Array<~lib/string/String | null>#__get
|
|
local.tee $3
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/array/Array<~lib/string/String | null>#__get
|
|
local.tee $4
|
|
call $~lib/string/String.__ne
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
return
|
|
else
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
unreachable
|
|
end
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 1
|
|
)
|
|
(func $~lib/array/Array.create<~lib/string/String> (; 155 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
i32.const 400
|
|
i32.const 2
|
|
i32.const 14
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.store offset=12
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 0
|
|
local.get $0
|
|
i32.load offset=8
|
|
call $~lib/memory/memory.fill
|
|
local.get $0
|
|
)
|
|
(func $~lib/string/String#charAt (; 156 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
local.get $0
|
|
i32.const 3200
|
|
call $~lib/string/String#get:length
|
|
i32.ge_u
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
i32.const 2
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $1
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 3200
|
|
i32.add
|
|
i32.load16_u
|
|
i32.store16
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/string/String#concat (; 157 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
local.get $1
|
|
i32.const 4408
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
end
|
|
local.get $0
|
|
call $~lib/string/String#get:length
|
|
i32.const 1
|
|
i32.shl
|
|
local.tee $3
|
|
local.get $1
|
|
call $~lib/string/String#get:length
|
|
i32.const 1
|
|
i32.shl
|
|
local.tee $4
|
|
i32.add
|
|
local.tee $2
|
|
i32.eqz
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $2
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/memory/memory.copy
|
|
local.get $2
|
|
local.get $3
|
|
i32.add
|
|
local.get $1
|
|
local.get $4
|
|
call $~lib/memory/memory.copy
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
)
|
|
(func $~lib/string/String.__concat (; 158 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.const 4408
|
|
local.get $0
|
|
select
|
|
local.get $1
|
|
call $~lib/string/String#concat
|
|
local.set $2
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
)
|
|
(func $std/array/createRandomString (; 159 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $2
|
|
local.get $0
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $1
|
|
local.get $1
|
|
call $~lib/math/NativeMath.random
|
|
i32.const 3200
|
|
call $~lib/string/String#get:length
|
|
f64.convert_i32_s
|
|
f64.mul
|
|
f64.floor
|
|
i32.trunc_f64_s
|
|
call $~lib/string/String#charAt
|
|
local.tee $3
|
|
call $~lib/string/String.__concat
|
|
local.tee $4
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $std/array/createRandomStringArray (; 160 ;) (type $FUNCSIG$i) (result i32)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
call $~lib/array/Array.create<~lib/string/String>
|
|
local.set $1
|
|
loop $repeat|0
|
|
local.get $0
|
|
i32.const 400
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/math/NativeMath.random
|
|
f64.const 32
|
|
f64.mul
|
|
i32.trunc_f64_s
|
|
call $std/array/createRandomString
|
|
local.tee $2
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__set
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 1
|
|
i32.add
|
|
local.set $0
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $~lib/string/String#substring (; 161 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 4360
|
|
i32.const 196
|
|
i32.const 4
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
local.get $0
|
|
call $~lib/string/String#get:length
|
|
local.tee $2
|
|
i32.const 0
|
|
local.get $2
|
|
i32.lt_s
|
|
select
|
|
local.tee $3
|
|
local.get $1
|
|
i32.const 0
|
|
local.get $1
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
local.tee $1
|
|
local.get $2
|
|
local.get $1
|
|
local.get $2
|
|
i32.lt_s
|
|
select
|
|
local.tee $2
|
|
local.get $3
|
|
local.get $2
|
|
i32.gt_s
|
|
select
|
|
i32.const 1
|
|
i32.shl
|
|
local.tee $1
|
|
local.get $3
|
|
local.get $2
|
|
local.get $3
|
|
local.get $2
|
|
i32.lt_s
|
|
select
|
|
i32.const 1
|
|
i32.shl
|
|
local.tee $3
|
|
i32.sub
|
|
local.tee $2
|
|
i32.eqz
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $3
|
|
if (result i32)
|
|
i32.const 0
|
|
else
|
|
local.get $0
|
|
call $~lib/string/String#get:length
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.eq
|
|
end
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $1
|
|
local.get $0
|
|
local.get $3
|
|
i32.add
|
|
local.get $2
|
|
call $~lib/memory/memory.copy
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/array/Array<bool>#join_bool (; 162 ;) (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)
|
|
(local $8 i32)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $1
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $1
|
|
i32.eqz
|
|
if
|
|
i32.const 4456
|
|
i32.const 4480
|
|
local.get $3
|
|
i32.load8_u
|
|
select
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.tee $4
|
|
i32.const 5
|
|
i32.add
|
|
local.get $1
|
|
i32.mul
|
|
i32.const 5
|
|
i32.add
|
|
local.tee $7
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $2
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $5
|
|
local.get $1
|
|
i32.lt_s
|
|
if
|
|
local.get $3
|
|
local.get $5
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee $8
|
|
i32.eqz
|
|
i32.const 4
|
|
i32.add
|
|
local.set $6
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $2
|
|
i32.add
|
|
i32.const 4456
|
|
i32.const 4480
|
|
local.get $8
|
|
select
|
|
local.get $6
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $6
|
|
i32.add
|
|
local.set $0
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $2
|
|
i32.add
|
|
i32.const 4512
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $4
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $1
|
|
local.get $3
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee $3
|
|
i32.eqz
|
|
i32.const 4
|
|
i32.add
|
|
local.set $1
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $2
|
|
i32.add
|
|
i32.const 4456
|
|
i32.const 4480
|
|
local.get $3
|
|
select
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $7
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
local.tee $0
|
|
i32.gt_s
|
|
if
|
|
local.get $2
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
)
|
|
(func $~lib/util/number/decimalCount32 (; 163 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
i32.const 1
|
|
i32.const 2
|
|
local.get $0
|
|
i32.const 10
|
|
i32.lt_u
|
|
select
|
|
i32.const 3
|
|
i32.const 4
|
|
i32.const 5
|
|
local.get $0
|
|
i32.const 10000
|
|
i32.lt_u
|
|
select
|
|
local.get $0
|
|
i32.const 1000
|
|
i32.lt_u
|
|
select
|
|
local.get $0
|
|
i32.const 100
|
|
i32.lt_u
|
|
select
|
|
i32.const 6
|
|
i32.const 7
|
|
local.get $0
|
|
i32.const 1000000
|
|
i32.lt_u
|
|
select
|
|
i32.const 8
|
|
i32.const 9
|
|
i32.const 10
|
|
local.get $0
|
|
i32.const 1000000000
|
|
i32.lt_u
|
|
select
|
|
local.get $0
|
|
i32.const 100000000
|
|
i32.lt_u
|
|
select
|
|
local.get $0
|
|
i32.const 10000000
|
|
i32.lt_u
|
|
select
|
|
local.get $0
|
|
i32.const 100000
|
|
i32.lt_u
|
|
select
|
|
)
|
|
(func $~lib/util/number/utoa_simple<u32> (; 164 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
loop $continue|0
|
|
local.get $1
|
|
i32.const 10
|
|
i32.div_u
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $1
|
|
i32.const 10
|
|
i32.rem_u
|
|
i32.const 48
|
|
i32.add
|
|
i32.store16
|
|
local.get $3
|
|
local.tee $1
|
|
br_if $continue|0
|
|
end
|
|
)
|
|
(func $~lib/util/number/itoa32 (; 165 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 4608
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.tee $1
|
|
if
|
|
i32.const 0
|
|
local.get $0
|
|
i32.sub
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
call $~lib/util/number/decimalCount32
|
|
local.get $1
|
|
i32.add
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $2
|
|
local.get $0
|
|
local.get $3
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
local.get $1
|
|
if
|
|
local.get $2
|
|
i32.const 45
|
|
i32.store16
|
|
end
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/util/number/itoa_stream<i32> (; 166 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $0
|
|
block (result i32)
|
|
local.get $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.tee $1
|
|
if
|
|
i32.const 0
|
|
local.get $2
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
local.get $2
|
|
end
|
|
local.get $2
|
|
call $~lib/util/number/decimalCount32
|
|
local.get $1
|
|
i32.add
|
|
local.tee $2
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
local.get $1
|
|
if
|
|
local.get $0
|
|
i32.const 45
|
|
i32.store16
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $~lib/array/Array<i32>#join_int (; 167 ;) (type $FUNCSIG$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.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $4
|
|
local.get $3
|
|
i32.eqz
|
|
if
|
|
local.get $4
|
|
i32.load
|
|
call $~lib/util/number/itoa32
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $2
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
return
|
|
end
|
|
local.get $1
|
|
call $~lib/string/String#get:length
|
|
local.tee $5
|
|
i32.const 11
|
|
i32.add
|
|
local.get $3
|
|
i32.mul
|
|
i32.const 11
|
|
i32.add
|
|
local.tee $7
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $2
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $6
|
|
local.get $3
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
local.get $0
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $4
|
|
i32.add
|
|
i32.load
|
|
call $~lib/util/number/itoa_stream<i32>
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $2
|
|
i32.add
|
|
local.get $1
|
|
local.get $5
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $5
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $6
|
|
i32.const 1
|
|
i32.add
|
|
local.set $6
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $7
|
|
local.get $2
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $4
|
|
i32.add
|
|
i32.load
|
|
call $~lib/util/number/itoa_stream<i32>
|
|
local.get $0
|
|
i32.add
|
|
local.tee $0
|
|
i32.gt_s
|
|
if
|
|
local.get $2
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
)
|
|
(func $~lib/array/Array<i32>#join (; 168 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<i32>#join_int
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
)
|
|
(func $~lib/util/number/utoa32 (; 169 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
i32.eqz
|
|
if
|
|
i32.const 4608
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/util/number/decimalCount32
|
|
local.tee $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $2
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/util/number/itoa_stream<u32> (; 170 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
local.get $2
|
|
call $~lib/util/number/decimalCount32
|
|
local.tee $0
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<u32>#join_int (; 171 ;) (type $FUNCSIG$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.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $3
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $4
|
|
local.get $3
|
|
i32.eqz
|
|
if
|
|
local.get $4
|
|
i32.load
|
|
call $~lib/util/number/utoa32
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $2
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
return
|
|
end
|
|
local.get $1
|
|
call $~lib/string/String#get:length
|
|
local.tee $5
|
|
i32.const 10
|
|
i32.add
|
|
local.get $3
|
|
i32.mul
|
|
i32.const 10
|
|
i32.add
|
|
local.tee $7
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $2
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $6
|
|
local.get $3
|
|
i32.lt_s
|
|
if
|
|
local.get $2
|
|
local.get $0
|
|
local.get $6
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $4
|
|
i32.add
|
|
i32.load
|
|
call $~lib/util/number/itoa_stream<u32>
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $5
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $2
|
|
i32.add
|
|
local.get $1
|
|
local.get $5
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $5
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $6
|
|
i32.const 1
|
|
i32.add
|
|
local.set $6
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $7
|
|
local.get $2
|
|
local.get $0
|
|
local.get $3
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $4
|
|
i32.add
|
|
i32.load
|
|
call $~lib/util/number/itoa_stream<u32>
|
|
local.get $0
|
|
i32.add
|
|
local.tee $0
|
|
i32.gt_s
|
|
if
|
|
local.get $2
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
)
|
|
(func $~lib/array/Array<u32>#join (; 172 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<u32>#join_int
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
)
|
|
(func $~lib/builtins/isFinite<f64> (; 173 ;) (type $FUNCSIG$id) (param $0 f64) (result i32)
|
|
local.get $0
|
|
local.get $0
|
|
f64.sub
|
|
f64.const 0
|
|
f64.eq
|
|
)
|
|
(func $~lib/util/number/genDigits (; 174 ;) (type $FUNCSIG$iijijiji) (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 i32)
|
|
(local $9 i64)
|
|
(local $10 i32)
|
|
(local $11 i64)
|
|
(local $12 i64)
|
|
(local $13 i32)
|
|
(local $14 i64)
|
|
local.get $3
|
|
local.get $1
|
|
i64.sub
|
|
local.set $9
|
|
i64.const 1
|
|
i32.const 0
|
|
local.get $4
|
|
i32.sub
|
|
local.tee $10
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
local.tee $11
|
|
i64.const 1
|
|
i64.sub
|
|
local.tee $14
|
|
local.get $3
|
|
i64.and
|
|
local.set $12
|
|
local.get $3
|
|
local.get $10
|
|
i64.extend_i32_s
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.tee $7
|
|
call $~lib/util/number/decimalCount32
|
|
local.set $4
|
|
i32.const 6068
|
|
i32.load
|
|
local.set $13
|
|
loop $continue|0
|
|
local.get $4
|
|
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
|
|
local.get $4
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
local.get $4
|
|
i32.const 9
|
|
i32.eq
|
|
br_if $case1|1
|
|
block $tablify|0
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $case9|1 $case8|1 $case7|1 $case6|1 $case5|1 $case4|1 $case3|1 $case2|1 $tablify|0
|
|
end
|
|
br $case10|1
|
|
end
|
|
local.get $7
|
|
i32.const 1000000000
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 1000000000
|
|
i32.rem_u
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
local.get $7
|
|
i32.const 100000000
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 100000000
|
|
i32.rem_u
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
local.get $7
|
|
i32.const 10000000
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 10000000
|
|
i32.rem_u
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
local.get $7
|
|
i32.const 1000000
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 1000000
|
|
i32.rem_u
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
local.get $7
|
|
i32.const 100000
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 100000
|
|
i32.rem_u
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
local.get $7
|
|
i32.const 10000
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 10000
|
|
i32.rem_u
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
local.get $7
|
|
i32.const 1000
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 1000
|
|
i32.rem_u
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
local.get $7
|
|
i32.const 100
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 100
|
|
i32.rem_u
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
local.get $7
|
|
i32.const 10
|
|
i32.div_u
|
|
local.set $8
|
|
local.get $7
|
|
i32.const 10
|
|
i32.rem_u
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
local.get $7
|
|
local.set $8
|
|
i32.const 0
|
|
local.set $7
|
|
br $break|1
|
|
end
|
|
i32.const 0
|
|
local.set $8
|
|
end
|
|
local.get $6
|
|
local.get $8
|
|
i32.or
|
|
if
|
|
local.get $6
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $6
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $8
|
|
i32.const 65535
|
|
i32.and
|
|
i32.const 48
|
|
i32.add
|
|
i32.store16
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
local.get $7
|
|
i64.extend_i32_u
|
|
local.get $10
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
local.get $12
|
|
i64.add
|
|
local.tee $1
|
|
local.get $5
|
|
i64.le_u
|
|
if
|
|
global.get $~lib/util/number/_K
|
|
local.get $4
|
|
i32.add
|
|
global.set $~lib/util/number/_K
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $13
|
|
i32.add
|
|
i64.load32_u
|
|
local.get $10
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
local.set $3
|
|
local.get $6
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.tee $2
|
|
i32.load16_u
|
|
local.set $4
|
|
loop $continue|2
|
|
i32.const 1
|
|
local.get $9
|
|
local.get $1
|
|
i64.sub
|
|
local.get $1
|
|
local.get $3
|
|
i64.add
|
|
local.get $9
|
|
i64.sub
|
|
i64.gt_u
|
|
local.get $1
|
|
local.get $3
|
|
i64.add
|
|
local.get $9
|
|
i64.lt_u
|
|
select
|
|
i32.const 0
|
|
local.get $5
|
|
local.get $1
|
|
i64.sub
|
|
local.get $3
|
|
i64.ge_u
|
|
i32.const 0
|
|
local.get $1
|
|
local.get $9
|
|
i64.lt_u
|
|
select
|
|
select
|
|
if
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
local.get $1
|
|
local.get $3
|
|
i64.add
|
|
local.set $1
|
|
br $continue|2
|
|
end
|
|
end
|
|
local.get $2
|
|
local.get $4
|
|
i32.store16
|
|
local.get $6
|
|
return
|
|
end
|
|
br $continue|0
|
|
end
|
|
end
|
|
loop $continue|3 (result i32)
|
|
local.get $5
|
|
i64.const 10
|
|
i64.mul
|
|
local.set $5
|
|
local.get $12
|
|
i64.const 10
|
|
i64.mul
|
|
local.tee $3
|
|
local.get $10
|
|
i64.extend_i32_s
|
|
i64.shr_u
|
|
local.tee $1
|
|
local.get $6
|
|
i64.extend_i32_s
|
|
i64.or
|
|
i64.const 0
|
|
i64.ne
|
|
if
|
|
local.get $6
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $6
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $1
|
|
i32.wrap_i64
|
|
i32.const 65535
|
|
i32.and
|
|
i32.const 48
|
|
i32.add
|
|
i32.store16
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
local.get $3
|
|
local.get $14
|
|
i64.and
|
|
local.tee $12
|
|
local.get $5
|
|
i64.ge_u
|
|
br_if $continue|3
|
|
global.get $~lib/util/number/_K
|
|
local.get $4
|
|
i32.add
|
|
global.set $~lib/util/number/_K
|
|
local.get $12
|
|
local.set $1
|
|
i32.const 0
|
|
local.get $4
|
|
i32.sub
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $13
|
|
i32.add
|
|
i64.load32_u
|
|
local.get $9
|
|
i64.mul
|
|
local.set $3
|
|
local.get $6
|
|
i32.const 1
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.tee $2
|
|
i32.load16_u
|
|
local.set $4
|
|
loop $continue|4
|
|
i32.const 1
|
|
local.get $3
|
|
local.get $1
|
|
i64.sub
|
|
local.get $1
|
|
local.get $11
|
|
i64.add
|
|
local.get $3
|
|
i64.sub
|
|
i64.gt_u
|
|
local.get $1
|
|
local.get $11
|
|
i64.add
|
|
local.get $3
|
|
i64.lt_u
|
|
select
|
|
i32.const 0
|
|
local.get $5
|
|
local.get $1
|
|
i64.sub
|
|
local.get $11
|
|
i64.ge_u
|
|
i32.const 0
|
|
local.get $1
|
|
local.get $3
|
|
i64.lt_u
|
|
select
|
|
select
|
|
if
|
|
local.get $4
|
|
i32.const 1
|
|
i32.sub
|
|
local.set $4
|
|
local.get $1
|
|
local.get $11
|
|
i64.add
|
|
local.set $1
|
|
br $continue|4
|
|
end
|
|
end
|
|
local.get $2
|
|
local.get $4
|
|
i32.store16
|
|
local.get $6
|
|
end
|
|
)
|
|
(func $~lib/util/number/prettify (; 175 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.const 3145774
|
|
i32.store
|
|
local.get $1
|
|
i32.const 2
|
|
i32.add
|
|
return
|
|
end
|
|
local.get $1
|
|
local.get $1
|
|
local.get $2
|
|
i32.add
|
|
local.tee $3
|
|
i32.le_s
|
|
if (result i32)
|
|
local.get $3
|
|
i32.const 21
|
|
i32.le_s
|
|
else
|
|
i32.const 0
|
|
end
|
|
if (result i32)
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $1
|
|
local.get $3
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.const 48
|
|
i32.store16
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.const 3145774
|
|
i32.store
|
|
local.get $3
|
|
i32.const 2
|
|
i32.add
|
|
else
|
|
local.get $3
|
|
i32.const 21
|
|
i32.le_s
|
|
i32.const 0
|
|
local.get $3
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
if (result i32)
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.tee $0
|
|
i32.const 2
|
|
i32.add
|
|
local.get $0
|
|
i32.const 0
|
|
local.get $2
|
|
i32.sub
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
i32.const 46
|
|
i32.store16
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
else
|
|
local.get $3
|
|
i32.const 0
|
|
i32.le_s
|
|
i32.const 0
|
|
i32.const -6
|
|
local.get $3
|
|
i32.lt_s
|
|
select
|
|
if (result i32)
|
|
i32.const 2
|
|
local.get $3
|
|
i32.sub
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
i32.const 3014704
|
|
i32.store
|
|
i32.const 2
|
|
local.set $2
|
|
loop $repeat|1
|
|
block $break|1
|
|
local.get $2
|
|
local.get $3
|
|
i32.ge_s
|
|
br_if $break|1
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
i32.const 48
|
|
i32.store16
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|1
|
|
end
|
|
end
|
|
local.get $1
|
|
local.get $3
|
|
i32.add
|
|
else
|
|
local.get $1
|
|
i32.const 1
|
|
i32.eq
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 101
|
|
i32.store16 offset=2
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.tee $0
|
|
block (result i32)
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $1
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.tee $2
|
|
if
|
|
i32.const 0
|
|
local.get $1
|
|
i32.sub
|
|
local.set $1
|
|
end
|
|
local.get $1
|
|
end
|
|
local.get $1
|
|
call $~lib/util/number/decimalCount32
|
|
i32.const 1
|
|
i32.add
|
|
local.tee $1
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
local.get $0
|
|
i32.const 45
|
|
i32.const 43
|
|
local.get $2
|
|
select
|
|
i32.store16
|
|
local.get $1
|
|
i32.const 2
|
|
i32.add
|
|
else
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.get $0
|
|
i32.const 2
|
|
i32.add
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.tee $2
|
|
i32.const 2
|
|
i32.sub
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
i32.const 46
|
|
i32.store16 offset=2
|
|
local.get $0
|
|
local.get $2
|
|
i32.add
|
|
local.tee $0
|
|
i32.const 101
|
|
i32.store16 offset=2
|
|
local.get $0
|
|
i32.const 4
|
|
i32.add
|
|
local.tee $2
|
|
block (result i32)
|
|
local.get $3
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.tee $3
|
|
if
|
|
i32.const 0
|
|
local.get $0
|
|
i32.sub
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
end
|
|
local.get $0
|
|
call $~lib/util/number/decimalCount32
|
|
i32.const 1
|
|
i32.add
|
|
local.tee $0
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
local.get $2
|
|
i32.const 45
|
|
i32.const 43
|
|
local.get $3
|
|
select
|
|
i32.store16
|
|
local.get $0
|
|
local.get $1
|
|
i32.add
|
|
i32.const 2
|
|
i32.add
|
|
end
|
|
end
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/util/number/dtoa_core (; 176 ;) (type $FUNCSIG$iid) (param $0 i32) (param $1 f64) (result i32)
|
|
(local $2 i64)
|
|
(local $3 i32)
|
|
(local $4 i64)
|
|
(local $5 i64)
|
|
(local $6 i64)
|
|
(local $7 i32)
|
|
(local $8 i64)
|
|
(local $9 i64)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
local.get $1
|
|
f64.const 0
|
|
f64.lt
|
|
local.tee $10
|
|
if
|
|
local.get $0
|
|
i32.const 45
|
|
i32.store16
|
|
local.get $1
|
|
f64.neg
|
|
local.set $1
|
|
end
|
|
local.get $1
|
|
i64.reinterpret_f64
|
|
local.tee $2
|
|
i64.const 9218868437227405312
|
|
i64.and
|
|
i64.const 52
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.tee $11
|
|
i32.const 0
|
|
i32.ne
|
|
local.set $7
|
|
local.get $2
|
|
i64.const 4503599627370495
|
|
i64.and
|
|
local.get $7
|
|
i64.extend_i32_u
|
|
i64.const 52
|
|
i64.shl
|
|
i64.add
|
|
local.tee $5
|
|
i64.const 1
|
|
i64.shl
|
|
i64.const 1
|
|
i64.add
|
|
local.tee $2
|
|
i64.clz
|
|
i32.wrap_i64
|
|
local.set $3
|
|
local.get $2
|
|
local.get $3
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
global.set $~lib/util/number/_frc_plus
|
|
local.get $11
|
|
i32.const 1
|
|
local.get $7
|
|
select
|
|
i32.const 1075
|
|
i32.sub
|
|
local.tee $7
|
|
i32.const 1
|
|
i32.sub
|
|
local.get $3
|
|
i32.sub
|
|
local.set $3
|
|
local.get $5
|
|
local.get $5
|
|
i64.const 4503599627370496
|
|
i64.eq
|
|
i32.const 1
|
|
i32.add
|
|
local.tee $11
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
i64.const 1
|
|
i64.sub
|
|
local.get $7
|
|
local.get $11
|
|
i32.sub
|
|
local.get $3
|
|
i32.sub
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
global.set $~lib/util/number/_frc_minus
|
|
local.get $3
|
|
global.set $~lib/util/number/_exp
|
|
i32.const 348
|
|
i32.const -61
|
|
global.get $~lib/util/number/_exp
|
|
i32.sub
|
|
f64.convert_i32_s
|
|
f64.const 0.30102999566398114
|
|
f64.mul
|
|
f64.const 347
|
|
f64.add
|
|
local.tee $1
|
|
i32.trunc_f64_s
|
|
local.tee $3
|
|
local.get $3
|
|
f64.convert_i32_s
|
|
local.get $1
|
|
f64.ne
|
|
i32.add
|
|
i32.const 3
|
|
i32.shr_s
|
|
i32.const 1
|
|
i32.add
|
|
local.tee $3
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
global.set $~lib/util/number/_K
|
|
i32.const 5756
|
|
i32.load
|
|
local.get $3
|
|
i32.const 3
|
|
i32.shl
|
|
i32.add
|
|
i64.load
|
|
global.set $~lib/util/number/_frc_pow
|
|
i32.const 5980
|
|
i32.load
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.add
|
|
i32.load16_s
|
|
global.set $~lib/util/number/_exp_pow
|
|
global.get $~lib/util/number/_frc_pow
|
|
local.tee $6
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.set $2
|
|
global.get $~lib/util/number/_frc_plus
|
|
local.tee $8
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.tee $4
|
|
local.get $6
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.tee $6
|
|
i64.mul
|
|
local.get $8
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.tee $8
|
|
local.get $2
|
|
i64.mul
|
|
local.get $2
|
|
local.get $4
|
|
i64.mul
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
local.tee $4
|
|
i64.const 4294967295
|
|
i64.and
|
|
i64.add
|
|
i64.const 2147483647
|
|
i64.add
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.get $6
|
|
local.get $8
|
|
i64.mul
|
|
local.get $4
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
i64.add
|
|
i64.const 1
|
|
i64.sub
|
|
local.tee $8
|
|
local.get $6
|
|
global.get $~lib/util/number/_frc_minus
|
|
local.tee $4
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.tee $9
|
|
i64.mul
|
|
local.get $4
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.tee $4
|
|
local.get $2
|
|
i64.mul
|
|
local.get $2
|
|
local.get $9
|
|
i64.mul
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
local.tee $9
|
|
i64.const 4294967295
|
|
i64.and
|
|
i64.add
|
|
i64.const 2147483647
|
|
i64.add
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.get $4
|
|
local.get $6
|
|
i64.mul
|
|
local.get $9
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
i64.add
|
|
i64.const 1
|
|
i64.add
|
|
i64.sub
|
|
local.set $4
|
|
local.get $10
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $0
|
|
local.get $6
|
|
local.get $5
|
|
local.get $5
|
|
i64.clz
|
|
i32.wrap_i64
|
|
local.tee $0
|
|
i64.extend_i32_s
|
|
i64.shl
|
|
local.tee $5
|
|
i64.const 4294967295
|
|
i64.and
|
|
local.tee $9
|
|
i64.mul
|
|
local.get $5
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.tee $5
|
|
local.get $2
|
|
i64.mul
|
|
local.get $2
|
|
local.get $9
|
|
i64.mul
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
local.tee $2
|
|
i64.const 4294967295
|
|
i64.and
|
|
i64.add
|
|
i64.const 2147483647
|
|
i64.add
|
|
i64.const 32
|
|
i64.shr_u
|
|
local.get $5
|
|
local.get $6
|
|
i64.mul
|
|
local.get $2
|
|
i64.const 32
|
|
i64.shr_u
|
|
i64.add
|
|
i64.add
|
|
global.get $~lib/util/number/_exp_pow
|
|
local.tee $3
|
|
local.get $7
|
|
local.get $0
|
|
i32.sub
|
|
i32.add
|
|
i32.const -64
|
|
i32.sub
|
|
local.get $8
|
|
global.get $~lib/util/number/_exp
|
|
local.get $3
|
|
i32.add
|
|
i32.const -64
|
|
i32.sub
|
|
local.get $4
|
|
local.get $10
|
|
call $~lib/util/number/genDigits
|
|
local.get $10
|
|
i32.sub
|
|
global.get $~lib/util/number/_K
|
|
call $~lib/util/number/prettify
|
|
local.get $10
|
|
i32.add
|
|
)
|
|
(func $~lib/util/number/dtoa (; 177 ;) (type $FUNCSIG$id) (param $0 f64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
local.get $0
|
|
f64.const 0
|
|
f64.eq
|
|
if
|
|
i32.const 4920
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $0
|
|
call $~lib/builtins/isFinite<f64>
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
call $~lib/builtins/isNaN<f64>
|
|
if
|
|
i32.const 4944
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
i32.const 4968
|
|
i32.const 5008
|
|
local.get $0
|
|
f64.const 0
|
|
f64.lt
|
|
select
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
i32.const 56
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $1
|
|
local.get $0
|
|
call $~lib/util/number/dtoa_core
|
|
local.tee $2
|
|
i32.const 28
|
|
i32.eq
|
|
if
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $1
|
|
local.get $2
|
|
call $~lib/string/String#substring
|
|
local.set $2
|
|
local.get $1
|
|
call $~lib/rt/tlsf/__free
|
|
local.get $2
|
|
)
|
|
(func $~lib/util/number/dtoa_stream (; 178 ;) (type $FUNCSIG$iiid) (param $0 i32) (param $1 i32) (param $2 f64) (result i32)
|
|
(local $3 i32)
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
f64.const 0
|
|
f64.eq
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16
|
|
local.get $0
|
|
i32.const 46
|
|
i32.store16 offset=2
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16 offset=4
|
|
i32.const 3
|
|
return
|
|
end
|
|
local.get $2
|
|
call $~lib/builtins/isFinite<f64>
|
|
i32.eqz
|
|
if
|
|
local.get $2
|
|
call $~lib/builtins/isNaN<f64>
|
|
if
|
|
local.get $0
|
|
i32.const 78
|
|
i32.store16
|
|
local.get $0
|
|
i32.const 97
|
|
i32.store16 offset=2
|
|
local.get $0
|
|
i32.const 78
|
|
i32.store16 offset=4
|
|
i32.const 3
|
|
return
|
|
else
|
|
local.get $2
|
|
f64.const 0
|
|
f64.lt
|
|
local.tee $3
|
|
i32.const 8
|
|
i32.add
|
|
local.set $1
|
|
local.get $0
|
|
i32.const 4968
|
|
i32.const 5008
|
|
local.get $3
|
|
select
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $1
|
|
return
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/util/number/dtoa_core
|
|
)
|
|
(func $~lib/array/Array<f64>#join_flt (; 179 ;) (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)
|
|
i32.const 4896
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4896
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $3
|
|
f64.load
|
|
call $~lib/util/number/dtoa
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 4896
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
return
|
|
end
|
|
i32.const 4896
|
|
call $~lib/string/String#get:length
|
|
local.tee $4
|
|
i32.const 28
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 28
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $5
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
f64.load
|
|
call $~lib/util/number/dtoa_stream
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 4896
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $4
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $6
|
|
local.get $1
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
f64.load
|
|
call $~lib/util/number/dtoa_stream
|
|
local.get $0
|
|
i32.add
|
|
local.tee $0
|
|
i32.gt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
i32.const 4896
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4896
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<~lib/string/String>#join_str (; 180 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $5
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $6
|
|
local.get $5
|
|
i32.eqz
|
|
if
|
|
local.get $6
|
|
i32.load
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $1
|
|
call $~lib/string/String#get:length
|
|
local.set $7
|
|
i32.const 0
|
|
local.set $0
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
loop $repeat|0
|
|
block $break|0
|
|
local.get $2
|
|
local.get $4
|
|
i32.ge_s
|
|
br_if $break|0
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $0
|
|
call $~lib/string/String#get:length
|
|
local.get $3
|
|
i32.add
|
|
local.set $3
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.add
|
|
local.set $2
|
|
br $repeat|0
|
|
end
|
|
end
|
|
i32.const 0
|
|
local.set $2
|
|
local.get $5
|
|
local.get $7
|
|
i32.mul
|
|
local.get $3
|
|
i32.add
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $3
|
|
i32.const 0
|
|
local.set $4
|
|
loop $repeat|1
|
|
block $break|1
|
|
local.get $4
|
|
local.get $5
|
|
i32.ge_s
|
|
br_if $break|1
|
|
local.get $0
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
local.get $0
|
|
local.get $0
|
|
call $~lib/string/String#get:length
|
|
local.tee $8
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $2
|
|
local.get $8
|
|
i32.add
|
|
local.set $2
|
|
end
|
|
local.get $7
|
|
if
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
local.get $1
|
|
local.get $7
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $2
|
|
local.get $7
|
|
i32.add
|
|
local.set $2
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|1
|
|
end
|
|
end
|
|
local.get $0
|
|
local.get $5
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
local.get $0
|
|
local.get $0
|
|
call $~lib/string/String#get:length
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
end
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<~lib/string/String>#join (; 181 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/string/String>#join_str
|
|
local.set $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
)
|
|
(func $std/array/Ref#constructor (; 182 ;) (type $FUNCSIG$i) (result i32)
|
|
i32.const 0
|
|
i32.const 18
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/array/Array<std/array/Ref | null>#join_ref (; 183 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $6
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
i32.const 6248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.tee $3
|
|
i32.const 15
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 15
|
|
i32.add
|
|
local.tee $7
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $5
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $5
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 6248
|
|
i32.const 30
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
i32.const 15
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $3
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 4512
|
|
local.get $3
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $3
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
block (result i32)
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $6
|
|
i32.add
|
|
i32.load
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 6248
|
|
i32.const 30
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
i32.const 15
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $7
|
|
local.get $0
|
|
i32.gt_s
|
|
end
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<i32>#toString (; 184 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 4512
|
|
call $~lib/array/Array<i32>#join
|
|
)
|
|
(func $~lib/util/number/itoa_stream<i8> (; 185 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 255
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 24
|
|
i32.shl
|
|
i32.const 24
|
|
i32.shr_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.tee $1
|
|
if
|
|
i32.const 0
|
|
local.get $2
|
|
i32.sub
|
|
local.set $2
|
|
end
|
|
local.get $2
|
|
i32.const 24
|
|
i32.shl
|
|
i32.const 24
|
|
i32.shr_s
|
|
local.tee $3
|
|
call $~lib/util/number/decimalCount32
|
|
local.get $1
|
|
i32.add
|
|
local.set $2
|
|
local.get $0
|
|
local.get $3
|
|
local.get $2
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
local.get $1
|
|
if
|
|
local.get $0
|
|
i32.const 45
|
|
i32.store16
|
|
end
|
|
local.get $2
|
|
)
|
|
(func $~lib/array/Array<i8>#join_int (; 186 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $3
|
|
i32.load8_s
|
|
call $~lib/util/number/itoa32
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.tee $4
|
|
i32.const 11
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 11
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $5
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
local.get $3
|
|
local.get $5
|
|
i32.add
|
|
i32.load8_s
|
|
call $~lib/util/number/itoa_stream<i8>
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 4512
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $4
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $6
|
|
local.get $1
|
|
local.get $0
|
|
local.get $2
|
|
local.get $3
|
|
i32.add
|
|
i32.load8_s
|
|
call $~lib/util/number/itoa_stream<i8>
|
|
local.get $0
|
|
i32.add
|
|
local.tee $0
|
|
i32.gt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/util/number/itoa_stream<u16> (; 187 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 65535
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 65535
|
|
i32.and
|
|
local.tee $2
|
|
call $~lib/util/number/decimalCount32
|
|
local.set $1
|
|
local.get $0
|
|
local.get $2
|
|
local.get $1
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<u16>#join_int (; 188 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $3
|
|
i32.load16_u
|
|
call $~lib/util/number/utoa32
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.tee $4
|
|
i32.const 10
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 10
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $5
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
local.get $5
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load16_u
|
|
call $~lib/util/number/itoa_stream<u16>
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 4512
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $4
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $6
|
|
local.get $1
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load16_u
|
|
call $~lib/util/number/itoa_stream<u16>
|
|
local.get $0
|
|
i32.add
|
|
local.tee $0
|
|
i32.gt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/util/number/decimalCount64 (; 189 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32)
|
|
i32.const 11
|
|
i32.const 12
|
|
local.get $0
|
|
i64.const 100000000000
|
|
i64.lt_u
|
|
select
|
|
i32.const 13
|
|
i32.const 14
|
|
i32.const 15
|
|
local.get $0
|
|
i64.const 100000000000000
|
|
i64.lt_u
|
|
select
|
|
local.get $0
|
|
i64.const 10000000000000
|
|
i64.lt_u
|
|
select
|
|
local.get $0
|
|
i64.const 1000000000000
|
|
i64.lt_u
|
|
select
|
|
i32.const 16
|
|
i32.const 17
|
|
local.get $0
|
|
i64.const 10000000000000000
|
|
i64.lt_u
|
|
select
|
|
i32.const 18
|
|
i32.const 19
|
|
i32.const 20
|
|
local.get $0
|
|
i64.const -8446744073709551616
|
|
i64.lt_u
|
|
select
|
|
local.get $0
|
|
i64.const 1000000000000000000
|
|
i64.lt_u
|
|
select
|
|
local.get $0
|
|
i64.const 100000000000000000
|
|
i64.lt_u
|
|
select
|
|
local.get $0
|
|
i64.const 1000000000000000
|
|
i64.lt_u
|
|
select
|
|
)
|
|
(func $~lib/util/number/utoa_simple<u64> (; 190 ;) (type $FUNCSIG$viji) (param $0 i32) (param $1 i64) (param $2 i32)
|
|
(local $3 i64)
|
|
loop $continue|0
|
|
local.get $1
|
|
i64.const 10
|
|
i64.div_u
|
|
local.set $3
|
|
local.get $2
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.get $1
|
|
i64.const 10
|
|
i64.rem_u
|
|
i32.wrap_i64
|
|
i32.const 48
|
|
i32.add
|
|
i32.store16
|
|
local.get $3
|
|
local.tee $1
|
|
i64.const 0
|
|
i64.ne
|
|
br_if $continue|0
|
|
end
|
|
)
|
|
(func $~lib/util/number/utoa64 (; 191 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i64.eqz
|
|
if
|
|
i32.const 4608
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
local.get $0
|
|
i64.const 4294967295
|
|
i64.le_u
|
|
if
|
|
local.get $0
|
|
i32.wrap_i64
|
|
local.tee $1
|
|
call $~lib/util/number/decimalCount32
|
|
local.tee $3
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $2
|
|
local.get $1
|
|
local.get $3
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
else
|
|
local.get $0
|
|
call $~lib/util/number/decimalCount64
|
|
local.tee $1
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $2
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/util/number/utoa_simple<u64>
|
|
end
|
|
local.get $2
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/util/number/itoa_stream<u64> (; 192 ;) (type $FUNCSIG$iiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i32)
|
|
(local $3 i32)
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i64.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $2
|
|
i64.const 4294967295
|
|
i64.le_u
|
|
if
|
|
local.get $2
|
|
i32.wrap_i64
|
|
local.tee $3
|
|
call $~lib/util/number/decimalCount32
|
|
local.set $1
|
|
local.get $0
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
else
|
|
local.get $0
|
|
local.get $2
|
|
local.get $2
|
|
call $~lib/util/number/decimalCount64
|
|
local.tee $1
|
|
call $~lib/util/number/utoa_simple<u64>
|
|
end
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<u64>#join_int (; 193 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $3
|
|
i64.load
|
|
call $~lib/util/number/utoa64
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.tee $4
|
|
i32.const 20
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 20
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $5
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i64.load
|
|
call $~lib/util/number/itoa_stream<u64>
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 4512
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $4
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $6
|
|
local.get $1
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i64.load
|
|
call $~lib/util/number/itoa_stream<u64>
|
|
local.get $0
|
|
i32.add
|
|
local.tee $0
|
|
i32.gt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/util/number/itoa64 (; 194 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $0
|
|
i64.eqz
|
|
if
|
|
i32.const 4608
|
|
call $~lib/rt/pure/__retain
|
|
return
|
|
end
|
|
block (result i32)
|
|
local.get $0
|
|
i64.const 0
|
|
i64.lt_s
|
|
local.tee $1
|
|
if
|
|
i64.const 0
|
|
local.get $0
|
|
i64.sub
|
|
local.set $0
|
|
end
|
|
local.get $0
|
|
i64.const 4294967295
|
|
i64.le_u
|
|
end
|
|
if
|
|
local.get $0
|
|
i32.wrap_i64
|
|
local.tee $2
|
|
call $~lib/util/number/decimalCount32
|
|
local.get $1
|
|
i32.add
|
|
local.tee $4
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $3
|
|
local.get $2
|
|
local.get $4
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
else
|
|
local.get $0
|
|
call $~lib/util/number/decimalCount64
|
|
local.get $1
|
|
i32.add
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
local.tee $3
|
|
local.get $0
|
|
local.get $2
|
|
call $~lib/util/number/utoa_simple<u64>
|
|
end
|
|
local.get $1
|
|
if
|
|
local.get $3
|
|
i32.const 45
|
|
i32.store16
|
|
end
|
|
local.get $3
|
|
call $~lib/rt/pure/__retain
|
|
)
|
|
(func $~lib/util/number/itoa_stream<i64> (; 195 ;) (type $FUNCSIG$iiij) (param $0 i32) (param $1 i32) (param $2 i64) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i64.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16
|
|
i32.const 1
|
|
return
|
|
end
|
|
block (result i32)
|
|
local.get $2
|
|
i64.const 0
|
|
i64.lt_s
|
|
local.tee $1
|
|
if
|
|
i64.const 0
|
|
local.get $2
|
|
i64.sub
|
|
local.set $2
|
|
end
|
|
local.get $2
|
|
i64.const 4294967295
|
|
i64.le_u
|
|
end
|
|
if
|
|
local.get $2
|
|
i32.wrap_i64
|
|
local.tee $4
|
|
call $~lib/util/number/decimalCount32
|
|
local.get $1
|
|
i32.add
|
|
local.set $3
|
|
local.get $0
|
|
local.get $4
|
|
local.get $3
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
else
|
|
local.get $0
|
|
local.get $2
|
|
local.get $2
|
|
call $~lib/util/number/decimalCount64
|
|
local.get $1
|
|
i32.add
|
|
local.tee $3
|
|
call $~lib/util/number/utoa_simple<u64>
|
|
end
|
|
local.get $1
|
|
if
|
|
local.get $0
|
|
i32.const 45
|
|
i32.store16
|
|
end
|
|
local.get $3
|
|
)
|
|
(func $~lib/array/Array<i64>#join_int (; 196 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $3
|
|
i64.load
|
|
call $~lib/util/number/itoa64
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.tee $4
|
|
i32.const 21
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 21
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $5
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
local.get $5
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i64.load
|
|
call $~lib/util/number/itoa_stream<i64>
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 4512
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $4
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $6
|
|
local.get $1
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 3
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i64.load
|
|
call $~lib/util/number/itoa_stream<i64>
|
|
local.get $0
|
|
i32.add
|
|
local.tee $0
|
|
i32.gt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<~lib/string/String | null>#toString (; 197 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
local.get $0
|
|
i32.const 4512
|
|
call $~lib/array/Array<~lib/string/String>#join
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<i32>>#join_arr (; 198 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.set $6
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
i32.const 0
|
|
local.set $0
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
local.get $3
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 4512
|
|
call $~lib/array/Array<i32>#join
|
|
else
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
end
|
|
local.set $2
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
return
|
|
end
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
local.get $0
|
|
i32.const 4512
|
|
call $~lib/array/Array<i32>#join
|
|
local.tee $5
|
|
call $~lib/string/String.__concat
|
|
local.tee $7
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $7
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
local.get $6
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
i32.const 4512
|
|
call $~lib/string/String.__concat
|
|
local.tee $5
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
local.get $0
|
|
i32.const 4512
|
|
call $~lib/array/Array<i32>#join
|
|
local.tee $2
|
|
call $~lib/string/String.__concat
|
|
local.tee $3
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/util/number/itoa_stream<u8> (; 199 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
local.get $1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $2
|
|
i32.const 255
|
|
i32.and
|
|
i32.eqz
|
|
if
|
|
local.get $0
|
|
i32.const 48
|
|
i32.store16
|
|
i32.const 1
|
|
return
|
|
end
|
|
local.get $2
|
|
i32.const 255
|
|
i32.and
|
|
local.tee $2
|
|
call $~lib/util/number/decimalCount32
|
|
local.set $1
|
|
local.get $0
|
|
local.get $2
|
|
local.get $1
|
|
call $~lib/util/number/utoa_simple<u32>
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<u8>#join_int (; 200 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
local.get $3
|
|
i32.load8_u
|
|
call $~lib/util/number/utoa32
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.tee $4
|
|
i32.const 10
|
|
i32.add
|
|
local.get $2
|
|
i32.mul
|
|
i32.const 10
|
|
i32.add
|
|
local.tee $6
|
|
i32.const 1
|
|
i32.shl
|
|
i32.const 1
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 0
|
|
local.set $0
|
|
loop $repeat|0
|
|
local.get $5
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
local.get $3
|
|
local.get $5
|
|
i32.add
|
|
i32.load8_u
|
|
call $~lib/util/number/itoa_stream<u8>
|
|
local.get $0
|
|
i32.add
|
|
local.set $0
|
|
local.get $4
|
|
if
|
|
local.get $0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get $1
|
|
i32.add
|
|
i32.const 4512
|
|
local.get $4
|
|
i32.const 1
|
|
i32.shl
|
|
call $~lib/memory/memory.copy
|
|
local.get $0
|
|
local.get $4
|
|
i32.add
|
|
local.set $0
|
|
end
|
|
local.get $5
|
|
i32.const 1
|
|
i32.add
|
|
local.set $5
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $6
|
|
local.get $1
|
|
local.get $0
|
|
local.get $2
|
|
local.get $3
|
|
i32.add
|
|
i32.load8_u
|
|
call $~lib/util/number/itoa_stream<u8>
|
|
local.get $0
|
|
i32.add
|
|
local.tee $0
|
|
i32.gt_s
|
|
if
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/string/String#substring
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<u8>#join (; 201 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
call $~lib/array/Array<u8>#join_int
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<u8>>#join_arr (; 202 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.set $6
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
i32.const 0
|
|
local.set $0
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
local.get $3
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if (result i32)
|
|
local.get $0
|
|
call $~lib/array/Array<u8>#join
|
|
else
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
end
|
|
local.set $2
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
return
|
|
end
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/array/Array<u8>#join
|
|
local.tee $5
|
|
call $~lib/string/String.__concat
|
|
local.tee $7
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $7
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
local.get $6
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
i32.const 4512
|
|
call $~lib/string/String.__concat
|
|
local.tee $5
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/array/Array<u8>#join
|
|
local.tee $2
|
|
call $~lib/string/String.__concat
|
|
local.tee $3
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<u32>>#join_arr (; 203 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.set $6
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
i32.const 0
|
|
local.set $0
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
local.get $3
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if (result i32)
|
|
local.get $0
|
|
i32.const 4512
|
|
call $~lib/array/Array<u32>#join
|
|
else
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
end
|
|
local.set $2
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
return
|
|
end
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
local.get $0
|
|
i32.const 4512
|
|
call $~lib/array/Array<u32>#join
|
|
local.tee $5
|
|
call $~lib/string/String.__concat
|
|
local.tee $7
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $7
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
local.get $6
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
i32.const 4512
|
|
call $~lib/string/String.__concat
|
|
local.tee $5
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
local.get $0
|
|
i32.const 4512
|
|
call $~lib/array/Array<u32>#join
|
|
local.tee $2
|
|
call $~lib/string/String.__concat
|
|
local.tee $3
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<u32>>#join (; 204 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
call $~lib/array/Array<~lib/array/Array<u32>>#join_arr
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<~lib/array/Array<u32>>>#join_arr (; 205 ;) (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)
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.sub
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.lt_s
|
|
if
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
return
|
|
end
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
local.set $1
|
|
i32.const 4512
|
|
call $~lib/string/String#get:length
|
|
local.set $6
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.set $3
|
|
i32.const 0
|
|
local.set $0
|
|
local.get $2
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
local.get $3
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if (result i32)
|
|
local.get $0
|
|
call $~lib/array/Array<~lib/array/Array<u32>>#join
|
|
else
|
|
i32.const 4248
|
|
call $~lib/rt/pure/__retain
|
|
end
|
|
local.set $2
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
return
|
|
end
|
|
loop $repeat|0
|
|
local.get $4
|
|
local.get $2
|
|
i32.lt_s
|
|
if
|
|
local.get $0
|
|
local.get $4
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/array/Array<~lib/array/Array<u32>>#join
|
|
local.tee $5
|
|
call $~lib/string/String.__concat
|
|
local.tee $7
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $7
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
local.get $6
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
i32.const 4512
|
|
call $~lib/string/String.__concat
|
|
local.tee $5
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
local.get $4
|
|
i32.const 1
|
|
i32.add
|
|
local.set $4
|
|
br $repeat|0
|
|
end
|
|
end
|
|
local.get $0
|
|
local.get $2
|
|
i32.const 2
|
|
i32.shl
|
|
local.get $3
|
|
i32.add
|
|
i32.load
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
if
|
|
local.get $1
|
|
local.get $1
|
|
local.get $0
|
|
call $~lib/array/Array<~lib/array/Array<u32>>#join
|
|
local.tee $2
|
|
call $~lib/string/String.__concat
|
|
local.tee $3
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.set $1
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
end
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
)
|
|
(func $start:std/array (; 206 ;) (type $FUNCSIG$v)
|
|
(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)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
(local $15 i32)
|
|
(local $16 i32)
|
|
(local $17 i32)
|
|
(local $18 i32)
|
|
(local $19 i32)
|
|
(local $20 i32)
|
|
(local $21 i32)
|
|
(local $22 i32)
|
|
(local $23 i32)
|
|
(local $24 i32)
|
|
(local $25 i32)
|
|
(local $26 i32)
|
|
(local $27 i32)
|
|
(local $28 i32)
|
|
(local $29 i32)
|
|
(local $30 i32)
|
|
(local $31 i32)
|
|
(local $32 i32)
|
|
(local $33 i32)
|
|
(local $34 i32)
|
|
(local $35 i32)
|
|
(local $36 i32)
|
|
(local $37 i32)
|
|
(local $38 i32)
|
|
(local $39 i32)
|
|
(local $40 i32)
|
|
(local $41 i32)
|
|
(local $42 i32)
|
|
(local $43 i32)
|
|
(local $44 i32)
|
|
(local $45 i32)
|
|
(local $46 i32)
|
|
(local $47 i32)
|
|
(local $48 i32)
|
|
(local $49 i32)
|
|
(local $50 i32)
|
|
(local $51 i32)
|
|
(local $52 i32)
|
|
call $~lib/array/Array<i32>#constructor
|
|
global.set $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array.isArray<~lib/array/Array<i32> | null>
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 37
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array.isArray<~lib/array/Array<i32> | null>
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 38
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
i32.const 4
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
local.set $1
|
|
local.get $0
|
|
call $~lib/array/Array.isArray<std/array/P>
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 39
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 12
|
|
i32.const 5
|
|
call $~lib/rt/tlsf/__alloc
|
|
call $~lib/rt/pure/__retain
|
|
i32.const 1
|
|
i32.const 0
|
|
call $~lib/arraybuffer/ArrayBufferView#constructor
|
|
local.tee $3
|
|
local.set $0
|
|
local.get $3
|
|
call $~lib/array/Array.isArray<std/array/P>
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 40
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 416
|
|
call $~lib/array/Array.isArray<std/array/P>
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 42
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 5
|
|
i32.const 0
|
|
i32.const 6
|
|
i32.const 440
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $6
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 3
|
|
call $~lib/array/Array<u8>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 0
|
|
i32.const 6
|
|
i32.const 464
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $4
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 50
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<u8>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 0
|
|
i32.const 6
|
|
i32.const 536
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $5
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 53
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.const 0
|
|
i32.const -3
|
|
call $~lib/array/Array<u8>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 0
|
|
i32.const 6
|
|
i32.const 560
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $1
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 56
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 2
|
|
i32.const -2
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<u8>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 0
|
|
i32.const 6
|
|
i32.const 584
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $3
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 59
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.const 0
|
|
call $~lib/array/Array<u8>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 0
|
|
i32.const 6
|
|
i32.const 608
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
call $std/array/isArraysEqual<u8>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 62
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $6
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 632
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $6
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $2
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 3
|
|
call $~lib/array/Array<u32>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 672
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $4
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 69
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<u32>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 712
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $5
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 72
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 1
|
|
i32.const 0
|
|
i32.const -3
|
|
call $~lib/array/Array<u32>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 752
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $1
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 75
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 2
|
|
i32.const -2
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<u32>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 792
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $3
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 78
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $2
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#fill
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 832
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 81
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $6
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 87
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 88
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 42
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 92
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 93
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 94
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 98
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 99
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 100
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 104
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 105
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 106
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 44
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 110
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 111
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 112
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 113
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 45
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 117
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 118
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 119
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 120
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 121
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
call $~lib/array/Array<i32>#constructor
|
|
local.set $4
|
|
global.get $std/array/arr
|
|
local.get $4
|
|
call $~lib/array/Array<i32>#concat
|
|
local.set $0
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 130
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 131
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 132
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 920
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $1
|
|
call $~lib/array/Array<i32>#concat
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 135
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 137
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 138
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 2
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 139
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $4
|
|
i32.const 46
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $4
|
|
i32.const 47
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $0
|
|
global.get $std/array/arr
|
|
local.get $4
|
|
call $~lib/array/Array<i32>#concat
|
|
call $~lib/rt/pure/__skippedRelease
|
|
local.set $0
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 146
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $4
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 147
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 148
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 149
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 150
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 2
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 151
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 3
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 46
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 152
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 4
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 47
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 153
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $0
|
|
i32.load offset=12
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 156
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#concat
|
|
call $~lib/rt/pure/__skippedRelease
|
|
local.tee $0
|
|
i32.load offset=12
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 159
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 2
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 160
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 936
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $3
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $5
|
|
i32.load offset=12
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 163
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $5
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#concat
|
|
call $~lib/rt/pure/__skippedRelease
|
|
local.tee $0
|
|
i32.load offset=12
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 165
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $5
|
|
i32.load offset=12
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 166
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 952
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $29
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.const 3
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $30
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 992
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $31
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 174
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1032
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $32
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 1
|
|
i32.const 3
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $33
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1072
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $34
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 176
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1112
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $35
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $36
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1152
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $7
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 178
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1192
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $10
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $15
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1232
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $16
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 180
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1272
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $17
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.const 3
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $18
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1312
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $19
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 182
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1352
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $20
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 1
|
|
i32.const 3
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $21
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1392
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $22
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 184
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1432
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $23
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $24
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1472
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $28
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 186
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1512
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $9
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.const -2
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $11
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1552
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $12
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 188
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1592
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $13
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.const -2
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $14
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1632
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $25
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 190
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1672
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $26
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const -4
|
|
i32.const -3
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $8
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1712
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $27
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 192
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1752
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $2
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const -4
|
|
i32.const -3
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $6
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1792
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $4
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 194
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1832
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $5
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $1
|
|
i32.const -4
|
|
i32.const -3
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#copyWithin
|
|
local.tee $3
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1872
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 196
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $29
|
|
call $~lib/rt/pure/__release
|
|
local.get $30
|
|
call $~lib/rt/pure/__release
|
|
local.get $31
|
|
call $~lib/rt/pure/__release
|
|
local.get $32
|
|
call $~lib/rt/pure/__release
|
|
local.get $33
|
|
call $~lib/rt/pure/__release
|
|
local.get $34
|
|
call $~lib/rt/pure/__release
|
|
local.get $35
|
|
call $~lib/rt/pure/__release
|
|
local.get $36
|
|
call $~lib/rt/pure/__release
|
|
local.get $7
|
|
call $~lib/rt/pure/__release
|
|
local.get $10
|
|
call $~lib/rt/pure/__release
|
|
local.get $15
|
|
call $~lib/rt/pure/__release
|
|
local.get $16
|
|
call $~lib/rt/pure/__release
|
|
local.get $17
|
|
call $~lib/rt/pure/__release
|
|
local.get $18
|
|
call $~lib/rt/pure/__release
|
|
local.get $19
|
|
call $~lib/rt/pure/__release
|
|
local.get $20
|
|
call $~lib/rt/pure/__release
|
|
local.get $21
|
|
call $~lib/rt/pure/__release
|
|
local.get $22
|
|
call $~lib/rt/pure/__release
|
|
local.get $23
|
|
call $~lib/rt/pure/__release
|
|
local.get $24
|
|
call $~lib/rt/pure/__release
|
|
local.get $28
|
|
call $~lib/rt/pure/__release
|
|
local.get $9
|
|
call $~lib/rt/pure/__release
|
|
local.get $11
|
|
call $~lib/rt/pure/__release
|
|
local.get $12
|
|
call $~lib/rt/pure/__release
|
|
local.get $13
|
|
call $~lib/rt/pure/__release
|
|
local.get $14
|
|
call $~lib/rt/pure/__release
|
|
local.get $25
|
|
call $~lib/rt/pure/__release
|
|
local.get $26
|
|
call $~lib/rt/pure/__release
|
|
local.get $8
|
|
call $~lib/rt/pure/__release
|
|
local.get $27
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $6
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/arr
|
|
i32.const 42
|
|
call $~lib/array/Array<i32>#unshift
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 204
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 205
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 206
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 207
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 208
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 209
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 41
|
|
call $~lib/array/Array<i32>#unshift
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 213
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 214
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 41
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 215
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 216
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 217
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 218
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 4
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 219
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#shift
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 41
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 228
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 229
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 230
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 231
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 232
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 233
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 234
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 45
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 238
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 239
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 240
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 241
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 242
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 243
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#reverse
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 251
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 252
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 253
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 43
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 254
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 255
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 44
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 44
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 265
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 42
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 268
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 45
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 271
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 274
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const -100
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 277
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 280
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const -4
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 283
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 286
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 289
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#indexOf
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 3
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 292
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 44
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 299
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 42
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 302
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 45
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#includes
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 305
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 100
|
|
call $~lib/array/Array<i32>#includes
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 308
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const -100
|
|
call $~lib/array/Array<i32>#includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 311
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 314
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const -4
|
|
call $~lib/array/Array<i32>#includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 317
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 320
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 323
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#includes
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 326
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 330
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $std/array/internalCapacity<i32>
|
|
i32.const 5
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 331
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 44
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 332
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<u32>#__get
|
|
i32.const 42
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 333
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1912
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $38
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $39
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1952
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $40
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 340
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 1992
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $41
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 341
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2008
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $42
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 2
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $43
|
|
i32.const 3
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2048
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $44
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 344
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2080
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $45
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 345
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2104
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $46
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 2
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $47
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2144
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $48
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 348
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 3
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2168
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $49
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 349
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2200
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $50
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 0
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $51
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2240
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $52
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 352
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 4
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2264
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $29
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 353
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2296
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $30
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const -1
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $31
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2336
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $32
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 356
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 4
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2360
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $33
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 357
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2392
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $34
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const -2
|
|
i32.const 2147483647
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $35
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2432
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $36
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 360
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 3
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2456
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $7
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 361
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2488
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $10
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const -2
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $15
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2528
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $16
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 364
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 4
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2552
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $17
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 365
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2584
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $18
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const -7
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $19
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2624
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $20
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 368
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 4
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2648
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $21
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 369
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2680
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $22
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const -2
|
|
i32.const -1
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $23
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2720
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $24
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 372
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2736
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $28
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 373
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2776
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $9
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 1
|
|
i32.const -2
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $11
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2816
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $12
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 376
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2832
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $13
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 377
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2872
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $14
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 4
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $25
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2912
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $26
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 380
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2928
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $8
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 381
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 2968
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $27
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $0
|
|
i32.const 7
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $2
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3008
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $6
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 384
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3024
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $4
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 385
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3064
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $5
|
|
call $~lib/rt/pure/__retainRelease
|
|
local.tee $37
|
|
i32.const 7
|
|
i32.const 5
|
|
call $~lib/array/Array<i32>#splice
|
|
local.tee $1
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3104
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $3
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 388
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $37
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3120
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 389
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $38
|
|
call $~lib/rt/pure/__release
|
|
local.get $37
|
|
call $~lib/rt/pure/__release
|
|
local.get $39
|
|
call $~lib/rt/pure/__release
|
|
local.get $40
|
|
call $~lib/rt/pure/__release
|
|
local.get $41
|
|
call $~lib/rt/pure/__release
|
|
local.get $42
|
|
call $~lib/rt/pure/__release
|
|
local.get $43
|
|
call $~lib/rt/pure/__release
|
|
local.get $44
|
|
call $~lib/rt/pure/__release
|
|
local.get $45
|
|
call $~lib/rt/pure/__release
|
|
local.get $46
|
|
call $~lib/rt/pure/__release
|
|
local.get $47
|
|
call $~lib/rt/pure/__release
|
|
local.get $48
|
|
call $~lib/rt/pure/__release
|
|
local.get $49
|
|
call $~lib/rt/pure/__release
|
|
local.get $50
|
|
call $~lib/rt/pure/__release
|
|
local.get $51
|
|
call $~lib/rt/pure/__release
|
|
local.get $52
|
|
call $~lib/rt/pure/__release
|
|
local.get $29
|
|
call $~lib/rt/pure/__release
|
|
local.get $30
|
|
call $~lib/rt/pure/__release
|
|
local.get $31
|
|
call $~lib/rt/pure/__release
|
|
local.get $32
|
|
call $~lib/rt/pure/__release
|
|
local.get $33
|
|
call $~lib/rt/pure/__release
|
|
local.get $34
|
|
call $~lib/rt/pure/__release
|
|
local.get $35
|
|
call $~lib/rt/pure/__release
|
|
local.get $36
|
|
call $~lib/rt/pure/__release
|
|
local.get $7
|
|
call $~lib/rt/pure/__release
|
|
local.get $10
|
|
call $~lib/rt/pure/__release
|
|
local.get $15
|
|
call $~lib/rt/pure/__release
|
|
local.get $16
|
|
call $~lib/rt/pure/__release
|
|
local.get $17
|
|
call $~lib/rt/pure/__release
|
|
local.get $18
|
|
call $~lib/rt/pure/__release
|
|
local.get $19
|
|
call $~lib/rt/pure/__release
|
|
local.get $20
|
|
call $~lib/rt/pure/__release
|
|
local.get $21
|
|
call $~lib/rt/pure/__release
|
|
local.get $22
|
|
call $~lib/rt/pure/__release
|
|
local.get $23
|
|
call $~lib/rt/pure/__release
|
|
local.get $24
|
|
call $~lib/rt/pure/__release
|
|
local.get $28
|
|
call $~lib/rt/pure/__release
|
|
local.get $9
|
|
call $~lib/rt/pure/__release
|
|
local.get $11
|
|
call $~lib/rt/pure/__release
|
|
local.get $12
|
|
call $~lib/rt/pure/__release
|
|
local.get $13
|
|
call $~lib/rt/pure/__release
|
|
local.get $14
|
|
call $~lib/rt/pure/__release
|
|
local.get $25
|
|
call $~lib/rt/pure/__release
|
|
local.get $26
|
|
call $~lib/rt/pure/__release
|
|
local.get $8
|
|
call $~lib/rt/pure/__release
|
|
local.get $27
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $6
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#__set
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#__set
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#__set
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#__set
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 402
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 405
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 408
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 416
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 417
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 5
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.eq
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 419
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 6
|
|
call $~lib/array/Array<i32>#findIndex
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const -1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 432
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 433
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 7
|
|
call $~lib/array/Array<i32>#every
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 443
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 8
|
|
call $~lib/array/Array<i32>#every
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 446
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 9
|
|
call $~lib/array/Array<i32>#every
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 454
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 455
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 10
|
|
call $~lib/array/Array<i32>#every
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 457
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 11
|
|
call $~lib/array/Array<i32>#every
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 470
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 471
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 12
|
|
call $~lib/array/Array<i32>#some
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 481
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 13
|
|
call $~lib/array/Array<i32>#some
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 484
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 14
|
|
call $~lib/array/Array<i32>#some
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 492
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 493
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 15
|
|
call $~lib/array/Array<i32>#some
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 495
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 16
|
|
call $~lib/array/Array<i32>#some
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 508
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 509
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 17
|
|
call $~lib/array/Array<i32>#forEach
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 520
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 18
|
|
call $~lib/array/Array<i32>#forEach
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 529
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 530
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 19
|
|
call $~lib/array/Array<i32>#forEach
|
|
global.get $std/array/i
|
|
i32.const 406
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 533
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 20
|
|
call $~lib/array/Array<i32>#forEach
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 547
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 548
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 21
|
|
call $~lib/array/Array<i32>#forEach
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 100
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 573
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
local.set $1
|
|
loop $repeat|0
|
|
local.get $1
|
|
i32.const 100
|
|
i32.lt_s
|
|
if
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
local.set $1
|
|
br $repeat|0
|
|
end
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#map<f32>
|
|
local.tee $0
|
|
i32.load offset=12
|
|
i32.const 4
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 587
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.const 0
|
|
call $~lib/array/Array<f32>#__get
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<u32>#__get
|
|
f32.convert_i32_s
|
|
f32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 588
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 23
|
|
call $~lib/array/Array<i32>#map<i32>
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 597
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 598
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 24
|
|
call $~lib/array/Array<i32>#map<i32>
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/i
|
|
i32.const 406
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 605
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 25
|
|
call $~lib/array/Array<i32>#map<i32>
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 620
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 621
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/arr
|
|
i32.const 26
|
|
call $~lib/array/Array<i32>#filter
|
|
local.tee $0
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 631
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 27
|
|
call $~lib/array/Array<i32>#filter
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 640
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 641
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 28
|
|
call $~lib/array/Array<i32>#filter
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/i
|
|
i32.const 406
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 648
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
i32.const 0
|
|
global.set $std/array/i
|
|
global.get $std/array/arr
|
|
i32.const 29
|
|
call $~lib/array/Array<i32>#filter
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 663
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 664
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/arr
|
|
i32.const 30
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 674
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 31
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 678
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 32
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
i32.const 0
|
|
i32.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 681
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 33
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 684
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 34
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 692
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 693
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 35
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 695
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 36
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduce<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 708
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 2
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 709
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 37
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 719
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 38
|
|
i32.const 4
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 723
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 39
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
i32.const 0
|
|
i32.ne
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 726
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 40
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 729
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 41
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 737
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
i32.const 8
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 738
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 42
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 10
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 740
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
call $~lib/array/Array<i32>#pop
|
|
drop
|
|
global.get $std/array/arr
|
|
i32.const 43
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#reduceRight<i32>
|
|
global.set $std/array/i
|
|
global.get $std/array/i
|
|
i32.const 6
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 753
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.load offset=12
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 754
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
global.get $std/array/arr
|
|
i32.const 0
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 1
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 2
|
|
call $~lib/array/Array<i32>#push
|
|
global.get $std/array/arr
|
|
i32.const 3
|
|
call $~lib/array/Array<i32>#push
|
|
call $~lib/bindings/Math/random
|
|
i64.reinterpret_f64
|
|
call $~lib/math/NativeMath.seedRandom
|
|
i32.const 8
|
|
i32.const 2
|
|
i32.const 8
|
|
i32.const 3392
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $11
|
|
call $~lib/rt/pure/__retain
|
|
local.set $10
|
|
i32.const 0
|
|
global.set $~lib/argc
|
|
i32.const 0
|
|
local.set $1
|
|
block $1of1
|
|
block $0of1
|
|
block $outOfRange
|
|
global.get $~lib/argc
|
|
br_table $0of1 $1of1 $outOfRange
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 44
|
|
local.set $1
|
|
end
|
|
local.get $10
|
|
local.get $1
|
|
call $~lib/array/Array<f32>#sort
|
|
call $~lib/rt/pure/__release
|
|
local.get $10
|
|
i32.const 8
|
|
i32.const 2
|
|
i32.const 8
|
|
i32.const 3440
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $12
|
|
call $std/array/isArraysEqual<f32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 843
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 8
|
|
i32.const 3
|
|
i32.const 9
|
|
i32.const 3488
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $13
|
|
call $~lib/rt/pure/__retain
|
|
local.set $15
|
|
i32.const 0
|
|
global.set $~lib/argc
|
|
i32.const 0
|
|
local.set $1
|
|
block $1of139
|
|
block $0of140
|
|
block $outOfRange41
|
|
global.get $~lib/argc
|
|
br_table $0of140 $1of139 $outOfRange41
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 45
|
|
local.set $1
|
|
end
|
|
local.get $15
|
|
local.get $1
|
|
call $~lib/array/Array<f64>#sort
|
|
call $~lib/rt/pure/__release
|
|
local.get $15
|
|
i32.const 8
|
|
i32.const 3
|
|
i32.const 9
|
|
i32.const 3568
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $14
|
|
call $std/array/isArraysEqual<f64>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 847
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3648
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $25
|
|
call $~lib/rt/pure/__retain
|
|
local.set $16
|
|
i32.const 0
|
|
global.set $~lib/argc
|
|
i32.const 0
|
|
local.set $1
|
|
block $1of142
|
|
block $0of143
|
|
block $outOfRange44
|
|
global.get $~lib/argc
|
|
br_table $0of143 $1of142 $outOfRange44
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 46
|
|
local.set $1
|
|
end
|
|
local.get $16
|
|
local.get $1
|
|
call $~lib/array/Array<i32>#sort
|
|
call $~lib/rt/pure/__release
|
|
local.get $16
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3688
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $26
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 851
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 3728
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $8
|
|
call $~lib/rt/pure/__retain
|
|
local.set $17
|
|
i32.const 0
|
|
global.set $~lib/argc
|
|
i32.const 0
|
|
local.set $6
|
|
block $1of145
|
|
block $0of146
|
|
block $outOfRange47
|
|
global.get $~lib/argc
|
|
br_table $0of146 $1of145 $outOfRange47
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 47
|
|
local.set $6
|
|
end
|
|
local.get $17
|
|
local.get $6
|
|
call $~lib/array/Array<i32>#sort
|
|
call $~lib/rt/pure/__release
|
|
local.get $17
|
|
i32.const 5
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 3768
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $27
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 855
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3808
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $2
|
|
call $~lib/rt/pure/__retain
|
|
local.set $28
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3824
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $6
|
|
call $~lib/rt/pure/__retain
|
|
local.set $18
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3848
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $4
|
|
call $~lib/rt/pure/__retain
|
|
local.set $19
|
|
i32.const 4
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3872
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $5
|
|
call $~lib/rt/pure/__retain
|
|
local.set $20
|
|
i32.const 4
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3904
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $1
|
|
call $~lib/rt/pure/__retain
|
|
local.set $7
|
|
i32.const 64
|
|
call $std/array/createReverseOrderedArray
|
|
local.set $21
|
|
i32.const 128
|
|
call $std/array/createReverseOrderedArray
|
|
local.set $22
|
|
i32.const 1024
|
|
call $std/array/createReverseOrderedArray
|
|
local.set $23
|
|
i32.const 10000
|
|
call $std/array/createReverseOrderedArray
|
|
local.set $24
|
|
i32.const 512
|
|
call $std/array/createRandomOrderedArray
|
|
local.set $9
|
|
local.get $28
|
|
call $std/array/assertSortedDefault<i32>
|
|
local.get $18
|
|
call $std/array/assertSortedDefault<i32>
|
|
local.get $18
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 3992
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $3
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 875
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $19
|
|
call $std/array/assertSortedDefault<i32>
|
|
local.get $19
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 4016
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 878
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $20
|
|
call $std/array/assertSortedDefault<i32>
|
|
local.get $20
|
|
local.get $7
|
|
i32.const 0
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 881
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $21
|
|
call $std/array/assertSortedDefault<i32>
|
|
local.get $21
|
|
local.get $7
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 884
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $22
|
|
call $std/array/assertSortedDefault<i32>
|
|
local.get $22
|
|
local.get $7
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 887
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $23
|
|
call $std/array/assertSortedDefault<i32>
|
|
local.get $23
|
|
local.get $7
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 890
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $24
|
|
call $std/array/assertSortedDefault<i32>
|
|
local.get $24
|
|
local.get $7
|
|
i32.const 4
|
|
call $std/array/isArraysEqual<u32>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 893
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $9
|
|
call $std/array/assertSortedDefault<i32>
|
|
local.get $11
|
|
call $~lib/rt/pure/__release
|
|
local.get $10
|
|
call $~lib/rt/pure/__release
|
|
local.get $12
|
|
call $~lib/rt/pure/__release
|
|
local.get $13
|
|
call $~lib/rt/pure/__release
|
|
local.get $15
|
|
call $~lib/rt/pure/__release
|
|
local.get $14
|
|
call $~lib/rt/pure/__release
|
|
local.get $25
|
|
call $~lib/rt/pure/__release
|
|
local.get $16
|
|
call $~lib/rt/pure/__release
|
|
local.get $26
|
|
call $~lib/rt/pure/__release
|
|
local.get $8
|
|
call $~lib/rt/pure/__release
|
|
local.get $17
|
|
call $~lib/rt/pure/__release
|
|
local.get $27
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $28
|
|
call $~lib/rt/pure/__release
|
|
local.get $6
|
|
call $~lib/rt/pure/__release
|
|
local.get $18
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $19
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $20
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $7
|
|
call $~lib/rt/pure/__release
|
|
local.get $21
|
|
call $~lib/rt/pure/__release
|
|
local.get $22
|
|
call $~lib/rt/pure/__release
|
|
local.get $23
|
|
call $~lib/rt/pure/__release
|
|
local.get $24
|
|
call $~lib/rt/pure/__release
|
|
local.get $9
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 64
|
|
call $std/array/createRandomOrderedArray
|
|
local.set $3
|
|
i32.const 257
|
|
call $std/array/createRandomOrderedArray
|
|
local.set $0
|
|
local.get $3
|
|
i32.const 49
|
|
call $std/array/assertSorted<i32>
|
|
local.get $3
|
|
i32.const 50
|
|
call $std/array/assertSorted<i32>
|
|
local.get $0
|
|
i32.const 51
|
|
call $std/array/assertSorted<i32>
|
|
local.get $0
|
|
i32.const 52
|
|
call $std/array/assertSorted<i32>
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
call $std/array/createReverseOrderedNestedArray
|
|
local.tee $0
|
|
i32.const 53
|
|
call $std/array/assertSorted<~lib/array/Array<i32>>
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
call $std/array/createReverseOrderedElementsArray
|
|
local.tee $0
|
|
i32.const 54
|
|
call $std/array/assertSorted<~lib/array/Array<i32>>
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
i32.const 7
|
|
i32.const 2
|
|
i32.const 13
|
|
i32.const 4264
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $3
|
|
call $~lib/rt/pure/__retain
|
|
local.set $4
|
|
i32.const 7
|
|
i32.const 2
|
|
i32.const 13
|
|
i32.const 4312
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
local.set $5
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
i32.const 0
|
|
local.set $1
|
|
block $1of148
|
|
block $0of149
|
|
block $outOfRange50
|
|
global.get $~lib/argc
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $0of149 $1of148 $outOfRange50
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 55
|
|
local.set $1
|
|
end
|
|
local.get $4
|
|
local.get $1
|
|
call $std/array/assertSorted<~lib/string/String | null>
|
|
local.get $4
|
|
local.get $5
|
|
call $std/array/isArraysEqual<~lib/string/String | null>
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 930
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
call $std/array/createRandomStringArray
|
|
local.set $1
|
|
i32.const 1
|
|
global.set $~lib/argc
|
|
i32.const 0
|
|
local.set $6
|
|
block $1of151
|
|
block $0of152
|
|
block $outOfRange53
|
|
global.get $~lib/argc
|
|
i32.const 1
|
|
i32.sub
|
|
br_table $0of152 $1of151 $outOfRange53
|
|
end
|
|
unreachable
|
|
end
|
|
i32.const 56
|
|
local.set $6
|
|
end
|
|
local.get $1
|
|
local.get $6
|
|
call $std/array/assertSorted<~lib/array/Array<i32>>
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 2
|
|
i32.const 0
|
|
i32.const 15
|
|
i32.const 4432
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.set $9
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $9
|
|
call $~lib/array/Array<bool>#join_bool
|
|
local.set $11
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $11
|
|
i32.const 4536
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 941
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 4576
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $25
|
|
i32.const 4248
|
|
call $~lib/array/Array<i32>#join
|
|
local.tee $26
|
|
i32.const 4632
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 942
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 4664
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $8
|
|
i32.const 4696
|
|
call $~lib/array/Array<u32>#join
|
|
local.tee $27
|
|
i32.const 4632
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 943
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 4720
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $2
|
|
i32.const 4744
|
|
call $~lib/array/Array<i32>#join
|
|
local.tee $6
|
|
i32.const 4768
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 944
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 6
|
|
i32.const 3
|
|
i32.const 9
|
|
i32.const 4832
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.set $12
|
|
i32.const 4896
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $12
|
|
call $~lib/array/Array<f64>#join_flt
|
|
local.set $13
|
|
i32.const 4896
|
|
call $~lib/rt/pure/__release
|
|
local.get $13
|
|
i32.const 6096
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 945
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
i32.const 2
|
|
i32.const 14
|
|
i32.const 6216
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $4
|
|
i32.const 4248
|
|
call $~lib/array/Array<~lib/string/String>#join
|
|
local.tee $5
|
|
i32.const 6192
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 946
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
i32.const 2
|
|
i32.const 19
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
local.tee $1
|
|
i32.load offset=4
|
|
local.tee $0
|
|
call $std/array/Ref#constructor
|
|
local.tee $3
|
|
call $~lib/rt/pure/__retain
|
|
i32.store
|
|
local.get $0
|
|
i32.const 0
|
|
call $~lib/rt/pure/__retain
|
|
i32.store offset=4
|
|
local.get $0
|
|
call $std/array/Ref#constructor
|
|
local.tee $0
|
|
call $~lib/rt/pure/__retain
|
|
i32.store offset=8
|
|
local.get $1
|
|
call $~lib/rt/pure/__retain
|
|
local.set $14
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $14
|
|
call $~lib/array/Array<std/array/Ref | null>#join_ref
|
|
local.set $1
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
i32.const 6296
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 948
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $9
|
|
call $~lib/rt/pure/__release
|
|
local.get $11
|
|
call $~lib/rt/pure/__release
|
|
local.get $25
|
|
call $~lib/rt/pure/__release
|
|
local.get $26
|
|
call $~lib/rt/pure/__release
|
|
local.get $8
|
|
call $~lib/rt/pure/__release
|
|
local.get $27
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $6
|
|
call $~lib/rt/pure/__release
|
|
local.get $12
|
|
call $~lib/rt/pure/__release
|
|
local.get $13
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
local.get $14
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
i32.const 0
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 6376
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $15
|
|
call $~lib/rt/pure/__retain
|
|
local.set $29
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 6392
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $16
|
|
call $~lib/rt/pure/__retain
|
|
local.set $30
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 6416
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $17
|
|
call $~lib/rt/pure/__retain
|
|
local.set $31
|
|
i32.const 4
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 6440
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $18
|
|
call $~lib/rt/pure/__retain
|
|
local.set $32
|
|
local.get $29
|
|
call $~lib/array/Array<i32>#toString
|
|
local.tee $19
|
|
i32.const 4248
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 958
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $30
|
|
call $~lib/array/Array<i32>#toString
|
|
local.tee $20
|
|
i32.const 6192
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 959
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $31
|
|
call $~lib/array/Array<i32>#toString
|
|
local.tee $21
|
|
i32.const 6472
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 960
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $32
|
|
call $~lib/array/Array<i32>#toString
|
|
local.tee $22
|
|
i32.const 6496
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 961
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
i32.const 0
|
|
i32.const 20
|
|
i32.const 6528
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.set $33
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $33
|
|
call $~lib/array/Array<i8>#join_int
|
|
local.set $2
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
i32.const 6552
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 963
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
i32.const 1
|
|
i32.const 21
|
|
i32.const 6584
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.set $34
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $34
|
|
call $~lib/array/Array<u16>#join_int
|
|
local.set $6
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $6
|
|
i32.const 6608
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 964
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 3
|
|
i32.const 3
|
|
i32.const 16
|
|
i32.const 6648
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.set $35
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $35
|
|
call $~lib/array/Array<u64>#join_int
|
|
local.set $4
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
i32.const 6688
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 965
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 4
|
|
i32.const 3
|
|
i32.const 22
|
|
i32.const 6752
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.set $36
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $36
|
|
call $~lib/array/Array<i64>#join_int
|
|
local.set $5
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
i32.const 6800
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 966
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 7
|
|
i32.const 2
|
|
i32.const 13
|
|
i32.const 6904
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $23
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $24
|
|
call $~lib/array/Array<~lib/string/String | null>#toString
|
|
local.tee $28
|
|
i32.const 6952
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 970
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 4
|
|
i32.const 2
|
|
i32.const 14
|
|
i32.const 7048
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $9
|
|
call $~lib/array/Array<~lib/string/String | null>#toString
|
|
local.tee $11
|
|
i32.const 7080
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 971
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 10
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
local.tee $3
|
|
i32.load offset=4
|
|
local.tee $0
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 7112
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $12
|
|
call $~lib/rt/pure/__retain
|
|
i32.store
|
|
local.get $0
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 3
|
|
i32.const 7136
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $13
|
|
call $~lib/rt/pure/__retain
|
|
i32.store offset=4
|
|
local.get $3
|
|
call $~lib/rt/pure/__retain
|
|
local.set $7
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $7
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#join_arr
|
|
local.set $1
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
i32.const 7160
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 974
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 2
|
|
i32.const 2
|
|
i32.const 23
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
local.tee $3
|
|
i32.load offset=4
|
|
local.tee $0
|
|
i32.const 2
|
|
i32.const 0
|
|
i32.const 6
|
|
i32.const 7192
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $14
|
|
call $~lib/rt/pure/__retain
|
|
i32.store
|
|
local.get $0
|
|
i32.const 2
|
|
i32.const 0
|
|
i32.const 6
|
|
i32.const 7216
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $25
|
|
call $~lib/rt/pure/__retain
|
|
i32.store offset=4
|
|
local.get $3
|
|
call $~lib/rt/pure/__retain
|
|
local.set $10
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $10
|
|
call $~lib/array/Array<~lib/array/Array<u8>>#join_arr
|
|
local.set $3
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
i32.const 7160
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 977
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 25
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
local.tee $26
|
|
i32.load offset=4
|
|
local.set $8
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 24
|
|
i32.const 0
|
|
call $~lib/rt/__allocArray
|
|
local.tee $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.const 2
|
|
i32.const 7
|
|
i32.const 7240
|
|
call $~lib/rt/__allocArray
|
|
call $~lib/rt/pure/__retain
|
|
local.tee $27
|
|
call $~lib/rt/pure/__retain
|
|
i32.store
|
|
local.get $8
|
|
local.get $0
|
|
call $~lib/rt/pure/__retain
|
|
i32.store
|
|
local.get $26
|
|
call $~lib/rt/pure/__retain
|
|
local.set $8
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__retain
|
|
drop
|
|
local.get $8
|
|
call $~lib/array/Array<~lib/array/Array<~lib/array/Array<u32>>>#join_arr
|
|
local.set $0
|
|
i32.const 4512
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
i32.const 6192
|
|
call $~lib/string/String.__eq
|
|
i32.eqz
|
|
if
|
|
i32.const 0
|
|
i32.const 376
|
|
i32.const 980
|
|
i32.const 2
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $15
|
|
call $~lib/rt/pure/__release
|
|
local.get $29
|
|
call $~lib/rt/pure/__release
|
|
local.get $16
|
|
call $~lib/rt/pure/__release
|
|
local.get $30
|
|
call $~lib/rt/pure/__release
|
|
local.get $17
|
|
call $~lib/rt/pure/__release
|
|
local.get $31
|
|
call $~lib/rt/pure/__release
|
|
local.get $18
|
|
call $~lib/rt/pure/__release
|
|
local.get $32
|
|
call $~lib/rt/pure/__release
|
|
local.get $19
|
|
call $~lib/rt/pure/__release
|
|
local.get $20
|
|
call $~lib/rt/pure/__release
|
|
local.get $21
|
|
call $~lib/rt/pure/__release
|
|
local.get $22
|
|
call $~lib/rt/pure/__release
|
|
local.get $33
|
|
call $~lib/rt/pure/__release
|
|
local.get $2
|
|
call $~lib/rt/pure/__release
|
|
local.get $34
|
|
call $~lib/rt/pure/__release
|
|
local.get $6
|
|
call $~lib/rt/pure/__release
|
|
local.get $35
|
|
call $~lib/rt/pure/__release
|
|
local.get $4
|
|
call $~lib/rt/pure/__release
|
|
local.get $36
|
|
call $~lib/rt/pure/__release
|
|
local.get $5
|
|
call $~lib/rt/pure/__release
|
|
local.get $23
|
|
call $~lib/rt/pure/__release
|
|
local.get $24
|
|
call $~lib/rt/pure/__release
|
|
local.get $28
|
|
call $~lib/rt/pure/__release
|
|
local.get $9
|
|
call $~lib/rt/pure/__release
|
|
local.get $11
|
|
call $~lib/rt/pure/__release
|
|
local.get $12
|
|
call $~lib/rt/pure/__release
|
|
local.get $13
|
|
call $~lib/rt/pure/__release
|
|
local.get $1
|
|
call $~lib/rt/pure/__release
|
|
local.get $14
|
|
call $~lib/rt/pure/__release
|
|
local.get $25
|
|
call $~lib/rt/pure/__release
|
|
local.get $3
|
|
call $~lib/rt/pure/__release
|
|
local.get $27
|
|
call $~lib/rt/pure/__release
|
|
local.get $0
|
|
call $~lib/rt/pure/__release
|
|
global.get $std/array/arr
|
|
call $~lib/rt/pure/__release
|
|
local.get $7
|
|
call $~lib/rt/pure/__release
|
|
local.get $10
|
|
call $~lib/rt/pure/__release
|
|
local.get $8
|
|
call $~lib/rt/pure/__release
|
|
)
|
|
(func $std/array/main (; 207 ;) (type $FUNCSIG$v)
|
|
global.get $~lib/started
|
|
i32.eqz
|
|
if
|
|
call $start:std/array
|
|
i32.const 1
|
|
global.set $~lib/started
|
|
end
|
|
)
|
|
(func $~lib/rt/pure/__visit (; 208 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
local.get $0
|
|
i32.const 7460
|
|
i32.lt_u
|
|
if
|
|
return
|
|
end
|
|
local.get $0
|
|
i32.const 16
|
|
i32.sub
|
|
local.set $0
|
|
block $break|0
|
|
block $case5|0
|
|
block $case4|0
|
|
block $case3|0
|
|
block $case2|0
|
|
block $case1|0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.ne
|
|
if
|
|
local.get $1
|
|
i32.const 2
|
|
i32.eq
|
|
br_if $case1|0
|
|
block $tablify|0
|
|
local.get $1
|
|
i32.const 3
|
|
i32.sub
|
|
br_table $case2|0 $case3|0 $case4|0 $tablify|0
|
|
end
|
|
br $case5|0
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/decrement
|
|
br $break|0
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 268435455
|
|
i32.and
|
|
i32.const 0
|
|
i32.le_u
|
|
if
|
|
i32.const 0
|
|
i32.const 128
|
|
i32.const 75
|
|
i32.const 17
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.sub
|
|
i32.store offset=4
|
|
local.get $0
|
|
call $~lib/rt/pure/markGray
|
|
br $break|0
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/scan
|
|
br $break|0
|
|
end
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $1
|
|
i32.const -268435456
|
|
i32.and
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.const -268435456
|
|
i32.and
|
|
i32.ne
|
|
if
|
|
i32.const 0
|
|
i32.const 128
|
|
i32.const 86
|
|
i32.const 6
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
i32.const 1
|
|
i32.add
|
|
i32.store offset=4
|
|
local.get $1
|
|
i32.const 1879048192
|
|
i32.and
|
|
if
|
|
local.get $0
|
|
call $~lib/rt/pure/scanBlack
|
|
end
|
|
br $break|0
|
|
end
|
|
local.get $0
|
|
call $~lib/rt/pure/collectWhite
|
|
br $break|0
|
|
end
|
|
i32.const 0
|
|
i32.const 128
|
|
i32.const 97
|
|
i32.const 24
|
|
call $~lib/builtins/abort
|
|
unreachable
|
|
end
|
|
)
|
|
(func $~lib/array/Array<~lib/array/Array<i32>>#__visit_impl (; 209 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
local.get $0
|
|
i32.load offset=4
|
|
local.tee $2
|
|
local.get $0
|
|
i32.load offset=8
|
|
i32.add
|
|
local.set $0
|
|
loop $continue|0
|
|
local.get $2
|
|
local.get $0
|
|
i32.lt_u
|
|
if
|
|
local.get $2
|
|
i32.load
|
|
local.tee $3
|
|
if
|
|
local.get $3
|
|
local.get $1
|
|
call $~lib/rt/pure/__visit
|
|
end
|
|
local.get $2
|
|
i32.const 4
|
|
i32.add
|
|
local.set $2
|
|
br $continue|0
|
|
end
|
|
end
|
|
)
|
|
(func $~lib/rt/__visit_members (; 210 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
block $block$4$break
|
|
block $switch$1$default
|
|
block $switch$1$case$27
|
|
block $switch$1$case$26
|
|
block $switch$1$case$25
|
|
block $switch$1$case$21
|
|
block $switch$1$case$16
|
|
block $switch$1$case$15
|
|
block $switch$1$case$14
|
|
block $switch$1$case$12
|
|
block $switch$1$case$2
|
|
local.get $0
|
|
i32.const 8
|
|
i32.sub
|
|
i32.load
|
|
br_table $switch$1$case$2 $switch$1$case$2 $block$4$break $block$4$break $switch$1$case$2 $block$4$break $block$4$break $block$4$break $block$4$break $block$4$break $switch$1$case$12 $switch$1$case$2 $switch$1$case$14 $switch$1$case$15 $switch$1$case$16 $block$4$break $block$4$break $block$4$break $switch$1$case$2 $switch$1$case$21 $block$4$break $block$4$break $block$4$break $switch$1$case$25 $switch$1$case$26 $switch$1$case$27 $switch$1$default
|
|
end
|
|
return
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__visit_impl
|
|
br $block$4$break
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__visit_impl
|
|
br $block$4$break
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__visit_impl
|
|
br $block$4$break
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__visit_impl
|
|
br $block$4$break
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__visit_impl
|
|
br $block$4$break
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__visit_impl
|
|
br $block$4$break
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__visit_impl
|
|
br $block$4$break
|
|
end
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/array/Array<~lib/array/Array<i32>>#__visit_impl
|
|
br $block$4$break
|
|
end
|
|
unreachable
|
|
end
|
|
local.get $0
|
|
i32.load
|
|
local.tee $0
|
|
if
|
|
local.get $0
|
|
local.get $1
|
|
call $~lib/rt/pure/__visit
|
|
end
|
|
)
|
|
(func $null (; 211 ;) (type $FUNCSIG$v)
|
|
nop
|
|
)
|
|
)
|