const char* memory_test_wast = R"=====( (module (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32))) (type $FUNCSIG$vii (func (param i32 i32))) (import "env" "assert" (func $assert (param i32 i32))) (import "env" "memcpy" (func $memcpy (param i32 i32 i32) (result i32))) (import "env" "memset" (func $memset (param i32 i32 i32) (result i32))) (table 0 anyfunc) (memory $0 1) (data (i32.const 4) " g\00\00") (data (i32.const 8208) "buf slot doesn\'t match\00") (data (i32.const 8240) "should have allocated a 20 char buf\00") (data (i32.const 8288) "should have returned a 30 char buf\00") (data (i32.const 8336) "should have enlarged the 20 char buf\00") (data (i32.const 8384) "should have allocated another 20 char buf\00") (data (i32.const 8432) "20 char bugger should have been created after ptr1\00") (data (i32.const 8496) "should not have empty bytes following since block allocated\00") (data (i32.const 8560) "should have returned a 15 char buf\00") (data (i32.const 8608) "should have shrunk the reallocated 30 char buf\00") (data (i32.const 8656) "remaining 15 chars of buf should be untouched\00") (data (i32.const 8704) "should have returned a reallocated 15 char buf\00") (data (i32.const 8752) "should have reallocated 15 char buf as the same buf\00") (data (i32.const 8816) "remaining 15 chars of buf should be untouched for unchanged buf\00") (data (i32.const 8880) "should have increased the buf back to orig max\00") (data (i32.const 8928) "remaining 15 chars of buf should be untouched for expanded buf\00") (data (i32.const 8992) "should have returned a 31 char buf\00") (data (i32.const 9040) "should have had to create new 31 char buf from 30 char buf\00") (data (i32.const 9104) "should have been created after ptr2\00") (data (i32.const 9152) "orig 30 char buf\'s content should be copied\00") (data (i32.const 9200) "should have returned a 50 char buf and ignored nullptr\00") (data (i32.const 9264) "should have created after ptr1_realloc\00") (data (i32.const 9312) " and ignored invalid ptr\00") (data (i32.const 9344) "should have been created invalid_ptr_realloc after ptr2\00") (data (i32.const 9408) "realloc request past end should return a nullptr\00") (data (i32.const 9472) "should have returned a buf\00") (data (i32.const 9504) "should have extended the orig buf\00") (data (i32.const 9552) "request of more than available should fail\00") (data (i32.const 9600) "should have allocated 1 char buf\00") (data (i32.const 9648) "should have allocated 2nd 1 char buf\00") (data (i32.const 9696) "realloc request to end, should have allocated a buf\00") (data (i32.const 9760) "should have reallocate the large buf\00") (data (i32.const 9808) "realloc request to end1, should have allocated a buf\00") (data (i32.const 9872) "realloc request to end2, should \00") (data (i32.const 9920) "testmemory\00") (data (i32.const 9936) "transfer\00") (data (i32.const 9952) "testbounds\00") (data (i32.const 9968) "testmemset\00") (data (i32.const 9984) "testolstart\00") (data (i32.const 10000) "testolend\00") (export "memory" (memory $0)) (export "init" (func $init)) (export "verify" (func $verify)) (export "test_memory" (func $test_memory)) (export "test_memory_bounds" (func $test_memory_bounds)) (export "test_memset_memcpy" (func $test_memset_memcpy)) (export "test_memcpy_overlap_start" (func $test_memcpy_overlap_start)) (export "test_memcpy_overlap_end" (func $test_memcpy_overlap_end)) (export "apply" (func $apply)) (export "_GLOBAL__sub_I_memory_test.cpp" (func $_GLOBAL__sub_I_memory_test.cpp)) (func $_GLOBAL__sub_I_memory_test.cpp (i32.store offset=8204 (i32.const 0) (i32.const 0) ) (drop (call $memset (i32.const 12) (i32.const 0) (i32.const 8192) ) ) ) (func $init ) (func $verify (param $0 i32) (param $1 i32) (param $2 i32) (block $label$0 (br_if $label$0 (i32.eqz (get_local $2) ) ) (loop $label$1 (call $assert (i32.eq (i32.load8_u (get_local $0) ) (get_local $1) ) (i32.const 8208) ) (set_local $0 (i32.add (get_local $0) (i32.const 1) ) ) (br_if $label$1 (tee_local $2 (i32.add (get_local $2) (i32.const -1) ) ) ) ) ) ) (func $test_memory (local $0 i32) (local $1 i32) (local $2 i32) (local $3 i32) (set_local $2 (i32.const 0) ) (set_local $1 (i32.const 0) ) (block $label$0 (br_if $label$0 (i32.gt_u (i32.add (tee_local $3 (i32.load offset=8204 (i32.const 0) ) ) (i32.const 24) ) (i32.const 8192) ) ) (i32.store (i32.add (get_local $3) (i32.const 12) ) (i32.const 20) ) (i32.store offset=8204 (i32.const 0) (i32.add (i32.load offset=8204 (i32.const 0) ) (i32.const 24) ) ) (set_local $1 (i32.add (get_local $3) (i32.const 16) ) ) ) (call $assert (i32.ne (get_local $1) (i32.const 0) ) (i32.const 8240) ) (call $assert (i32.eqz (i32.load8_u (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=1 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=2 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=3 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=4 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=5 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=6 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=7 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=8 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=9 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=10 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=11 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=12 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=13 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=14 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=15 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=16 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=17 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=18 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=19 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.ne (tee_local $3 (call $_ZN3eos6memory7reallocEPvm (i32.const 12) (get_local $1) (i32.const 30) ) ) (i32.const 0) ) (i32.const 8288) ) (call $assert (i32.eq (get_local $3) (get_local $1) ) (i32.const 8336) ) (block $label$1 (br_if $label$1 (i32.gt_u (i32.add (tee_local $3 (i32.load offset=8204 (i32.const 0) ) ) (i32.const 24) ) (i32.const 8192) ) ) (i32.store (i32.add (get_local $3) (i32.const 12) ) (i32.const 20) ) (i32.store offset=8204 (i32.const 0) (i32.add (i32.load offset=8204 (i32.const 0) ) (i32.const 24) ) ) (set_local $2 (i32.add (get_local $3) (i32.const 16) ) ) ) (set_local $3 (i32.const 0) ) (call $assert (i32.ne (get_local $2) (i32.const 0) ) (i32.const 8384) ) (call $assert (i32.lt_u (i32.add (get_local $1) (i32.const 30) ) (get_local $2) ) (i32.const 8432) ) (loop $label$2 (call $assert (i32.eqz (i32.load8_u (i32.add (get_local $1) (get_local $3) ) ) ) (i32.const 8208) ) (br_if $label$2 (i32.ne (tee_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (i32.const 30) ) ) ) (call $assert (i32.ne (i32.load8_u (i32.add (get_local $1) (i32.const 30) ) ) (i32.const 0) ) (i32.const 8496) ) (i32.store8 offset=29 (get_local $1) (i32.const 127) ) (i32.store8 (tee_local $3 (i32.add (get_local $1) (i32.const 14) ) ) (i32.const 126) ) (call $assert (i32.ne (tee_local $0 (call $_ZN3eos6memory7reallocEPvm (i32.const 12) (get_local $1) (i32.const 15) ) ) (i32.const 0) ) (i32.const 8560) ) (call $assert (i32.eq (get_local $0) (get_local $1) ) (i32.const 8608) ) (call $assert (i32.eq (i32.load8_u (get_local $3) ) (i32.const 126) ) (i32.const 8656) ) (call $assert (i32.eqz (i32.load8_u (i32.add (get_local $1) (i32.const 15) ) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=16 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=17 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=18 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=19 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=20 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=21 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=22 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=23 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=24 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=25 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=26 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=27 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=28 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=29 (get_local $1) ) ) (i32.const 8208) ) (call $assert (i32.ne (tee_local $0 (call $_ZN3eos6memory7reallocEPvm (i32.const 12) (get_local $1) (i32.const 15) ) ) (i32.const 0) ) (i32.const 8704) ) (call $assert (i32.eq (get_local $0) (get_local $1) ) (i32.const 8752) ) (call $assert (i32.eq (i32.load8_u (get_local $3) ) (i32.const 126) ) (i32.const 8816) ) (call $assert (i32.ne (tee_local $0 (call $_ZN3eos6memory7reallocEPvm (i32.const 12) (get_local $1) (i32.const 30) ) ) (i32.const 0) ) (i32.const 8288) ) (call $assert (i32.eq (get_local $0) (get_local $1) ) (i32.const 8880) ) (call $assert (i32.eq (i32.load8_u (get_local $3) ) (i32.const 126) ) (i32.const 8928) ) (i32.store8 offset=29 (get_local $1) (i32.const 127) ) (call $assert (i32.ne (tee_local $3 (call $_ZN3eos6memory7reallocEPvm (i32.const 12) (get_local $1) (i32.const 31) ) ) (i32.const 0) ) (i32.const 8992) ) (call $assert (i32.ne (get_local $3) (get_local $1) ) (i32.const 9040) ) (call $assert (i32.lt_u (get_local $2) (get_local $3) ) (i32.const 9104) ) (call $assert (i32.eq (i32.load8_u offset=14 (get_local $3) ) (i32.const 126) ) (i32.const 9152) ) (call $assert (i32.eq (i32.load8_u offset=29 (get_local $3) ) (i32.const 127) ) (i32.const 9152) ) (set_local $1 (i32.const 0) ) (block $label$3 (br_if $label$3 (i32.gt_u (i32.add (tee_local $2 (i32.load offset=8204 (i32.const 0) ) ) (i32.const 54) ) (i32.const 8192) ) ) (i32.store (i32.add (get_local $2) (i32.const 12) ) (i32.const 50) ) (i32.store offset=8204 (i32.const 0) (i32.add (i32.load offset=8204 (i32.const 0) ) (i32.const 54) ) ) (set_local $1 (i32.add (get_local $2) (i32.const 16) ) ) ) (call $assert (i32.ne (get_local $1) (i32.const 0) ) (i32.const 9200) ) (call $assert (i32.lt_u (get_local $3) (get_local $1) ) (i32.const 9264) ) (call $assert (i32.ne (tee_local $2 (call $_ZN3eos6memory7reallocEPvm (i32.const 12) (i32.add (get_local $1) (i32.const 4) ) (i32.const 10) ) ) (i32.const 0) ) (i32.const 9312) ) (call $assert (i32.lt_u (get_local $1) (get_local $2) ) (i32.const 9344) ) (call $assert (i32.eqz (call $_ZN3eos6memory7reallocEPvm (i32.const 12) (get_local $3) (i32.const 8028) ) ) (i32.const 9408) ) (call $assert (i32.ne (tee_local $3 (call $_ZN3eos6memory7reallocEPvm (i32.const 12) (get_local $2) (i32.const 8027) ) ) (i32.const 0) ) (i32.const 9472) ) (call $assert (i32.eq (get_local $3) (get_local $2) ) (i32.const 9504) ) ) (func $_ZN3eos6memory7reallocEPvm (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (set_local $8 (i32.const 0) ) (set_local $7 (i32.const 0) ) (block $label$0 (block $label$1 (block $label$2 (block $label$3 (block $label$4 (block $label$5 (br_if $label$5 (i32.eqz (get_local $1) ) ) (set_local $7 (i32.const 0) ) (br_if $label$5 (i32.le_u (tee_local $3 (i32.add (get_local $0) (i32.const 8192) ) ) (get_local $1) ) ) (set_local $7 (i32.const 0) ) (br_if $label$5 (i32.lt_u (tee_local $6 (i32.add (get_local $1) (i32.const -4) ) ) (get_local $0) ) ) (set_local $7 (i32.const 0) ) (br_if $label$5 (i32.ge_u (tee_local $5 (i32.add (get_local $1) (tee_local $4 (i32.load (get_local $6) ) ) ) ) (get_local $3) ) ) (set_local $7 (i32.const 0) ) (br_if $label$4 (i32.le_u (i32.sub (get_local $3) (get_local $2) ) (get_local $1) ) ) (br_if $label$3 (i32.le_s (tee_local $3 (i32.sub (get_local $2) (get_local $4) ) ) (i32.const -1) ) ) (br_if $label$2 (i32.eq (get_local $5) (i32.add (get_local $0) (i32.load offset=8192 (get_local $0) ) ) ) ) (set_local $7 (get_local $4) ) (br_if $label$1 (i32.eqz (get_local $3) ) ) ) (block $label$6 (br_if $label$6 (i32.eqz (get_local $2) ) ) (br_if $label$6 (i32.gt_u (i32.add (tee_local $3 (i32.load offset=8192 (get_local $0) ) ) (tee_local $6 (i32.add (get_local $2) (i32.const 4) ) ) ) (i32.const 8192) ) ) (i32.store (tee_local $8 (i32.add (get_local $0) (get_local $3) ) ) (get_local $2) ) (i32.store (tee_local $0 (i32.add (get_local $0) (i32.const 8192) ) ) (i32.add (i32.load (get_local $0) ) (get_local $6) ) ) (set_local $8 (i32.add (get_local $8) (i32.const 4) ) ) ) (block $label$7 (br_if $label$7 (i32.eqz (tee_local $2 (select (get_local $2) (get_local $7) (i32.gt_u (get_local $7) (get_local $2) ) ) ) ) ) (drop (call $memcpy (get_local $8) (get_local $1) (get_local $2) ) ) ) (set_local $7 (get_local $8) ) ) (return (get_local $7) ) ) (drop (call $memset (i32.add (get_local $5) (get_local $3) ) (i32.const 0) (i32.sub (i32.const 0) (get_local $3) ) ) ) (br_if $label$0 (i32.eq (get_local $5) (i32.add (get_local $0) (tee_local $2 (i32.load offset=8192 (get_local $0) ) ) ) ) ) (return (get_local $1) ) ) (i32.store (get_local $6) (get_local $2) ) (i32.store (tee_local $2 (i32.add (get_local $0) (i32.const 8192) ) ) (i32.add (i32.load (get_local $2) ) (get_local $3) ) ) (return (get_local $1) ) ) (return (get_local $1) ) ) (i32.store (i32.add (get_local $0) (i32.const 8192) ) (i32.add (get_local $2) (get_local $3) ) ) (get_local $1) ) (func $test_memory_bounds (local $0 i32) (local $1 i32) (local $2 i32) (local $3 i32) (set_local $2 (i32.const 0) ) (set_local $3 (i32.const 1) ) (block $label$0 (br_if $label$0 (i32.lt_u (tee_local $0 (i32.load offset=8204 (i32.const 0) ) ) (i32.const -8193) ) ) (i32.store (i32.add (get_local $0) (i32.const 12) ) (i32.const 8189) ) (i32.store offset=8204 (i32.const 0) (i32.add (i32.load offset=8204 (i32.const 0) ) (i32.const 8193) ) ) (set_local $3 (i32.eqz (i32.add (get_local $0) (i32.const 16) ) ) ) ) (call $assert (get_local $3) (i32.const 9552) ) (block $label$1 (br_if $label$1 (i32.gt_u (i32.add (tee_local $3 (i32.load offset=8204 (i32.const 0) ) ) (i32.const 5) ) (i32.const 8192) ) ) (i32.store (i32.add (get_local $3) (i32.const 12) ) (i32.const 1) ) (i32.store offset=8204 (i32.const 0) (i32.add (i32.load offset=8204 (i32.const 0) ) (i32.const 5) ) ) (set_local $2 (i32.add (get_local $3) (i32.const 16) ) ) ) (set_local $3 (i32.const 0) ) (call $assert (i32.ne (get_local $2) (i32.const 0) ) (i32.const 9600) ) (set_local $0 (i32.const 0) ) (block $label$2 (br_if $label$2 (i32.gt_u (i32.add (tee_local $1 (i32.load offset=8204 (i32.const 0) ) ) (i32.const 5) ) (i32.const 8192) ) ) (i32.store (i32.add (get_local $1) (i32.const 12) ) (i32.const 1) ) (i32.store offset=8204 (i32.const 0) (i32.add (i32.load offset=8204 (i32.const 0) ) (i32.const 5) ) ) (set_local $0 (i32.ne (i32.add (get_local $1) (i32.const 16) ) (i32.const 0) ) ) ) (call $assert (get_local $0) (i32.const 9648) ) (call $assert (tee_local $1 (i32.ne (tee_local $0 (call $_ZN3eos6memory7reallocEPvm (i32.const 12) (get_local $2) (i32.const 8178) ) ) (i32.const 0) ) ) (i32.const 9696) ) (call $assert (i32.ne (get_local $0) (get_local $2) ) (i32.const 9760) ) (loop $label$3 (call $assert (i32.eqz (i32.load8_u (i32.add (get_local $0) (get_local $3) ) ) ) (i32.const 8208) ) (br_if $label$3 (i32.ne (tee_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (i32.const 8178) ) ) ) (call $assert (get_local $1) (i32.const 9808) ) (call $assert (get_local $1) (i32.const 9872) ) ) (func $test_memset_memcpy (local $0 i32) (local $1 i32) (local $2 i32) (local $3 i32) (i32.store offset=4 (i32.const 0) (tee_local $3 (i32.sub (i32.load offset=4 (i32.const 0) ) (i32.const 160) ) ) ) (drop (call $memset (i32.add (get_local $3) (i32.const 112) ) (i32.const 0) (i32.const 40) ) ) (drop (call $memset (i32.add (get_local $3) (i32.const 64) ) (i32.const 0) (i32.const 40) ) ) (call $assert (i32.const 1) (i32.const 8208) ) (set_local $2 (i32.const 1) ) (loop $label$0 (call $assert (i32.eqz (i32.load8_u (i32.add (i32.add (get_local $3) (i32.const 112) ) (get_local $2) ) ) ) (i32.const 8208) ) (br_if $label$0 (i32.ne (tee_local $2 (i32.add (get_local $2) (i32.const 1) ) ) (i32.const 40) ) ) ) (call $assert (i32.const 1) (i32.const 8208) ) (set_local $2 (i32.const 1) ) (loop $label$1 (call $assert (i32.eqz (i32.load8_u (i32.add (i32.add (get_local $3) (i32.const 64) ) (get_local $2) ) ) ) (i32.const 8208) ) (br_if $label$1 (i32.ne (tee_local $2 (i32.add (get_local $2) (i32.const 1) ) ) (i32.const 40) ) ) ) (drop (call $memset (i32.add (get_local $3) (i32.const 112) ) (i32.const 34) (i32.const 20) ) ) (call $assert (i32.eq (i32.load8_u offset=112 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=113 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=114 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=115 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=116 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=117 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=118 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=119 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=120 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=121 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=122 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=123 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=124 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=125 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=126 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=127 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=128 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=129 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=130 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=131 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=132 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=133 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=134 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=135 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=136 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=137 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=138 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=139 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=140 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=141 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=142 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=143 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=144 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=145 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=146 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=147 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=148 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=149 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=150 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=151 (get_local $3) ) ) (i32.const 8208) ) (drop (call $memset (i32.add (i32.add (get_local $3) (i32.const 64) ) (i32.const 20) ) (i32.const 255) (i32.const 20) ) ) (call $assert (i32.eqz (i32.load8_u offset=64 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=65 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=66 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=67 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=68 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=69 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=70 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=71 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=72 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=73 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=74 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=75 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=76 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=77 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=78 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=79 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=80 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=81 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=82 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=83 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=84 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=85 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=86 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=87 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=88 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=89 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=90 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=91 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=92 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=93 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=94 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=95 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=96 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=97 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=98 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=99 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=100 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=101 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=102 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=103 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (drop (call $memcpy (i32.or (i32.add (get_local $3) (i32.const 112) ) (i32.const 10) ) (i32.or (i32.add (get_local $3) (i32.const 64) ) (i32.const 10) ) (i32.const 20) ) ) (call $assert (i32.eq (i32.load8_u offset=112 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=113 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=114 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=115 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=116 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=117 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=118 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=119 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=120 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=121 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=122 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=123 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=124 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=125 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=126 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=127 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=128 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=129 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=130 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=131 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=132 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=133 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=134 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=135 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=136 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=137 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=138 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=139 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=140 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=141 (get_local $3) ) (i32.const 255) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=142 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=143 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=144 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=145 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=146 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=147 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=148 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=149 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=150 (get_local $3) ) ) (i32.const 8208) ) (call $assert (i32.eqz (i32.load8_u offset=151 (get_local $3) ) ) (i32.const 8208) ) (drop (call $memset (i32.or (i32.add (get_local $3) (i32.const 112) ) (i32.const 1) ) (i32.const 1) (i32.const 1) ) ) (call $assert (i32.eq (i32.load8_u offset=112 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=113 (get_local $3) ) (i32.const 1) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=114 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=115 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=116 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=117 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=118 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=119 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=120 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (call $assert (i32.eq (i32.load8_u offset=121 (get_local $3) ) (i32.const 34) ) (i32.const 8208) ) (set_local $2 (i32.const 0) ) (drop (call $memset (tee_local $0 (i32.add (tee_local $3 (call $memset (get_local $3) (i32.const 0) (i32.const 50) ) ) (i32.const 25) ) ) (i32.const 238) (i32.const 25) ) ) (loop $label$2 (call $assert (i32.eqz (i32.load8_u (i32.add (get_local $3) (get_local $2) ) ) ) (i32.const 8208) ) (br_if $label$2 (i32.ne (tee_local $2 (i32.add (get_local $2) (i32.const 1) ) ) (i32.const 25) ) ) ) (drop (call $memcpy (get_local $3) (get_local $0) (i32.const 25) ) ) (set_local $2 (i32.const 0) ) (loop $label$3 (call $assert (i32.eq (i32.load8_u (i32.add (get_local $3) (get_local $2) ) ) (i32.const 238) ) (i32.const 8208) ) (br_if $label$3 (i32.ne (tee_local $2 (i32.add (get_local $2) (i32.const 1) ) ) (i32.const 50) ) ) ) (drop (call $memset (get_local $3) (i32.const 0) (i32.const 25) ) ) (set_local $1 (i32.add (get_local $3) (i32.const 25) ) ) (set_local $2 (i32.const -25) ) (loop $label$4 (call $assert (i32.eq (i32.load8_u (i32.add (i32.add (get_local $1) (get_local $2) ) (i32.const 25) ) ) (i32.const 238) ) (i32.const 8208) ) (br_if $label$4 (tee_local $2 (i32.add (get_local $2) (i32.const 1) ) ) ) ) (drop (call $memcpy (get_local $0) (get_local $3) (i32.const 25) ) ) (set_local $2 (i32.const 0) ) (loop $label$5 (call $assert (i32.eqz (i32.load8_u (i32.add (get_local $3) (get_local $2) ) ) ) (i32.const 8208) ) (br_if $label$5 (i32.ne (tee_local $2 (i32.add (get_local $2) (i32.const 1) ) ) (i32.const 50) ) ) ) (i32.store offset=4 (i32.const 0) (i32.add (get_local $3) (i32.const 160) ) ) ) (func $test_memcpy_overlap_start (local $0 i32) (i32.store offset=4 (i32.const 0) (tee_local $0 (i32.sub (i32.load offset=4 (i32.const 0) ) (i32.const 112) ) ) ) (drop (call $memset (tee_local $0 (call $memset (get_local $0) (i32.const 0) (i32.const 99) ) ) (i32.const 238) (i32.const 50) ) ) (drop (call $memset (i32.add (get_local $0) (i32.const 50) ) (i32.const 255) (i32.const 49) ) ) (drop (call $memcpy (i32.add (get_local $0) (i32.const 49) ) (get_local $0) (i32.const 50) ) ) (i32.store offset=4 (i32.const 0) (i32.add (get_local $0) (i32.const 112) ) ) ) (func $test_memcpy_overlap_end (local $0 i32) (i32.store offset=4 (i32.const 0) (tee_local $0 (i32.sub (i32.load offset=4 (i32.const 0) ) (i32.const 112) ) ) ) (drop (call $memset (tee_local $0 (call $memset (get_local $0) (i32.const 0) (i32.const 99) ) ) (i32.const 238) (i32.const 50) ) ) (drop (call $memset (i32.add (get_local $0) (i32.const 50) ) (i32.const 255) (i32.const 49) ) ) (drop (call $memcpy (get_local $0) (i32.add (get_local $0) (i32.const 49) ) (i32.const 50) ) ) (i32.store offset=4 (i32.const 0) (i32.add (get_local $0) (i32.const 112) ) ) ) (func $apply (param $0 i64) (param $1 i64) (local $2 i32) (local $3 i32) (local $4 i64) (local $5 i64) (local $6 i64) (local $7 i64) (local $8 i32) (i32.store offset=4 (i32.const 0) (tee_local $8 (i32.sub (i32.load offset=4 (i32.const 0) ) (i32.const 112) ) ) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 9920) ) (set_local $6 (i64.const 0) ) (loop $label$0 (block $label$1 (block $label$2 (block $label$3 (block $label$4 (block $label$5 (br_if $label$5 (i64.gt_u (get_local $5) (i64.const 9) ) ) (br_if $label$4 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$3) ) (set_local $7 (i64.const 0) ) (br_if $label$2 (i64.le_u (get_local $5) (i64.const 11) ) ) (br $label$1) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$0 (i64.ne (tee_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (i64.const -6) ) ) ) (block $label$6 (block $label$7 (br_if $label$7 (i64.ne (get_local $6) (get_local $0) ) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 9936) ) (set_local $6 (i64.const 0) ) (loop $label$8 (block $label$9 (block $label$10 (block $label$11 (block $label$12 (block $label$13 (br_if $label$13 (i64.gt_u (get_local $5) (i64.const 7) ) ) (br_if $label$12 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$11) ) (set_local $7 (i64.const 0) ) (br_if $label$10 (i64.le_u (get_local $5) (i64.const 11) ) ) (br $label$9) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$8 (i64.ne (tee_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (i64.const -6) ) ) ) (br_if $label$6 (i64.ne (get_local $6) (get_local $1) ) ) (call $test_memory) (br $label$6) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 9952) ) (set_local $6 (i64.const 0) ) (loop $label$14 (block $label$15 (block $label$16 (block $label$17 (block $label$18 (block $label$19 (br_if $label$19 (i64.gt_u (get_local $5) (i64.const 9) ) ) (br_if $label$18 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$17) ) (set_local $7 (i64.const 0) ) (br_if $label$16 (i64.le_u (get_local $5) (i64.const 11) ) ) (br $label$15) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$14 (i64.ne (tee_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (i64.const -6) ) ) ) (block $label$20 (br_if $label$20 (i64.ne (get_local $6) (get_local $0) ) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 9936) ) (set_local $6 (i64.const 0) ) (loop $label$21 (block $label$22 (block $label$23 (block $label$24 (block $label$25 (block $label$26 (br_if $label$26 (i64.gt_u (get_local $5) (i64.const 7) ) ) (br_if $label$25 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$24) ) (set_local $7 (i64.const 0) ) (br_if $label$23 (i64.le_u (get_local $5) (i64.const 11) ) ) (br $label$22) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$21 (i64.ne (tee_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (i64.const -6) ) ) ) (br_if $label$6 (i64.ne (get_local $6) (get_local $1) ) ) (call $test_memory_bounds) (br $label$6) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 9968) ) (set_local $6 (i64.const 0) ) (loop $label$27 (block $label$28 (block $label$29 (block $label$30 (block $label$31 (block $label$32 (br_if $label$32 (i64.gt_u (get_local $5) (i64.const 9) ) ) (br_if $label$31 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$30) ) (set_local $7 (i64.const 0) ) (br_if $label$29 (i64.le_u (get_local $5) (i64.const 11) ) ) (br $label$28) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$27 (i64.ne (tee_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (i64.const -6) ) ) ) (block $label$33 (br_if $label$33 (i64.ne (get_local $6) (get_local $0) ) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 9936) ) (set_local $6 (i64.const 0) ) (loop $label$34 (block $label$35 (block $label$36 (block $label$37 (block $label$38 (block $label$39 (br_if $label$39 (i64.gt_u (get_local $5) (i64.const 7) ) ) (br_if $label$38 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$37) ) (set_local $7 (i64.const 0) ) (br_if $label$36 (i64.le_u (get_local $5) (i64.const 11) ) ) (br $label$35) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$34 (i64.ne (tee_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (i64.const -6) ) ) ) (br_if $label$6 (i64.ne (get_local $6) (get_local $1) ) ) (call $test_memset_memcpy) (br $label$6) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 9984) ) (set_local $6 (i64.const 0) ) (loop $label$40 (block $label$41 (block $label$42 (block $label$43 (block $label$44 (block $label$45 (br_if $label$45 (i64.gt_u (get_local $5) (i64.const 10) ) ) (br_if $label$44 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$43) ) (set_local $7 (i64.const 0) ) (br_if $label$42 (i64.eq (get_local $5) (i64.const 11) ) ) (br $label$41) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$40 (i64.ne (tee_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (i64.const 13) ) ) ) (block $label$46 (br_if $label$46 (i64.ne (get_local $6) (get_local $0) ) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 9936) ) (set_local $6 (i64.const 0) ) (loop $label$47 (block $label$48 (block $label$49 (block $label$50 (block $label$51 (block $label$52 (br_if $label$52 (i64.gt_u (get_local $5) (i64.const 7) ) ) (br_if $label$51 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$50) ) (set_local $7 (i64.const 0) ) (br_if $label$49 (i64.le_u (get_local $5) (i64.const 11) ) ) (br $label$48) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$47 (i64.ne (tee_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (i64.const -6) ) ) ) (br_if $label$6 (i64.ne (get_local $6) (get_local $1) ) ) (drop (call $memset (tee_local $3 (call $memset (get_local $8) (i32.const 0) (i32.const 99) ) ) (i32.const 238) (i32.const 50) ) ) (drop (call $memset (i32.add (get_local $3) (i32.const 50) ) (i32.const 255) (i32.const 49) ) ) (drop (call $memcpy (i32.add (get_local $3) (i32.const 49) ) (get_local $3) (i32.const 50) ) ) (br $label$6) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 10000) ) (set_local $6 (i64.const 0) ) (loop $label$53 (block $label$54 (block $label$55 (block $label$56 (block $label$57 (block $label$58 (br_if $label$58 (i64.gt_u (get_local $5) (i64.const 8) ) ) (br_if $label$57 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$56) ) (set_local $7 (i64.const 0) ) (br_if $label$55 (i64.le_u (get_local $5) (i64.const 11) ) ) (br $label$54) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$53 (i64.ne (tee_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (i64.const -6) ) ) ) (br_if $label$6 (i64.ne (get_local $6) (get_local $0) ) ) (set_local $5 (i64.const 0) ) (set_local $4 (i64.const 59) ) (set_local $3 (i32.const 9936) ) (set_local $6 (i64.const 0) ) (loop $label$59 (block $label$60 (block $label$61 (block $label$62 (block $label$63 (block $label$64 (br_if $label$64 (i64.gt_u (get_local $5) (i64.const 7) ) ) (br_if $label$63 (i32.gt_u (i32.and (i32.add (tee_local $2 (i32.load8_s (get_local $3) ) ) (i32.const -97) ) (i32.const 255) ) (i32.const 25) ) ) (set_local $2 (i32.add (get_local $2) (i32.const 160) ) ) (br $label$62) ) (set_local $7 (i64.const 0) ) (br_if $label$61 (i64.le_u (get_local $5) (i64.const 11) ) ) (br $label$60) ) (set_local $2 (select (i32.add (get_local $2) (i32.const 234) ) (i32.const 0) (i32.lt_u (i32.and (i32.add (get_local $2) (i32.const -49) ) (i32.const 255) ) (i32.const 5) ) ) ) ) (set_local $7 (i64.shr_s (i64.shl (i64.extend_u/i32 (get_local $2) ) (i64.const 56) ) (i64.const 56) ) ) ) (set_local $7 (i64.shl (i64.and (get_local $7) (i64.const 31) ) (i64.and (get_local $4) (i64.const 4294967295) ) ) ) ) (set_local $3 (i32.add (get_local $3) (i32.const 1) ) ) (set_local $5 (i64.add (get_local $5) (i64.const 1) ) ) (set_local $6 (i64.or (get_local $7) (get_local $6) ) ) (br_if $label$59 (i64.ne (tee_local $4 (i64.add (get_local $4) (i64.const -5) ) ) (i64.const -6) ) ) ) (br_if $label$6 (i64.ne (get_local $6) (get_local $1) ) ) (drop (call $memset (tee_local $3 (call $memset (get_local $8) (i32.const 0) (i32.const 99) ) ) (i32.const 238) (i32.const 50) ) ) (drop (call $memset (i32.add (get_local $3) (i32.const 50) ) (i32.const 255) (i32.const 49) ) ) (drop (call $memcpy (get_local $3) (i32.add (get_local $3) (i32.const 49) ) (i32.const 50) ) ) ) (i32.store offset=4 (i32.const 0) (i32.add (get_local $8) (i32.const 112) ) ) ) ) )=====";