assemblyscript/tests/compiler/std/string.optimized.wat

12141 lines
209 KiB
Plaintext
Raw Normal View History

(module
(type $iiiiv (func (param i32 i32 i32 i32)))
2018-01-28 06:18:27 +01:00
(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)))
2018-01-29 07:42:40 +01:00
(type $iF (func (param i32) (result f64)))
2018-07-13 16:40:37 +03:00
(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))
2018-09-13 23:10:49 +02:00
(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)))
2018-10-18 20:05:35 +03:00
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$v (func))
(memory $0 1)
2018-08-02 18:23:02 +02:00
(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")
2018-10-18 20:05:35 +03:00
(data (i32.const 776) "\0d\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s")
(data (i32.const 808) "\1c\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00a\00r\00r\00a\00y\00b\00u\00f\00f\00e\00r\00.\00t\00s")
(data (i32.const 872) "\04")
(data (i32.const 881) "\01")
(data (i32.const 888) "h\03\00\00\01")
(data (i32.const 896) "\05\00\00\00a\00,\00b\00,\00c")
(data (i32.const 912) "\01\00\00\00.")
(data (i32.const 920) "\01\00\00\00c")
(data (i32.const 928) "\07\00\00\00a\00,\00 \00b\00,\00 \00c")
(data (i32.const 952) "\02\00\00\00,\00 ")
(data (i32.const 960) "\06\00\00\00a\00,\00b\00,\00,\00c")
(data (i32.const 976) "\06\00\00\00,\00a\00,\00b\00,\00c")
(data (i32.const 992) "\06\00\00\00a\00,\00b\00,\00c\00,")
(data (i32.const 1008) "\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 1520) "\f0\03\00\00d")
(data (i32.const 1528) "\01\00\00\008")
(data (i32.const 1536) "\05\00\00\00-\001\000\000\000")
(data (i32.const 1552) "\04\00\00\001\002\003\004")
(data (i32.const 1568) "\05\00\00\001\002\003\004\005")
(data (i32.const 1584) "\06\00\00\001\002\003\004\005\006")
(data (i32.const 1600) "\07\00\00\001\001\001\001\001\001\001")
(data (i32.const 1624) "\07\00\00\001\002\003\004\005\006\007")
(data (i32.const 1648) "\n\00\00\002\001\004\007\004\008\003\006\004\006")
(data (i32.const 1672) "\n\00\00\002\001\004\007\004\008\003\006\004\007")
(data (i32.const 1696) "\0b\00\00\00-\002\001\004\007\004\008\003\006\004\008")
(data (i32.const 1728) "\02\00\00\00-\001")
(data (i32.const 1736) "\04\00\00\001\000\000\000")
(data (i32.const 1752) "\n\00\00\002\001\004\007\004\008\003\006\004\008")
(data (i32.const 1776) "\n\00\00\004\002\009\004\009\006\007\002\009\005")
(data (i32.const 1800) "\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 2312) "\08\07\00\00d")
(data (i32.const 2320) "\08\00\00\009\009\009\009\009\009\009\009")
(data (i32.const 2344) "\t\00\00\001\000\000\000\000\000\000\000\000")
(data (i32.const 2368) "\0b\00\00\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2400) "\0c\00\00\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2432) "\0f\00\00\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2472) "\10\00\00\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2512) "\11\00\00\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2552) "\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 2600) "\05\00\00\00-\001\002\003\004")
(data (i32.const 2616) "\0b\00\00\00-\004\002\009\004\009\006\007\002\009\005")
(data (i32.const 2648) "\0c\00\00\00-\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2680) "\0d\00\00\00-\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2712) "\10\00\00\00-\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2752) "\12\00\00\00-\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005")
(data (i32.const 2792) "\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 2840) "\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 2888) "\03\00\00\000\00.\000")
(data (i32.const 2904) "\03\00\00\00N\00a\00N")
(data (i32.const 2920) "\t\00\00\00-\00I\00n\00f\00i\00n\00i\00t\00y")
(data (i32.const 2944) "\08\00\00\00I\00n\00f\00i\00n\00i\00t\00y")
(data (i32.const 2968) "\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 3992) "\98\0b\00\00W")
(data (i32.const 4000) "\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 4256) "\a0\0f\00\00W")
(data (i32.const 4264) "(\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 4328) "\a8\10\00\00\n")
(data (i32.const 4336) "\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 4384) "\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 4432) "\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 4488) "\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 4544) "\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 4592) "\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 4648) "\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 4696) "\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 4744) "\0d\00\00\004\00.\009\004\000\006\005\006\00e\00-\003\001\008")
(data (i32.const 4776) "\12\00\00\009\000\006\000\008\000\001\001\005\003\004\003\003\006\000\000\00.\000")
(data (i32.const 4816) "\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 4864) "\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 4912) "\06\00\00\005\00e\00-\003\002\004")
(data (i32.const 4928) "\03\00\00\001\00.\000")
(data (i32.const 4944) "\04\00\00\00-\001\00.\000")
(data (i32.const 4960) "\04\00\00\00-\000\00.\001")
(data (i32.const 4976) "\t\00\00\001\000\000\000\000\000\000\00.\000")
(data (i32.const 5000) "\08\00\00\000\00.\000\000\000\000\000\001")
(data (i32.const 5024) "\n\00\00\00-\001\000\000\000\000\000\000\00.\000")
(data (i32.const 5048) "\t\00\00\00-\000\00.\000\000\000\000\000\001")
(data (i32.const 5072) "\n\00\00\001\000\000\000\000\000\000\000\00.\000")
(data (i32.const 5096) "\04\00\00\001\00e\00-\007")
(data (i32.const 5112) "\06\00\00\001\00e\00+\003\000\008")
(data (i32.const 5128) "\07\00\00\00-\001\00e\00+\003\000\008")
(data (i32.const 5152) "\06\00\00\001\00e\00-\003\000\008")
(data (i32.const 5168) "\07\00\00\00-\001\00e\00-\003\000\008")
(data (i32.const 5192) "\06\00\00\001\00e\00-\003\002\003")
(data (i32.const 5208) "\07\00\00\00-\001\00e\00-\003\002\003")
(data (i32.const 5232) "\0c\00\00\004\002\009\004\009\006\007\002\007\002\00.\000")
(data (i32.const 5264) "\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 5312) "\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 5368) "\11\00\00\005\005\005\005\005\005\005\005\005\00.\005\005\005\005\005\005\006")
(data (i32.const 5408) "\12\00\00\000\00.\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009")
(data (i32.const 5448) "\05\00\00\001\002\00.\003\004")
(data (i32.const 5464) "\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 5512) "\12\00\00\000\00.\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003")
(data (i32.const 5552) "\17\00\00\001\002\003\004\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00.\000")
(data (i32.const 5608) "\t\00\00\001\00.\002\003\004\00e\00+\002\001")
(data (i32.const 5632) "\07\00\00\002\00.\007\001\008\002\008")
(data (i32.const 5656) "\t\00\00\000\00.\000\002\007\001\008\002\008")
(data (i32.const 5680) "\07\00\00\002\007\001\00.\008\002\008")
(data (i32.const 5704) "\08\00\00\001\00.\001\00e\00+\001\002\008")
(data (i32.const 5728) "\07\00\00\001\00.\001\00e\00-\006\004")
(data (i32.const 5752) "\0b\00\00\000\00.\000\000\000\000\003\005\006\008\009")
(data (i32.const 5784) "\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 5832) "\15\00\00\001\00.\001\009\002\000\009\002\008\009\005\005\000\007\008\001\002\005\00e\00-\007")
(table 1 anyfunc)
(elem (i32.const 0) $null)
(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))
2018-10-18 20:05:35 +03:00
(global $std/string/sa (mut i32) (i32.const 0))
(export "memory" (memory $0))
(export "table" (table $0))
(export "getString" (func $std/string/getString))
(start $start)
2018-09-13 23:10:49 +02:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 75)
(i32.const 4)
)
(unreachable)
)
)
(if
(i32.ge_u
2018-09-13 23:10:49 +02:00
(i32.const 0)
(i32.load
(get_local $0)
)
)
(return
(i32.const -1)
)
)
(i32.load16_u offset=4
2018-09-13 23:10:49 +02:00
(get_local $0)
)
)
2018-08-02 18:23:02 +02:00
(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)
)
2018-08-02 18:23:02 +02:00
(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)
2018-08-02 18:23:02 +02:00
(i32.const 14)
(i32.const 2)
)
(unreachable)
)
)
(i32.store
(tee_local $1
2018-08-02 18:23:02 +02:00
(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)
)
2018-08-02 18:23:02 +02:00
(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
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/allocateUnsafe
(i32.const 1)
)
)
(get_local $0)
)
(get_local $1)
)
2018-09-13 23:10:49 +02:00
(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)
2018-09-13 23:10:49 +02:00
(get_local $3)
(i32.eqz
2018-09-13 23:10:49 +02:00
(tee_local $4
(i32.sub
(i32.load16_u offset=4
(get_local $1)
)
(i32.load16_u offset=4
(get_local $2)
)
)
)
)
2018-09-13 23:10:49 +02:00
(get_local $3)
)
)
(block
2018-09-13 23:10:49 +02:00
(set_local $3
(i32.sub
2018-09-13 23:10:49 +02:00
(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)
)
)
)
2018-09-13 23:10:49 +02:00
(get_local $4)
)
2018-08-02 18:23:02 +02:00
(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)
)
)
)
2018-08-02 18:23:02 +02:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 34)
(i32.const 4)
)
(unreachable)
)
)
(set_local $1
2018-08-02 18:23:02 +02:00
(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)
)
2018-09-13 23:10:49 +02:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 244)
(i32.const 4)
)
(unreachable)
)
)
(if
(i32.gt_s
(i32.add
2018-09-13 23:10:49 +02:00
(tee_local $2
(i32.load
2018-09-13 23:10:49 +02:00
(i32.const 192)
)
)
(tee_local $3
(select
2018-09-13 23:10:49 +02:00
(i32.const 0)
(tee_local $1
(i32.load
(get_local $0)
)
)
(i32.lt_s
2018-09-13 23:10:49 +02:00
(i32.const 0)
(get_local $1)
)
)
)
)
2018-09-13 23:10:49 +02:00
(get_local $1)
)
(return
(i32.const 0)
)
)
(i32.eqz
(call $~lib/internal/string/compareUnsafe
(get_local $0)
(get_local $3)
2018-09-13 23:10:49 +02:00
(i32.const 192)
(get_local $2)
)
)
)
2018-08-02 18:23:02 +02:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 124)
(i32.const 4)
)
(unreachable)
)
)
2018-01-28 06:18:27 +01:00
(if
(i32.eqz
2018-01-28 06:18:27 +01:00
(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)
)
)
)
2018-09-13 23:10:49 +02:00
(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)
)
2018-09-13 23:10:49 +02:00
(set_local $1
(i32.const 536870910)
)
)
(call $~lib/string/String#endsWith
(get_local $0)
2018-09-13 23:10:49 +02:00
(i32.const 216)
(get_local $1)
)
)
2018-08-02 18:23:02 +02:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 213)
(i32.const 4)
)
(unreachable)
)
)
2018-01-28 06:18:27 +01:00
(if
(i32.eqz
2018-01-28 06:18:27 +01:00
(get_local $1)
)
(set_local $1
(i32.const 200)
2018-01-28 06:18:27 +01:00
)
)
(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)
)
2018-10-18 20:05:35 +03:00
(func $~lib/internal/memory/memcpy (; 12 ;) (; 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)
)
)
)
2018-01-28 23:42:55 +01:00
(if
(i32.eqz
(i32.and
(get_local $0)
(i32.const 3)
2018-01-28 23:42:55 +01:00
)
)
(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)
)
2018-01-28 23:42:55 +01:00
)
)
(i32.store
2018-01-28 23:42:55 +01:00
(i32.add
(get_local $0)
(i32.const 8)
)
(i32.load
(i32.add
(get_local $1)
(i32.const 8)
)
2018-01-28 23:42:55 +01:00
)
)
(i32.store
(i32.add
(get_local $0)
(i32.const 12)
)
(i32.load
(i32.add
(get_local $1)
(i32.const 12)
2018-01-28 23:42:55 +01:00
)
)
)
(set_local $1
(i32.add
(get_local $1)
(i32.const 16)
)
)
(set_local $0
(i32.add
(get_local $0)
(i32.const 16)
)
2018-01-28 23:42:55 +01:00
)
(set_local $2
(i32.sub
(get_local $2)
(i32.const 16)
2018-01-28 23:42:55 +01:00
)
)
(br $continue|1)
2018-01-28 23:42:55 +01:00
)
)
)
(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)
)
2018-01-28 23:42:55 +01:00
)
(set_local $0
(i32.add
(get_local $0)
(i32.const 4)
)
)
(set_local $1
(i32.add
(get_local $1)
(i32.const 4)
)
)
2018-01-28 23:42:55 +01:00
)
)
(if
(i32.and
(get_local $2)
(i32.const 2)
)
(block
(i32.store16
(get_local $0)
(i32.load16_u
(get_local $1)
2018-01-28 23:42:55 +01:00
)
)
(set_local $0
(i32.add
(get_local $0)
(i32.const 2)
)
)
(set_local $1
(i32.add
(get_local $1)
(i32.const 2)
)
)
)
)
2018-01-29 07:42:40 +01:00
(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)
)
2018-01-29 07:42:40 +01:00
)
(br_if $case2|2
(i32.eq
(get_local $3)
(i32.const 3)
2018-01-29 07:42:40 +01:00
)
)
(br $break|2)
2018-01-29 07:42:40 +01:00
)
)
(set_local $5
(i32.load
(get_local $1)
2018-01-28 23:42:55 +01:00
)
)
(i32.store8
(get_local $0)
(i32.load8_u
(tee_local $3
(get_local $1)
)
2018-01-29 07:42:40 +01:00
)
)
(set_local $0
2018-01-29 07:42:40 +01:00
(tee_local $1
(i32.add
(get_local $0)
2018-01-29 07:42:40 +01:00
(i32.const 1)
)
)
2018-01-28 23:42:55 +01:00
)
(i32.store8
(get_local $1)
(i32.load8_u
(tee_local $1
(i32.add
(get_local $3)
(i32.const 1)
)
2018-01-28 23:42:55 +01:00
)
)
2018-01-29 07:42:40 +01:00
)
(set_local $0
(i32.add
(tee_local $4
(i32.add
(get_local $0)
(i32.const 1)
2018-01-29 07:42:40 +01:00
)
)
(i32.const 1)
2018-01-29 07:42:40 +01:00
)
)
(set_local $1
(i32.add
(tee_local $3
(i32.add
(get_local $1)
(i32.const 1)
2018-01-29 07:42:40 +01:00
)
)
(i32.const 1)
2018-01-29 07:42:40 +01:00
)
)
(i32.store8
(get_local $4)
(i32.load8_u
(get_local $3)
)
2018-01-29 07:42:40 +01:00
)
(set_local $2
(i32.sub
(get_local $2)
(i32.const 3)
2018-01-29 07:42:40 +01:00
)
)
(loop $continue|3
(if
(i32.ge_u
(get_local $2)
(i32.const 17)
2018-01-29 07:42:40 +01:00
)
(block
(i32.store
(get_local $0)
(i32.or
(i32.shr_u
(get_local $5)
(i32.const 24)
2018-01-29 07:42:40 +01:00
)
(i32.shl
(tee_local $3
(i32.load
(i32.add
(get_local $1)
(i32.const 1)
)
2018-01-29 07:42:40 +01:00
)
)
(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)
)
)
2018-01-29 07:42:40 +01:00
)
(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)
2018-01-29 07:42:40 +01:00
)
)
)
(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)
2018-01-29 07:42:40 +01:00
)
)
)
(i32.const 8)
2018-01-29 07:42:40 +01:00
)
)
)
(set_local $1
(i32.add
(get_local $1)
(i32.const 16)
)
2018-01-29 07:42:40 +01:00
)
(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)
2018-01-29 07:42:40 +01:00
)
)
)
(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)
)
)
)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/internal/memory/memmove (; 13 ;) (; 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
2018-08-02 18:23:02 +02:00
(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)
)
)
)
)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/internal/string/repeatUnsafe (; 14 ;) (; 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)
)
)
2018-08-02 18:23:02 +02:00
(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)
)
)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/internal/string/copyUnsafe (; 15 ;) (; has Stack IR ;) (type $iiiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32)
2018-08-02 18:23:02 +02:00
(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)
)
)
2018-08-02 18:23:02 +02:00
(i32.const 4)
)
(i32.shl
(get_local $4)
2018-08-02 18:23:02 +02:00
(i32.const 1)
)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String#padStart (; 16 ;) (; 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)
(local $7 i32)
(if
(i32.eqz
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 80)
2018-10-18 20:05:35 +03:00
(i32.const 360)
(i32.const 4)
)
(unreachable)
)
)
(set_local $3
(i32.load
(get_local $2)
)
)
(if
(i32.eqz
(tee_local $5
(i32.lt_s
(get_local $1)
(tee_local $6
(i32.load
(get_local $0)
)
)
)
)
)
(set_local $5
(i32.eqz
(get_local $3)
)
)
)
(if
(get_local $5)
(return
(get_local $0)
)
)
(set_local $4
(i32.sub
(get_local $1)
(get_local $6)
)
)
(set_local $1
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/allocateUnsafe
(get_local $1)
)
)
(if
(i32.gt_s
(get_local $4)
(get_local $3)
)
(block
(set_local $3
(i32.sub
(get_local $4)
(tee_local $7
(i32.mul
(tee_local $5
(i32.div_s
(i32.sub
(get_local $4)
(i32.const 1)
)
(get_local $3)
)
)
(get_local $3)
)
)
)
)
(call $~lib/internal/string/repeatUnsafe
(get_local $1)
(i32.const 0)
(get_local $2)
(get_local $5)
)
(if
(get_local $3)
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/copyUnsafe
(get_local $1)
(get_local $7)
2018-08-02 18:23:02 +02:00
(get_local $2)
(i32.const 0)
(get_local $3)
)
)
)
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/copyUnsafe
(get_local $1)
2018-08-02 18:23:02 +02:00
(i32.const 0)
(get_local $2)
(i32.const 0)
(get_local $4)
)
)
(if
(get_local $6)
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/copyUnsafe
(get_local $1)
(get_local $4)
2018-08-02 18:23:02 +02:00
(get_local $0)
(i32.const 0)
2018-08-02 18:23:02 +02:00
(get_local $6)
)
)
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String#padStart|trampoline (; 17 ;) (; has Stack IR ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2018-09-13 23:10:49 +02:00
(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)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String#padEnd (; 18 ;) (; 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)
(if
(i32.eqz
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 80)
2018-10-18 20:05:35 +03:00
(i32.const 380)
(i32.const 4)
)
(unreachable)
)
)
(set_local $4
(i32.load
(get_local $2)
)
)
(if
(i32.eqz
(tee_local $3
(i32.lt_s
(get_local $1)
(tee_local $5
(i32.load
(get_local $0)
)
)
)
)
)
(set_local $3
(i32.eqz
(get_local $4)
)
)
)
(if
(get_local $3)
(return
(get_local $0)
)
)
(set_local $3
(i32.sub
(get_local $1)
(get_local $5)
)
)
(set_local $1
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/allocateUnsafe
(get_local $1)
)
)
(if
(get_local $5)
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/copyUnsafe
(get_local $1)
(i32.const 0)
(get_local $0)
(i32.const 0)
(get_local $5)
)
)
(if
(i32.gt_s
(get_local $3)
(get_local $4)
)
(block
2018-08-02 18:23:02 +02:00
(set_local $0
(i32.sub
(get_local $3)
2018-08-02 18:23:02 +02:00
(tee_local $4
(i32.mul
(tee_local $3
(i32.div_s
(i32.sub
(get_local $3)
(i32.const 1)
)
(get_local $4)
)
)
(get_local $4)
)
)
)
)
(call $~lib/internal/string/repeatUnsafe
(get_local $1)
(get_local $5)
(get_local $2)
(get_local $3)
)
(if
(get_local $0)
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/copyUnsafe
(get_local $1)
2018-08-02 18:23:02 +02:00
(i32.add
(get_local $4)
(get_local $5)
)
2018-08-02 18:23:02 +02:00
(get_local $2)
(i32.const 0)
(get_local $0)
)
)
)
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/copyUnsafe
(get_local $1)
(get_local $5)
2018-08-02 18:23:02 +02:00
(get_local $2)
(i32.const 0)
(get_local $3)
2018-08-02 18:23:02 +02:00
)
)
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String#padEnd|trampoline (; 19 ;) (; has Stack IR ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2018-09-13 23:10:49 +02:00
(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)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String#lastIndexOf (; 20 ;) (; 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)
2018-10-18 20:05:35 +03:00
(i32.const 229)
(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
2018-08-02 18:23:02 +02:00
(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
2018-08-02 18:23:02 +02:00
(get_local $2)
(i32.const 0)
)
)
(if
(call $~lib/internal/string/compareUnsafe
(get_local $0)
2018-08-02 18:23:02 +02:00
(get_local $2)
(get_local $1)
(get_local $4)
)
(block
2018-08-02 18:23:02 +02:00
(set_local $2
(i32.sub
2018-08-02 18:23:02 +02:00
(get_local $2)
(i32.const 1)
)
)
(br $repeat|0)
)
(return
2018-08-02 18:23:02 +02:00
(get_local $2)
)
)
)
)
(i32.const -1)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String#lastIndexOf|trampoline (; 21 ;) (; has Stack IR ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2018-09-13 23:10:49 +02:00
(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)
)
)
2018-10-18 20:05:35 +03:00
(func $std/string/getString (; 22 ;) (; has Stack IR ;) (type $i) (result i32)
(get_global $std/string/str)
)
2018-10-18 20:05:35 +03:00
(func $~lib/internal/string/parse<f64> (; 23 ;) (; 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)
)
)
)
2018-04-07 19:59:26 +03:00
)
(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)
)
)
)
)
)
2018-04-07 19:59:26 +03:00
)
(f64.const 1)
2018-04-07 19:59:26 +03:00
)
)
)
(if
(get_local $1)
(block
(if
2018-04-07 19:59:26 +03:00
(i32.eqz
(tee_local $0
(i32.lt_s
(get_local $1)
(i32.const 2)
)
)
2018-04-07 19:59:26 +03:00
)
(set_local $0
(i32.gt_s
(get_local $1)
(i32.const 36)
)
2018-04-07 19:59:26 +03:00
)
)
(if
(get_local $0)
(return
(f64.const nan:0x8000000000000)
)
2018-04-07 19:59:26 +03:00
)
)
(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)
2018-04-07 19:59:26 +03:00
)
)
)
(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)
2018-07-13 16:40:37 +03:00
)
)
(set_local $3
(i32.add
(get_local $3)
(i32.const 4)
)
2018-07-13 16:40:37 +03:00
)
(set_local $4
(i32.sub
2018-07-13 16:40:37 +03:00
(get_local $4)
(i32.const 2)
2018-07-13 16:40:37 +03:00
)
)
(br $break|0
(i32.const 8)
2018-07-13 16:40:37 +03:00
)
)
(set_local $3
2018-07-13 16:40:37 +03:00
(i32.add
(get_local $3)
(i32.const 4)
2018-07-13 16:40:37 +03:00
)
)
(set_local $4
(i32.sub
(get_local $4)
(i32.const 2)
)
)
(br $break|0
(i32.const 16)
)
2018-07-13 16:40:37 +03:00
)
(i32.const 10)
2018-07-13 16:40:37 +03:00
)
(i32.const 10)
2018-07-13 16:40:37 +03:00
)
)
)
)
(block $break|1
(loop $continue|1
2018-07-13 16:40:37 +03:00
(set_local $4
(i32.sub
(tee_local $0
(get_local $4)
)
(i32.const 1)
2018-07-13 16:40:37 +03:00
)
)
(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)
2018-07-13 16:40:37 +03:00
)
)
(set_local $0
(i32.le_s
(get_local $2)
(i32.const 57)
)
2018-07-13 16:40:37 +03:00
)
)
(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)
)
2018-07-13 16:40:37 +03:00
)
(set_local $5
(f64.add
(f64.mul
(get_local $5)
(f64.convert_s/i32
(get_local $1)
)
)
(f64.convert_s/i32
(get_local $2)
)
)
2018-07-13 16:40:37 +03:00
)
(set_local $3
(i32.add
(get_local $3)
(i32.const 2)
)
2018-07-13 16:40:37 +03:00
)
(br $continue|1)
2018-07-13 16:40:37 +03:00
)
)
)
)
(f64.mul
(get_local $6)
(get_local $5)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/parseInt (; 24 ;) (; has Stack IR ;) (type $FUNCSIG$di) (param $0 i32) (result f64)
(call $~lib/internal/string/parse<f64>
2018-07-13 16:40:37 +03:00
(get_local $0)
2018-09-13 23:10:49 +02:00
(i32.const 0)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/parseFloat (; 25 ;) (; has Stack IR ;) (type $iF) (param $0 i32) (result f64)
2018-07-13 16:40:37 +03:00
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 f64)
(local $5 f64)
(local $6 f64)
2018-07-13 16:40:37 +03:00
(if
(i32.eqz
(tee_local $3
(i32.load
(get_local $0)
)
)
2018-07-13 16:40:37 +03:00
)
(return
(f64.const nan:0x8000000000000)
2018-07-13 16:40:37 +03:00
)
)
(set_local $6
(if (result f64)
(i32.eq
(tee_local $2
(i32.load16_u offset=4
(tee_local $1
(get_local $0)
)
2018-07-13 16:40:37 +03:00
)
)
(i32.const 45)
2018-07-13 16:40:37 +03:00
)
(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)
2018-07-13 16:40:37 +03:00
)
)
)
)
(f64.const -1)
2018-07-13 16:40:37 +03:00
)
(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)
2018-07-13 16:40:37 +03:00
)
)
)
)
)
)
(f64.const 1)
)
)
)
(block $break|0
(loop $continue|0
(set_local $3
(i32.sub
(tee_local $0
(get_local $3)
2018-07-13 16:40:37 +03:00
)
(i32.const 1)
2018-07-13 16:40:37 +03:00
)
)
(if
(get_local $0)
(block
(if
(i32.eq
2018-07-13 16:40:37 +03:00
(tee_local $2
(i32.load16_u offset=4
(get_local $1)
2018-07-13 16:40:37 +03:00
)
)
(i32.const 46)
2018-07-13 16:40:37 +03:00
)
(block
(set_local $1
(i32.add
(get_local $1)
2018-07-13 16:40:37 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 626)
(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)
2018-07-13 16:40:37 +03:00
)
)
)
)
(br $break|0)
2018-07-13 16:40:37 +03:00
)
)
(br_if $break|0
(i32.ge_u
2018-07-13 16:40:37 +03:00
(tee_local $2
(i32.sub
(get_local $2)
(i32.const 48)
2018-07-13 16:40:37 +03:00
)
)
(i32.const 10)
2018-07-13 16:40:37 +03:00
)
)
(set_local $4
(f64.add
(f64.mul
(get_local $4)
(f64.const 10)
2018-07-13 16:40:37 +03:00
)
(f64.convert_s/i32
(get_local $2)
2018-07-13 16:40:37 +03:00
)
)
)
(set_local $1
(i32.add
(get_local $1)
(i32.const 2)
)
)
(br $continue|0)
2018-07-13 16:40:37 +03:00
)
)
)
)
(f64.mul
(get_local $6)
(get_local $4)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String#concat (; 26 ;) (; 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)
2018-10-18 20:05:35 +03:00
(i32.const 110)
(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)
)
)
2018-08-02 18:23:02 +02:00
(call $~lib/internal/string/copyUnsafe
(tee_local $2
(call $~lib/internal/string/allocateUnsafe
(get_local $2)
)
)
2018-08-02 18:23:02 +02:00
(i32.const 0)
(get_local $0)
(i32.const 0)
2018-08-02 18:23:02 +02:00
(get_local $3)
)
(call $~lib/internal/string/copyUnsafe
(get_local $2)
(get_local $3)
(get_local $1)
(i32.const 0)
2018-08-02 18:23:02 +02:00
(get_local $4)
)
(get_local $2)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String.__concat (; 27 ;) (; 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)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String.__ne (; 28 ;) (; 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)
)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String.__gt (; 29 ;) (; 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)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String.__gte (; 30 ;) (; 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)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String.__lt (; 31 ;) (; 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)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String.__lte (; 32 ;) (; has Stack IR ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2018-09-13 23:10:49 +02:00
(local $1 i32)
(local $2 i32)
(if
(i32.eq
(get_local $0)
2018-09-13 23:10:49 +02:00
(i32.const 256)
)
(return
(i32.const 1)
)
)
(if
2018-09-13 23:10:49 +02:00
(tee_local $1
(i32.eqz
2018-09-13 23:10:49 +02:00
(get_local $0)
)
)
(return
(i32.const 0)
)
)
2018-09-13 23:10:49 +02:00
(set_local $1
(i32.load
2018-09-13 23:10:49 +02:00
(i32.const 256)
)
)
(if
(i32.eqz
2018-09-13 23:10:49 +02:00
(tee_local $2
(i32.load
2018-09-13 23:10:49 +02:00
(get_local $0)
)
)
)
(return
(i32.eqz
2018-09-13 23:10:49 +02:00
(get_local $1)
)
)
)
(if
(i32.eqz
2018-09-13 23:10:49 +02:00
(get_local $1)
)
(return
(i32.const 1)
)
)
(i32.le_s
(call $~lib/internal/string/compareUnsafe
2018-09-13 23:10:49 +02:00
(i32.const 256)
(i32.const 0)
2018-09-13 23:10:49 +02:00
(get_local $0)
(select
2018-09-13 23:10:49 +02:00
(get_local $1)
(get_local $2)
(i32.lt_s
2018-09-13 23:10:49 +02:00
(get_local $1)
(get_local $2)
)
)
)
(i32.const 0)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String#repeat (; 33 ;) (; 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)
2018-10-18 20:05:35 +03:00
(i32.const 400)
(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)
2018-10-18 20:05:35 +03:00
(i32.const 405)
(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
2018-08-02 18:23:02 +02:00
(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)
)
2018-10-18 20:05:35 +03:00
(func $~lib/internal/arraybuffer/computeSize (; 34 ;) (; has Stack IR ;) (type $ii) (param $0 i32) (result i32)
(i32.shl
(i32.const 1)
(i32.sub
(i32.const 32)
(i32.clz
(i32.add
(get_local $0)
2018-10-18 20:05:35 +03:00
(i32.const 7)
)
)
)
2018-10-18 20:05:35 +03:00
)
)
(func $~lib/internal/arraybuffer/allocateUnsafe (; 35 ;) (; has Stack IR ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)
(if
(i32.gt_u
(get_local $0)
(i32.const 1073741816)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 808)
(i32.const 23)
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
(i32.store
(tee_local $1
(call $~lib/allocator/arena/__memory_allocate
(call $~lib/internal/arraybuffer/computeSize
(get_local $0)
)
)
)
2018-10-18 20:05:35 +03:00
(get_local $0)
)
2018-10-18 20:05:35 +03:00
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(func $~lib/memory/memory.allocate (; 36 ;) (; has Stack IR ;) (type $FUNCSIG$i) (result i32)
(call $~lib/allocator/arena/__memory_allocate
(i32.const 8)
)
)
(func $~lib/internal/memory/memset (; 37 ;) (; has Stack IR ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(local $2 i32)
(if
(i32.eqz
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(return)
)
2018-10-18 20:05:35 +03:00
(i32.store8
(get_local $0)
(i32.const 0)
)
(i32.store8
(i32.sub
(i32.add
(get_local $0)
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(i32.const 1)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(if
2018-10-18 20:05:35 +03:00
(i32.le_u
(get_local $1)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
(return)
)
(i32.store8
(i32.add
(get_local $0)
(i32.const 1)
)
(i32.const 0)
)
(i32.store8
(i32.add
(get_local $0)
(i32.const 2)
)
(i32.const 0)
)
(i32.store8
(i32.sub
(tee_local $2
(i32.add
(get_local $0)
2018-10-18 20:05:35 +03:00
(get_local $1)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(i32.store8
(i32.sub
(get_local $2)
(i32.const 3)
)
(i32.const 0)
)
(if
2018-10-18 20:05:35 +03:00
(i32.le_u
(get_local $1)
2018-10-18 20:05:35 +03:00
(i32.const 6)
)
2018-10-18 20:05:35 +03:00
(return)
)
(i32.store8
(i32.add
(get_local $0)
(i32.const 3)
)
(i32.const 0)
)
(i32.store8
(i32.sub
(i32.add
(get_local $0)
2018-10-18 20:05:35 +03:00
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(i32.const 4)
)
(i32.const 0)
)
(if
(i32.le_u
(get_local $1)
(i32.const 8)
)
(return)
)
(i32.store
(tee_local $0
(i32.add
(get_local $0)
(tee_local $2
(i32.and
(i32.sub
(i32.const 0)
(get_local $0)
)
(i32.const 3)
)
)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(i32.store
(i32.sub
(i32.add
(get_local $0)
2018-10-18 20:05:35 +03:00
(tee_local $1
(i32.and
(i32.sub
(get_local $1)
(get_local $2)
)
(i32.const -4)
)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 4)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(if
2018-10-18 20:05:35 +03:00
(i32.le_u
(get_local $1)
(i32.const 8)
)
2018-10-18 20:05:35 +03:00
(return)
)
2018-10-18 20:05:35 +03:00
(i32.store
(i32.add
(get_local $0)
(i32.const 4)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(i32.store
(i32.add
(get_local $0)
(i32.const 8)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.store
(i32.sub
(tee_local $2
(i32.add
(get_local $0)
(get_local $1)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 12)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(i32.store
(i32.sub
(get_local $2)
(i32.const 8)
)
(i32.const 0)
)
(if
2018-10-18 20:05:35 +03:00
(i32.le_u
(get_local $1)
2018-10-18 20:05:35 +03:00
(i32.const 24)
)
2018-10-18 20:05:35 +03:00
(return)
)
2018-10-18 20:05:35 +03:00
(i32.store
(i32.add
(get_local $0)
2018-10-18 20:05:35 +03:00
(i32.const 12)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(i32.store
(i32.add
(get_local $0)
(i32.const 16)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.store
(i32.add
(get_local $0)
(i32.const 20)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.store
(i32.add
(get_local $0)
2018-10-18 20:05:35 +03:00
(i32.const 24)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(i32.store
(i32.sub
(tee_local $2
(i32.add
(get_local $0)
2018-10-18 20:05:35 +03:00
(get_local $1)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 28)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(i32.store
(i32.sub
(get_local $2)
(i32.const 24)
)
(i32.const 0)
)
(i32.store
(i32.sub
(get_local $2)
(i32.const 20)
)
(i32.const 0)
)
(i32.store
(i32.sub
(get_local $2)
(i32.const 16)
)
(i32.const 0)
)
(set_local $0
(i32.add
(get_local $0)
(tee_local $2
(i32.add
(i32.and
(get_local $0)
2018-10-18 20:05:35 +03:00
(i32.const 4)
)
2018-10-18 20:05:35 +03:00
(i32.const 24)
)
)
)
)
2018-10-18 20:05:35 +03:00
(set_local $1
(i32.sub
(get_local $1)
(get_local $2)
)
)
(loop $continue|0
(if
2018-10-18 20:05:35 +03:00
(i32.ge_u
(get_local $1)
2018-10-18 20:05:35 +03:00
(i32.const 32)
)
(block
2018-10-18 20:05:35 +03:00
(i64.store
(get_local $0)
(i64.const 0)
)
(i64.store
(i32.add
(get_local $0)
(i32.const 8)
)
2018-10-18 20:05:35 +03:00
(i64.const 0)
)
2018-10-18 20:05:35 +03:00
(i64.store
(i32.add
(get_local $0)
(i32.const 16)
)
2018-10-18 20:05:35 +03:00
(i64.const 0)
)
2018-10-18 20:05:35 +03:00
(i64.store
(i32.add
(get_local $0)
2018-10-18 20:05:35 +03:00
(i32.const 24)
)
2018-10-18 20:05:35 +03:00
(i64.const 0)
)
(set_local $1
(i32.sub
(get_local $1)
(i32.const 32)
)
)
2018-10-18 20:05:35 +03:00
(set_local $0
(i32.add
(get_local $0)
2018-10-18 20:05:35 +03:00
(i32.const 32)
)
)
(br $continue|0)
)
)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/array/Array<String>#constructor (; 38 ;) (; has Stack IR ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
(if
2018-10-18 20:05:35 +03:00
(i32.gt_u
(get_local $0)
2018-10-18 20:05:35 +03:00
(i32.const 268435454)
)
2018-10-18 20:05:35 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 776)
(i32.const 37)
(i32.const 39)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_local $2
(call $~lib/internal/arraybuffer/allocateUnsafe
(tee_local $3
(i32.shl
(get_local $0)
(i32.const 2)
)
)
)
2018-10-18 20:05:35 +03:00
)
(i32.store
(tee_local $1
(call $~lib/memory/memory.allocate)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.store offset=4
(get_local $1)
(i32.const 0)
)
(i32.store
(get_local $1)
(get_local $2)
)
(i32.store offset=4
(get_local $1)
(get_local $0)
)
(call $~lib/internal/memory/memset
(i32.add
(get_local $2)
(i32.const 8)
)
(get_local $3)
)
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(func $~lib/array/Array<String>#__unchecked_set (; 39 ;) (; has Stack IR ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
(i32.store offset=8
(i32.load
(get_local $0)
)
2018-10-18 20:05:35 +03:00
(get_local $1)
)
2018-10-18 20:05:35 +03:00
)
(func $~lib/internal/arraybuffer/reallocateUnsafe (; 40 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
(local $3 i32)
(if
2018-10-18 20:05:35 +03:00
(i32.gt_s
(get_local $1)
(tee_local $2
(i32.load
(get_local $0)
)
)
)
2018-10-18 20:05:35 +03:00
(block
(if
(i32.gt_s
(get_local $1)
(i32.const 1073741816)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 808)
(i32.const 37)
(i32.const 4)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_local $3
(call $~lib/internal/arraybuffer/computeSize
(get_local $2)
)
)
(if
(i32.le_s
(get_local $1)
(i32.sub
(get_local $3)
(i32.const 8)
)
)
(block
(i32.store
(get_local $0)
(get_local $1)
)
(call $~lib/internal/memory/memset
(i32.add
2018-10-18 20:05:35 +03:00
(i32.add
(get_local $0)
(i32.const 8)
)
(get_local $2)
)
(i32.sub
(get_local $1)
(get_local $2)
)
)
)
(block
(call $~lib/internal/memory/memmove
(i32.add
(tee_local $3
(call $~lib/internal/arraybuffer/allocateUnsafe
(get_local $1)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 8)
)
(i32.add
(get_local $0)
(i32.const 8)
)
(get_local $2)
)
(call $~lib/internal/memory/memset
(i32.add
(i32.add
(get_local $3)
(i32.const 8)
)
(get_local $2)
)
(i32.sub
(get_local $1)
(get_local $2)
)
)
2018-10-18 20:05:35 +03:00
(return
(get_local $3)
)
)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.lt_s
(get_local $1)
(get_local $2)
)
(block
(if
(i32.lt_s
(get_local $1)
(i32.const 0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 808)
(i32.const 61)
(i32.const 4)
)
(unreachable)
)
)
(i32.store
(get_local $0)
(get_local $1)
)
)
)
)
2018-10-18 20:05:35 +03:00
(get_local $0)
)
2018-10-18 20:05:35 +03:00
(func $~lib/array/Array<String>#push (; 41 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
(set_local $4
(i32.add
(tee_local $3
(i32.load offset=4
(get_local $0)
)
)
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.ge_u
(get_local $3)
(i32.shr_u
(i32.load
(tee_local $2
(i32.load
(get_local $0)
)
)
)
(i32.const 2)
)
)
(block
(if
(i32.ge_u
(get_local $3)
(i32.const 268435454)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 776)
2018-10-26 19:28:31 +03:00
(i32.const 174)
2018-10-18 20:05:35 +03:00
(i32.const 42)
)
(unreachable)
)
)
(set_local $2
(call $~lib/internal/arraybuffer/reallocateUnsafe
(get_local $2)
(i32.shl
(get_local $4)
(i32.const 2)
)
)
)
(i32.store
(get_local $0)
(get_local $2)
)
)
)
(i32.store offset=4
(get_local $0)
2018-10-18 20:05:35 +03:00
(get_local $4)
)
(i32.store offset=8
(i32.add
(get_local $2)
(i32.shl
(get_local $3)
(i32.const 2)
)
)
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(get_local $4)
)
2018-10-18 20:05:35 +03:00
(func $~lib/string/String#split (; 42 ;) (; 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)
(local $7 i32)
2018-10-18 20:05:35 +03:00
(local $8 i32)
(local $9 i32)
2018-10-18 20:05:35 +03:00
(local $10 i32)
(if
(i32.eqz
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 80)
(i32.const 417)
(i32.const 4)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(get_local $2)
)
(return
(call $~lib/array/Array<String>#constructor
(i32.const 0)
)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(get_local $1)
)
(block
(call $~lib/array/Array<String>#__unchecked_set
(tee_local $5
(call $~lib/array/Array<String>#constructor
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(get_local $0)
)
(return
(get_local $5)
)
)
)
2018-10-18 20:05:35 +03:00
(set_local $3
(i32.load
2018-10-18 20:05:35 +03:00
(get_local $0)
)
)
2018-10-18 20:05:35 +03:00
(set_local $8
(i32.load
(get_local $1)
)
)
(if
(i32.lt_s
(get_local $2)
(i32.const 0)
)
(set_local $2
(i32.const 2147483647)
)
)
(if
(get_local $8)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(get_local $3)
)
2018-10-18 20:05:35 +03:00
(return
(i32.const 888)
)
)
(block
(if
(i32.eqz
(get_local $3)
)
(return
(call $~lib/array/Array<String>#constructor
(i32.const 0)
)
)
)
(set_local $7
(i32.load
(tee_local $5
(call $~lib/array/Array<String>#constructor
(tee_local $3
(select
(tee_local $5
(get_local $3)
)
2018-10-18 20:05:35 +03:00
(tee_local $7
(get_local $2)
)
2018-10-18 20:05:35 +03:00
(i32.lt_s
(get_local $3)
(get_local $2)
)
)
)
)
)
)
2018-10-18 20:05:35 +03:00
)
(block $break|0
(set_local $2
(i32.const 0)
)
(loop $repeat|0
(br_if $break|0
(i32.ge_s
(get_local $2)
(get_local $3)
)
)
2018-10-18 20:05:35 +03:00
(i32.store16 offset=4
(tee_local $1
(call $~lib/internal/string/allocateUnsafe
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(i32.load16_u offset=4
(i32.add
(get_local $0)
(i32.shl
(get_local $2)
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
)
)
(i32.store offset=8
(i32.add
(get_local $7)
(i32.shl
(get_local $2)
(i32.const 2)
)
)
2018-10-18 20:05:35 +03:00
(get_local $1)
)
(set_local $2
(i32.add
(get_local $2)
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(br $repeat|0)
)
2018-10-18 20:05:35 +03:00
)
(return
(get_local $5)
)
)
)
(set_local $6
(call $~lib/array/Array<String>#constructor
(i32.const 0)
)
)
(loop $continue|1
(if
(i32.ne
(tee_local $10
(call $~lib/string/String#indexOf
(get_local $0)
(get_local $1)
(get_local $4)
)
)
2018-10-18 20:05:35 +03:00
(i32.const -1)
)
(block
(if
2018-10-18 20:05:35 +03:00
(i32.gt_s
(tee_local $7
(i32.sub
(get_local $10)
(get_local $4)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
(block
(call $~lib/internal/string/copyUnsafe
(tee_local $5
(call $~lib/internal/string/allocateUnsafe
(get_local $7)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
(get_local $0)
(get_local $4)
(get_local $7)
)
2018-10-18 20:05:35 +03:00
(drop
(call $~lib/array/Array<String>#push
(get_local $6)
(get_local $5)
)
)
2018-10-18 20:05:35 +03:00
)
(drop
(call $~lib/array/Array<String>#push
(get_local $6)
2018-10-18 20:05:35 +03:00
(i32.const 256)
)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eq
(tee_local $9
(i32.add
(get_local $9)
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(get_local $2)
)
2018-10-18 20:05:35 +03:00
(return
(get_local $6)
)
)
2018-10-18 20:05:35 +03:00
(set_local $4
(i32.add
2018-10-18 20:05:35 +03:00
(get_local $10)
(get_local $8)
)
)
2018-10-18 20:05:35 +03:00
(br $continue|1)
)
)
)
(if
(i32.eqz
(get_local $4)
)
(block
(call $~lib/array/Array<String>#__unchecked_set
(tee_local $2
(call $~lib/array/Array<String>#constructor
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(get_local $0)
)
(return
(get_local $2)
)
)
2018-10-18 20:05:35 +03:00
)
(if
(i32.gt_s
(tee_local $1
(i32.sub
(get_local $3)
(get_local $4)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(block
(call $~lib/internal/string/copyUnsafe
(tee_local $2
(call $~lib/internal/string/allocateUnsafe
(get_local $1)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 0)
(get_local $0)
(get_local $4)
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(drop
(call $~lib/array/Array<String>#push
(get_local $6)
(get_local $2)
)
2018-10-18 20:05:35 +03:00
)
)
(drop
(call $~lib/array/Array<String>#push
(get_local $6)
(i32.const 256)
)
)
)
(get_local $6)
)
(func $~lib/string/String#split|trampoline (; 43 ;) (; has Stack IR ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
(block $2of2
(block $1of2
(block $0of2
(block $outOfRange
(br_table $0of2 $1of2 $2of2 $outOfRange
(get_global $~argc)
)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
(set_local $1
(i32.const 0)
)
)
(set_local $2
(i32.const 2147483647)
)
)
(call $~lib/string/String#split
(get_local $0)
(get_local $1)
(get_local $2)
)
)
(func $~lib/array/Array<String>#__get (; 44 ;) (; has Stack IR ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(tee_local $0
(if (result i32)
(i32.lt_u
(get_local $1)
(i32.shr_u
(i32.load
(tee_local $0
(i32.load
(get_local $0)
)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
)
(i32.load offset=8
(i32.add
(get_local $0)
(i32.shl
(get_local $1)
(i32.const 2)
)
)
)
(unreachable)
)
)
)
(func $~lib/internal/number/decimalCount32 (; 45 ;) (; 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 (; 46 ;) (; 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 1520)
)
)
(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)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(i64.or
(i64.load32_u offset=8
(i32.add
(get_local $3)
(i32.shl
(i32.div_u
(get_local $4)
(i32.const 100)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
)
2018-10-18 20:05:35 +03:00
)
(i64.shl
(i64.load32_u offset=8
(i32.add
(get_local $3)
(i32.shl
(i32.rem_u
(get_local $4)
(i32.const 100)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
)
)
2018-10-18 20:05:35 +03:00
(i64.const 32)
)
)
)
2018-10-18 20:05:35 +03:00
(br $continue|0)
)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ge_u
(get_local $1)
(i32.const 100)
)
(block
2018-10-18 20:05:35 +03:00
(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
2018-10-18 20:05:35 +03:00
(tee_local $2
(i32.sub
(get_local $2)
(i32.const 2)
)
)
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(i32.load offset=8
(i32.add
(get_local $3)
(i32.shl
(get_local $4)
(i32.const 2)
)
)
)
)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
)
)
)
(i32.store16 offset=4
(i32.add
(get_local $0)
(i32.shl
(i32.sub
(get_local $2)
2018-10-18 20:05:35 +03:00
(i32.const 1)
)
2018-10-18 20:05:35 +03:00
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(i32.add
(get_local $1)
(i32.const 48)
)
)
2018-10-18 20:05:35 +03:00
)
)
(func $~lib/internal/number/itoa32 (; 47 ;) (; 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 $2
(i32.lt_s
(get_local $0)
(i32.const 0)
)
)
(set_local $0
(i32.sub
(i32.const 0)
(get_local $0)
)
)
)
2018-10-18 20:05:35 +03:00
(call $~lib/internal/number/utoa32_lut
(tee_local $1
(call $~lib/internal/string/allocateUnsafe
(tee_local $3
(i32.add
(tee_local $1
(call $~lib/internal/number/decimalCount32
(get_local $0)
)
)
2018-10-18 20:05:35 +03:00
(get_local $2)
)
2018-10-18 20:05:35 +03:00
)
)
)
(get_local $0)
(get_local $3)
)
(if
(get_local $2)
(i32.store16 offset=4
(get_local $1)
(i32.const 45)
)
)
(get_local $1)
)
(func $~lib/internal/number/utoa32 (; 48 ;) (; 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)
)
)
)
2018-10-18 20:05:35 +03:00
)
(get_local $0)
(get_local $1)
)
(get_local $2)
)
(func $~lib/internal/number/decimalCount64 (; 49 ;) (; 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)
2018-10-18 20:05:35 +03:00
(i64.const 100000000000)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
2018-10-18 20:05:35 +03:00
)
(select
(i32.const 18)
(select
(i32.const 19)
(i32.const 20)
(i64.lt_u
(get_local $0)
(i64.const -8446744073709551616)
)
)
2018-10-18 20:05:35 +03:00
(i64.lt_u
(get_local $0)
(i64.const 1000000000000000000)
)
)
2018-10-18 20:05:35 +03:00
)
)
)
(func $~lib/internal/number/utoa64_lut (; 50 ;) (; 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 2312)
)
)
(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)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 100)
)
2018-10-18 20:05:35 +03:00
)
(set_local $5
(i32.rem_u
(get_local $5)
(i32.const 100)
)
)
2018-10-18 20:05:35 +03:00
(i64.store offset=4
(i32.add
(get_local $0)
(i32.shl
(tee_local $2
(i32.sub
(get_local $2)
(i32.const 4)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(i64.or
(i64.load32_u offset=8
(i32.add
(get_local $3)
(i32.shl
(i32.div_u
(tee_local $4
2018-10-18 20:05:35 +03:00
(i32.rem_u
(get_local $4)
(i32.const 10000)
)
)
2018-10-18 20:05:35 +03:00
(i32.const 100)
)
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
)
)
(i64.shl
(i64.load32_u offset=8
(i32.add
(get_local $3)
(i32.shl
(i32.rem_u
(get_local $4)
2018-10-18 20:05:35 +03:00
(i32.const 100)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
)
)
2018-10-18 20:05:35 +03:00
(i64.const 32)
)
2018-10-18 20:05:35 +03:00
)
)
(i64.store offset=4
(i32.add
(get_local $0)
(i32.shl
(tee_local $2
(i32.sub
(get_local $2)
2018-10-18 20:05:35 +03:00
(i32.const 4)
)
2018-10-18 20:05:35 +03:00
)
(i32.const 1)
)
)
(i64.or
(i64.load32_u offset=8
(i32.add
(get_local $3)
(i32.shl
(get_local $6)
(i32.const 2)
)
)
2018-10-18 20:05:35 +03:00
)
(i64.shl
(i64.load32_u offset=8
(i32.add
(get_local $3)
(i32.shl
(get_local $5)
(i32.const 2)
)
)
)
2018-10-18 20:05:35 +03:00
(i64.const 32)
)
)
)
2018-10-18 20:05:35 +03:00
(br $continue|0)
)
)
)
2018-10-18 20:05:35 +03:00
(call $~lib/internal/number/utoa32_lut
(get_local $0)
(i32.wrap/i64
(get_local $1)
)
(get_local $2)
)
)
2018-10-18 20:05:35 +03:00
(func $~lib/internal/number/utoa64 (; 51 ;) (; has Stack IR ;) (type $Ii) (param $0 i64) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
(if
2018-10-18 20:05:35 +03:00
(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)
)
)
)
)
)
)
2018-10-18 20:05:35 +03:00
(get_local $3)
(get_local $1)
)
2018-10-18 20:05:35 +03:00
(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)
)
)
)
)
2018-10-18 20:05:35 +03:00
(get_local $0)
(get_local $1)
)
)
(get_local $2)
)
(func $~lib/internal/number/itoa64 (; 52 ;) (; 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 $2
(i64.lt_s
(get_local $0)
(i64.const 0)
)
)
(set_local $0
(i64.sub
(i64.const 0)
(get_local $0)
)
)
)
2018-10-18 20:05:35 +03:00
(if
(i64.le_u
(get_local $0)
(i64.const 4294967295)
)
(call $~lib/internal/number/utoa32_lut
(tee_local $1
(call $~lib/internal/string/allocateUnsafe
(tee_local $3
2018-10-18 20:05:35 +03:00
(i32.add
(tee_local $1
(call $~lib/internal/number/decimalCount32
(tee_local $4
(i32.wrap/i64
(get_local $0)
)
)
)
)
2018-10-18 20:05:35 +03:00
(get_local $2)
)
)
)
)
(get_local $4)
(get_local $3)
)
(call $~lib/internal/number/utoa64_lut
(tee_local $1
(call $~lib/internal/string/allocateUnsafe
(tee_local $3
(i32.add
(tee_local $1
(call $~lib/internal/number/decimalCount64
(get_local $0)
)
)
(get_local $2)
)
)
)
)
2018-10-18 20:05:35 +03:00
(get_local $0)
(get_local $3)
)
)
(if
(get_local $2)
(i32.store16 offset=4
(get_local $1)
(i32.const 45)
)
)
(get_local $1)
)
(func $~lib/builtins/isFinite<f64> (; 53 ;) (; 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> (; 54 ;) (; has Stack IR ;) (type $Fi) (param $0 f64) (result i32)
(f64.ne
(get_local $0)
(get_local $0)
)
)
(func $~lib/internal/number/genDigits (; 55 ;) (; 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 4328)
)
)
(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 (; 56 ;) (; 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 $4
(i32.le_s
(get_local $1)
(tee_local $3
(i32.add
(get_local $1)
(get_local $2)
)
)
)
)
(set_local $4
(i32.le_s
(get_local $3)
(i32.const 21)
)
)
)
(if (result i32)
(get_local $4)
(block (result i32)
(block $break|0
(set_local $4
(get_local $1)
)
(loop $repeat|0
(br_if $break|0
(i32.ge_s
(get_local $4)
(get_local $3)
)
)
(i32.store16 offset=4
(i32.add
(get_local $0)
(i32.shl
(get_local $4)
(i32.const 1)
)
)
(i32.const 48)
)
(set_local $4
(i32.add
(get_local $4)
(i32.const 1)
)
)
(br $repeat|0)
)
)
(i32.store offset=4
(i32.add
(get_local $0)
(i32.shl
(get_local $3)
(i32.const 1)
)
)
(i32.const 3145774)
)
(i32.add
(get_local $3)
(i32.const 2)
)
)
(block (result i32)
(if
(tee_local $4
(i32.gt_s
(get_local $3)
(i32.const 0)
)
)
(set_local $4
(i32.le_s
(get_local $3)
(i32.const 21)
)
)
)
(if (result i32)
(get_local $4)
(block (result i32)
(call $~lib/internal/memory/memmove
(i32.add
(tee_local $4
(i32.add
(get_local $0)
(i32.shl
(get_local $3)
(i32.const 1)
)
)
)
(i32.const 6)
)
(i32.add
(get_local $4)
(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 $3)
(i32.const 1)
)
)
(i32.const 46)
)
(i32.add
(get_local $1)
(i32.const 1)
)
)
(block (result i32)
(if
(tee_local $4
(i32.lt_s
(i32.const -6)
(get_local $3)
)
)
(set_local $4
(i32.le_s
(get_local $3)
(i32.const 0)
)
)
)
(if (result i32)
(get_local $4)
(block (result i32)
(call $~lib/internal/memory/memmove
(i32.add
(i32.add
(get_local $0)
(i32.const 4)
)
(i32.shl
(tee_local $4
(i32.sub
(i32.const 2)
(get_local $3)
)
)
(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 $3
(i32.const 2)
)
(loop $repeat|1
(br_if $break|1
(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|1)
)
)
(i32.add
(get_local $1)
(get_local $4)
)
)
(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 $4
(i32.add
(get_local $0)
(i32.const 4)
)
)
(if
(tee_local $0
(i32.lt_s
(tee_local $3
(i32.sub
(get_local $3)
(i32.const 1)
)
)
(i32.const 0)
)
)
(set_local $3
(i32.sub
(i32.const 0)
(get_local $3)
)
)
)
(set_local $2
(i32.add
(call $~lib/internal/number/decimalCount32
(get_local $3)
)
(i32.const 1)
)
)
(call $~lib/internal/number/utoa32_lut
(get_local $4)
(get_local $3)
(get_local $2)
)
(i32.store16 offset=4
(get_local $4)
(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 $4
(i32.add
(get_local $0)
(i32.const 4)
)
)
(if
(tee_local $0
(i32.lt_s
(tee_local $3
(i32.sub
(get_local $3)
(i32.const 1)
)
)
(i32.const 0)
)
)
(set_local $3
(i32.sub
(i32.const 0)
(get_local $3)
)
)
)
(set_local $2
(i32.add
(call $~lib/internal/number/decimalCount32
(get_local $3)
)
(i32.const 1)
)
)
(call $~lib/internal/number/utoa32_lut
(get_local $4)
(get_local $3)
(get_local $2)
)
(i32.store16 offset=4
(get_local $4)
(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 (; 57 ;) (; has Stack IR ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32)
(local $2 i64)
(local $3 i32)
(local $4 i64)
(local $5 i32)
(local $6 i64)
(local $7 i64)
(local $8 i64)
(local $9 i64)
(local $10 i64)
(local $11 i64)
(local $12 i64)
(local $13 i64)
(local $14 i32)
(local $15 i32)
(local $16 i32)
(if
(tee_local $14
(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 $3
(i32.ne
(tee_local $15
(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 $3
(i32.sub
(tee_local $15
(i32.sub
(select
(get_local $15)
(i32.const 1)
(get_local $3)
)
(i32.const 1075)
)
)
(i32.const 1)
)
)
(set_local $16
(i32.wrap/i64
(i64.clz
(tee_local $4
(i64.add
(i64.shl
(get_local $2)
(i64.const 1)
)
(i64.const 1)
)
)
)
)
)
(set_global $~lib/internal/number/_frc_plus
(i64.shl
(get_local $4)
(i64.extend_s/i32
(get_local $16)
)
)
)
(set_global $~lib/internal/number/_frc_minus
(i64.shl
(i64.sub
(i64.shl
(get_local $2)
(i64.extend_s/i32
(tee_local $5
(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 $15)
(get_local $5)
)
(tee_local $3
(i32.sub
(get_local $3)
(get_local $16)
)
)
)
)
)
)
(set_global $~lib/internal/number/_exp
(get_local $3)
)
(set_global $~lib/internal/number/_K
(i32.sub
(i32.const 348)
(i32.shl
(tee_local $3
(i32.add
(i32.shr_s
(i32.add
(tee_local $16
(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 $16)
)
(get_local $1)
)
)
(i32.const 3)
)
(i32.const 1)
)
)
(i32.const 3)
)
)
)
(set_local $5
(i32.load
(i32.const 4256)
)
)
(set_global $~lib/internal/number/_frc_pow
(i64.load offset=8
(i32.add
(i32.load
(i32.const 3992)
)
(i32.shl
(get_local $3)
(i32.const 3)
)
)
)
)
(set_global $~lib/internal/number/_exp_pow
(i32.load16_s offset=8
(i32.add
(get_local $5)
(i32.shl
(get_local $3)
(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 $5
(i32.wrap/i64
(i64.clz
(get_local $2)
)
)
)
)
)
)
(i64.const 4294967295)
)
)
(tee_local $8
(i64.and
(tee_local $4
(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 $4)
(i64.const 32)
)
)
)
(i64.and
(tee_local $6
(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 $6)
(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 $6
(get_global $~lib/internal/number/_frc_plus)
)
(i64.const 4294967295)
)
)
(tee_local $10
(i64.and
(get_local $4)
(i64.const 4294967295)
)
)
)
)
(set_local $13
(i64.add
(i64.mul
(get_local $9)
(tee_local $8
(i64.shr_u
(get_local $4)
(i64.const 32)
)
)
)
(i64.and
(tee_local $12
(i64.add
(i64.mul
(tee_local $11
(i64.shr_u
(get_local $6)
(i64.const 32)
)
)
(get_local $10)
)
(i64.shr_u
(get_local $7)
(i64.const 32)
)
)
)
(i64.const 4294967295)
)
)
)
(set_local $13
(i64.add
(i64.add
(i64.mul
(get_local $11)
(get_local $8)
)
(i64.shr_u
(get_local $12)
(i64.const 32)
)
)
(i64.shr_u
(i64.add
(get_local $13)
(i64.const 2147483647)
)
(i64.const 32)
)
)
)
(set_local $9
(i64.mul
(tee_local $7
(i64.and
(tee_local $12
(get_global $~lib/internal/number/_frc_minus)
)
(i64.const 4294967295)
)
)
(tee_local $8
(i64.and
(get_local $4)
(i64.const 4294967295)
)
)
)
)
(set_local $12
(i64.add
(i64.mul
(get_local $7)
(tee_local $10
(i64.shr_u
(get_local $4)
(i64.const 32)
)
)
)
(i64.and
(tee_local $6
(i64.add
(i64.mul
(tee_local $11
(i64.shr_u
(get_local $12)
(i64.const 32)
)
)
(get_local $8)
)
(i64.shr_u
(get_local $9)
(i64.const 32)
)
)
)
(i64.const 4294967295)
)
)
)
(set_local $6
(i64.sub
(tee_local $13
(i64.sub
(get_local $13)
(i64.const 1)
)
)
(i64.add
(i64.add
(i64.add
(i64.mul
(get_local $11)
(get_local $10)
)
(i64.shr_u
(get_local $6)
(i64.const 32)
)
)
(i64.shr_u
(i64.add
(get_local $12)
(i64.const 2147483647)
)
(i64.const 32)
)
)
(i64.const 1)
)
)
)
(set_local $3
(call $~lib/internal/number/genDigits
(get_local $0)
(get_local $2)
(tee_local $3
(i32.sub
(i32.add
(i32.sub
(get_local $15)
(get_local $5)
)
(tee_local $5
(get_global $~lib/internal/number/_exp_pow)
)
)
(i32.const -64)
)
)
(get_local $13)
(i32.sub
(i32.add
(get_global $~lib/internal/number/_exp)
(get_local $5)
)
(i32.const -64)
)
(get_local $6)
(get_local $14)
)
)
(i32.add
(tee_local $3
(call $~lib/internal/number/prettify
(i32.add
(get_local $0)
(i32.shl
(get_local $14)
(i32.const 1)
)
)
(i32.sub
(get_local $3)
(get_local $14)
)
(get_global $~lib/internal/number/_K)
)
)
(get_local $14)
)
)
(func $~lib/string/String#substring (; 58 ;) (; 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 269)
(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 (; 59 ;) (; has Stack IR ;) (type $FUNCSIG$v)
(nop)
)
(func $~lib/internal/number/dtoa (; 60 ;) (; 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 2888)
)
)
(if
(i32.eqz
(call $~lib/builtins/isFinite<f64>
(get_local $0)
)
)
(block
(if
(call $~lib/builtins/isNaN<f64>
(get_local $0)
)
(return
(i32.const 2904)
)
)
(return
(select
(i32.const 2920)
(i32.const 2944)
(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 (; 61 ;) (; has Stack IR ;) (type $v)
(local $0 i32)
(local $1 i32)
(set_global $~lib/allocator/arena/startOffset
(i32.const 5880)
)
(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)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/string/String.fromCodePoint
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.const 168)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 26)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/string/String.fromCodePoint
(i32.const 54)
)
2018-10-18 20:05:35 +03:00
(i32.const 176)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 27)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String#startsWith
(get_global $std/string/str)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 30)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String#endsWith|trampoline
(get_global $std/string/str)
)
)
2018-10-18 20:05:35 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 31)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eq
(call $~lib/string/String#indexOf
(get_global $std/string/str)
(i32.const 232)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.const -1)
)
2018-10-18 20:05:35 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 32)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
2018-10-18 20:05:35 +03:00
(get_global $std/string/str)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 34)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
2018-10-18 20:05:35 +03:00
(get_global $std/string/str)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 35)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
2018-10-18 20:05:35 +03:00
(i32.const 264)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 36)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/string/String#padStart
(i32.const 256)
(i32.const 10)
(i32.const 256)
)
2018-10-18 20:05:35 +03:00
(i32.const 256)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 37)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/string/String#padStart
(i32.const 280)
(i32.const 100)
(i32.const 256)
)
2018-10-18 20:05:35 +03:00
(i32.const 280)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 38)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
2018-10-18 20:05:35 +03:00
(i32.const 304)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 39)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/string/String#padStart
(i32.const 288)
(i32.const 6)
(i32.const 320)
)
2018-10-18 20:05:35 +03:00
(i32.const 336)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 40)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/string/String#padStart
(i32.const 288)
(i32.const 8)
(i32.const 320)
)
2018-10-18 20:05:35 +03:00
(i32.const 352)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 41)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
2018-10-18 20:05:35 +03:00
(get_global $std/string/str)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 43)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
2018-10-18 20:05:35 +03:00
(get_global $std/string/str)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 44)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(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)
)
2018-10-18 20:05:35 +03:00
(i32.const 264)
)
)
2018-10-18 20:05:35 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 45)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 48)
(i32.const 46)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/string/String#padEnd
(i32.const 280)
(i32.const 100)
(i32.const 256)
)
2018-10-18 20:05:35 +03:00
(i32.const 280)
)
2018-10-18 20:05:35 +03:00
)
(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)
)
2018-10-18 20:05:35 +03:00
(i32.const 376)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 48)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/string/String#padEnd
(i32.const 288)
(i32.const 6)
(i32.const 288)
)
2018-10-18 20:05:35 +03:00
(i32.const 392)
)
2018-10-18 20:05:35 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 49)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
(if
(i32.eqz
2018-10-18 20:05:35 +03:00
(call $~lib/string/String.__eq
(call $~lib/string/String#padEnd
(i32.const 288)
(i32.const 8)
(i32.const 288)
)
2018-10-18 20:05:35 +03:00
(i32.const 408)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 50)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
2018-10-18 20:05:35 +03:00
)
(if
(call $~lib/string/String#indexOf
(i32.const 256)
2018-10-18 20:05:35 +03:00
(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
2018-10-18 20:05:35 +03:00
(i32.ne
(call $~lib/string/String#indexOf
(i32.const 256)
(i32.const 192)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.const -1)
)
2018-10-18 20:05:35 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 53)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(call $~lib/string/String#indexOf
(i32.const 280)
(i32.const 280)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 54)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(call $~lib/string/String#indexOf
(get_global $std/string/str)
(get_global $std/string/str)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 55)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(call $~lib/string/String#indexOf
(get_global $std/string/str)
(i32.const 256)
(i32.const 0)
)
(block
2018-10-18 20:05:35 +03:00
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 56)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(i32.ne
(call $~lib/string/String#indexOf
(get_global $std/string/str)
(i32.const 432)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
(i32.const 57)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 48)
(i32.const 58)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.ne
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 59)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.ne
2018-10-18 20:05:35 +03:00
(call $~lib/string/String#indexOf
(get_global $std/string/str)
2018-10-18 20:05:35 +03:00
(i32.const 432)
(i32.const 3)
)
2018-10-18 20:05:35 +03:00
(i32.const -1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 60)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.ne
2018-10-18 20:05:35 +03:00
(call $~lib/string/String#indexOf
(get_global $std/string/str)
2018-10-18 20:05:35 +03:00
(i32.const 448)
(i32.const -1)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 61)
(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 63)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ne
(call $~lib/string/String#lastIndexOf|trampoline
(i32.const 256)
(i32.const 192)
)
2018-10-18 20:05:35 +03:00
(i32.const -1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 64)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 65)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ne
(call $~lib/string/String#lastIndexOf|trampoline
(get_global $std/string/str)
(i32.const 432)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 66)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ne
(call $~lib/string/String#lastIndexOf|trampoline
(get_global $std/string/str)
(i32.const 440)
)
2018-10-18 20:05:35 +03:00
(i32.const -1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 67)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ne
(call $~lib/string/String#lastIndexOf|trampoline
(get_global $std/string/str)
(i32.const 464)
)
2018-10-18 20:05:35 +03:00
(i32.const 15)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 68)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ne
(call $~lib/string/String#lastIndexOf
(get_global $std/string/str)
(i32.const 432)
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
(block
(call $~lib/env/abort
2018-10-18 20:05:35 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 69)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ne
(call $~lib/string/String#lastIndexOf
(get_global $std/string/str)
2018-10-18 20:05:35 +03:00
(i32.const 432)
(i32.const 3)
)
2018-10-18 20:05:35 +03:00
(i32.const 2)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 70)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ne
(call $~lib/string/String#lastIndexOf
(get_global $std/string/str)
2018-10-18 20:05:35 +03:00
(i32.const 448)
(i32.const -1)
)
2018-10-18 20:05:35 +03:00
(i32.const -1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 71)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ne
(call $~lib/string/String#lastIndexOf
(get_global $std/string/str)
2018-10-18 20:05:35 +03:00
(i32.const 472)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.const -1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 72)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 73)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseInt
(i32.const 480)
)
2018-10-18 20:05:35 +03:00
(f64.const 0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 79)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseInt
(i32.const 488)
)
2018-10-18 20:05:35 +03:00
(f64.const 1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 80)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseInt
(i32.const 496)
)
2018-10-18 20:05:35 +03:00
(f64.const 5)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 81)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseInt
(i32.const 512)
)
2018-10-18 20:05:35 +03:00
(f64.const 455)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 82)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseInt
(i32.const 528)
)
2018-10-18 20:05:35 +03:00
(f64.const 3855)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 83)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseInt
(i32.const 544)
)
2018-10-18 20:05:35 +03:00
(f64.const 3855)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 84)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseInt
(i32.const 560)
)
2018-10-18 20:05:35 +03:00
(f64.const 11)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 85)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseInt
(i32.const 576)
)
2018-10-18 20:05:35 +03:00
(f64.const 1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 86)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseFloat
(i32.const 480)
)
2018-10-18 20:05:35 +03:00
(f64.const 0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 88)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseFloat
(i32.const 488)
)
2018-10-18 20:05:35 +03:00
(f64.const 1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 89)
(i32.const 0)
)
(unreachable)
)
)
(if
(f64.ne
(call $~lib/string/parseFloat
(i32.const 592)
)
2018-10-18 20:05:35 +03:00
(f64.const 0.1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 90)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseFloat
(i32.const 608)
)
2018-10-18 20:05:35 +03:00
(f64.const 0.25)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 91)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(f64.ne
(call $~lib/string/parseFloat
(i32.const 624)
)
2018-10-18 20:05:35 +03:00
(f64.const 0.1)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 92)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $std/string/c
(call $~lib/string/String.__concat
(i32.const 280)
(i32.const 648)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
2018-10-18 20:05:35 +03:00
(get_global $std/string/c)
(i32.const 656)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 95)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
2018-10-18 20:05:35 +03:00
(call $~lib/string/String.__ne
(get_global $std/string/c)
(i32.const 280)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 96)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(i32.const 256)
(i32.const 256)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 97)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__ne
(i32.const 256)
2018-10-18 20:05:35 +03:00
(get_global $std/string/nullStr)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 98)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__gt
(i32.const 648)
(i32.const 280)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 100)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__gt
(i32.const 664)
(i32.const 280)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 101)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__gte
(i32.const 664)
(i32.const 672)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 102)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__gt
(i32.const 664)
(i32.const 656)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 103)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(call $~lib/string/String.__lt
(i32.const 664)
(i32.const 656)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 104)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(call $~lib/string/String.__lt
(i32.const 648)
(get_global $std/string/nullStr)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 106)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(call $~lib/string/String.__lt
(get_global $std/string/nullStr)
(i32.const 648)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 107)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__gt
(i32.const 288)
(i32.const 256)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 109)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__lt
(i32.const 256)
2018-10-18 20:05:35 +03:00
(i32.const 288)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 110)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__gte
(i32.const 288)
(i32.const 256)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 111)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__lte
(i32.const 288)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 112)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(call $~lib/string/String.__lt
(i32.const 288)
(i32.const 256)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 113)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(call $~lib/string/String.__gt
(i32.const 256)
(i32.const 288)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 114)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(if
(call $~lib/string/String.__lt
(i32.const 256)
(i32.const 256)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 115)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(call $~lib/string/String.__gt
(i32.const 256)
(i32.const 256)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 116)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__gte
(i32.const 256)
(i32.const 256)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 117)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(call $~lib/string/String.__lte
(i32.const 256)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 118)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $std/string/a
(call $~lib/string/String.fromCodePoint
(i32.const 65377)
)
)
(set_local $0
(call $~lib/string/String.fromCodePoint
(i32.const 55296)
)
)
(set_local $1
(call $~lib/string/String.fromCodePoint
(i32.const 56322)
)
)
(set_global $std/string/b
(call $~lib/string/String.__concat
(get_local $0)
(get_local $1)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 122)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.ne
(i32.load
(i32.const 320)
)
2018-10-18 20:05:35 +03:00
(i32.const 3)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 124)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 126)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 127)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 128)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 129)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 130)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 131)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 132)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 133)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-10-18 20:05:35 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 134)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 0)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 256)
(i32.const 0)
)
)
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 1)
)
2018-10-18 20:05:35 +03:00
)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 256)
)
)
)
(if
(i32.eqz
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 139)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 256)
(i32.const 256)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.load offset=4
(get_global $std/string/sa)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 141)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 256)
(i32.const 432)
)
)
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 1)
)
)
2018-10-18 20:05:35 +03:00
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 256)
)
)
)
(if
(i32.eqz
2018-10-18 20:05:35 +03:00
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 143)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 896)
(i32.const 912)
)
)
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 1)
)
)
(set_local $0
(call $~lib/string/String.__eq
2018-10-18 20:05:35 +03:00
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 896)
)
)
2018-10-18 20:05:35 +03:00
)
(if
(i32.eqz
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 145)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 896)
(i32.const 432)
)
)
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 3)
)
)
2018-10-18 20:05:35 +03:00
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 280)
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 1)
)
(i32.const 648)
)
)
2018-10-18 20:05:35 +03:00
)
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 2)
)
(i32.const 920)
)
)
)
(if
(i32.eqz
2018-10-18 20:05:35 +03:00
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 147)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 928)
(i32.const 952)
)
)
2018-07-13 16:40:37 +03:00
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 3)
)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 280)
)
2018-07-13 16:40:37 +03:00
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 1)
)
(i32.const 648)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
)
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 2)
)
(i32.const 920)
2018-07-13 16:40:37 +03:00
)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 149)
(i32.const 0)
)
(unreachable)
)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 960)
(i32.const 432)
)
)
2018-07-13 16:40:37 +03:00
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 4)
)
)
2018-10-18 20:05:35 +03:00
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 280)
2018-07-13 16:40:37 +03:00
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 1)
)
(i32.const 648)
2018-07-13 16:40:37 +03:00
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 2)
)
(i32.const 256)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
)
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 3)
)
(i32.const 920)
2018-07-13 16:40:37 +03:00
)
)
)
(if
(i32.eqz
2018-10-18 20:05:35 +03:00
(get_local $0)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 151)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 976)
(i32.const 432)
)
)
2018-07-13 16:40:37 +03:00
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 4)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 256)
2018-07-13 16:40:37 +03:00
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 1)
)
(i32.const 280)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
)
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 2)
)
(i32.const 648)
2018-07-13 16:40:37 +03:00
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 3)
)
(i32.const 920)
)
)
)
(if
2018-10-18 20:05:35 +03:00
(i32.eqz
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 153)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 992)
(i32.const 432)
)
)
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 4)
)
)
2018-10-18 20:05:35 +03:00
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 280)
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 1)
)
(i32.const 648)
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 2)
)
(i32.const 920)
)
)
2018-10-18 20:05:35 +03:00
)
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 3)
)
(i32.const 256)
)
)
)
(if
(i32.eqz
2018-10-18 20:05:35 +03:00
(get_local $0)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 155)
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $~argc
(i32.const 1)
)
(set_global $std/string/sa
(call $~lib/string/String#split|trampoline
(i32.const 288)
(i32.const 256)
)
)
2018-10-18 20:05:35 +03:00
(if
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 3)
)
)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 280)
)
)
)
2018-10-18 20:05:35 +03:00
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 1)
)
(i32.const 648)
)
)
)
2018-10-18 20:05:35 +03:00
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 2)
)
(i32.const 920)
)
)
)
2018-07-13 16:40:37 +03:00
(if
(i32.eqz
2018-10-18 20:05:35 +03:00
(get_local $0)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 157)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $std/string/sa
(call $~lib/string/String#split
(i32.const 288)
(i32.const 256)
(i32.const 0)
)
)
2018-07-13 16:40:37 +03:00
(if
2018-10-18 20:05:35 +03:00
(i32.load offset=4
(get_global $std/string/sa)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 159)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $std/string/sa
(call $~lib/string/String#split
(i32.const 288)
(i32.const 256)
(i32.const 1)
)
)
2018-07-13 16:40:37 +03:00
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
2018-10-18 20:05:35 +03:00
(i32.const 1)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 280)
2018-07-13 16:40:37 +03:00
)
)
)
(if
(i32.eqz
2018-10-18 20:05:35 +03:00
(get_local $0)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 161)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $std/string/sa
(call $~lib/string/String#split
(i32.const 896)
(i32.const 432)
(i32.const 1)
)
)
2018-07-13 16:40:37 +03:00
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 1)
)
)
(set_local $0
(call $~lib/string/String.__eq
2018-10-18 20:05:35 +03:00
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
(i32.const 280)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
)
(if
(i32.eqz
(get_local $0)
)
2018-07-13 16:40:37 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 163)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $std/string/sa
(call $~lib/string/String#split
(i32.const 288)
(i32.const 256)
(i32.const 4)
)
)
2018-07-13 16:40:37 +03:00
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 3)
)
)
(set_local $0
(call $~lib/string/String.__eq
2018-10-18 20:05:35 +03:00
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.const 280)
)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
)
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 1)
)
(i32.const 648)
2018-07-13 16:40:37 +03:00
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
2018-10-18 20:05:35 +03:00
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
(i32.const 920)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
)
(if
(i32.eqz
(get_local $0)
)
2018-07-13 16:40:37 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 165)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $std/string/sa
(call $~lib/string/String#split
(i32.const 288)
(i32.const 256)
(i32.const -1)
)
)
2018-07-13 16:40:37 +03:00
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 3)
)
)
(set_local $0
(call $~lib/string/String.__eq
2018-10-18 20:05:35 +03:00
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.const 280)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
)
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 1)
)
(i32.const 648)
2018-07-13 16:40:37 +03:00
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
2018-10-18 20:05:35 +03:00
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
(i32.const 920)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
)
(if
(i32.eqz
(get_local $0)
)
2018-07-13 16:40:37 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 167)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
2018-10-18 20:05:35 +03:00
(set_global $std/string/sa
(call $~lib/string/String#split
(i32.const 896)
(i32.const 432)
(i32.const -1)
)
)
2018-07-13 16:40:37 +03:00
(if
2018-10-18 20:05:35 +03:00
(tee_local $0
(i32.eq
(i32.load offset=4
(get_global $std/string/sa)
)
(i32.const 3)
)
)
(set_local $0
(call $~lib/string/String.__eq
2018-10-18 20:05:35 +03:00
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.const 280)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
)
(if
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 1)
)
(i32.const 648)
2018-07-13 16:40:37 +03:00
)
)
)
(if
2018-10-18 20:05:35 +03:00
(get_local $0)
(set_local $0
(call $~lib/string/String.__eq
2018-10-18 20:05:35 +03:00
(call $~lib/array/Array<String>#__get
(get_global $std/string/sa)
(i32.const 2)
)
2018-10-18 20:05:35 +03:00
(i32.const 920)
2018-07-13 16:40:37 +03:00
)
)
2018-10-18 20:05:35 +03:00
)
(if
(i32.eqz
(get_local $0)
)
2018-07-13 16:40:37 +03:00
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 169)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 0)
)
(i32.const 480)
)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 171)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 1)
)
(i32.const 488)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 172)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 8)
)
2018-10-18 20:05:35 +03:00
(i32.const 1528)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 173)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 123)
)
(i32.const 320)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 174)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const -1000)
)
2018-10-18 20:05:35 +03:00
(i32.const 1536)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 175)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 1234)
)
2018-10-18 20:05:35 +03:00
(i32.const 1552)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 176)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 12345)
)
2018-10-18 20:05:35 +03:00
(i32.const 1568)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 177)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 123456)
)
2018-10-18 20:05:35 +03:00
(i32.const 1584)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 178)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 1111111)
)
2018-10-18 20:05:35 +03:00
(i32.const 1600)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 179)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 1234567)
)
2018-10-18 20:05:35 +03:00
(i32.const 1624)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 180)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 2147483646)
)
2018-10-18 20:05:35 +03:00
(i32.const 1648)
)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 181)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const 2147483647)
)
2018-10-18 20:05:35 +03:00
(i32.const 1672)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 182)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const -2147483648)
)
2018-10-18 20:05:35 +03:00
(i32.const 1696)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 183)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa32
(i32.const -1)
)
2018-10-18 20:05:35 +03:00
(i32.const 1728)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 184)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa32
(i32.const 0)
)
(i32.const 480)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 186)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa32
(i32.const 1000)
)
2018-10-18 20:05:35 +03:00
(i32.const 1736)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 187)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa32
(i32.const 2147483647)
)
2018-10-18 20:05:35 +03:00
(i32.const 1672)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 188)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa32
(i32.const -2147483648)
)
2018-10-18 20:05:35 +03:00
(i32.const 1752)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 189)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa32
(i32.const -1)
)
2018-10-18 20:05:35 +03:00
(i32.const 1776)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 190)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 0)
)
(i32.const 480)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 192)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 1234)
)
2018-10-18 20:05:35 +03:00
(i32.const 1552)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 193)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 99999999)
)
2018-10-18 20:05:35 +03:00
(i32.const 2320)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 194)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 100000000)
)
2018-10-18 20:05:35 +03:00
(i32.const 2344)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 195)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 4294967295)
)
2018-10-18 20:05:35 +03:00
(i32.const 1776)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 196)
(i32.const 0)
)
2018-07-13 16:40:37 +03:00
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 68719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2368)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 197)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 868719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2400)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 198)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 999868719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2432)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 199)
(i32.const 0)
)
2018-07-13 16:40:37 +03:00
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 9999868719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2472)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 200)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const 19999868719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2512)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 201)
(i32.const 0)
)
2018-07-13 16:40:37 +03:00
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/utoa64
(i64.const -1)
)
2018-10-18 20:05:35 +03:00
(i32.const 2552)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 202)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(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)
2018-10-18 20:05:35 +03:00
(i32.const 204)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const -1234)
)
2018-10-18 20:05:35 +03:00
(i32.const 2600)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 205)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const 4294967295)
)
2018-10-18 20:05:35 +03:00
(i32.const 1776)
)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 206)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
2018-07-13 16:40:37 +03:00
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const -4294967295)
)
2018-10-18 20:05:35 +03:00
(i32.const 2616)
)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 207)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const 68719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2368)
)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 208)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const -68719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2648)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 209)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const -868719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2680)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 210)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const -999868719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2712)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 211)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const -19999868719476735)
)
2018-10-18 20:05:35 +03:00
(i32.const 2752)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 212)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const 9223372036854775807)
)
2018-10-18 20:05:35 +03:00
(i32.const 2792)
)
2018-07-13 16:40:37 +03:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 213)
2018-07-13 16:40:37 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/itoa64
(i64.const -9223372036854775808)
)
2018-10-18 20:05:35 +03:00
(i32.const 2840)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 214)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 0)
)
2018-10-18 20:05:35 +03:00
(i32.const 2888)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 217)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -0)
)
2018-10-18 20:05:35 +03:00
(i32.const 2888)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 218)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const nan:0x8000000000000)
)
2018-10-18 20:05:35 +03:00
(i32.const 2904)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 219)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const inf)
)
2018-10-18 20:05:35 +03:00
(i32.const 2944)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 220)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -inf)
)
2018-10-18 20:05:35 +03:00
(i32.const 2920)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 221)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 2.220446049250313e-16)
)
2018-10-18 20:05:35 +03:00
(i32.const 4336)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 222)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -2.220446049250313e-16)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4384)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 223)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1797693134862315708145274e284)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4432)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 224)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -1797693134862315708145274e284)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4488)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 225)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 4185580496821356722454785e274)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4544)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 226)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 2.2250738585072014e-308)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4592)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 227)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 2.9802322387695312e-08)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4648)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 228)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -21098088986959632)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4696)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 229)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 4.940656e-318)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4744)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 230)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 9060801153433600)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4776)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 231)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 4708356024711512064)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4816)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 232)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 9409340012568248320)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4864)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 233)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 5e-324)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4912)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 234)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4928)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 240)
(i32.const 0)
)
(unreachable)
)
)
2018-07-13 16:40:37 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 0.1)
2018-07-13 16:40:37 +03:00
)
(i32.const 592)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 241)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -1)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4944)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 242)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -0.1)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4960)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 243)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1e6)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4976)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 245)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1e-06)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5000)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 246)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -1e6)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5024)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 247)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -1e-06)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5048)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 248)
(i32.const 0)
)
(unreachable)
)
)
2018-01-28 23:42:55 +01:00
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1e7)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5072)
)
2018-01-28 23:42:55 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 249)
(i32.const 0)
)
(unreachable)
)
2018-01-28 23:42:55 +01:00
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1e-07)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5096)
)
2018-01-28 23:42:55 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 250)
(i32.const 0)
)
(unreachable)
)
2018-01-28 23:42:55 +01:00
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1.e+308)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5112)
)
2018-01-28 23:42:55 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 252)
(i32.const 0)
)
(unreachable)
)
2018-01-28 23:42:55 +01:00
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -1.e+308)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5128)
)
2018-01-28 23:42:55 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 253)
(i32.const 0)
)
(unreachable)
)
2018-01-28 23:42:55 +01:00
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const inf)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 2944)
)
2018-01-28 23:42:55 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 254)
(i32.const 0)
)
(unreachable)
)
2018-01-28 23:42:55 +01:00
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -inf)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 2920)
)
2018-01-28 23:42:55 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 255)
(i32.const 0)
)
(unreachable)
)
2018-01-28 23:42:55 +01:00
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1e-308)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5152)
2018-01-28 23:42:55 +01:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 256)
(i32.const 0)
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -1e-308)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5168)
2018-07-13 16:40:37 +03:00
)
2018-01-28 23:42:55 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 257)
(i32.const 0)
)
(unreachable)
)
2018-01-28 23:42:55 +01:00
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1e-323)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5192)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 258)
(i32.const 0)
2018-01-28 23:42:55 +01:00
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -1e-323)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5208)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 259)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 0)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 2888)
)
2018-01-28 23:42:55 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 260)
(i32.const 0)
)
(unreachable)
)
2018-01-28 23:42:55 +01:00
)
2018-01-29 07:42:40 +01:00
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 4294967272)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5232)
2018-01-29 07:42:40 +01:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 262)
(i32.const 0)
)
(unreachable)
)
2018-01-29 07:42:40 +01:00
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1.2312145673456234e-08)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5264)
2018-01-29 07:42:40 +01:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 263)
(i32.const 0)
)
(unreachable)
)
2018-01-29 07:42:40 +01:00
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const -1.0471975511965976e-06)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5312)
2018-01-29 07:42:40 +01:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 264)
(i32.const 0)
)
(unreachable)
)
2018-01-29 07:42:40 +01:00
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 555555555.5555556)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5368)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 265)
(i32.const 0)
2018-01-29 07:42:40 +01:00
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 0.9999999999999999)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5408)
2018-07-13 16:40:37 +03:00
)
2018-01-29 07:42:40 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 266)
(i32.const 0)
)
(unreachable)
)
2018-01-29 07:42:40 +01:00
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 4928)
2018-07-13 16:40:37 +03:00
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 267)
(i32.const 0)
2018-01-29 07:42:40 +01:00
)
(unreachable)
)
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 12.34)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5448)
2018-07-13 16:40:37 +03:00
)
2018-01-29 07:42:40 +01:00
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 268)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 0.30000000000000004)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5464)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 269)
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
2018-07-13 16:40:37 +03:00
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 0.3333333333333333)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5512)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 270)
(i32.const 0)
)
(unreachable)
)
2018-01-29 07:42:40 +01:00
)
(if
2018-07-13 16:40:37 +03:00
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1234e17)
2018-07-13 16:40:37 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5552)
)
)
(block
(call $~lib/env/abort
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 271)
(i32.const 0)
)
(unreachable)
)
)
2018-04-07 19:59:26 +03:00
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1234e18)
2018-04-07 19:59:26 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5608)
2018-04-07 19:59:26 +03:00
)
)
(block
(call $~lib/env/abort
2018-04-07 19:59:26 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 272)
2018-04-07 19:59:26 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 2.71828)
2018-04-07 19:59:26 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5632)
2018-04-07 19:59:26 +03:00
)
)
(block
(call $~lib/env/abort
2018-04-07 19:59:26 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 273)
2018-04-07 19:59:26 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 0.0271828)
2018-04-07 19:59:26 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5656)
2018-04-07 19:59:26 +03:00
)
)
(block
(call $~lib/env/abort
2018-04-07 19:59:26 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 274)
2018-04-07 19:59:26 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 271.828)
2018-04-07 19:59:26 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5680)
2018-04-07 19:59:26 +03:00
)
)
(block
(call $~lib/env/abort
2018-04-07 19:59:26 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 275)
2018-04-07 19:59:26 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1.1e+128)
2018-04-07 19:59:26 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5704)
2018-04-07 19:59:26 +03:00
)
)
(block
(call $~lib/env/abort
2018-04-07 19:59:26 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 276)
2018-04-07 19:59:26 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1.1e-64)
2018-04-07 19:59:26 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5728)
2018-04-07 19:59:26 +03:00
)
)
(block
(call $~lib/env/abort
2018-04-07 19:59:26 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 277)
2018-04-07 19:59:26 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 0.000035689)
2018-04-07 19:59:26 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5752)
2018-04-07 19:59:26 +03:00
)
)
(block
(call $~lib/env/abort
2018-04-07 19:59:26 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 278)
2018-04-07 19:59:26 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 3402823466385288598117041e14)
2018-04-07 19:59:26 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5784)
2018-04-07 19:59:26 +03:00
)
)
(block
(call $~lib/env/abort
2018-04-07 19:59:26 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 280)
2018-04-07 19:59:26 +03:00
(i32.const 0)
)
(unreachable)
)
)
(if
(i32.eqz
(call $~lib/string/String.__eq
(call $~lib/internal/number/dtoa
(f64.const 1.1920928955078125e-07)
2018-04-07 19:59:26 +03:00
)
2018-10-18 20:05:35 +03:00
(i32.const 5832)
2018-04-07 19:59:26 +03:00
)
)
(block
(call $~lib/env/abort
2018-04-07 19:59:26 +03:00
(i32.const 0)
(i32.const 48)
2018-10-18 20:05:35 +03:00
(i32.const 281)
2018-04-07 19:59:26 +03:00
(i32.const 0)
)
(unreachable)
)
)
)
2018-10-18 20:05:35 +03:00
(func $null (; 62 ;) (; has Stack IR ;) (type $v)
(nop)
)
)