(module (type (;0;) (func (param i32) (result i32))) (export "even" (func $even)) (export "odd" (func $odd)) (func $even (;0;) (type 0) (param $n i32) (result i32) local.get $n i32.const 0 i32.eq if (result i32) ;; label = @1 i32.const 1 else local.get $n i32.const 1 i32.sub call $odd end ) (func $odd (;1;) (type 0) (param $n i32) (result i32) local.get $n i32.const 0 i32.eq if (result i32) ;; label = @1 i32.const 0 else local.get $n i32.const 1 i32.sub call $even end ) )