blob: 4a679b52a4c7e1f2302e24ff3a16c2bfe730e5e7 [file] [edit]
(module
(type $0 (func (param i32) (result i32)))
(type $1 (func))
(type $2 (func (param i32 i32) (result i32)))
(type $3 (func (result i32)))
(type $4 (func (param i32)))
(import "env" "memory" (memory $mimport$0 256 256))
(global $global$0 (mut i32) (i32.const 5243904))
(global $global$1 i32 (i32.const 1024))
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
(export "main" (func $main))
(export "__data_end" (global $global$1))
(export "stackSave" (func $stackSave))
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
(export "__growWasmMemory" (func $__growWasmMemory))
(func $__wasm_call_ctors
;; code offset: 0x3 - 0x4
(nop)
)
(func $main (param $0 i32) (param $1 i32) (result i32)
;; code offset: 0x10 - 0x32
(if
;; code offset: 0xf - 0x10
(i32.ne
;; code offset: 0xc - 0xd
(i32.rem_s
;; code offset: 0x7 - 0x9
(local.get $0)
;; code offset: 0x9 - 0xc
(i32.const 120)
)
;; code offset: 0xd - 0xf
(i32.const 55)
)
(then
;; code offset: 0x12 - 0x31
(loop $label
;; code offset: 0x2e - 0x30
(br_if $label
;; code offset: 0x2d - 0x2e
(i32.ne
;; code offset: 0x2a - 0x2b
(i32.rem_s
;; code offset: 0x25 - 0x27
(local.tee $0
;; code offset: 0x24 - 0x25
(i32.add
;; code offset: 0x21 - 0x22
(i32.add
;; code offset: 0x1b - 0x1c
(i32.mul
;; code offset: 0x18 - 0x19
(i32.mul
;; code offset: 0x14 - 0x16
(local.get $0)
;; code offset: 0x16 - 0x18
(local.get $0)
)
;; code offset: 0x19 - 0x1b
(local.get $0)
)
;; code offset: 0x20 - 0x21
(i32.div_s
;; code offset: 0x1c - 0x1e
(local.get $0)
;; code offset: 0x1e - 0x20
(i32.const -2)
)
)
;; code offset: 0x22 - 0x24
(i32.const 13)
)
)
;; code offset: 0x27 - 0x2a
(i32.const 120)
)
;; code offset: 0x2b - 0x2d
(i32.const 55)
)
)
)
)
)
;; code offset: 0x32 - 0x34
(local.get $0)
)
(func $stackSave (result i32)
;; code offset: 0x37 - 0x39
(global.get $global$0)
)
(func $stackAlloc (param $0 i32) (result i32)
;; code offset: 0x46 - 0x48
(global.set $global$0
;; code offset: 0x44 - 0x46
(local.tee $0
;; code offset: 0x43 - 0x44
(i32.and
;; code offset: 0x40 - 0x41
(i32.sub
;; code offset: 0x3c - 0x3e
(global.get $global$0)
;; code offset: 0x3e - 0x40
(local.get $0)
)
;; code offset: 0x41 - 0x43
(i32.const -16)
)
)
)
;; code offset: 0x48 - 0x4a
(local.get $0)
)
(func $stackRestore (param $0 i32)
;; code offset: 0x4f - 0x51
(global.set $global$0
;; code offset: 0x4d - 0x4f
(local.get $0)
)
)
(func $__growWasmMemory (param $0 i32) (result i32)
;; code offset: 0x56 - 0x58
(memory.grow
;; code offset: 0x54 - 0x56
(local.get $0)
)
)
;; custom section ".debug_info", size 105
;; custom section ".debug_abbrev", size 73
;; custom section ".debug_line", size 92
;; custom section ".debug_str", size 205
)
(module
(type $0 (func (param i32) (result i32)))
(type $1 (func))
(type $2 (func (param i32 i32) (result i32)))
(type $3 (func (result i32)))
(type $4 (func (param i32)))
(import "env" "memory" (memory $mimport$0 256 256))
(global $global$0 (mut i32) (i32.const 5243904))
(global $global$1 i32 (i32.const 1024))
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
(export "main" (func $main))
(export "__data_end" (global $global$1))
(export "stackSave" (func $stackSave))
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
(export "__growWasmMemory" (func $__growWasmMemory))
(func $__wasm_call_ctors
;; code offset: 0x3 - 0x4
(nop)
)
(func $main (param $0 i32) (param $1 i32) (result i32)
;; code offset: 0x10 - 0x32
(if
;; code offset: 0xf - 0x10
(i32.ne
;; code offset: 0xc - 0xd
(i32.rem_s
;; code offset: 0x7 - 0x9
(local.get $0)
;; code offset: 0x9 - 0xc
(i32.const 120)
)
;; code offset: 0xd - 0xf
(i32.const 55)
)
(then
;; code offset: 0x12 - 0x31
(loop $label
;; code offset: 0x2e - 0x30
(br_if $label
;; code offset: 0x2d - 0x2e
(i32.ne
;; code offset: 0x2a - 0x2b
(i32.rem_s
;; code offset: 0x25 - 0x27
(local.tee $0
;; code offset: 0x24 - 0x25
(i32.add
;; code offset: 0x21 - 0x22
(i32.add
;; code offset: 0x1b - 0x1c
(i32.mul
;; code offset: 0x18 - 0x19
(i32.mul
;; code offset: 0x14 - 0x16
(local.get $0)
;; code offset: 0x16 - 0x18
(local.get $0)
)
;; code offset: 0x19 - 0x1b
(local.get $0)
)
;; code offset: 0x20 - 0x21
(i32.div_s
;; code offset: 0x1c - 0x1e
(local.get $0)
;; code offset: 0x1e - 0x20
(i32.const -2)
)
)
;; code offset: 0x22 - 0x24
(i32.const 13)
)
)
;; code offset: 0x27 - 0x2a
(i32.const 120)
)
;; code offset: 0x2b - 0x2d
(i32.const 55)
)
)
)
)
)
;; code offset: 0x32 - 0x34
(local.get $0)
)
(func $stackSave (result i32)
;; code offset: 0x37 - 0x39
(global.get $global$0)
)
(func $stackAlloc (param $0 i32) (result i32)
;; code offset: 0x46 - 0x48
(global.set $global$0
;; code offset: 0x44 - 0x46
(local.tee $0
;; code offset: 0x43 - 0x44
(i32.and
;; code offset: 0x40 - 0x41
(i32.sub
;; code offset: 0x3c - 0x3e
(global.get $global$0)
;; code offset: 0x3e - 0x40
(local.get $0)
)
;; code offset: 0x41 - 0x43
(i32.const -16)
)
)
)
;; code offset: 0x48 - 0x4a
(local.get $0)
)
(func $stackRestore (param $0 i32)
;; code offset: 0x4f - 0x51
(global.set $global$0
;; code offset: 0x4d - 0x4f
(local.get $0)
)
)
(func $__growWasmMemory (param $0 i32) (result i32)
;; code offset: 0x56 - 0x58
(memory.grow
;; code offset: 0x54 - 0x56
(local.get $0)
)
)
;; custom section ".debug_info", size 105
;; custom section ".debug_abbrev", size 73
;; custom section ".debug_line", size 92
;; custom section ".debug_str", size 205
)