(module
 (type $0 (func))
 (import "env" "js_func4" (func $js_func_4 (type $0)))
 (import "env" "js_func3" (func $js_func_3 (type $0)))
 (import "env" "js_func2" (func $js_func_2 (type $0)))
 (export "wasm_func1" (func $wasm_func_1))
 (export "wasm_func2" (func $wasm_func_2))
 (export "wasm_func3" (func $wasm_func_3))
 (export "wasm_func4" (func $wasm_func_4))
 (func $wasm_func_4 (type $0)
  (nop)
 )
 (func $wasm_func_3 (type $0)
  (call $js_func_4)
 )
 (func $wasm_func_2 (type $0)
  (call $js_func_3)
 )
 (func $wasm_func_1 (type $0)
  (call $js_func_2)
 )
)