mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 15:12:12 +00:00
10230 lines
178 KiB
Plaintext
10230 lines
178 KiB
Plaintext
(module
|
|
(type $iiiiv (func (param i32 i32 i32 i32)))
|
|
(type $iii (func (param i32 i32) (result i32)))
|
|
(type $ii (func (param i32) (result i32)))
|
|
(type $iiii (func (param i32 i32 i32) (result i32)))
|
|
(type $iiiv (func (param i32 i32 i32)))
|
|
(type $iiiiiv (func (param i32 i32 i32 i32 i32)))
|
|
(type $i (func (result i32)))
|
|
(type $iiF (func (param i32 i32) (result f64)))
|
|
(type $iF (func (param i32) (result f64)))
|
|
(type $Ii (func (param i64) (result i32)))
|
|
(type $iIiv (func (param i32 i64 i32)))
|
|
(type $Fi (func (param f64) (result i32)))
|
|
(type $iFi (func (param i32 f64) (result i32)))
|
|
(type $iIiIiIii (func (param i32 i64 i32 i64 i32 i64 i32) (result i32)))
|
|
(type $v (func))
|
|
(type $FUNCSIG$ii (func (param i32) (result i32)))
|
|
(type $FUNCSIG$iiiii (func (param i32 i32 i32 i32) (result i32)))
|
|
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
|
|
(type $FUNCSIG$di (func (param i32) (result f64)))
|
|
(type $FUNCSIG$v (func))
|
|
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
|
(global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0))
|
|
(global $~lib/allocator/arena/offset (mut i32) (i32.const 0))
|
|
(global $~lib/internal/number/_K (mut i32) (i32.const 0))
|
|
(global $~lib/internal/number/_exp (mut i32) (i32.const 0))
|
|
(global $~lib/internal/number/_frc_minus (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_frc_plus (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_frc_pow (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_exp_pow (mut i32) (i32.const 0))
|
|
(global $std/string/str (mut i32) (i32.const 8))
|
|
(global $std/string/nullStr (mut i32) (i32.const 0))
|
|
(global $~argc (mut i32) (i32.const 0))
|
|
(global $std/string/c (mut i32) (i32.const 0))
|
|
(global $std/string/a (mut i32) (i32.const 0))
|
|
(global $std/string/b (mut i32) (i32.const 0))
|
|
(memory $0 1)
|
|
(data (i32.const 8) "\10\00\00\00h\00i\00,\00 \00I\00\'\00m\00 \00a\00 \00s\00t\00r\00i\00n\00g")
|
|
(data (i32.const 48) "\0d\00\00\00s\00t\00d\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
|
|
(data (i32.const 80) "\0e\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
|
|
(data (i32.const 112) "\17\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s")
|
|
(data (i32.const 168) "\01")
|
|
(data (i32.const 176) "\01\00\00\006")
|
|
(data (i32.const 184) "\02\00\00\004\d8\06\df")
|
|
(data (i32.const 192) "\02\00\00\00h\00i")
|
|
(data (i32.const 200) "\04\00\00\00n\00u\00l\00l")
|
|
(data (i32.const 216) "\06\00\00\00s\00t\00r\00i\00n\00g")
|
|
(data (i32.const 232) "\03\00\00\00I\00\'\00m")
|
|
(data (i32.const 248) "\01\00\00\00 ")
|
|
(data (i32.const 264) "\03\00\00\00 \00 \00 ")
|
|
(data (i32.const 280) "\01\00\00\00a")
|
|
(data (i32.const 288) "\03\00\00\00a\00b\00c")
|
|
(data (i32.const 304) "\05\00\00\00 \00 \00a\00b\00c")
|
|
(data (i32.const 320) "\03\00\00\001\002\003")
|
|
(data (i32.const 336) "\06\00\00\001\002\003\00a\00b\00c")
|
|
(data (i32.const 352) "\08\00\00\001\002\003\001\002\00a\00b\00c")
|
|
(data (i32.const 376) "\05\00\00\00a\00b\00c\00 \00 ")
|
|
(data (i32.const 392) "\06\00\00\00a\00b\00c\00a\00b\00c")
|
|
(data (i32.const 408) "\08\00\00\00a\00b\00c\00a\00b\00c\00a\00b")
|
|
(data (i32.const 432) "\01\00\00\00,")
|
|
(data (i32.const 440) "\01\00\00\00x")
|
|
(data (i32.const 448) "\03\00\00\00,\00 \00I")
|
|
(data (i32.const 464) "\01\00\00\00g")
|
|
(data (i32.const 472) "\01\00\00\00i")
|
|
(data (i32.const 480) "\01\00\00\000")
|
|
(data (i32.const 488) "\01\00\00\001")
|
|
(data (i32.const 496) "\05\00\00\000\00b\001\000\001")
|
|
(data (i32.const 512) "\05\00\00\000\00o\007\000\007")
|
|
(data (i32.const 528) "\05\00\00\000\00x\00f\000\00f")
|
|
(data (i32.const 544) "\05\00\00\000\00x\00F\000\00F")
|
|
(data (i32.const 560) "\03\00\00\000\001\001")
|
|
(data (i32.const 576) "\04\00\00\000\00x\001\00g")
|
|
(data (i32.const 592) "\03\00\00\000\00.\001")
|
|
(data (i32.const 608) "\03\00\00\00.\002\005")
|
|
(data (i32.const 624) "\08\00\00\00.\001\00f\00o\00o\00b\00a\00r")
|
|
(data (i32.const 648) "\01\00\00\00b")
|
|
(data (i32.const 656) "\02\00\00\00a\00b")
|
|
(data (i32.const 664) "\02\00\00\00b\00a")
|
|
(data (i32.const 672) "\02\00\00\00a\00a")
|
|
(data (i32.const 680) "\03\00\00\00a\00a\00a")
|
|
(data (i32.const 696) "\08\00\00\00a\00b\00a\00b\00a\00b\00a\00b")
|
|
(data (i32.const 720) "\05\00\00\00a\00a\00a\00a\00a")
|
|
(data (i32.const 736) "\06\00\00\00a\00a\00a\00a\00a\00a")
|
|
(data (i32.const 752) "\07\00\00\00a\00a\00a\00a\00a\00a\00a")
|
|
(data (i32.const 776) "\90\01\00\00\00\00\00\000\000\000\001\000\002\000\003\000\004\000\005\000\006\000\007\000\008\000\009\001\000\001\001\001\002\001\003\001\004\001\005\001\006\001\007\001\008\001\009\002\000\002\001\002\002\002\003\002\004\002\005\002\006\002\007\002\008\002\009\003\000\003\001\003\002\003\003\003\004\003\005\003\006\003\007\003\008\003\009\004\000\004\001\004\002\004\003\004\004\004\005\004\006\004\007\004\008\004\009\005\000\005\001\005\002\005\003\005\004\005\005\005\006\005\007\005\008\005\009\006\000\006\001\006\002\006\003\006\004\006\005\006\006\006\007\006\008\006\009\007\000\007\001\007\002\007\003\007\004\007\005\007\006\007\007\007\008\007\009\008\000\008\001\008\002\008\003\008\004\008\005\008\006\008\007\008\008\008\009\009\000\009\001\009\002\009\003\009\004\009\005\009\006\009\007\009\008\009\009")
|
|
(data (i32.const 1288) "\08\03\00\00d")
|
|
(data (i32.const 1296) "\01\00\00\008")
|
|
(data (i32.const 1304) "\05\00\00\00-\001\000\000\000")
|
|
(data (i32.const 1320) "\04\00\00\001\002\003\004")
|
|
(data (i32.const 1336) "\05\00\00\001\002\003\004\005")
|
|
(data (i32.const 1352) "\06\00\00\001\002\003\004\005\006")
|
|
(data (i32.const 1368) "\07\00\00\001\001\001\001\001\001\001")
|
|
(data (i32.const 1392) "\07\00\00\001\002\003\004\005\006\007")
|
|
(data (i32.const 1416) "\n\00\00\002\001\004\007\004\008\003\006\004\006")
|
|
(data (i32.const 1440) "\n\00\00\002\001\004\007\004\008\003\006\004\007")
|
|
(data (i32.const 1464) "\0b\00\00\00-\002\001\004\007\004\008\003\006\004\008")
|
|
(data (i32.const 1496) "\02\00\00\00-\001")
|
|
(data (i32.const 1504) "\04\00\00\001\000\000\000")
|
|
(data (i32.const 1520) "\n\00\00\002\001\004\007\004\008\003\006\004\008")
|
|
(data (i32.const 1544) "\n\00\00\004\002\009\004\009\006\007\002\009\005")
|
|
(data (i32.const 1568) "\90\01\00\00\00\00\00\000\000\000\001\000\002\000\003\000\004\000\005\000\006\000\007\000\008\000\009\001\000\001\001\001\002\001\003\001\004\001\005\001\006\001\007\001\008\001\009\002\000\002\001\002\002\002\003\002\004\002\005\002\006\002\007\002\008\002\009\003\000\003\001\003\002\003\003\003\004\003\005\003\006\003\007\003\008\003\009\004\000\004\001\004\002\004\003\004\004\004\005\004\006\004\007\004\008\004\009\005\000\005\001\005\002\005\003\005\004\005\005\005\006\005\007\005\008\005\009\006\000\006\001\006\002\006\003\006\004\006\005\006\006\006\007\006\008\006\009\007\000\007\001\007\002\007\003\007\004\007\005\007\006\007\007\007\008\007\009\008\000\008\001\008\002\008\003\008\004\008\005\008\006\008\007\008\008\008\009\009\000\009\001\009\002\009\003\009\004\009\005\009\006\009\007\009\008\009\009")
|
|
(data (i32.const 2080) " \06\00\00d")
|
|
(data (i32.const 2088) "\08\00\00\009\009\009\009\009\009\009\009")
|
|
(data (i32.const 2112) "\t\00\00\001\000\000\000\000\000\000\000\000")
|
|
(data (i32.const 2136) "\0b\00\00\006\008\007\001\009\004\007\006\007\003\005")
|
|
(data (i32.const 2168) "\0c\00\00\008\006\008\007\001\009\004\007\006\007\003\005")
|
|
(data (i32.const 2200) "\0f\00\00\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
|
|
(data (i32.const 2240) "\10\00\00\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
|
|
(data (i32.const 2280) "\11\00\00\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
|
|
(data (i32.const 2320) "\14\00\00\001\008\004\004\006\007\004\004\000\007\003\007\000\009\005\005\001\006\001\005")
|
|
(data (i32.const 2368) "\05\00\00\00-\001\002\003\004")
|
|
(data (i32.const 2384) "\0b\00\00\00-\004\002\009\004\009\006\007\002\009\005")
|
|
(data (i32.const 2416) "\0c\00\00\00-\006\008\007\001\009\004\007\006\007\003\005")
|
|
(data (i32.const 2448) "\0d\00\00\00-\008\006\008\007\001\009\004\007\006\007\003\005")
|
|
(data (i32.const 2480) "\10\00\00\00-\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
|
|
(data (i32.const 2520) "\12\00\00\00-\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
|
|
(data (i32.const 2560) "\13\00\00\009\002\002\003\003\007\002\000\003\006\008\005\004\007\007\005\008\000\007")
|
|
(data (i32.const 2608) "\14\00\00\00-\009\002\002\003\003\007\002\000\003\006\008\005\004\007\007\005\008\000\008")
|
|
(data (i32.const 2656) "\03\00\00\000\00.\000")
|
|
(data (i32.const 2672) "\03\00\00\00N\00a\00N")
|
|
(data (i32.const 2688) "\t\00\00\00-\00I\00n\00f\00i\00n\00i\00t\00y")
|
|
(data (i32.const 2712) "\08\00\00\00I\00n\00f\00i\00n\00i\00t\00y")
|
|
(data (i32.const 2736) "\b8\02\00\00\00\00\00\00\88\02\1c\08\a0\d5\8f\fav\bf>\a2\7f\e1\ae\bav\acU0 \fb\16\8b\ea5\ce]J\89B\cf-;eU\aa\b0k\9a\dfE\1a=\03\cf\1a\e6\ca\c6\9a\c7\17\fep\abO\dc\bc\be\fc\b1w\ff\0c\d6kA\ef\91V\be<\fc\7f\90\ad\1f\d0\8d\83\9aU1(\\Q\d3\b5\c9\a6\ad\8f\acq\9d\cb\8b\ee#w\"\9c\eamSx@\91I\cc\aeW\ce\b6]y\12<\827V\fbM6\94\10\c2O\98H8o\ea\96\90\c7:\82%\cb\85t\d7\f4\97\bf\97\cd\cf\86\a0\e5\ac*\17\98\n4\ef\8e\b25*\fbg8\b2;?\c6\d2\df\d4\c8\84\ba\cd\d3\1a\'D\dd\c5\96\c9%\bb\ce\9fk\93\84\a5b}$l\ac\db\f6\da_\0dXf\ab\a3&\f1\c3\de\93\f8\e2\f3\b8\80\ff\aa\a8\ad\b5\b5\8bJ|l\05_b\87S0\c14`\ff\bc\c9U&\ba\91\8c\85N\96\bd~)p$w\f9\df\8f\b8\e5\b8\9f\bd\df\a6\94}t\88\cf_\a9\f8\cf\9b\a8\8f\93pD\b9k\15\0f\bf\f8\f0\08\8a\b611eU%\b0\cd\ac\7f{\d0\c6\e2?\99\06;+*\c4\10\\\e4\d3\92si\99$$\aa\0e\ca\00\83\f2\b5\87\fd\eb\1a\11\92d\08\e5\bc\cc\88Po\t\cc\bc\8c,e\19\e2X\17\b7\d1\00\00\00\00\00\00@\9c\00\00\00\00\10\a5\d4\e8\00\00b\ac\c5\ebx\ad\84\t\94\f8x9?\81\b3\15\07\c9{\ce\97\c0p\\\ea{\ce2~\8fh\80\e9\ab\a48\d2\d5E\"\9a\17&\'O\9f\'\fb\c4\d41\a2c\ed\a8\ad\c8\8c8e\de\b0\dbe\ab\1a\8e\08\c7\83\9a\1dqB\f9\1d]\c4X\e7\1b\a6,iM\92\ea\8dp\1ad\ee\01\daJw\ef\9a\99\a3m\a2\85k}\b4{x\t\f2w\18\ddy\a1\e4T\b4\c2\c5\9b[\92\86[\86=]\96\c8\c5S5\c8\b3\a0\97\fa\\\b4*\95\e3_\a0\99\bd\9fF\de%\8c9\db4\c2\9b\a5\\\9f\98\a3r\9a\c6\f6\ce\be\e9TS\bf\dc\b7\e2A\"\f2\17\f3\fc\88\a5x\\\d3\9b\ce \cc\dfS!{\f3Z\16\98:0\1f\97\dc\b5\a0\e2\96\b3\e3\\S\d1\d9\a8<D\a7\a4\d9|\9b\fb\10D\a4\a7LLv\bb\1a\9c@\b6\ef\8e\ab\8b,\84W\a6\10\ef\1f\d0)1\91\e9\e5\a4\10\9b\9d\0c\9c\a1\fb\9b\10\e7)\f4;b\d9 (\ac\85\cf\a7z^KD\80-\dd\ac\03@\e4!\bf\8f\ffD^/\9cg\8eA\b8\8c\9c\9d\173\d4\a9\1b\e3\b4\92\db\19\9e\d9w\df\ban\bf\96\ebk\ee\f0\9b;\02\87\af")
|
|
(data (i32.const 3760) "\b0\n\00\00W")
|
|
(data (i32.const 3768) "\ae\00\00\00\00\00\00\00<\fbW\fbr\fb\8c\fb\a7\fb\c1\fb\dc\fb\f6\fb\11\fc,\fcF\fca\fc{\fc\96\fc\b1\fc\cb\fc\e6\fc\00\fd\1b\fd5\fdP\fdk\fd\85\fd\a0\fd\ba\fd\d5\fd\ef\fd\n\fe%\fe?\feZ\fet\fe\8f\fe\a9\fe\c4\fe\df\fe\f9\fe\14\ff.\ffI\ffc\ff~\ff\99\ff\b3\ff\ce\ff\e8\ff\03\00\1e\008\00S\00m\00\88\00\a2\00\bd\00\d8\00\f2\00\0d\01\'\01B\01\\\01w\01\92\01\ac\01\c7\01\e1\01\fc\01\16\021\02L\02f\02\81\02\9b\02\b6\02\d0\02\eb\02\06\03 \03;\03U\03p\03\8b\03\a5\03\c0\03\da\03\f5\03\0f\04*\04")
|
|
(data (i32.const 4024) "\b8\0e\00\00W")
|
|
(data (i32.const 4032) "(\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 4096) "\c0\0f\00\00\n")
|
|
(data (i32.const 4104) "\15\00\00\002\00.\002\002\000\004\004\006\000\004\009\002\005\000\003\001\003\00e\00-\001\006")
|
|
(data (i32.const 4152) "\16\00\00\00-\002\00.\002\002\000\004\004\006\000\004\009\002\005\000\003\001\003\00e\00-\001\006")
|
|
(data (i32.const 4200) "\17\00\00\001\00.\007\009\007\006\009\003\001\003\004\008\006\002\003\001\005\007\00e\00+\003\000\008")
|
|
(data (i32.const 4256) "\18\00\00\00-\001\00.\007\009\007\006\009\003\001\003\004\008\006\002\003\001\005\007\00e\00+\003\000\008")
|
|
(data (i32.const 4312) "\16\00\00\004\00.\001\008\005\005\008\000\004\009\006\008\002\001\003\005\007\00e\00+\002\009\008")
|
|
(data (i32.const 4360) "\17\00\00\002\00.\002\002\005\000\007\003\008\005\008\005\000\007\002\000\001\004\00e\00-\003\000\008")
|
|
(data (i32.const 4416) "\15\00\00\002\00.\009\008\000\002\003\002\002\003\008\007\006\009\005\003\001\002\00e\00-\008")
|
|
(data (i32.const 4464) "\14\00\00\00-\002\001\000\009\008\000\008\008\009\008\006\009\005\009\006\003\000\00.\000")
|
|
(data (i32.const 4512) "\0d\00\00\004\00.\009\004\000\006\005\006\00e\00-\003\001\008")
|
|
(data (i32.const 4544) "\12\00\00\009\000\006\000\008\000\001\001\005\003\004\003\003\006\000\000\00.\000")
|
|
(data (i32.const 4584) "\15\00\00\004\007\000\008\003\005\006\000\002\004\007\001\001\005\001\002\000\000\000\00.\000")
|
|
(data (i32.const 4632) "\15\00\00\009\004\000\009\003\004\000\000\001\002\005\006\008\002\004\008\000\000\000\00.\000")
|
|
(data (i32.const 4680) "\06\00\00\005\00e\00-\003\002\004")
|
|
(data (i32.const 4696) "\03\00\00\001\00.\000")
|
|
(data (i32.const 4712) "\04\00\00\00-\001\00.\000")
|
|
(data (i32.const 4728) "\04\00\00\00-\000\00.\001")
|
|
(data (i32.const 4744) "\t\00\00\001\000\000\000\000\000\000\00.\000")
|
|
(data (i32.const 4768) "\08\00\00\000\00.\000\000\000\000\000\001")
|
|
(data (i32.const 4792) "\n\00\00\00-\001\000\000\000\000\000\000\00.\000")
|
|
(data (i32.const 4816) "\t\00\00\00-\000\00.\000\000\000\000\000\001")
|
|
(data (i32.const 4840) "\n\00\00\001\000\000\000\000\000\000\000\00.\000")
|
|
(data (i32.const 4864) "\04\00\00\001\00e\00-\007")
|
|
(data (i32.const 4880) "\06\00\00\001\00e\00+\003\000\008")
|
|
(data (i32.const 4896) "\07\00\00\00-\001\00e\00+\003\000\008")
|
|
(data (i32.const 4920) "\06\00\00\001\00e\00-\003\000\008")
|
|
(data (i32.const 4936) "\07\00\00\00-\001\00e\00-\003\000\008")
|
|
(data (i32.const 4960) "\06\00\00\001\00e\00-\003\002\003")
|
|
(data (i32.const 4976) "\07\00\00\00-\001\00e\00-\003\002\003")
|
|
(data (i32.const 5000) "\0c\00\00\004\002\009\004\009\006\007\002\007\002\00.\000")
|
|
(data (i32.const 5032) "\15\00\00\001\00.\002\003\001\002\001\004\005\006\007\003\004\005\006\002\003\004\00e\00-\008")
|
|
(data (i32.const 5080) "\19\00\00\00-\000\00.\000\000\000\000\000\001\000\004\007\001\009\007\005\005\001\001\009\006\005\009\007\006")
|
|
(data (i32.const 5136) "\11\00\00\005\005\005\005\005\005\005\005\005\00.\005\005\005\005\005\005\006")
|
|
(data (i32.const 5176) "\12\00\00\000\00.\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009")
|
|
(data (i32.const 5216) "\05\00\00\001\002\00.\003\004")
|
|
(data (i32.const 5232) "\13\00\00\000\00.\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\004")
|
|
(data (i32.const 5280) "\12\00\00\000\00.\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003")
|
|
(data (i32.const 5320) "\17\00\00\001\002\003\004\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00.\000")
|
|
(data (i32.const 5376) "\t\00\00\001\00.\002\003\004\00e\00+\002\001")
|
|
(data (i32.const 5400) "\07\00\00\002\00.\007\001\008\002\008")
|
|
(data (i32.const 5424) "\t\00\00\000\00.\000\002\007\001\008\002\008")
|
|
(data (i32.const 5448) "\07\00\00\002\007\001\00.\008\002\008")
|
|
(data (i32.const 5472) "\08\00\00\001\00.\001\00e\00+\001\002\008")
|
|
(data (i32.const 5496) "\07\00\00\001\00.\001\00e\00-\006\004")
|
|
(data (i32.const 5520) "\0b\00\00\000\00.\000\000\000\000\003\005\006\008\009")
|
|
(data (i32.const 5552) "\16\00\00\003\00.\004\000\002\008\002\003\004\006\006\003\008\005\002\008\008\006\00e\00+\003\008")
|
|
(data (i32.const 5600) "\15\00\00\001\00.\001\009\002\000\009\002\008\009\005\005\000\007\008\001\002\005\00e\00-\007")
|
|
(export "memory" (memory $0))
|
|
(export "getString" (func $std/string/getString))
|
|
(start $start)
|
|
(func $~lib/string/String#charCodeAt (; 1 ;) (; has Stack IR ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 71)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(i32.const 0)
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(i32.load16_u offset=4
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(func $~lib/allocator/arena/__memory_allocate (; 2 ;) (; has Stack IR ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.gt_u
|
|
(get_local $0)
|
|
(i32.const 1073741824)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(if
|
|
(i32.gt_u
|
|
(tee_local $2
|
|
(i32.and
|
|
(i32.add
|
|
(i32.add
|
|
(tee_local $1
|
|
(get_global $~lib/allocator/arena/offset)
|
|
)
|
|
(select
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
(i32.gt_u
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 7)
|
|
)
|
|
(i32.const -8)
|
|
)
|
|
)
|
|
(i32.shl
|
|
(tee_local $3
|
|
(current_memory)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(if
|
|
(i32.lt_s
|
|
(grow_memory
|
|
(select
|
|
(get_local $3)
|
|
(tee_local $0
|
|
(i32.shr_u
|
|
(i32.and
|
|
(i32.add
|
|
(i32.sub
|
|
(get_local $2)
|
|
(get_local $1)
|
|
)
|
|
(i32.const 65535)
|
|
)
|
|
(i32.const -65536)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $3)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
(if
|
|
(i32.lt_s
|
|
(grow_memory
|
|
(get_local $0)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/allocator/arena/offset
|
|
(get_local $2)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(func $~lib/internal/string/allocateUnsafe (; 3 ;) (; has Stack IR ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(if
|
|
(tee_local $1
|
|
(i32.gt_s
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.le_s
|
|
(get_local $0)
|
|
(i32.const 536870910)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 112)
|
|
(i32.const 14)
|
|
(i32.const 2)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(i32.store
|
|
(tee_local $1
|
|
(call $~lib/allocator/arena/__memory_allocate
|
|
(i32.add
|
|
(i32.shl
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
)
|
|
(get_local $0)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(func $~lib/string/String.fromCharCode (; 4 ;) (; has Stack IR ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(i32.store16 offset=4
|
|
(tee_local $1
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $0)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(func $~lib/internal/string/compareUnsafe (; 5 ;) (; has Stack IR ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
|
|
(local $4 i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(loop $continue|0
|
|
(if
|
|
(tee_local $0
|
|
(if (result i32)
|
|
(get_local $3)
|
|
(i32.eqz
|
|
(tee_local $4
|
|
(i32.sub
|
|
(i32.load16_u offset=4
|
|
(get_local $1)
|
|
)
|
|
(i32.load16_u offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(i32.sub
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(func $~lib/string/String.__eq (; 6 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(if
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(tee_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.eqz
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String.fromCodePoint (; 7 ;) (; has Stack IR ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(if
|
|
(i32.gt_u
|
|
(get_local $0)
|
|
(i32.const 1114111)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 30)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(i32.add
|
|
(tee_local $2
|
|
(i32.gt_s
|
|
(get_local $0)
|
|
(i32.const 65535)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(i32.store offset=4
|
|
(get_local $1)
|
|
(i32.or
|
|
(i32.shl
|
|
(i32.add
|
|
(i32.shr_u
|
|
(tee_local $0
|
|
(i32.sub
|
|
(get_local $0)
|
|
(i32.const 65536)
|
|
)
|
|
)
|
|
(i32.const 10)
|
|
)
|
|
(i32.const 55296)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
(i32.add
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 1023)
|
|
)
|
|
(i32.const 56320)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $1)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(func $~lib/string/String#startsWith (; 8 ;) (; has Stack IR ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 239)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_s
|
|
(i32.add
|
|
(tee_local $2
|
|
(i32.load
|
|
(i32.const 192)
|
|
)
|
|
)
|
|
(tee_local $3
|
|
(select
|
|
(i32.const 0)
|
|
(tee_local $1
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.lt_s
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.eqz
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(get_local $3)
|
|
(i32.const 192)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String#endsWith (; 9 ;) (; has Stack IR ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 120)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.lt_s
|
|
(tee_local $3
|
|
(i32.sub
|
|
(select
|
|
(tee_local $2
|
|
(select
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(i32.gt_s
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(tee_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(tee_local $2
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.eqz
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(get_local $3)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String#endsWith|trampoline (; 10 ;) (; has Stack IR ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(block $1of1
|
|
(block $0of1
|
|
(block $outOfRange
|
|
(br_table $0of1 $1of1 $outOfRange
|
|
(i32.sub
|
|
(get_global $~argc)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $1
|
|
(i32.const 536870910)
|
|
)
|
|
)
|
|
(call $~lib/string/String#endsWith
|
|
(get_local $0)
|
|
(i32.const 216)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(func $~lib/string/String#indexOf (; 11 ;) (; has Stack IR ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 208)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(set_local $1
|
|
(i32.const 200)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $4
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(select
|
|
(tee_local $2
|
|
(select
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(i32.gt_s
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.sub
|
|
(get_local $3)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(loop $repeat|0
|
|
(br_if $break|0
|
|
(i32.gt_s
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(get_local $2)
|
|
(get_local $1)
|
|
(get_local $4)
|
|
)
|
|
(block
|
|
(set_local $2
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|0)
|
|
)
|
|
(return
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(func $~lib/string/String#includes (; 12 ;) (; has Stack IR ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(i32.ne
|
|
(call $~lib/string/String#indexOf
|
|
(get_local $0)
|
|
(i32.const 232)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(func $~lib/internal/memory/memcpy (; 13 ;) (; has Stack IR ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(loop $continue|0
|
|
(if
|
|
(tee_local $3
|
|
(if (result i32)
|
|
(get_local $2)
|
|
(i32.and
|
|
(get_local $1)
|
|
(i32.const 3)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $4
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(block
|
|
(loop $continue|1
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 12)
|
|
)
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 12)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(br $continue|1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(i32.store16
|
|
(get_local $0)
|
|
(i32.load16_u
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(get_local $1)
|
|
)
|
|
(i32.store8
|
|
(get_local $0)
|
|
(i32.load8_u
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(return)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 32)
|
|
)
|
|
(block $break|2
|
|
(block $case2|2
|
|
(block $case1|2
|
|
(if
|
|
(i32.ne
|
|
(tee_local $3
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
(block
|
|
(br_if $case1|2
|
|
(i32.eq
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br_if $case2|2
|
|
(i32.eq
|
|
(get_local $3)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(br $break|2)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $0)
|
|
(i32.load8_u
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $1)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(loop $continue|3
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 17)
|
|
)
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $5)
|
|
(i32.const 24)
|
|
)
|
|
(i32.shl
|
|
(tee_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 24)
|
|
)
|
|
(i32.shl
|
|
(tee_local $5
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 5)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $5)
|
|
(i32.const 24)
|
|
)
|
|
(i32.shl
|
|
(tee_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 9)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 12)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 24)
|
|
)
|
|
(i32.shl
|
|
(tee_local $5
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 13)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(br $continue|3)
|
|
)
|
|
)
|
|
)
|
|
(br $break|2)
|
|
)
|
|
(set_local $5
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $0)
|
|
(i32.load8_u
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(loop $continue|4
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 18)
|
|
)
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $5)
|
|
(i32.const 16)
|
|
)
|
|
(i32.shl
|
|
(tee_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 16)
|
|
)
|
|
(i32.shl
|
|
(tee_local $5
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 6)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $5)
|
|
(i32.const 16)
|
|
)
|
|
(i32.shl
|
|
(tee_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 12)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 16)
|
|
)
|
|
(i32.shl
|
|
(tee_local $5
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 14)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(br $continue|4)
|
|
)
|
|
)
|
|
)
|
|
(br $break|2)
|
|
)
|
|
(set_local $5
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $4
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(loop $continue|5
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 19)
|
|
)
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $5)
|
|
(i32.const 8)
|
|
)
|
|
(i32.shl
|
|
(tee_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 24)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 8)
|
|
)
|
|
(i32.shl
|
|
(tee_local $5
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 7)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 24)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $5)
|
|
(i32.const 8)
|
|
)
|
|
(i32.shl
|
|
(tee_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 11)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 24)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 12)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 8)
|
|
)
|
|
(i32.shl
|
|
(tee_local $5
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 15)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 24)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(br $continue|5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
(block
|
|
(i32.store8
|
|
(get_local $0)
|
|
(i32.load8_u
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $1)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(block
|
|
(i32.store8
|
|
(get_local $0)
|
|
(i32.load8_u
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $1)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
(block
|
|
(i32.store8
|
|
(get_local $0)
|
|
(i32.load8_u
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $1)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $3)
|
|
(i32.load8_u
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(i32.store8
|
|
(get_local $0)
|
|
(i32.load8_u
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(get_local $1)
|
|
)
|
|
(i32.store8
|
|
(get_local $0)
|
|
(i32.load8_u
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/memory/memmove (; 14 ;) (; has Stack IR ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(return)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $3
|
|
(i32.le_u
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.le_u
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $3)
|
|
(block
|
|
(call $~lib/internal/memory/memcpy
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
(return)
|
|
)
|
|
)
|
|
(if
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eq
|
|
(i32.and
|
|
(get_local $1)
|
|
(i32.const 7)
|
|
)
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 7)
|
|
)
|
|
)
|
|
(block
|
|
(loop $continue|0
|
|
(if
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 7)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(return)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $3
|
|
(tee_local $4
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
(loop $continue|1
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(block
|
|
(i64.store
|
|
(get_local $0)
|
|
(i64.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(br $continue|1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(loop $continue|2
|
|
(if
|
|
(get_local $2)
|
|
(block
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $3
|
|
(tee_local $4
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(get_local $4)
|
|
(i32.load8_u
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $continue|2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eq
|
|
(i32.and
|
|
(get_local $1)
|
|
(i32.const 7)
|
|
)
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 7)
|
|
)
|
|
)
|
|
(block
|
|
(loop $continue|3
|
|
(if
|
|
(i32.and
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 7)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(return)
|
|
)
|
|
(i32.store8
|
|
(i32.add
|
|
(get_local $0)
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.load8_u
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|3)
|
|
)
|
|
)
|
|
)
|
|
(loop $continue|4
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(block
|
|
(i64.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(i64.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(loop $continue|5
|
|
(if
|
|
(get_local $2)
|
|
(block
|
|
(i32.store8
|
|
(i32.add
|
|
(get_local $0)
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.load8_u
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/string/repeatUnsafe (; 15 ;) (; has Stack IR ;) (type $iiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i64)
|
|
(block $break|0
|
|
(block $case5|0
|
|
(block $case4|0
|
|
(block $case3|0
|
|
(block $case2|0
|
|
(block $case1|0
|
|
(block $case0|0
|
|
(set_local $5
|
|
(tee_local $6
|
|
(i32.load
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(br_if $break|0
|
|
(i32.eqz
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(block $tablify|0
|
|
(br_table $case1|0 $case2|0 $case3|0 $case4|0 $tablify|0
|
|
(i32.sub
|
|
(get_local $5)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(br $case5|0)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.load16_u offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|1
|
|
(set_local $0
|
|
(i32.const 0)
|
|
)
|
|
(loop $repeat|1
|
|
(br_if $break|1
|
|
(i32.ge_s
|
|
(get_local $0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $4)
|
|
(i32.shl
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|1)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
(set_local $4
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|2
|
|
(set_local $0
|
|
(i32.const 0)
|
|
)
|
|
(loop $repeat|2
|
|
(br_if $break|2
|
|
(i32.ge_s
|
|
(get_local $0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $5)
|
|
(i32.shl
|
|
(get_local $0)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|2)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
(set_local $5
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load16_u offset=8
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|3
|
|
(set_local $1
|
|
(i32.const 0)
|
|
)
|
|
(loop $repeat|3
|
|
(br_if $break|3
|
|
(i32.ge_s
|
|
(get_local $1)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.store16 offset=8
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|3)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
(set_local $7
|
|
(i64.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|4
|
|
(loop $repeat|4
|
|
(br_if $break|4
|
|
(i32.ge_s
|
|
(get_local $4)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(i64.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(get_local $7)
|
|
)
|
|
(set_local $4
|
|
(i32.add
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|4)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
(set_local $4
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(block $break|5
|
|
(set_local $1
|
|
(i32.const 0)
|
|
)
|
|
(set_local $2
|
|
(i32.mul
|
|
(tee_local $0
|
|
(i32.shl
|
|
(get_local $6)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(loop $repeat|5
|
|
(br_if $break|5
|
|
(i32.ge_s
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/internal/memory/memmove
|
|
(i32.add
|
|
(get_local $4)
|
|
(get_local $1)
|
|
)
|
|
(get_local $5)
|
|
(get_local $0)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(br $repeat|5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/string/copyUnsafe (; 16 ;) (; has Stack IR ;) (type $iiiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32)
|
|
(call $~lib/internal/memory/memmove
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String#padStart (; 17 ;) (; has Stack IR ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 355)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $4
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(tee_local $6
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $4)
|
|
(return
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_s
|
|
(tee_local $1
|
|
(i32.sub
|
|
(get_local $1)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(i32.mul
|
|
(tee_local $4
|
|
(i32.div_s
|
|
(i32.sub
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/repeatUnsafe
|
|
(get_local $5)
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
(get_local $4)
|
|
)
|
|
(if
|
|
(tee_local $4
|
|
(i32.sub
|
|
(get_local $1)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $5)
|
|
(get_local $3)
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $5)
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $6)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $5)
|
|
(get_local $1)
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(func $~lib/string/String#padStart|trampoline (; 18 ;) (; has Stack IR ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(block $1of1
|
|
(block $0of1
|
|
(block $outOfRange
|
|
(br_table $0of1 $1of1 $outOfRange
|
|
(i32.sub
|
|
(get_global $~argc)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $2
|
|
(i32.const 248)
|
|
)
|
|
)
|
|
(call $~lib/string/String#padStart
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $~lib/string/String#padEnd (; 19 ;) (; has Stack IR ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 375)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.load
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $4
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(tee_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.eqz
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $4)
|
|
(return
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.sub
|
|
(get_local $1)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $3)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_s
|
|
(get_local $6)
|
|
(get_local $5)
|
|
)
|
|
(block
|
|
(set_local $0
|
|
(i32.mul
|
|
(tee_local $4
|
|
(i32.div_s
|
|
(i32.sub
|
|
(get_local $6)
|
|
(i32.const 1)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/repeatUnsafe
|
|
(get_local $1)
|
|
(get_local $3)
|
|
(get_local $2)
|
|
(get_local $4)
|
|
)
|
|
(if
|
|
(tee_local $4
|
|
(i32.sub
|
|
(get_local $6)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $1)
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $3)
|
|
)
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $1)
|
|
(get_local $3)
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(func $~lib/string/String#padEnd|trampoline (; 20 ;) (; has Stack IR ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(block $1of1
|
|
(block $0of1
|
|
(block $outOfRange
|
|
(br_table $0of1 $1of1 $outOfRange
|
|
(i32.sub
|
|
(get_global $~argc)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $2
|
|
(i32.const 248)
|
|
)
|
|
)
|
|
(call $~lib/string/String#padEnd
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $~lib/string/String#lastIndexOf (; 21 ;) (; has Stack IR ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 224)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(set_local $1
|
|
(i32.const 200)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $4
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(set_local $2
|
|
(select
|
|
(tee_local $2
|
|
(select
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(i32.gt_s
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(tee_local $3
|
|
(i32.sub
|
|
(get_local $3)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(loop $repeat|0
|
|
(br_if $break|0
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(get_local $2)
|
|
(get_local $1)
|
|
(get_local $4)
|
|
)
|
|
(block
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|0)
|
|
)
|
|
(return
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(func $~lib/string/String#lastIndexOf|trampoline (; 22 ;) (; has Stack IR ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(block $1of1
|
|
(block $0of1
|
|
(block $outOfRange
|
|
(br_table $0of1 $1of1 $outOfRange
|
|
(i32.sub
|
|
(get_global $~argc)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $2
|
|
(i32.const 2147483647)
|
|
)
|
|
)
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $std/string/getString (; 23 ;) (; has Stack IR ;) (type $i) (result i32)
|
|
(get_global $std/string/str)
|
|
)
|
|
(func $~lib/internal/string/parse<f64> (; 24 ;) (; has Stack IR ;) (type $iiF) (param $0 i32) (param $1 i32) (result f64)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 f64)
|
|
(local $6 f64)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $4
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(if (result f64)
|
|
(i32.eq
|
|
(tee_local $2
|
|
(i32.load16_u offset=4
|
|
(tee_local $3
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 45)
|
|
)
|
|
(block (result f64)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.load16_u offset=4
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(f64.const -1)
|
|
)
|
|
(block (result f64)
|
|
(if
|
|
(i32.eq
|
|
(get_local $2)
|
|
(i32.const 43)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.load16_u offset=4
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(f64.const 1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $1)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $0
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.gt_s
|
|
(get_local $1)
|
|
(i32.const 36)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $0)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(if
|
|
(tee_local $0
|
|
(i32.eq
|
|
(get_local $2)
|
|
(i32.const 48)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.gt_s
|
|
(get_local $4)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(if (result i32)
|
|
(get_local $0)
|
|
(block $break|0 (result i32)
|
|
(block $case6|0
|
|
(block $case5|0
|
|
(block $case3|0
|
|
(block $case1|0
|
|
(br_if $case1|0
|
|
(i32.eq
|
|
(tee_local $0
|
|
(i32.load16_u offset=4
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 66)
|
|
)
|
|
)
|
|
(br_if $case1|0
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 98)
|
|
)
|
|
)
|
|
(br_if $case3|0
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 79)
|
|
)
|
|
)
|
|
(br_if $case3|0
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 111)
|
|
)
|
|
)
|
|
(br_if $case5|0
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 88)
|
|
)
|
|
)
|
|
(br_if $case5|0
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 120)
|
|
)
|
|
)
|
|
(br $case6|0)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br $break|0
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br $break|0
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br $break|0
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(i32.const 10)
|
|
)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block $break|1
|
|
(loop $continue|1
|
|
(set_local $4
|
|
(i32.sub
|
|
(tee_local $0
|
|
(get_local $4)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $0)
|
|
(block
|
|
(if
|
|
(tee_local $0
|
|
(i32.ge_s
|
|
(tee_local $2
|
|
(i32.load16_u offset=4
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(i32.const 48)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.le_s
|
|
(get_local $2)
|
|
(i32.const 57)
|
|
)
|
|
)
|
|
)
|
|
(br_if $break|1
|
|
(i32.ge_s
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(get_local $0)
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 48)
|
|
)
|
|
(block (result i32)
|
|
(if
|
|
(tee_local $0
|
|
(i32.ge_s
|
|
(get_local $2)
|
|
(i32.const 65)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.le_s
|
|
(get_local $2)
|
|
(i32.const 90)
|
|
)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(get_local $0)
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 55)
|
|
)
|
|
(block (result i32)
|
|
(if
|
|
(tee_local $0
|
|
(i32.ge_s
|
|
(get_local $2)
|
|
(i32.const 97)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.le_s
|
|
(get_local $2)
|
|
(i32.const 122)
|
|
)
|
|
)
|
|
)
|
|
(br_if $break|1
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 87)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(f64.add
|
|
(f64.mul
|
|
(get_local $5)
|
|
(f64.convert_s/i32
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(f64.convert_s/i32
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br $continue|1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(f64.mul
|
|
(get_local $6)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
(func $~lib/string/parseInt (; 25 ;) (; has Stack IR ;) (type $FUNCSIG$di) (param $0 i32) (result f64)
|
|
(call $~lib/internal/string/parse<f64>
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(func $~lib/string/parseFloat (; 26 ;) (; has Stack IR ;) (type $iF) (param $0 i32) (result f64)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 f64)
|
|
(local $5 f64)
|
|
(local $6 f64)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(if (result f64)
|
|
(i32.eq
|
|
(tee_local $2
|
|
(i32.load16_u offset=4
|
|
(tee_local $1
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 45)
|
|
)
|
|
(block (result f64)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $3
|
|
(i32.sub
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(drop
|
|
(i32.load16_u offset=4
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(f64.const -1)
|
|
)
|
|
(block (result f64)
|
|
(if
|
|
(i32.eq
|
|
(get_local $2)
|
|
(i32.const 43)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $3
|
|
(i32.sub
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(drop
|
|
(i32.load16_u offset=4
|
|
(tee_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(f64.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(loop $continue|0
|
|
(set_local $3
|
|
(i32.sub
|
|
(tee_local $0
|
|
(get_local $3)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $0)
|
|
(block
|
|
(if
|
|
(i32.eq
|
|
(tee_local $2
|
|
(i32.load16_u offset=4
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.const 46)
|
|
)
|
|
(block
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(f64.const 0.1)
|
|
)
|
|
(block $break|1
|
|
(loop $continue|1
|
|
(set_local $3
|
|
(i32.sub
|
|
(tee_local $0
|
|
(get_local $3)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $0)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $0
|
|
(i32.eq
|
|
(tee_local $2
|
|
(i32.load16_u offset=4
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.const 69)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.eq
|
|
(get_local $2)
|
|
(i32.const 101)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $0)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 523)
|
|
(i32.const 10)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(br_if $break|1
|
|
(i32.gt_u
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 48)
|
|
)
|
|
)
|
|
(i32.const 9)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(f64.add
|
|
(get_local $4)
|
|
(f64.mul
|
|
(f64.convert_s/i32
|
|
(get_local $2)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(f64.mul
|
|
(get_local $5)
|
|
(f64.const 0.1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br $continue|1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
(br_if $break|0
|
|
(i32.ge_u
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 48)
|
|
)
|
|
)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(f64.add
|
|
(f64.mul
|
|
(get_local $4)
|
|
(f64.const 10)
|
|
)
|
|
(f64.convert_s/i32
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(f64.mul
|
|
(get_local $6)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(func $~lib/string/String#concat (; 27 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 106)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(set_local $1
|
|
(i32.const 200)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.add
|
|
(tee_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(tee_local $4
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(tee_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $3)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $2)
|
|
(get_local $3)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $4)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/string/String.__concat (; 28 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(set_local $0
|
|
(i32.const 200)
|
|
)
|
|
)
|
|
(call $~lib/string/String#concat
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__ne (; 29 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__gt (; 30 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(set_local $2
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.gt_s
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
(select
|
|
(get_local $2)
|
|
(get_local $3)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__gte (; 31 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.ge_s
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
(select
|
|
(get_local $2)
|
|
(get_local $3)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__lt (; 32 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(set_local $2
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $3
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.lt_s
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
(select
|
|
(get_local $2)
|
|
(get_local $3)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__lte (; 33 ;) (; has Stack IR ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(if
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 256)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(tee_local $1
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.load
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.le_s
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(select
|
|
(get_local $1)
|
|
(get_local $2)
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(func $~lib/string/String#repeat (; 34 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 395)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.gt_s
|
|
(i32.mul
|
|
(get_local $3)
|
|
(get_local $1)
|
|
)
|
|
(i32.const 268435456)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 400)
|
|
(i32.const 6)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(return
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
(return
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/repeatUnsafe
|
|
(tee_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(i32.mul
|
|
(get_local $3)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/internal/number/decimalCount32 (; 35 ;) (; has Stack IR ;) (type $ii) (param $0 i32) (result i32)
|
|
(if (result i32)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 100000)
|
|
)
|
|
(if (result i32)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 100)
|
|
)
|
|
(select
|
|
(i32.const 1)
|
|
(i32.const 2)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
(select
|
|
(i32.const 3)
|
|
(select
|
|
(i32.const 4)
|
|
(i32.const 5)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 1000)
|
|
)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 10000000)
|
|
)
|
|
(select
|
|
(i32.const 6)
|
|
(i32.const 7)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 1000000)
|
|
)
|
|
)
|
|
(select
|
|
(i32.const 8)
|
|
(select
|
|
(i32.const 9)
|
|
(i32.const 10)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 1000000000)
|
|
)
|
|
)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 100000000)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/utoa32_lut (; 36 ;) (; has Stack IR ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(set_local $3
|
|
(i32.load
|
|
(i32.const 1288)
|
|
)
|
|
)
|
|
(loop $continue|0
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $1)
|
|
(i32.const 10000)
|
|
)
|
|
(block
|
|
(set_local $4
|
|
(i32.rem_u
|
|
(get_local $1)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.div_u
|
|
(get_local $1)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(i64.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i64.or
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(i32.div_u
|
|
(get_local $4)
|
|
(i32.const 100)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i64.shl
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(i32.rem_u
|
|
(get_local $4)
|
|
(i32.const 100)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $1)
|
|
(i32.const 100)
|
|
)
|
|
(block
|
|
(set_local $4
|
|
(i32.rem_u
|
|
(get_local $1)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.div_u
|
|
(get_local $1)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.load offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $1)
|
|
(i32.const 10)
|
|
)
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.load offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 48)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/itoa32 (; 37 ;) (; has Stack IR ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(if
|
|
(tee_local $1
|
|
(i32.lt_s
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(tee_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(tee_local $3
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $0)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $0)
|
|
(get_local $3)
|
|
)
|
|
(if
|
|
(get_local $1)
|
|
(i32.store16 offset=4
|
|
(get_local $2)
|
|
(i32.const 45)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/internal/number/utoa32 (; 38 ;) (; has Stack IR ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(tee_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(tee_local $1
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/internal/number/decimalCount64 (; 39 ;) (; has Stack IR ;) (type $Ii) (param $0 i64) (result i32)
|
|
(if (result i32)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 1000000000000000)
|
|
)
|
|
(if (result i32)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 1000000000000)
|
|
)
|
|
(select
|
|
(i32.const 11)
|
|
(i32.const 12)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 100000000000)
|
|
)
|
|
)
|
|
(select
|
|
(i32.const 13)
|
|
(select
|
|
(i32.const 14)
|
|
(i32.const 15)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 100000000000000)
|
|
)
|
|
)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 10000000000000)
|
|
)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 100000000000000000)
|
|
)
|
|
(select
|
|
(i32.const 16)
|
|
(i32.const 17)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 10000000000000000)
|
|
)
|
|
)
|
|
(select
|
|
(i32.const 18)
|
|
(select
|
|
(i32.const 19)
|
|
(i32.const 20)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const -8446744073709551616)
|
|
)
|
|
)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 1000000000000000000)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/utoa64_lut (; 40 ;) (; has Stack IR ;) (type $iIiv) (param $0 i32) (param $1 i64) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(set_local $3
|
|
(i32.load
|
|
(i32.const 2080)
|
|
)
|
|
)
|
|
(loop $continue|0
|
|
(if
|
|
(i64.ge_u
|
|
(get_local $1)
|
|
(i64.const 100000000)
|
|
)
|
|
(block
|
|
(set_local $6
|
|
(i32.div_u
|
|
(tee_local $5
|
|
(i32.div_u
|
|
(tee_local $4
|
|
(i32.wrap/i64
|
|
(i64.sub
|
|
(get_local $1)
|
|
(i64.mul
|
|
(tee_local $1
|
|
(i64.div_u
|
|
(get_local $1)
|
|
(i64.const 100000000)
|
|
)
|
|
)
|
|
(i64.const 100000000)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.rem_u
|
|
(get_local $5)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(i64.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i64.or
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(i32.div_u
|
|
(tee_local $4
|
|
(i32.rem_u
|
|
(get_local $4)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(i32.const 100)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i64.shl
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(i32.rem_u
|
|
(get_local $4)
|
|
(i32.const 100)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(i64.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i64.or
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $6)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i64.shl
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $5)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $0)
|
|
(i32.wrap/i64
|
|
(get_local $1)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/utoa64 (; 41 ;) (; has Stack IR ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i64.eqz
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(if
|
|
(i64.le_u
|
|
(get_local $0)
|
|
(i64.const 4294967295)
|
|
)
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(tee_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(tee_local $1
|
|
(call $~lib/internal/number/decimalCount32
|
|
(tee_local $3
|
|
(i32.wrap/i64
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
(get_local $1)
|
|
)
|
|
(call $~lib/internal/number/utoa64_lut
|
|
(tee_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(tee_local $1
|
|
(call $~lib/internal/number/decimalCount64
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/internal/number/itoa64 (; 42 ;) (; has Stack IR ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i64.eqz
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(if
|
|
(tee_local $1
|
|
(i64.lt_s
|
|
(get_local $0)
|
|
(i64.const 0)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i64.sub
|
|
(i64.const 0)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i64.le_u
|
|
(get_local $0)
|
|
(i64.const 4294967295)
|
|
)
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(tee_local $3
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(tee_local $2
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount32
|
|
(tee_local $4
|
|
(i32.wrap/i64
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $4)
|
|
(get_local $2)
|
|
)
|
|
(call $~lib/internal/number/utoa64_lut
|
|
(tee_local $3
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(tee_local $2
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount64
|
|
(get_local $0)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $1)
|
|
(i32.store16 offset=4
|
|
(get_local $3)
|
|
(i32.const 45)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
(func $~lib/builtins/isFinite<f64> (; 43 ;) (; has Stack IR ;) (type $Fi) (param $0 f64) (result i32)
|
|
(f64.eq
|
|
(f64.sub
|
|
(get_local $0)
|
|
(get_local $0)
|
|
)
|
|
(f64.const 0)
|
|
)
|
|
)
|
|
(func $~lib/builtins/isNaN<f64> (; 44 ;) (; has Stack IR ;) (type $Fi) (param $0 f64) (result i32)
|
|
(f64.ne
|
|
(get_local $0)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/genDigits (; 45 ;) (; has Stack IR ;) (type $iIiIiIii) (param $0 i32) (param $1 i64) (param $2 i32) (param $3 i64) (param $4 i32) (param $5 i64) (param $6 i32) (result i32)
|
|
(local $7 i32)
|
|
(local $8 i64)
|
|
(local $9 i32)
|
|
(local $10 i64)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i64)
|
|
(local $14 i64)
|
|
(set_local $8
|
|
(i64.sub
|
|
(get_local $3)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i64.and
|
|
(get_local $3)
|
|
(tee_local $14
|
|
(i64.sub
|
|
(tee_local $10
|
|
(i64.shl
|
|
(i64.const 1)
|
|
(tee_local $13
|
|
(i64.extend_s/i32
|
|
(tee_local $11
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(call $~lib/internal/number/decimalCount32
|
|
(tee_local $7
|
|
(i32.wrap/i64
|
|
(i64.shr_u
|
|
(get_local $3)
|
|
(get_local $13)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.load
|
|
(i32.const 4096)
|
|
)
|
|
)
|
|
(loop $continue|0
|
|
(if
|
|
(i32.gt_s
|
|
(get_local $9)
|
|
(i32.const 0)
|
|
)
|
|
(block
|
|
(block $break|1
|
|
(block $case10|1
|
|
(block $case9|1
|
|
(block $case8|1
|
|
(block $case7|1
|
|
(block $case6|1
|
|
(block $case5|1
|
|
(block $case4|1
|
|
(block $case3|1
|
|
(block $case2|1
|
|
(block $case1|1
|
|
(if
|
|
(i32.ne
|
|
(tee_local $2
|
|
(get_local $9)
|
|
)
|
|
(i32.const 10)
|
|
)
|
|
(block
|
|
(block $tablify|0
|
|
(br_table $case9|1 $case8|1 $case7|1 $case6|1 $case5|1 $case4|1 $case3|1 $case2|1 $case1|1 $tablify|0
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(br $case10|1)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 1000000000)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 1000000000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 100000000)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 100000000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 10000000)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 10000000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 1000000)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 1000000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 100000)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 100000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 1000)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 1000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(get_local $7)
|
|
)
|
|
(set_local $7
|
|
(i32.const 0)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $4
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.or
|
|
(get_local $4)
|
|
(get_local $6)
|
|
)
|
|
(block
|
|
(set_local $6
|
|
(i32.add
|
|
(tee_local $2
|
|
(get_local $6)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.add
|
|
(i32.and
|
|
(get_local $4)
|
|
(i32.const 65535)
|
|
)
|
|
(i32.const 48)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i32.sub
|
|
(get_local $9)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(i64.le_u
|
|
(tee_local $3
|
|
(i64.add
|
|
(i64.shl
|
|
(i64.extend_u/i32
|
|
(get_local $7)
|
|
)
|
|
(i64.extend_s/i32
|
|
(get_local $11)
|
|
)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(block
|
|
(set_global $~lib/internal/number/_K
|
|
(i32.add
|
|
(get_global $~lib/internal/number/_K)
|
|
(get_local $9)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i64.shl
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $12)
|
|
(i32.shl
|
|
(get_local $9)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i64.extend_s/i32
|
|
(get_local $11)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.load16_u offset=4
|
|
(tee_local $2
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(i32.sub
|
|
(get_local $6)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(loop $continue|2
|
|
(if
|
|
(tee_local $0
|
|
(i64.lt_u
|
|
(get_local $3)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i64.ge_u
|
|
(i64.sub
|
|
(get_local $5)
|
|
(get_local $3)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $0)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $0
|
|
(i64.lt_u
|
|
(i64.add
|
|
(get_local $3)
|
|
(get_local $1)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i64.gt_u
|
|
(i64.sub
|
|
(get_local $8)
|
|
(get_local $3)
|
|
)
|
|
(i64.sub
|
|
(i64.add
|
|
(get_local $3)
|
|
(get_local $1)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $0)
|
|
(block
|
|
(set_local $7
|
|
(i32.sub
|
|
(get_local $7)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i64.add
|
|
(get_local $3)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(br $continue|2)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $2)
|
|
(get_local $7)
|
|
)
|
|
(return
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
(loop $continue|3 (result i32)
|
|
(set_local $5
|
|
(i64.mul
|
|
(get_local $5)
|
|
(i64.const 10)
|
|
)
|
|
)
|
|
(if
|
|
(i64.ne
|
|
(i64.or
|
|
(tee_local $3
|
|
(i64.shr_u
|
|
(tee_local $1
|
|
(i64.mul
|
|
(get_local $1)
|
|
(i64.const 10)
|
|
)
|
|
)
|
|
(i64.extend_s/i32
|
|
(get_local $11)
|
|
)
|
|
)
|
|
)
|
|
(i64.extend_s/i32
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(i64.const 0)
|
|
)
|
|
(block
|
|
(set_local $6
|
|
(i32.add
|
|
(tee_local $4
|
|
(get_local $6)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.add
|
|
(i32.and
|
|
(i32.wrap/i64
|
|
(get_local $3)
|
|
)
|
|
(i32.const 65535)
|
|
)
|
|
(i32.const 48)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i32.sub
|
|
(get_local $9)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(i64.lt_u
|
|
(tee_local $1
|
|
(i64.and
|
|
(get_local $1)
|
|
(get_local $14)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(block (result i32)
|
|
(set_global $~lib/internal/number/_K
|
|
(i32.add
|
|
(get_global $~lib/internal/number/_K)
|
|
(get_local $9)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i64.mul
|
|
(get_local $8)
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $12)
|
|
(i32.shl
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $9)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.load16_u offset=4
|
|
(tee_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(i32.sub
|
|
(get_local $6)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(loop $continue|4
|
|
(if
|
|
(tee_local $2
|
|
(i64.lt_u
|
|
(get_local $1)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i64.ge_u
|
|
(i64.sub
|
|
(get_local $5)
|
|
(get_local $1)
|
|
)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i64.lt_u
|
|
(i64.add
|
|
(get_local $1)
|
|
(get_local $10)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i64.gt_u
|
|
(i64.sub
|
|
(get_local $8)
|
|
(get_local $1)
|
|
)
|
|
(i64.sub
|
|
(i64.add
|
|
(get_local $1)
|
|
(get_local $10)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(block
|
|
(set_local $7
|
|
(i32.sub
|
|
(get_local $7)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i64.add
|
|
(get_local $1)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
(br $continue|4)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $4)
|
|
(get_local $7)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
(br $continue|3)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/prettify (; 46 ;) (; has Stack IR ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(block
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 3145774)
|
|
)
|
|
(return
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(tee_local $3
|
|
(i32.le_s
|
|
(get_local $1)
|
|
(tee_local $4
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.le_s
|
|
(get_local $4)
|
|
(i32.const 21)
|
|
)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(get_local $3)
|
|
(block (result i32)
|
|
(block $break|0
|
|
(set_local $3
|
|
(get_local $1)
|
|
)
|
|
(loop $repeat|0
|
|
(br_if $break|0
|
|
(i32.ge_s
|
|
(get_local $3)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 48)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|0)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 3145774)
|
|
)
|
|
(i32.add
|
|
(get_local $4)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block (result i32)
|
|
(if
|
|
(tee_local $3
|
|
(i32.gt_s
|
|
(get_local $4)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.le_s
|
|
(get_local $4)
|
|
(i32.const 21)
|
|
)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(get_local $3)
|
|
(block (result i32)
|
|
(call $~lib/internal/memory/memmove
|
|
(i32.add
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 6)
|
|
)
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 4)
|
|
)
|
|
(i32.shl
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 46)
|
|
)
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(block (result i32)
|
|
(if
|
|
(tee_local $3
|
|
(i32.lt_s
|
|
(i32.const -6)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.le_s
|
|
(get_local $4)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(get_local $3)
|
|
(block (result i32)
|
|
(call $~lib/internal/memory/memmove
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.shl
|
|
(tee_local $3
|
|
(i32.sub
|
|
(i32.const 2)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(get_local $0)
|
|
(i32.const 3014704)
|
|
)
|
|
(block $break|1
|
|
(set_local $2
|
|
(i32.const 2)
|
|
)
|
|
(loop $repeat|1
|
|
(br_if $break|1
|
|
(i32.ge_s
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 48)
|
|
)
|
|
(set_local $2
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|1)
|
|
)
|
|
)
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
(block (result i32)
|
|
(i32.store16 offset=6
|
|
(get_local $0)
|
|
(i32.const 101)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(if
|
|
(tee_local $0
|
|
(i32.lt_s
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $3)
|
|
(get_local $2)
|
|
(tee_local $2
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $2)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $3)
|
|
(select
|
|
(i32.const 45)
|
|
(i32.const 43)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block (result i32)
|
|
(call $~lib/internal/memory/memmove
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 6)
|
|
)
|
|
(i32.sub
|
|
(tee_local $2
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(i32.store16 offset=6
|
|
(get_local $0)
|
|
(i32.const 46)
|
|
)
|
|
(i32.store16 offset=6
|
|
(tee_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 101)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(if
|
|
(tee_local $0
|
|
(i32.lt_s
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $3)
|
|
(get_local $2)
|
|
(tee_local $2
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $2)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $3)
|
|
(select
|
|
(i32.const 45)
|
|
(i32.const 43)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/dtoa_core (; 47 ;) (; has Stack IR ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32)
|
|
(local $2 i64)
|
|
(local $3 i64)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i64)
|
|
(local $7 i64)
|
|
(local $8 i64)
|
|
(local $9 i64)
|
|
(local $10 i64)
|
|
(local $11 i64)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
(local $15 i64)
|
|
(if
|
|
(tee_local $12
|
|
(f64.lt
|
|
(get_local $1)
|
|
(f64.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $1
|
|
(f64.neg
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $0)
|
|
(i32.const 45)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i64.add
|
|
(i64.shl
|
|
(i64.extend_u/i32
|
|
(tee_local $5
|
|
(i32.ne
|
|
(tee_local $13
|
|
(i32.wrap/i64
|
|
(i64.shr_u
|
|
(i64.and
|
|
(tee_local $2
|
|
(i64.reinterpret/f64
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i64.const 9218868437227405312)
|
|
)
|
|
(i64.const 52)
|
|
)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 52)
|
|
)
|
|
(i64.and
|
|
(get_local $2)
|
|
(i64.const 4503599627370495)
|
|
)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.sub
|
|
(tee_local $13
|
|
(i32.sub
|
|
(select
|
|
(get_local $13)
|
|
(i32.const 1)
|
|
(get_local $5)
|
|
)
|
|
(i32.const 1075)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.wrap/i64
|
|
(i64.clz
|
|
(tee_local $6
|
|
(i64.add
|
|
(i64.shl
|
|
(get_local $2)
|
|
(i64.const 1)
|
|
)
|
|
(i64.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_frc_plus
|
|
(i64.shl
|
|
(get_local $6)
|
|
(i64.extend_s/i32
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_frc_minus
|
|
(i64.shl
|
|
(i64.sub
|
|
(i64.shl
|
|
(get_local $2)
|
|
(i64.extend_s/i32
|
|
(tee_local $14
|
|
(i32.add
|
|
(i64.eq
|
|
(get_local $2)
|
|
(i64.const 4503599627370496)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 1)
|
|
)
|
|
(i64.extend_s/i32
|
|
(i32.sub
|
|
(i32.sub
|
|
(get_local $13)
|
|
(get_local $14)
|
|
)
|
|
(tee_local $5
|
|
(i32.sub
|
|
(get_local $5)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_exp
|
|
(get_local $5)
|
|
)
|
|
(set_global $~lib/internal/number/_K
|
|
(i32.sub
|
|
(i32.const 348)
|
|
(i32.shl
|
|
(tee_local $5
|
|
(i32.add
|
|
(i32.shr_s
|
|
(i32.add
|
|
(tee_local $4
|
|
(i32.trunc_s/f64
|
|
(tee_local $1
|
|
(f64.add
|
|
(f64.mul
|
|
(f64.convert_s/i32
|
|
(i32.sub
|
|
(i32.const -61)
|
|
(get_global $~lib/internal/number/_exp)
|
|
)
|
|
)
|
|
(f64.const 0.30102999566398114)
|
|
)
|
|
(f64.const 347)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(f64.ne
|
|
(f64.convert_s/i32
|
|
(get_local $4)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(i32.const 4024)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_frc_pow
|
|
(i64.load offset=8
|
|
(i32.add
|
|
(i32.load
|
|
(i32.const 3760)
|
|
)
|
|
(i32.shl
|
|
(get_local $5)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_exp_pow
|
|
(i32.load16_s offset=8
|
|
(i32.add
|
|
(get_local $4)
|
|
(i32.shl
|
|
(get_local $5)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i64.mul
|
|
(tee_local $7
|
|
(i64.and
|
|
(tee_local $2
|
|
(i64.shl
|
|
(get_local $2)
|
|
(i64.extend_s/i32
|
|
(tee_local $4
|
|
(i32.wrap/i64
|
|
(i64.clz
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
(tee_local $8
|
|
(i64.and
|
|
(tee_local $6
|
|
(get_global $~lib/internal/number/_frc_pow)
|
|
)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $7)
|
|
(tee_local $10
|
|
(i64.shr_u
|
|
(get_local $6)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(i64.and
|
|
(tee_local $3
|
|
(i64.add
|
|
(i64.mul
|
|
(tee_local $11
|
|
(i64.shr_u
|
|
(get_local $2)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
(i64.shr_u
|
|
(get_local $9)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i64.add
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $11)
|
|
(get_local $10)
|
|
)
|
|
(i64.shr_u
|
|
(get_local $3)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(i64.shr_u
|
|
(i64.add
|
|
(get_local $2)
|
|
(i64.const 2147483647)
|
|
)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i64.mul
|
|
(tee_local $9
|
|
(i64.and
|
|
(tee_local $3
|
|
(get_global $~lib/internal/number/_frc_plus)
|
|
)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
(tee_local $10
|
|
(i64.and
|
|
(get_local $6)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $9)
|
|
(tee_local $8
|
|
(i64.shr_u
|
|
(get_local $6)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(i64.and
|
|
(tee_local $3
|
|
(i64.add
|
|
(i64.mul
|
|
(tee_local $11
|
|
(i64.shr_u
|
|
(get_local $3)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(get_local $10)
|
|
)
|
|
(i64.shr_u
|
|
(get_local $7)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
)
|
|
(set_local $15
|
|
(i64.add
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $11)
|
|
(get_local $8)
|
|
)
|
|
(i64.shr_u
|
|
(get_local $3)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(i64.shr_u
|
|
(i64.add
|
|
(get_local $7)
|
|
(i64.const 2147483647)
|
|
)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i64.mul
|
|
(tee_local $7
|
|
(i64.and
|
|
(tee_local $3
|
|
(get_global $~lib/internal/number/_frc_minus)
|
|
)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
(tee_local $8
|
|
(i64.and
|
|
(get_local $6)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $7)
|
|
(tee_local $10
|
|
(i64.shr_u
|
|
(get_local $6)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(i64.and
|
|
(tee_local $3
|
|
(i64.add
|
|
(i64.mul
|
|
(tee_local $11
|
|
(i64.shr_u
|
|
(get_local $3)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
(i64.shr_u
|
|
(get_local $9)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i64.sub
|
|
(tee_local $7
|
|
(i64.sub
|
|
(get_local $15)
|
|
(i64.const 1)
|
|
)
|
|
)
|
|
(i64.add
|
|
(i64.add
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $11)
|
|
(get_local $10)
|
|
)
|
|
(i64.shr_u
|
|
(get_local $3)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(i64.shr_u
|
|
(i64.add
|
|
(get_local $6)
|
|
(i64.const 2147483647)
|
|
)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(i64.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.add
|
|
(call $~lib/internal/number/prettify
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $12)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.sub
|
|
(call $~lib/internal/number/genDigits
|
|
(get_local $0)
|
|
(get_local $2)
|
|
(tee_local $5
|
|
(i32.sub
|
|
(i32.add
|
|
(i32.sub
|
|
(get_local $13)
|
|
(get_local $4)
|
|
)
|
|
(tee_local $4
|
|
(get_global $~lib/internal/number/_exp_pow)
|
|
)
|
|
)
|
|
(i32.const -64)
|
|
)
|
|
)
|
|
(get_local $7)
|
|
(i32.sub
|
|
(i32.add
|
|
(get_global $~lib/internal/number/_exp)
|
|
(get_local $4)
|
|
)
|
|
(i32.const -64)
|
|
)
|
|
(get_local $3)
|
|
(get_local $12)
|
|
)
|
|
(get_local $12)
|
|
)
|
|
(get_global $~lib/internal/number/_K)
|
|
)
|
|
(get_local $12)
|
|
)
|
|
)
|
|
(func $~lib/string/String#substring (; 48 ;) (; has Stack IR ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 264)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(select
|
|
(tee_local $2
|
|
(select
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(i32.gt_s
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(tee_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(select
|
|
(tee_local $2
|
|
(select
|
|
(i32.const 0)
|
|
(get_local $3)
|
|
(i32.lt_s
|
|
(i32.const 0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(get_local $1)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $3
|
|
(i32.sub
|
|
(tee_local $1
|
|
(select
|
|
(get_local $2)
|
|
(get_local $1)
|
|
(i32.gt_s
|
|
(get_local $2)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(if
|
|
(tee_local $2
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(return
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(tee_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(get_local $4)
|
|
(get_local $3)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/allocator/arena/__memory_free (; 49 ;) (; has Stack IR ;) (type $FUNCSIG$v)
|
|
(nop)
|
|
)
|
|
(func $~lib/internal/number/dtoa (; 50 ;) (; has Stack IR ;) (type $Fi) (param $0 f64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(if
|
|
(f64.eq
|
|
(get_local $0)
|
|
(f64.const 0)
|
|
)
|
|
(return
|
|
(i32.const 2656)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/builtins/isFinite<f64>
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(block
|
|
(if
|
|
(call $~lib/builtins/isNaN<f64>
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 2672)
|
|
)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 2688)
|
|
(i32.const 2712)
|
|
(f64.lt
|
|
(get_local $0)
|
|
(f64.const 0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(call $~lib/internal/number/dtoa_core
|
|
(tee_local $1
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(i32.const 28)
|
|
)
|
|
)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(call $~lib/string/String#substring
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 112)
|
|
(i32.const 28)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(call $~lib/allocator/arena/__memory_free)
|
|
(get_local $2)
|
|
)
|
|
(func $start (; 51 ;) (; has Stack IR ;) (type $v)
|
|
(set_global $~lib/allocator/arena/startOffset
|
|
(i32.const 5648)
|
|
)
|
|
(set_global $~lib/allocator/arena/offset
|
|
(get_global $~lib/allocator/arena/startOffset)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(get_global $std/string/str)
|
|
(i32.const 8)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 17)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(i32.load
|
|
(get_global $std/string/str)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 19)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#charCodeAt
|
|
(get_global $std/string/str)
|
|
)
|
|
(i32.const 104)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 20)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCharCode
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 168)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 22)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCharCode
|
|
(i32.const 54)
|
|
)
|
|
(i32.const 176)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 23)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCharCode
|
|
(i32.const 65590)
|
|
)
|
|
(i32.const 176)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 24)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 168)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 26)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 54)
|
|
)
|
|
(i32.const 176)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 27)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 119558)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 184)
|
|
(i32.const 48)
|
|
(i32.const 28)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String#startsWith
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 30)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String#endsWith|trampoline
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 31)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String#includes
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 32)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 0)
|
|
)
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 34)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 15)
|
|
)
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 35)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart|trampoline
|
|
(i32.const 256)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 264)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 36)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart
|
|
(i32.const 256)
|
|
(i32.const 10)
|
|
(i32.const 256)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 37)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart
|
|
(i32.const 280)
|
|
(i32.const 100)
|
|
(i32.const 256)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 38)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart|trampoline
|
|
(i32.const 288)
|
|
(i32.const 5)
|
|
)
|
|
(i32.const 304)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 39)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart
|
|
(i32.const 288)
|
|
(i32.const 6)
|
|
(i32.const 320)
|
|
)
|
|
(i32.const 336)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 40)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart
|
|
(i32.const 288)
|
|
(i32.const 8)
|
|
(i32.const 320)
|
|
)
|
|
(i32.const 352)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 41)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 0)
|
|
)
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 43)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 15)
|
|
)
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 44)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd|trampoline
|
|
(i32.const 256)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 264)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 45)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd
|
|
(i32.const 256)
|
|
(i32.const 10)
|
|
(i32.const 256)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 46)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd
|
|
(i32.const 280)
|
|
(i32.const 100)
|
|
(i32.const 256)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 47)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd|trampoline
|
|
(i32.const 288)
|
|
(i32.const 5)
|
|
)
|
|
(i32.const 376)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 48)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd
|
|
(i32.const 288)
|
|
(i32.const 6)
|
|
(i32.const 288)
|
|
)
|
|
(i32.const 392)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 49)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd
|
|
(i32.const 288)
|
|
(i32.const 8)
|
|
(i32.const 288)
|
|
)
|
|
(i32.const 408)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 50)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String#indexOf
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 52)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#indexOf
|
|
(i32.const 256)
|
|
(i32.const 192)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 53)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 54)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 55)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 440)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 56)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 57)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 58)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 448)
|
|
(i32.const -1)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 59)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 61)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(i32.const 256)
|
|
(i32.const 192)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 62)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 256)
|
|
)
|
|
(i32.load
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 63)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 64)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 440)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 65)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 464)
|
|
)
|
|
(i32.const 15)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 66)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 67)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 68)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 448)
|
|
(i32.const -1)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 69)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 472)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 70)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 192)
|
|
(i32.const 0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 71)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseInt
|
|
(i32.const 480)
|
|
)
|
|
(f64.const 0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 77)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseInt
|
|
(i32.const 488)
|
|
)
|
|
(f64.const 1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 78)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseInt
|
|
(i32.const 496)
|
|
)
|
|
(f64.const 5)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 79)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseInt
|
|
(i32.const 512)
|
|
)
|
|
(f64.const 455)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 80)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseInt
|
|
(i32.const 528)
|
|
)
|
|
(f64.const 3855)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 81)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseInt
|
|
(i32.const 544)
|
|
)
|
|
(f64.const 3855)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 82)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseInt
|
|
(i32.const 560)
|
|
)
|
|
(f64.const 11)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 83)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseInt
|
|
(i32.const 576)
|
|
)
|
|
(f64.const 1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 84)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 480)
|
|
)
|
|
(f64.const 0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 86)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 488)
|
|
)
|
|
(f64.const 1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 87)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 592)
|
|
)
|
|
(f64.const 0.1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 88)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 608)
|
|
)
|
|
(f64.const 0.25)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 89)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(f64.ne
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 624)
|
|
)
|
|
(f64.const 0.1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 90)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/c
|
|
(call $~lib/string/String.__concat
|
|
(i32.const 280)
|
|
(i32.const 648)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(get_global $std/string/c)
|
|
(i32.const 656)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 93)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__ne
|
|
(get_global $std/string/c)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 94)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 95)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__ne
|
|
(i32.const 256)
|
|
(get_global $std/string/nullStr)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 96)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 648)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 98)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 664)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 99)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gte
|
|
(i32.const 664)
|
|
(i32.const 672)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 100)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 664)
|
|
(i32.const 656)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 101)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 664)
|
|
(i32.const 656)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 102)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 648)
|
|
(get_global $std/string/nullStr)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 104)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String.__lt
|
|
(get_global $std/string/nullStr)
|
|
(i32.const 648)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 105)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 107)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 256)
|
|
(i32.const 288)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 108)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gte
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 109)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lte
|
|
(i32.const 288)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 110)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 111)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 256)
|
|
(i32.const 288)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 112)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 113)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 114)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gte
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 115)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lte
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 116)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/a
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 65377)
|
|
)
|
|
)
|
|
(set_global $std/string/b
|
|
(call $~lib/string/String.__concat
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 55296)
|
|
)
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 56322)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(get_global $std/string/a)
|
|
(get_global $std/string/b)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 120)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(i32.load
|
|
(i32.const 320)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 122)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 256)
|
|
(i32.const 100)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 124)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 125)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 126)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 672)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 127)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 680)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 128)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 656)
|
|
(i32.const 4)
|
|
)
|
|
(i32.const 696)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 129)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 5)
|
|
)
|
|
(i32.const 720)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 130)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 6)
|
|
)
|
|
(i32.const 736)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 131)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 7)
|
|
)
|
|
(i32.const 752)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 132)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 134)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 488)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 135)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 8)
|
|
)
|
|
(i32.const 1296)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 136)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 123)
|
|
)
|
|
(i32.const 320)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 137)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const -1000)
|
|
)
|
|
(i32.const 1304)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 138)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 1234)
|
|
)
|
|
(i32.const 1320)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 139)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 12345)
|
|
)
|
|
(i32.const 1336)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 140)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 123456)
|
|
)
|
|
(i32.const 1352)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 141)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 1111111)
|
|
)
|
|
(i32.const 1368)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 142)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 1234567)
|
|
)
|
|
(i32.const 1392)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 143)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 2147483646)
|
|
)
|
|
(i32.const 1416)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 144)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 2147483647)
|
|
)
|
|
(i32.const 1440)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 145)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const -2147483648)
|
|
)
|
|
(i32.const 1464)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 146)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const -1)
|
|
)
|
|
(i32.const 1496)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 147)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 149)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(i32.const 1000)
|
|
)
|
|
(i32.const 1504)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 150)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(i32.const 2147483647)
|
|
)
|
|
(i32.const 1440)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 151)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(i32.const -2147483648)
|
|
)
|
|
(i32.const 1520)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 152)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(i32.const -1)
|
|
)
|
|
(i32.const 1544)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 153)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 0)
|
|
)
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 155)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 1234)
|
|
)
|
|
(i32.const 1320)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 156)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 99999999)
|
|
)
|
|
(i32.const 2088)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 157)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 100000000)
|
|
)
|
|
(i32.const 2112)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 158)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 4294967295)
|
|
)
|
|
(i32.const 1544)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 159)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 68719476735)
|
|
)
|
|
(i32.const 2136)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 160)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 868719476735)
|
|
)
|
|
(i32.const 2168)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 161)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 999868719476735)
|
|
)
|
|
(i32.const 2200)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 162)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 9999868719476735)
|
|
)
|
|
(i32.const 2240)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 163)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 19999868719476735)
|
|
)
|
|
(i32.const 2280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 164)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const -1)
|
|
)
|
|
(i32.const 2320)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 165)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const 0)
|
|
)
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 167)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -1234)
|
|
)
|
|
(i32.const 2368)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 168)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const 4294967295)
|
|
)
|
|
(i32.const 1544)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 169)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -4294967295)
|
|
)
|
|
(i32.const 2384)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 170)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const 68719476735)
|
|
)
|
|
(i32.const 2136)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 171)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -68719476735)
|
|
)
|
|
(i32.const 2416)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 172)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -868719476735)
|
|
)
|
|
(i32.const 2448)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 173)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -999868719476735)
|
|
)
|
|
(i32.const 2480)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 174)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -19999868719476735)
|
|
)
|
|
(i32.const 2520)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 175)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const 9223372036854775807)
|
|
)
|
|
(i32.const 2560)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 176)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -9223372036854775808)
|
|
)
|
|
(i32.const 2608)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 177)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0)
|
|
)
|
|
(i32.const 2656)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 180)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -0)
|
|
)
|
|
(i32.const 2656)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 181)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
(i32.const 2672)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 182)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const inf)
|
|
)
|
|
(i32.const 2712)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 183)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -inf)
|
|
)
|
|
(i32.const 2688)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 184)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 2.220446049250313e-16)
|
|
)
|
|
(i32.const 4104)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 185)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -2.220446049250313e-16)
|
|
)
|
|
(i32.const 4152)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 186)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1797693134862315708145274e284)
|
|
)
|
|
(i32.const 4200)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 187)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1797693134862315708145274e284)
|
|
)
|
|
(i32.const 4256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 188)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 4185580496821356722454785e274)
|
|
)
|
|
(i32.const 4312)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 189)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 2.2250738585072014e-308)
|
|
)
|
|
(i32.const 4360)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 190)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 2.9802322387695312e-08)
|
|
)
|
|
(i32.const 4416)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 191)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -21098088986959632)
|
|
)
|
|
(i32.const 4464)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 192)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 4.940656e-318)
|
|
)
|
|
(i32.const 4512)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 193)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 9060801153433600)
|
|
)
|
|
(i32.const 4544)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 194)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 4708356024711512064)
|
|
)
|
|
(i32.const 4584)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 195)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 9409340012568248320)
|
|
)
|
|
(i32.const 4632)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 196)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 5e-324)
|
|
)
|
|
(i32.const 4680)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 197)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1)
|
|
)
|
|
(i32.const 4696)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 203)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.1)
|
|
)
|
|
(i32.const 592)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 204)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1)
|
|
)
|
|
(i32.const 4712)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 205)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -0.1)
|
|
)
|
|
(i32.const 4728)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 206)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e6)
|
|
)
|
|
(i32.const 4744)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 208)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e-06)
|
|
)
|
|
(i32.const 4768)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 209)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1e6)
|
|
)
|
|
(i32.const 4792)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 210)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1e-06)
|
|
)
|
|
(i32.const 4816)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 211)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e7)
|
|
)
|
|
(i32.const 4840)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 212)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e-07)
|
|
)
|
|
(i32.const 4864)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 213)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1.e+308)
|
|
)
|
|
(i32.const 4880)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 215)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1.e+308)
|
|
)
|
|
(i32.const 4896)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 216)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const inf)
|
|
)
|
|
(i32.const 2712)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 217)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -inf)
|
|
)
|
|
(i32.const 2688)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 218)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e-308)
|
|
)
|
|
(i32.const 4920)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 219)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1e-308)
|
|
)
|
|
(i32.const 4936)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 220)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e-323)
|
|
)
|
|
(i32.const 4960)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 221)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1e-323)
|
|
)
|
|
(i32.const 4976)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 222)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0)
|
|
)
|
|
(i32.const 2656)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 223)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 4294967272)
|
|
)
|
|
(i32.const 5000)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 225)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1.2312145673456234e-08)
|
|
)
|
|
(i32.const 5032)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 226)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1.0471975511965976e-06)
|
|
)
|
|
(i32.const 5080)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 227)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 555555555.5555556)
|
|
)
|
|
(i32.const 5136)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 228)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.9999999999999999)
|
|
)
|
|
(i32.const 5176)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 229)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1)
|
|
)
|
|
(i32.const 4696)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 230)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 12.34)
|
|
)
|
|
(i32.const 5216)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 231)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.30000000000000004)
|
|
)
|
|
(i32.const 5232)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 232)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.3333333333333333)
|
|
)
|
|
(i32.const 5280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 233)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1234e17)
|
|
)
|
|
(i32.const 5320)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 234)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1234e18)
|
|
)
|
|
(i32.const 5376)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 235)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 2.71828)
|
|
)
|
|
(i32.const 5400)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 236)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.0271828)
|
|
)
|
|
(i32.const 5424)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 237)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 271.828)
|
|
)
|
|
(i32.const 5448)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 238)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1.1e+128)
|
|
)
|
|
(i32.const 5472)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 239)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1.1e-64)
|
|
)
|
|
(i32.const 5496)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 240)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.000035689)
|
|
)
|
|
(i32.const 5520)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 241)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 3402823466385288598117041e14)
|
|
)
|
|
(i32.const 5552)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 243)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1.1920928955078125e-07)
|
|
)
|
|
(i32.const 5600)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 244)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
)
|
|
(func $null (; 52 ;) (; has Stack IR ;) (type $v)
|
|
(nop)
|
|
)
|
|
)
|