(module (type $func (;0;) (func)) (type $cont (;1;) (cont $func)) (type $cont-func (;2;) (func (param (ref $cont)))) (type $cont-cont (;3;) (cont $cont-func)) (type $func-cont-func-func (;4;) (func (param (ref $func) (ref $cont-func)))) (type $func-cont-func-cont (;5;) (cont $func-cont-func-func)) (type (;6;) (func (param (ref $func-cont-func-cont)))) (type (;7;) (func (param i32))) (import "scheduler" "sync" (func $scheduler-sync (;0;) (type 6))) (import "scheduler" "kt" (func $scheduler-kt (;1;) (type 6))) (import "scheduler" "tk" (func $scheduler-tk (;2;) (type 6))) (import "scheduler" "ykt" (func $scheduler-ykt (;3;) (type 6))) (import "scheduler" "ytk" (func $scheduler-ytk (;4;) (type 6))) (import "spectest" "print_i32" (func $log (;5;) (type 7))) (import "example" "main" (func $main (;6;) (type $func-cont-func-func))) (export "run" (func $run)) (elem (;0;) declare func $main) (func $run (;7;) (type $func) i32.const -1 call $log ref.func $main cont.new $func-cont-func-cont call $scheduler-sync i32.const -2 call $log ref.func $main cont.new $func-cont-func-cont call $scheduler-kt i32.const -3 call $log ref.func $main cont.new $func-cont-func-cont call $scheduler-tk i32.const -4 call $log ref.func $main cont.new $func-cont-func-cont call $scheduler-ykt i32.const -5 call $log ref.func $main cont.new $func-cont-func-cont call $scheduler-ytk i32.const -6 call $log ) )