(module (type $iii (func (param i32 i32) (result i32))) (type $iiii_ (func (param i32 i32 i32 i32))) (type $III (func (param i64 i64) (result i64))) (type $FFF (func (param f64 f64) (result f64))) (type $_ (func)) (import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32))) (memory $0 1) (data (i32.const 8) "\11\00\00\00f\00u\00n\00c\00t\00i\00o\00n\00-\00t\00y\00p\00e\00s\00.\00t\00s") (table $0 5 funcref) (elem (i32.const 0) $null $function-types/makeAdder~anonymous|0 $function-types/makeAdder~anonymous|0 $function-types/makeAdder~anonymous|0 $function-types/makeAdder~anonymous|0) (global $function-types/i32Adder (mut i32) (i32.const 0)) (global $~lib/argc (mut i32) (i32.const 0)) (global $function-types/i64Adder (mut i32) (i32.const 0)) (export "memory" (memory $0)) (export "table" (table $0)) (start $start) (func $function-types/makeAdder~anonymous|0 (; 1 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 i32.add ) (func $function-types/makeAdder~anonymous|0 (; 2 ;) (type $III) (param $0 i64) (param $1 i64) (result i64) local.get $0 local.get $1 i64.add ) (func $function-types/makeAdder~anonymous|0 (; 3 ;) (type $FFF) (param $0 f64) (param $1 f64) (result f64) local.get $0 local.get $1 f64.add ) (func $start:function-types (; 4 ;) (type $_) (local $0 i32) i32.const 1 global.set $function-types/i32Adder i32.const 2 global.set $~lib/argc i32.const 1 i32.const 2 global.get $function-types/i32Adder call_indirect (type $iii) i32.const 3 i32.ne if i32.const 0 i32.const 8 i32.const 11 i32.const 0 call $~lib/env/abort unreachable end i32.const 2 global.set $function-types/i64Adder i32.const 2 global.set $~lib/argc i64.const 10 i64.const 20 global.get $function-types/i64Adder call_indirect (type $III) i64.const 30 i64.ne if i32.const 0 i32.const 8 i32.const 15 i32.const 0 call $~lib/env/abort unreachable end i32.const 2 global.set $~lib/argc f64.const 1.5 f64.const 2.5 i32.const 3 call_indirect (type $FFF) f64.const 4 f64.ne if i32.const 0 i32.const 8 i32.const 17 i32.const 0 call $~lib/env/abort unreachable end i32.const 2 global.set $~lib/argc i32.const 2 i32.const 3 global.get $function-types/i32Adder call_indirect (type $iii) i32.const 5 i32.ne if i32.const 0 i32.const 8 i32.const 23 i32.const 0 call $~lib/env/abort unreachable end i32.const 2 global.set $~lib/argc i32.const 3 i32.const 4 i32.const 1 call_indirect (type $iii) i32.const 7 i32.ne if i32.const 0 i32.const 8 i32.const 29 i32.const 0 call $~lib/env/abort unreachable end i32.const 2 global.set $~lib/argc i32.const 4 i32.const 5 i32.const 4 call_indirect (type $iii) i32.const 9 i32.ne if i32.const 0 i32.const 8 i32.const 35 i32.const 0 call $~lib/env/abort unreachable end i32.const 2 global.set $~lib/argc block $1of1 block $0of1 block $outOfRange global.get $~lib/argc i32.const 2 i32.sub br_table $0of1 $1of1 $outOfRange end unreachable end i32.const 1 local.set $0 end i32.const 2 global.set $~lib/argc i32.const 1 i32.const 2 local.get $0 call_indirect (type $iii) i32.const 3 i32.ne if i32.const 0 i32.const 8 i32.const 41 i32.const 0 call $~lib/env/abort unreachable end i32.const 2 global.set $~lib/argc i32.const 1 i32.const 2 i32.const 1 call_indirect (type $iii) i32.const 3 i32.ne if i32.const 0 i32.const 8 i32.const 42 i32.const 0 call $~lib/env/abort unreachable end ) (func $start (; 5 ;) (type $_) call $start:function-types ) (func $null (; 6 ;) (type $_) nop ) )