1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
|
(module
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $none_=>_none (func))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(type $none_=>_i32 (func (result i32)))
(type $i32_=>_none (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
(nop)
)
(func $main (param $0 i32) (param $1 i32) (result i32)
(if
(i32.ne
(i32.rem_s
(local.get $0)
(i32.const 120)
)
(i32.const 55)
)
(loop $label$2
(br_if $label$2
(i32.ne
(i32.rem_s
(local.tee $0
(i32.add
(i32.add
(i32.mul
(i32.mul
(local.get $0)
(local.get $0)
)
(local.get $0)
)
(i32.div_s
(local.get $0)
(i32.const -2)
)
)
(i32.const 13)
)
)
(i32.const 120)
)
(i32.const 55)
)
)
)
)
(local.get $0)
)
(func $stackSave (result i32)
(global.get $global$0)
)
(func $stackAlloc (param $0 i32) (result i32)
(global.set $global$0
(local.tee $0
(i32.and
(i32.sub
(global.get $global$0)
(local.get $0)
)
(i32.const -16)
)
)
)
(local.get $0)
)
(func $stackRestore (param $0 i32)
(global.set $global$0
(local.get $0)
)
)
(func $__growWasmMemory (param $0 i32) (result i32)
(memory.grow
(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 $i32_=>_i32 (func (param i32) (result i32)))
(type $none_=>_none (func))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(type $none_=>_i32 (func (result i32)))
(type $i32_=>_none (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
(nop)
)
(func $main (param $0 i32) (param $1 i32) (result i32)
(if
(i32.ne
(i32.rem_s
(local.get $0)
(i32.const 120)
)
(i32.const 55)
)
(loop $label$2
(br_if $label$2
(i32.ne
(i32.rem_s
(local.tee $0
(i32.add
(i32.add
(i32.mul
(i32.mul
(local.get $0)
(local.get $0)
)
(local.get $0)
)
(i32.div_s
(local.get $0)
(i32.const -2)
)
)
(i32.const 13)
)
)
(i32.const 120)
)
(i32.const 55)
)
)
)
)
(local.get $0)
)
(func $stackSave (result i32)
(global.get $global$0)
)
(func $stackAlloc (param $0 i32) (result i32)
(global.set $global$0
(local.tee $0
(i32.and
(i32.sub
(global.get $global$0)
(local.get $0)
)
(i32.const -16)
)
)
)
(local.get $0)
)
(func $stackRestore (param $0 i32)
(global.set $global$0
(local.get $0)
)
)
(func $__growWasmMemory (param $0 i32) (result i32)
(memory.grow
(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
)
|