(module (type $FUNCSIG$i (func (result i32))) (type $FUNCSIG$vi (func (param i32))) (type $FUNCSIG$v (func)) (type $FUNCSIG$iii (func (param i32 i32) (result i32))) (import "env" "pop" (func $pop (result i32))) (import "env" "push" (func $push (param i32))) (import "env" "rinit" (func $rinit)) (import "env" "rpop" (func $rpop (result i32))) (import "env" "rpush" (func $rpush (param i32))) (import "env" "sys_read" (func $sys_read (param i32 i32) (result i32))) (import "env" "sys_request" (func $sys_request (param i32 i32) (result i32))) (import "env" "sys_write" (func $sys_write (param i32 i32) (result i32))) (table (;0;) 0 anyfunc) (memory $0 1) (data (i32.const 16) "\00\00\00\09interpret\00\00\00\00\00\00\00\00\00\00\04\00\00\00\02\00\00\00\10\00\00\00\0d\00\00\00\01\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00") (export "memory" (memory $0)) (export "main" (func $main)) (func $main (result i32) (local $0 i32) (local $1 i32) i32.const 0 i32.load offset=4 i32.const 16 i32.sub set_local $1 i32.const 0 get_local $1 i32.store offset=4 get_local $1 i32.const 0 i32.store offset=12 i32.const 16 i32.const 16 call $interpret set_local $0 i32.const 0 get_local $1 i32.const 16 i32.add i32.store offset=4 get_local $0) (func $interpret (param $0 i32) (param $1 i32) (result i32) (local $2 i32) i32.const 0 i32.load offset=4 i32.const 32 i32.sub set_local $2 i32.const 0 get_local $2 i32.store offset=4 get_local $2 get_local $0 i32.store offset=28 get_local $2 get_local $1 i32.store offset=24 get_local $2 i32.const 0 i32.store offset=20 get_local $2 i32.const 0 i32.store offset=16 get_local $2 i32.const 0 i32.store offset=12 get_local $2 i32.const 0 i32.store offset=8 loop $label$0 (result i32) get_local $2 get_local $2 i32.load offset=28 i32.load i32.store offset=20 get_local $2 get_local $2 i32.load offset=28 i32.const 4 i32.add i32.store offset=28 block $label$1 block $label$2 block $label$3 loop $label$4 get_local $2 i32.load offset=20 set_local $1 get_local $1 i32.const 13 i32.gt_u br_if $label$3 block $label$5 block $label$6 block $label$7 block $label$8 block $label$9 block $label$10 block $label$11 block $label$12 block $label$13 block $label$14 block $label$15 block $label$16 block $label$17 block $label$18 get_local $1 br_table $label$18 $label$17 $label$16 $label$15 $label$14 $label$13 $label$12 $label$11 $label$10 $label$9 $label$8 $label$7 $label$6 $label$5 $label$18 end get_local $2 get_local $2 i32.load offset=20 i32.store offset=28 get_local $2 get_local $2 i32.load offset=20 i32.load i32.store offset=20 br $label$1 end get_local $2 call $rpop i32.store offset=28 br $label$1 end get_local $2 i32.load offset=28 i32.load call $push get_local $2 get_local $2 i32.load offset=28 i32.const 4 i32.add i32.store offset=28 br $label$1 end call $rinit br $label$1 end get_local $2 get_local $2 i32.load offset=28 get_local $2 i32.load offset=20 i32.add i32.store offset=28 get_local $2 get_local $2 i32.load offset=20 get_local $2 i32.load offset=28 i32.add i32.store offset=20 br $label$1 end call $pop call $pop call $sys_read drop br $label$1 end call $pop call $pop call $sys_request drop br $label$1 end call $pop call $pop call $sys_write drop br $label$1 end br $label$2 end get_local $2 get_local $2 i32.load offset=28 i32.load i32.store offset=28 br $label$1 end call $pop i32.load call $push br $label$1 end call $pop set_local $1 call $pop get_local $1 i32.store br $label$1 end get_local $2 call $pop i32.store offset=20 br $label$4 end end i32.const 1 call $push br $label$1 end get_local $2 i32.load offset=28 call $rpush get_local $2 get_local $2 i32.load offset=20 i32.store offset=28 br $label$1 end i32.const 0 get_local $2 i32.const 32 i32.add i32.store offset=4 i32.const 0 return end br $label$0 end))