(module (type $FUNCSIG$i (func (result i32))) (memory $0 2) (table $0 1 1 funcref) (elem (i32.const 0) $foo) (global $global$0 (mut i32) (i32.const 66112)) (global $global$1 i32 (i32.const 66112)) (global $global$2 i32 (i32.const 576)) (export "memory" (memory $0)) (export "_start" (func $_start)) (export "__heap_base" (global $global$1)) (export "__data_end" (global $global$2)) (export "stackSave" (func $stackSave)) (export "stackAlloc" (func $stackAlloc)) (export "stackRestore" (func $stackRestore)) (export "__growWasmMemory" (func $__growWasmMemory)) (func $_start (; 0 ;) (type $FUNCSIG$i) (result i32) (nop) ) (func $foo (; 1 ;) (type $FUNCSIG$i) (result i32) (nop) ) (func $stackSave (; 2 ;) (result i32) (global.get $global$0) ) (func $stackAlloc (; 3 ;) (param $0 i32) (result i32) (local $1 i32) (global.set $global$0 (local.tee $1 (i32.and (i32.sub (global.get $global$0) (local.get $0) ) (i32.const -16) ) ) ) (local.get $1) ) (func $stackRestore (; 4 ;) (param $0 i32) (global.set $global$0 (local.get $0) ) ) (func $__growWasmMemory (; 5 ;) (param $newSize i32) (result i32) (memory.grow (local.get $newSize) ) ) ) (; --BEGIN METADATA -- { "staticBump": 8, "tableSize": 1, "declares": [ ], "externs": [ ], "implementedFunctions": [ "__start", "_stackSave", "_stackAlloc", "_stackRestore", "___growWasmMemory" ], "exports": [ "_start", "stackSave", "stackAlloc", "stackRestore", "__growWasmMemory" ], "namedGlobals": { "__heap_base" : "66112", "__data_end" : "576" }, "invokeFuncs": [ ], "features": [ ], "mainReadsParams": 0 } -- END METADATA -- ;)