(module (type $iiiiv (func (param i32 i32 i32 i32))) (type $ii (func (param i32) (result i32))) (type $iiv (func (param i32 i32))) (type $iiiv (func (param i32 i32 i32))) (type $iiii (func (param i32 i32 i32) (result i32))) (type $iii (func (param i32 i32) (result i32))) (type $iv (func (param i32))) (type $v (func)) (import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32))) (global $~lib/internal/allocator/AL_BITS i32 (i32.const 3)) (global $~lib/internal/allocator/AL_SIZE i32 (i32.const 8)) (global $~lib/internal/allocator/AL_MASK i32 (i32.const 7)) (global $~lib/internal/allocator/MAX_SIZE_32 i32 (i32.const 1073741824)) (global $~lib/allocator/tlsf/SL_BITS i32 (i32.const 5)) (global $~lib/allocator/tlsf/SL_SIZE i32 (i32.const 32)) (global $~lib/allocator/tlsf/SB_BITS i32 (i32.const 8)) (global $~lib/allocator/tlsf/SB_SIZE i32 (i32.const 256)) (global $~lib/allocator/tlsf/FL_BITS i32 (i32.const 22)) (global $~lib/allocator/tlsf/FREE i32 (i32.const 1)) (global $~lib/allocator/tlsf/LEFT_FREE i32 (i32.const 2)) (global $~lib/allocator/tlsf/TAGS i32 (i32.const 3)) (global $~lib/allocator/tlsf/ROOT (mut i32) (i32.const 0)) (global $HEAP_BASE i32 (i32.const 56)) (memory $0 1) (data (i32.const 8) "\16\00\00\00~\00l\00i\00b\00/\00a\00l\00l\00o\00c\00a\00t\00o\00r\00/\00t\00l\00s\00f\00.\00t\00s\00") (export "allocate_memory" (func $~lib/allocator/tlsf/allocate_memory)) (export "free_memory" (func $~lib/allocator/tlsf/free_memory)) (export "memory" (memory $0)) (start $start) (func $~lib/allocator/tlsf/Root#set:tailRef (; 1 ;) (type $iiv) (param $0 i32) (param $1 i32) ;;@ ~lib/allocator/tlsf.ts:181:30 (i32.store offset=2912 ;;@ ~lib/allocator/tlsf.ts:181:43 (i32.const 0) ;;@ ~lib/allocator/tlsf.ts:181:46 (get_local $1) ) ) (func $~lib/allocator/tlsf/Root#setSLMap (; 2 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) ;;@ ~lib/allocator/tlsf.ts:144:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:144:11 (i32.lt_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:144:16 (i32.const 22) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 144) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:145:4 (i32.store offset=4 ;;@ ~lib/allocator/tlsf.ts:145:15 (i32.add (get_local $0) ;;@ ~lib/allocator/tlsf.ts:145:41 (i32.mul (get_local $1) ;;@ ~lib/allocator/tlsf.ts:145:46 (i32.const 4) ) ) ;;@ ~lib/allocator/tlsf.ts:145:49 (get_local $2) ) ) (func $~lib/allocator/tlsf/Root#setHead (; 3 ;) (type $iiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) ;;@ ~lib/allocator/tlsf.ts:167:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:167:11 (i32.lt_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:167:16 (i32.const 22) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 167) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:168:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:168:11 (i32.lt_u (get_local $2) ;;@ ~lib/allocator/tlsf.ts:168:16 (i32.const 32) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 168) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:169:4 (i32.store offset=96 ;;@ ~lib/allocator/tlsf.ts:170:6 (i32.add (get_local $0) ;;@ ~lib/allocator/tlsf.ts:170:32 (i32.mul (i32.add ;;@ ~lib/allocator/tlsf.ts:170:33 (i32.mul (get_local $1) ;;@ ~lib/allocator/tlsf.ts:170:38 (i32.const 32) ) ;;@ ~lib/allocator/tlsf.ts:170:48 (get_local $2) ) ;;@ ~lib/allocator/tlsf.ts:170:61 (i32.const 4) ) ) ;;@ ~lib/allocator/tlsf.ts:171:6 (get_local $3) ) ) (func $~lib/allocator/tlsf/Root#get:tailRef (; 4 ;) (type $ii) (param $0 i32) (result i32) ;;@ ~lib/allocator/tlsf.ts:180:58 (i32.load offset=2912 ;;@ ~lib/allocator/tlsf.ts:180:44 (i32.const 0) ) ) (func $~lib/allocator/tlsf/Block#get:right (; 5 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) ;;@ ~lib/allocator/tlsf.ts:89:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:89:11 (i32.and (i32.load (get_local $0) ) ;;@ ~lib/allocator/tlsf.ts:89:23 (i32.xor ;;@ ~lib/allocator/tlsf.ts:89:24 (i32.const 3) (i32.const -1) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 89) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:94:4 (if (result i32) (i32.eqz (tee_local $1 ;;@ ~lib/allocator/tlsf.ts:91:6 (i32.add ;;@ ~lib/allocator/tlsf.ts:92:8 (i32.add (get_local $0) ;;@ ~lib/allocator/tlsf.ts:92:34 (i32.const 8) ) ;;@ ~lib/allocator/tlsf.ts:92:47 (i32.and ;;@ ~lib/allocator/tlsf.ts:92:48 (i32.load (get_local $0) ) ;;@ ~lib/allocator/tlsf.ts:92:60 (i32.xor ;;@ ~lib/allocator/tlsf.ts:92:61 (i32.const 3) (i32.const -1) ) ) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 90) (i32.const 11) ) (unreachable) ) (get_local $1) ) ) (func $~lib/allocator/tlsf/fls (; 6 ;) (type $ii) (param $0 i32) (result i32) ;;@ ~lib/allocator/tlsf.ts:428:2 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:428:9 (i32.ne (get_local $0) ;;@ ~lib/allocator/tlsf.ts:428:17 (i32.const 0) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 428) (i32.const 2) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:430:26 (i32.sub ;;@ ~lib/allocator/tlsf.ts:430:9 (i32.const 31) ;;@ ~lib/allocator/tlsf.ts:430:15 (i32.clz ;;@ ~lib/allocator/tlsf.ts:430:22 (get_local $0) ) ) ) (func $~lib/allocator/tlsf/Root#getHead (; 7 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) ;;@ ~lib/allocator/tlsf.ts:158:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:158:11 (i32.lt_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:158:16 (i32.const 22) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 158) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:159:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:159:11 (i32.lt_u (get_local $2) ;;@ ~lib/allocator/tlsf.ts:159:16 (i32.const 32) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 159) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:162:20 (i32.load offset=96 ;;@ ~lib/allocator/tlsf.ts:161:6 (i32.add (get_local $0) ;;@ ~lib/allocator/tlsf.ts:161:32 (i32.mul (i32.add ;;@ ~lib/allocator/tlsf.ts:161:33 (i32.mul (get_local $1) ;;@ ~lib/allocator/tlsf.ts:161:38 (i32.const 32) ) ;;@ ~lib/allocator/tlsf.ts:161:48 (get_local $2) ) ;;@ ~lib/allocator/tlsf.ts:161:61 (i32.const 4) ) ) ) ) (func $~lib/allocator/tlsf/Root#getSLMap (; 8 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) ;;@ ~lib/allocator/tlsf.ts:138:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:138:11 (i32.lt_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:138:16 (i32.const 22) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 138) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:139:68 (i32.load offset=4 ;;@ ~lib/allocator/tlsf.ts:139:21 (i32.add (get_local $0) ;;@ ~lib/allocator/tlsf.ts:139:47 (i32.mul (get_local $1) ;;@ ~lib/allocator/tlsf.ts:139:52 (i32.const 4) ) ) ) ) (func $~lib/allocator/tlsf/Root#remove (; 9 ;) (type $iiv) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) ;;@ ~lib/allocator/tlsf.ts:257:4 (set_local $2 ;;@ ~lib/allocator/tlsf.ts:257:20 (i32.load (get_local $1) ) ) ;;@ ~lib/allocator/tlsf.ts:258:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:258:11 (i32.and (get_local $2) ;;@ ~lib/allocator/tlsf.ts:258:23 (i32.const 1) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 258) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:259:4 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:259:15 (i32.and (get_local $2) ;;@ ~lib/allocator/tlsf.ts:259:27 (i32.xor ;;@ ~lib/allocator/tlsf.ts:259:28 (i32.const 3) (i32.const -1) ) ) ) ;;@ ~lib/allocator/tlsf.ts:260:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:260:11 (if (result i32) (tee_local $4 (i32.ge_u (get_local $3) ;;@ ~lib/allocator/tlsf.ts:260:19 (i32.const 16) ) ) ;;@ ~lib/allocator/tlsf.ts:260:37 (i32.lt_u (get_local $3) ;;@ ~lib/allocator/tlsf.ts:260:44 (i32.const 1073741824) ) (get_local $4) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 260) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:264:4 (if ;;@ ~lib/allocator/tlsf.ts:264:8 (i32.lt_u (get_local $3) ;;@ ~lib/allocator/tlsf.ts:264:15 (i32.const 256) ) ;;@ ~lib/allocator/tlsf.ts:264:24 (block ;;@ ~lib/allocator/tlsf.ts:265:6 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:265:11 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:266:6 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:266:11 (i32.div_u ;;@ ~lib/allocator/tlsf.ts:266:17 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:266:24 (i32.const 8) ) ) ) ;;@ ~lib/allocator/tlsf.ts:267:11 (block ;;@ ~lib/allocator/tlsf.ts:268:6 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:268:11 (call $~lib/allocator/tlsf/fls ;;@ ~lib/allocator/tlsf.ts:268:22 (get_local $3) ) ) ;;@ ~lib/allocator/tlsf.ts:269:6 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:269:11 (i32.xor ;;@ ~lib/allocator/tlsf.ts:269:17 (i32.shr_u ;;@ ~lib/allocator/tlsf.ts:269:18 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:269:26 (i32.sub ;;@ ~lib/allocator/tlsf.ts:269:27 (get_local $5) ;;@ ~lib/allocator/tlsf.ts:269:32 (i32.const 5) ) ) ;;@ ~lib/allocator/tlsf.ts:269:44 (i32.shl ;;@ ~lib/allocator/tlsf.ts:269:45 (i32.const 1) ;;@ ~lib/allocator/tlsf.ts:269:50 (i32.const 5) ) ) ) ;;@ ~lib/allocator/tlsf.ts:270:6 (set_local $5 (i32.sub (get_local $5) ;;@ ~lib/allocator/tlsf.ts:270:12 (i32.sub (i32.const 8) ;;@ ~lib/allocator/tlsf.ts:270:22 (i32.const 1) ) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:274:4 (set_local $7 ;;@ ~lib/allocator/tlsf.ts:274:15 (i32.load offset=4 (get_local $1) ) ) ;;@ ~lib/allocator/tlsf.ts:275:4 (set_local $8 ;;@ ~lib/allocator/tlsf.ts:275:15 (i32.load offset=8 (get_local $1) ) ) ;;@ ~lib/allocator/tlsf.ts:276:4 (if ;;@ ~lib/allocator/tlsf.ts:276:8 (get_local $7) ;;@ ~lib/allocator/tlsf.ts:276:14 (i32.store offset=8 (get_local $7) ;;@ ~lib/allocator/tlsf.ts:276:26 (get_local $8) ) ) ;;@ ~lib/allocator/tlsf.ts:277:4 (if ;;@ ~lib/allocator/tlsf.ts:277:8 (get_local $8) ;;@ ~lib/allocator/tlsf.ts:277:14 (i32.store offset=4 (get_local $8) ;;@ ~lib/allocator/tlsf.ts:277:26 (get_local $7) ) ) ;;@ ~lib/allocator/tlsf.ts:280:4 (if ;;@ ~lib/allocator/tlsf.ts:280:8 (i32.eq (get_local $1) ;;@ ~lib/allocator/tlsf.ts:280:22 (call $~lib/allocator/tlsf/Root#getHead ;;@ ~lib/allocator/tlsf.ts:280:17 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:280:30 (get_local $5) ;;@ ~lib/allocator/tlsf.ts:280:34 (get_local $6) ) ) ;;@ ~lib/allocator/tlsf.ts:280:39 (block ;;@ ~lib/allocator/tlsf.ts:281:11 (call $~lib/allocator/tlsf/Root#setHead ;;@ ~lib/allocator/tlsf.ts:281:6 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:281:19 (get_local $5) ;;@ ~lib/allocator/tlsf.ts:281:23 (get_local $6) ;;@ ~lib/allocator/tlsf.ts:281:27 (get_local $8) ) ;;@ ~lib/allocator/tlsf.ts:284:6 (if ;;@ ~lib/allocator/tlsf.ts:284:10 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:284:11 (get_local $8) ) ;;@ ~lib/allocator/tlsf.ts:284:17 (block ;;@ ~lib/allocator/tlsf.ts:285:8 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:285:25 (call $~lib/allocator/tlsf/Root#getSLMap ;;@ ~lib/allocator/tlsf.ts:285:20 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:285:34 (get_local $5) ) ) ;;@ ~lib/allocator/tlsf.ts:286:13 (call $~lib/allocator/tlsf/Root#setSLMap ;;@ ~lib/allocator/tlsf.ts:286:8 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:286:22 (get_local $5) ;;@ ~lib/allocator/tlsf.ts:286:26 (tee_local $4 (i32.and (get_local $4) ;;@ ~lib/allocator/tlsf.ts:286:35 (i32.xor ;;@ ~lib/allocator/tlsf.ts:286:36 (i32.shl ;;@ ~lib/allocator/tlsf.ts:286:37 (i32.const 1) ;;@ ~lib/allocator/tlsf.ts:286:42 (get_local $6) ) (i32.const -1) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:289:8 (if ;;@ ~lib/allocator/tlsf.ts:289:12 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:289:13 (get_local $4) ) ;;@ ~lib/allocator/tlsf.ts:289:20 (i32.store (get_local $0) (i32.and (i32.load (get_local $0) ) ;;@ ~lib/allocator/tlsf.ts:289:34 (i32.xor ;;@ ~lib/allocator/tlsf.ts:289:35 (i32.shl ;;@ ~lib/allocator/tlsf.ts:289:36 (i32.const 1) ;;@ ~lib/allocator/tlsf.ts:289:41 (get_local $5) ) (i32.const -1) ) ) ) ) ) ) ) ) ) (func $~lib/allocator/tlsf/Block#get:left (; 10 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) ;;@ ~lib/allocator/tlsf.ts:81:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:81:11 (i32.and (i32.load (get_local $0) ) ;;@ ~lib/allocator/tlsf.ts:81:23 (i32.const 2) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 81) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:84:4 (if (result i32) (i32.eqz (tee_local $1 ;;@ ~lib/allocator/tlsf.ts:83:6 (i32.load ;;@ ~lib/allocator/tlsf.ts:83:18 (i32.sub (get_local $0) ;;@ ~lib/allocator/tlsf.ts:83:44 (i32.const 4) ) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 82) (i32.const 11) ) (unreachable) ) (get_local $1) ) ) (func $~lib/allocator/tlsf/Root#setJump (; 11 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32) ;;@ ~lib/allocator/tlsf.ts:334:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:334:11 (i32.and (i32.load (get_local $1) ) ;;@ ~lib/allocator/tlsf.ts:334:23 (i32.const 1) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 334) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:335:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:335:11 (i32.eq (call $~lib/allocator/tlsf/Block#get:right (get_local $1) ) ;;@ ~lib/allocator/tlsf.ts:335:25 (get_local $2) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 335) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:336:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:336:11 (i32.and (i32.load (get_local $2) ) ;;@ ~lib/allocator/tlsf.ts:336:24 (i32.const 2) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 336) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:337:4 (i32.store ;;@ ~lib/allocator/tlsf.ts:338:6 (i32.sub (get_local $2) ;;@ ~lib/allocator/tlsf.ts:338:33 (i32.const 4) ) ;;@ ~lib/allocator/tlsf.ts:339:6 (get_local $1) ) ) (func $~lib/allocator/tlsf/Root#insert (; 12 ;) (type $iiv) (param $0 i32) (param $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) (local $9 i32) (local $10 i32) ;;@ ~lib/allocator/tlsf.ts:189:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:189:11 (get_local $1) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 189) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:190:4 (set_local $2 ;;@ ~lib/allocator/tlsf.ts:190:20 (i32.load (get_local $1) ) ) ;;@ ~lib/allocator/tlsf.ts:191:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:191:11 (i32.and (get_local $2) ;;@ ~lib/allocator/tlsf.ts:191:23 (i32.const 1) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 191) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:193:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:194:6 (if (result i32) (tee_local $4 (i32.ge_u (tee_local $3 ;;@ ~lib/allocator/tlsf.ts:194:14 (i32.and (i32.load (get_local $1) ) ;;@ ~lib/allocator/tlsf.ts:194:27 (i32.xor ;;@ ~lib/allocator/tlsf.ts:194:28 (i32.const 3) (i32.const -1) ) ) ) ;;@ ~lib/allocator/tlsf.ts:194:37 (i32.const 16) ) ) ;;@ ~lib/allocator/tlsf.ts:194:55 (i32.lt_u (get_local $3) ;;@ ~lib/allocator/tlsf.ts:194:62 (i32.const 1073741824) ) (get_local $4) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 193) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:197:4 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:197:23 (if (result i32) (i32.eqz (tee_local $4 ;;@ ~lib/allocator/tlsf.ts:197:30 (call $~lib/allocator/tlsf/Block#get:right (get_local $1) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 197) (i32.const 23) ) (unreachable) ) (get_local $4) ) ) ;;@ ~lib/allocator/tlsf.ts:198:4 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:198:20 (i32.load (get_local $5) ) ) ;;@ ~lib/allocator/tlsf.ts:201:4 (if ;;@ ~lib/allocator/tlsf.ts:201:8 (i32.and (get_local $6) ;;@ ~lib/allocator/tlsf.ts:201:20 (i32.const 1) ) ;;@ ~lib/allocator/tlsf.ts:201:26 (block ;;@ ~lib/allocator/tlsf.ts:202:11 (call $~lib/allocator/tlsf/Root#remove ;;@ ~lib/allocator/tlsf.ts:202:6 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:202:18 (get_local $5) ) ;;@ ~lib/allocator/tlsf.ts:203:6 (i32.store (get_local $1) ;;@ ~lib/allocator/tlsf.ts:203:19 (tee_local $2 (i32.add ;;@ ~lib/allocator/tlsf.ts:203:20 (get_local $2) ;;@ ~lib/allocator/tlsf.ts:203:33 (i32.add (i32.const 8) ;;@ ~lib/allocator/tlsf.ts:203:46 (i32.and ;;@ ~lib/allocator/tlsf.ts:203:47 (get_local $6) ;;@ ~lib/allocator/tlsf.ts:203:59 (i32.xor ;;@ ~lib/allocator/tlsf.ts:203:60 (i32.const 3) (i32.const -1) ) ) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:204:6 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:204:14 (call $~lib/allocator/tlsf/Block#get:right (get_local $1) ) ) ;;@ ~lib/allocator/tlsf.ts:205:6 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:205:18 (i32.load (get_local $5) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:210:4 (if ;;@ ~lib/allocator/tlsf.ts:210:8 (i32.and (get_local $2) ;;@ ~lib/allocator/tlsf.ts:210:20 (i32.const 2) ) ;;@ ~lib/allocator/tlsf.ts:210:31 (block ;;@ ~lib/allocator/tlsf.ts:211:6 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:211:24 (if (result i32) (i32.eqz (tee_local $4 ;;@ ~lib/allocator/tlsf.ts:211:31 (call $~lib/allocator/tlsf/Block#get:left (get_local $1) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 211) (i32.const 24) ) (unreachable) ) (get_local $4) ) ) ;;@ ~lib/allocator/tlsf.ts:212:6 (set_local $7 ;;@ ~lib/allocator/tlsf.ts:212:21 (i32.load (get_local $4) ) ) ;;@ ~lib/allocator/tlsf.ts:213:6 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:213:13 (i32.and (get_local $7) ;;@ ~lib/allocator/tlsf.ts:213:24 (i32.const 1) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 213) (i32.const 6) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:214:11 (call $~lib/allocator/tlsf/Root#remove ;;@ ~lib/allocator/tlsf.ts:214:6 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:214:18 (get_local $4) ) ;;@ ~lib/allocator/tlsf.ts:215:6 (i32.store (get_local $4) ;;@ ~lib/allocator/tlsf.ts:215:18 (tee_local $7 (i32.add ;;@ ~lib/allocator/tlsf.ts:215:19 (get_local $7) ;;@ ~lib/allocator/tlsf.ts:215:31 (i32.add (i32.const 8) ;;@ ~lib/allocator/tlsf.ts:215:44 (i32.and ;;@ ~lib/allocator/tlsf.ts:215:45 (get_local $2) ;;@ ~lib/allocator/tlsf.ts:215:57 (i32.xor ;;@ ~lib/allocator/tlsf.ts:215:58 (i32.const 3) (i32.const -1) ) ) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:216:6 (set_local $1 ;;@ ~lib/allocator/tlsf.ts:216:14 (get_local $4) ) ;;@ ~lib/allocator/tlsf.ts:217:6 (set_local $2 ;;@ ~lib/allocator/tlsf.ts:217:18 (get_local $7) ) ) ) ;;@ ~lib/allocator/tlsf.ts:221:4 (i32.store (get_local $5) ;;@ ~lib/allocator/tlsf.ts:221:17 (i32.or (get_local $6) ;;@ ~lib/allocator/tlsf.ts:221:29 (i32.const 2) ) ) ;;@ ~lib/allocator/tlsf.ts:222:9 (call $~lib/allocator/tlsf/Root#setJump ;;@ ~lib/allocator/tlsf.ts:222:4 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:222:17 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:222:24 (get_local $5) ) ;;@ ~lib/allocator/tlsf.ts:225:4 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:225:11 (i32.and (get_local $2) ;;@ ~lib/allocator/tlsf.ts:225:23 (i32.xor ;;@ ~lib/allocator/tlsf.ts:225:24 (i32.const 3) (i32.const -1) ) ) ) ;;@ ~lib/allocator/tlsf.ts:226:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:226:11 (if (result i32) (tee_local $7 (i32.ge_u (get_local $3) ;;@ ~lib/allocator/tlsf.ts:226:19 (i32.const 16) ) ) ;;@ ~lib/allocator/tlsf.ts:226:37 (i32.lt_u (get_local $3) ;;@ ~lib/allocator/tlsf.ts:226:44 (i32.const 1073741824) ) (get_local $7) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 226) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:230:4 (if ;;@ ~lib/allocator/tlsf.ts:230:8 (i32.lt_u (get_local $3) ;;@ ~lib/allocator/tlsf.ts:230:15 (i32.const 256) ) ;;@ ~lib/allocator/tlsf.ts:230:24 (block ;;@ ~lib/allocator/tlsf.ts:231:6 (set_local $8 ;;@ ~lib/allocator/tlsf.ts:231:11 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:232:6 (set_local $9 ;;@ ~lib/allocator/tlsf.ts:232:11 (i32.div_u ;;@ ~lib/allocator/tlsf.ts:232:17 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:232:24 (i32.const 8) ) ) ) ;;@ ~lib/allocator/tlsf.ts:233:11 (block ;;@ ~lib/allocator/tlsf.ts:234:6 (set_local $8 ;;@ ~lib/allocator/tlsf.ts:234:11 (call $~lib/allocator/tlsf/fls ;;@ ~lib/allocator/tlsf.ts:234:22 (get_local $3) ) ) ;;@ ~lib/allocator/tlsf.ts:235:6 (set_local $9 ;;@ ~lib/allocator/tlsf.ts:235:11 (i32.xor ;;@ ~lib/allocator/tlsf.ts:235:17 (i32.shr_u ;;@ ~lib/allocator/tlsf.ts:235:18 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:235:26 (i32.sub ;;@ ~lib/allocator/tlsf.ts:235:27 (get_local $8) ;;@ ~lib/allocator/tlsf.ts:235:32 (i32.const 5) ) ) ;;@ ~lib/allocator/tlsf.ts:235:44 (i32.shl ;;@ ~lib/allocator/tlsf.ts:235:45 (i32.const 1) ;;@ ~lib/allocator/tlsf.ts:235:50 (i32.const 5) ) ) ) ;;@ ~lib/allocator/tlsf.ts:236:6 (set_local $8 (i32.sub (get_local $8) ;;@ ~lib/allocator/tlsf.ts:236:12 (i32.sub (i32.const 8) ;;@ ~lib/allocator/tlsf.ts:236:22 (i32.const 1) ) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:240:4 (set_local $10 ;;@ ~lib/allocator/tlsf.ts:240:20 (call $~lib/allocator/tlsf/Root#getHead ;;@ ~lib/allocator/tlsf.ts:240:15 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:240:28 (get_local $8) ;;@ ~lib/allocator/tlsf.ts:240:32 (get_local $9) ) ) ;;@ ~lib/allocator/tlsf.ts:241:4 (i32.store offset=4 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:241:17 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:242:4 (i32.store offset=8 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:242:17 (get_local $10) ) ;;@ ~lib/allocator/tlsf.ts:243:4 (if ;;@ ~lib/allocator/tlsf.ts:243:8 (get_local $10) ;;@ ~lib/allocator/tlsf.ts:243:14 (i32.store offset=4 (get_local $10) ;;@ ~lib/allocator/tlsf.ts:243:26 (get_local $1) ) ) ;;@ ~lib/allocator/tlsf.ts:244:9 (call $~lib/allocator/tlsf/Root#setHead ;;@ ~lib/allocator/tlsf.ts:244:4 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:244:17 (get_local $8) ;;@ ~lib/allocator/tlsf.ts:244:21 (get_local $9) ;;@ ~lib/allocator/tlsf.ts:244:25 (get_local $1) ) ;;@ ~lib/allocator/tlsf.ts:247:4 (i32.store (get_local $0) (i32.or (i32.load (get_local $0) ) ;;@ ~lib/allocator/tlsf.ts:247:18 (i32.shl ;;@ ~lib/allocator/tlsf.ts:247:19 (i32.const 1) ;;@ ~lib/allocator/tlsf.ts:247:24 (get_local $8) ) ) ) ;;@ ~lib/allocator/tlsf.ts:248:9 (call $~lib/allocator/tlsf/Root#setSLMap ;;@ ~lib/allocator/tlsf.ts:248:4 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:248:18 (get_local $8) ;;@ ~lib/allocator/tlsf.ts:248:22 (i32.or ;;@ ~lib/allocator/tlsf.ts:248:27 (call $~lib/allocator/tlsf/Root#getSLMap ;;@ ~lib/allocator/tlsf.ts:248:22 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:248:36 (get_local $8) ) ;;@ ~lib/allocator/tlsf.ts:248:42 (i32.shl ;;@ ~lib/allocator/tlsf.ts:248:43 (i32.const 1) ;;@ ~lib/allocator/tlsf.ts:248:48 (get_local $9) ) ) ) ) (func $~lib/allocator/tlsf/Root#addMemory (; 13 ;) (type $iiii) (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) ;;@ ~lib/allocator/tlsf.ts:377:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:377:11 (i32.le_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:377:20 (get_local $2) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 377) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:378:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:378:11 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:378:12 (i32.and ;;@ ~lib/allocator/tlsf.ts:378:13 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:378:21 (i32.const 7) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 378) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:379:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:379:11 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:379:12 (i32.and ;;@ ~lib/allocator/tlsf.ts:379:13 (get_local $2) ;;@ ~lib/allocator/tlsf.ts:379:19 (i32.const 7) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 379) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:381:4 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:381:18 (call $~lib/allocator/tlsf/Root#get:tailRef (get_local $0) ) ) ;;@ ~lib/allocator/tlsf.ts:382:4 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:382:26 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:383:4 (if ;;@ ~lib/allocator/tlsf.ts:383:8 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:383:17 (block ;;@ ~lib/allocator/tlsf.ts:384:6 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:384:13 (i32.ge_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:384:22 (i32.add (get_local $3) ;;@ ~lib/allocator/tlsf.ts:384:32 (i32.const 4) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 384) (i32.const 6) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:387:6 (if ;;@ ~lib/allocator/tlsf.ts:387:10 (i32.eq (i32.sub (get_local $1) ;;@ ~lib/allocator/tlsf.ts:387:18 (i32.const 8) ) ;;@ ~lib/allocator/tlsf.ts:387:32 (get_local $3) ) ;;@ ~lib/allocator/tlsf.ts:387:41 (block ;;@ ~lib/allocator/tlsf.ts:388:8 (set_local $1 (i32.sub (get_local $1) ;;@ ~lib/allocator/tlsf.ts:388:17 (i32.const 8) ) ) ;;@ ~lib/allocator/tlsf.ts:389:8 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:389:19 (i32.load (get_local $3) ) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:392:11 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:393:13 (i32.ge_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:393:22 (i32.add (get_local $0) ;;@ ~lib/allocator/tlsf.ts:393:48 (i32.const 2916) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 393) (i32.const 6) ) (unreachable) ) ) ) ;;@ ~lib/allocator/tlsf.ts:397:4 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:397:15 (i32.sub (get_local $2) ;;@ ~lib/allocator/tlsf.ts:397:21 (get_local $1) ) ) ;;@ ~lib/allocator/tlsf.ts:398:4 (if ;;@ ~lib/allocator/tlsf.ts:398:8 (i32.lt_u (get_local $5) ;;@ ~lib/allocator/tlsf.ts:398:15 (i32.add (i32.add (i32.const 8) ;;@ ~lib/allocator/tlsf.ts:398:28 (i32.const 16) ) ;;@ ~lib/allocator/tlsf.ts:398:45 (i32.const 8) ) ) ;;@ ~lib/allocator/tlsf.ts:398:57 (return ;;@ ~lib/allocator/tlsf.ts:399:13 (i32.const 0) ) ) ;;@ ~lib/allocator/tlsf.ts:403:4 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:403:19 (i32.sub (get_local $5) ;;@ ~lib/allocator/tlsf.ts:403:26 (i32.mul (i32.const 2) ;;@ ~lib/allocator/tlsf.ts:403:30 (i32.const 8) ) ) ) ;;@ ~lib/allocator/tlsf.ts:404:4 (set_local $7 ;;@ ~lib/allocator/tlsf.ts:404:15 (get_local $1) ) ;;@ ~lib/allocator/tlsf.ts:405:4 (i32.store (get_local $7) ;;@ ~lib/allocator/tlsf.ts:405:16 (i32.or (i32.or (get_local $6) ;;@ ~lib/allocator/tlsf.ts:405:27 (i32.const 1) ) ;;@ ~lib/allocator/tlsf.ts:405:34 (i32.and ;;@ ~lib/allocator/tlsf.ts:405:35 (get_local $4) ;;@ ~lib/allocator/tlsf.ts:405:46 (i32.const 2) ) ) ) ;;@ ~lib/allocator/tlsf.ts:406:4 (i32.store offset=4 (get_local $7) ;;@ ~lib/allocator/tlsf.ts:406:16 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:407:4 (i32.store offset=8 (get_local $7) ;;@ ~lib/allocator/tlsf.ts:407:16 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:410:4 (set_local $8 ;;@ ~lib/allocator/tlsf.ts:410:15 (i32.sub ;;@ ~lib/allocator/tlsf.ts:410:33 (i32.add (get_local $1) ;;@ ~lib/allocator/tlsf.ts:410:41 (get_local $5) ) ;;@ ~lib/allocator/tlsf.ts:410:48 (i32.const 8) ) ) ;;@ ~lib/allocator/tlsf.ts:411:4 (i32.store (get_local $8) ;;@ ~lib/allocator/tlsf.ts:411:16 (i32.or (i32.const 0) ;;@ ~lib/allocator/tlsf.ts:411:20 (i32.const 2) ) ) ;;@ ~lib/allocator/tlsf.ts:412:4 (call $~lib/allocator/tlsf/Root#set:tailRef (get_local $0) ;;@ ~lib/allocator/tlsf.ts:412:19 (get_local $8) ) ;;@ ~lib/allocator/tlsf.ts:414:9 (call $~lib/allocator/tlsf/Root#insert ;;@ ~lib/allocator/tlsf.ts:414:4 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:414:16 (get_local $7) ) ;;@ ~lib/allocator/tlsf.ts:416:11 (i32.const 1) ) (func $~lib/allocator/tlsf/ffs (; 14 ;) (type $ii) (param $0 i32) (result i32) ;;@ ~lib/allocator/tlsf.ts:422:2 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:422:9 (i32.ne (get_local $0) ;;@ ~lib/allocator/tlsf.ts:422:17 (i32.const 0) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 422) (i32.const 2) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:423:20 (i32.ctz ;;@ ~lib/allocator/tlsf.ts:423:16 (get_local $0) ) ) (func $~lib/allocator/tlsf/ffs (; 15 ;) (type $ii) (param $0 i32) (result i32) ;;@ ~lib/allocator/tlsf.ts:422:2 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:422:9 (i32.ne (get_local $0) ;;@ ~lib/allocator/tlsf.ts:422:17 (i32.const 0) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 422) (i32.const 2) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:423:20 (i32.ctz ;;@ ~lib/allocator/tlsf.ts:423:16 (get_local $0) ) ) (func $~lib/allocator/tlsf/Root#search (; 16 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) ;;@ ~lib/allocator/tlsf.ts:296:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:296:11 (if (result i32) (tee_local $2 (i32.ge_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:296:19 (i32.const 16) ) ) ;;@ ~lib/allocator/tlsf.ts:296:37 (i32.lt_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:296:44 (i32.const 1073741824) ) (get_local $2) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 296) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:300:4 (if ;;@ ~lib/allocator/tlsf.ts:300:8 (i32.lt_u (get_local $1) ;;@ ~lib/allocator/tlsf.ts:300:15 (i32.const 256) ) ;;@ ~lib/allocator/tlsf.ts:300:24 (block ;;@ ~lib/allocator/tlsf.ts:301:6 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:301:11 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:302:6 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:302:11 (i32.div_u ;;@ ~lib/allocator/tlsf.ts:302:17 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:302:24 (i32.const 8) ) ) ) ;;@ ~lib/allocator/tlsf.ts:303:11 (block ;;@ ~lib/allocator/tlsf.ts:305:6 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:305:11 (call $~lib/allocator/tlsf/fls ;;@ ~lib/allocator/tlsf.ts:305:22 (get_local $1) ) ) ;;@ ~lib/allocator/tlsf.ts:306:6 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:306:11 (i32.xor ;;@ ~lib/allocator/tlsf.ts:306:17 (i32.shr_u ;;@ ~lib/allocator/tlsf.ts:306:18 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:306:26 (i32.sub ;;@ ~lib/allocator/tlsf.ts:306:27 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:306:32 (i32.const 5) ) ) ;;@ ~lib/allocator/tlsf.ts:306:44 (i32.shl ;;@ ~lib/allocator/tlsf.ts:306:45 (i32.const 1) ;;@ ~lib/allocator/tlsf.ts:306:50 (i32.const 5) ) ) ) ;;@ ~lib/allocator/tlsf.ts:307:6 (set_local $3 (i32.sub (get_local $3) ;;@ ~lib/allocator/tlsf.ts:307:12 (i32.sub (i32.const 8) ;;@ ~lib/allocator/tlsf.ts:307:22 (i32.const 1) ) ) ) ;;@ ~lib/allocator/tlsf.ts:309:6 (if ;;@ ~lib/allocator/tlsf.ts:309:10 (i32.lt_u (get_local $4) ;;@ ~lib/allocator/tlsf.ts:309:15 (i32.sub (i32.const 32) ;;@ ~lib/allocator/tlsf.ts:309:25 (i32.const 1) ) ) ;;@ ~lib/allocator/tlsf.ts:309:28 (set_local $4 (i32.add ;;@ ~lib/allocator/tlsf.ts:309:30 (get_local $4) (i32.const 1) ) ) ;;@ ~lib/allocator/tlsf.ts:310:11 (block (set_local $3 (i32.add ;;@ ~lib/allocator/tlsf.ts:310:13 (get_local $3) (i32.const 1) ) ) ;;@ ~lib/allocator/tlsf.ts:310:17 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:310:22 (i32.const 0) ) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:314:4 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:314:16 (i32.and ;;@ ~lib/allocator/tlsf.ts:314:21 (call $~lib/allocator/tlsf/Root#getSLMap ;;@ ~lib/allocator/tlsf.ts:314:16 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:314:30 (get_local $3) ) ;;@ ~lib/allocator/tlsf.ts:314:36 (i32.shl ;;@ ~lib/allocator/tlsf.ts:314:37 (i32.xor ;;@ ~lib/allocator/tlsf.ts:314:38 (i32.const 0) (i32.const -1) ) ;;@ ~lib/allocator/tlsf.ts:314:43 (get_local $4) ) ) ) ;;@ ~lib/allocator/tlsf.ts:316:4 (if ;;@ ~lib/allocator/tlsf.ts:316:8 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:316:9 (get_local $5) ) ;;@ ~lib/allocator/tlsf.ts:316:16 (block ;;@ ~lib/allocator/tlsf.ts:318:6 (set_local $2 ;;@ ~lib/allocator/tlsf.ts:318:18 (i32.and (i32.load (get_local $0) ) ;;@ ~lib/allocator/tlsf.ts:318:31 (i32.shl ;;@ ~lib/allocator/tlsf.ts:318:32 (i32.xor ;;@ ~lib/allocator/tlsf.ts:318:33 (i32.const 0) (i32.const -1) ) ;;@ ~lib/allocator/tlsf.ts:318:38 (i32.add ;;@ ~lib/allocator/tlsf.ts:318:39 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:318:44 (i32.const 1) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:319:6 (if ;;@ ~lib/allocator/tlsf.ts:319:10 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:319:11 (get_local $2) ) ;;@ ~lib/allocator/tlsf.ts:319:18 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:320:15 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:321:13 (block ;;@ ~lib/allocator/tlsf.ts:322:8 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:322:13 (call $~lib/allocator/tlsf/ffs ;;@ ~lib/allocator/tlsf.ts:322:24 (get_local $2) ) ) ;;@ ~lib/allocator/tlsf.ts:323:8 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:323:16 (if (result i32) (tee_local $7 ;;@ ~lib/allocator/tlsf.ts:323:28 (call $~lib/allocator/tlsf/Root#getSLMap ;;@ ~lib/allocator/tlsf.ts:323:23 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:323:37 (get_local $3) ) ) (get_local $7) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 323) (i32.const 16) ) (unreachable) ) ) ) ;;@ ~lib/allocator/tlsf.ts:324:8 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:324:20 (call $~lib/allocator/tlsf/Root#getHead ;;@ ~lib/allocator/tlsf.ts:324:15 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:324:28 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:324:32 (call $~lib/allocator/tlsf/ffs ;;@ ~lib/allocator/tlsf.ts:324:41 (get_local $5) ) ) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:326:11 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:327:18 (call $~lib/allocator/tlsf/Root#getHead ;;@ ~lib/allocator/tlsf.ts:327:13 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:327:26 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:327:30 (call $~lib/allocator/tlsf/ffs ;;@ ~lib/allocator/tlsf.ts:327:39 (get_local $5) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:329:11 (get_local $6) ) (func $~lib/allocator/tlsf/Root#use (; 17 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) (local $4 i32) (local $5 i32) ;;@ ~lib/allocator/tlsf.ts:347:4 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:347:20 (i32.load (get_local $1) ) ) ;;@ ~lib/allocator/tlsf.ts:348:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:348:11 (i32.and (get_local $3) ;;@ ~lib/allocator/tlsf.ts:348:23 (i32.const 1) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 348) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:349:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:349:11 (if (result i32) (tee_local $4 (i32.ge_u (get_local $2) ;;@ ~lib/allocator/tlsf.ts:349:19 (i32.const 16) ) ) ;;@ ~lib/allocator/tlsf.ts:349:37 (i32.lt_u (get_local $2) ;;@ ~lib/allocator/tlsf.ts:349:44 (i32.const 1073741824) ) (get_local $4) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 349) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:350:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:350:11 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:350:12 (i32.and ;;@ ~lib/allocator/tlsf.ts:350:13 (get_local $2) ;;@ ~lib/allocator/tlsf.ts:350:20 (i32.const 7) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 350) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:352:9 (call $~lib/allocator/tlsf/Root#remove ;;@ ~lib/allocator/tlsf.ts:352:4 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:352:16 (get_local $1) ) ;;@ ~lib/allocator/tlsf.ts:355:4 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:355:20 (i32.sub (i32.and ;;@ ~lib/allocator/tlsf.ts:355:21 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:355:33 (i32.xor ;;@ ~lib/allocator/tlsf.ts:355:34 (i32.const 3) (i32.const -1) ) ) ;;@ ~lib/allocator/tlsf.ts:355:42 (get_local $2) ) ) ;;@ ~lib/allocator/tlsf.ts:356:4 (if ;;@ ~lib/allocator/tlsf.ts:356:8 (i32.ge_u (get_local $5) ;;@ ~lib/allocator/tlsf.ts:356:21 (i32.add (i32.const 8) ;;@ ~lib/allocator/tlsf.ts:356:34 (i32.const 16) ) ) ;;@ ~lib/allocator/tlsf.ts:356:50 (block ;;@ ~lib/allocator/tlsf.ts:357:6 (i32.store (get_local $1) ;;@ ~lib/allocator/tlsf.ts:357:19 (i32.or (get_local $2) ;;@ ~lib/allocator/tlsf.ts:357:26 (i32.and ;;@ ~lib/allocator/tlsf.ts:357:27 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:357:39 (i32.const 2) ) ) ) ;;@ ~lib/allocator/tlsf.ts:359:6 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:359:18 (i32.add ;;@ ~lib/allocator/tlsf.ts:360:8 (i32.add (get_local $1) ;;@ ~lib/allocator/tlsf.ts:360:35 (i32.const 8) ) ;;@ ~lib/allocator/tlsf.ts:360:48 (get_local $2) ) ) ;;@ ~lib/allocator/tlsf.ts:362:6 (i32.store (get_local $4) ;;@ ~lib/allocator/tlsf.ts:362:19 (i32.or (i32.sub ;;@ ~lib/allocator/tlsf.ts:362:20 (get_local $5) ;;@ ~lib/allocator/tlsf.ts:362:32 (i32.const 8) ) ;;@ ~lib/allocator/tlsf.ts:362:46 (i32.const 1) ) ) ;;@ ~lib/allocator/tlsf.ts:363:11 (call $~lib/allocator/tlsf/Root#insert ;;@ ~lib/allocator/tlsf.ts:363:6 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:363:18 (get_local $4) ) ) ;;@ ~lib/allocator/tlsf.ts:366:11 (block ;;@ ~lib/allocator/tlsf.ts:367:6 (i32.store (get_local $1) ;;@ ~lib/allocator/tlsf.ts:367:19 (i32.and (get_local $3) ;;@ ~lib/allocator/tlsf.ts:367:31 (i32.xor ;;@ ~lib/allocator/tlsf.ts:367:32 (i32.const 1) (i32.const -1) ) ) ) ;;@ ~lib/allocator/tlsf.ts:368:6 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:368:25 (if (result i32) (i32.eqz (tee_local $4 ;;@ ~lib/allocator/tlsf.ts:368:32 (call $~lib/allocator/tlsf/Block#get:right (get_local $1) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 368) (i32.const 25) ) (unreachable) ) (get_local $4) ) ) ;;@ ~lib/allocator/tlsf.ts:369:6 (i32.store (get_local $4) (i32.and (i32.load (get_local $4) ) ;;@ ~lib/allocator/tlsf.ts:369:20 (i32.xor ;;@ ~lib/allocator/tlsf.ts:369:21 (i32.const 2) (i32.const -1) ) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:372:44 (i32.add ;;@ ~lib/allocator/tlsf.ts:372:11 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:372:38 (i32.const 8) ) ) (func $~lib/allocator/tlsf/allocate_memory (; 18 ;) (type $ii) (param $0 i32) (result i32) (local $1 i32) (local $2 i32) (local $3 i32) (local $4 i32) (local $5 i32) (local $6 i32) (local $7 i32) (local $8 i32) ;;@ ~lib/allocator/tlsf.ts:443:2 (set_local $1 ;;@ ~lib/allocator/tlsf.ts:443:13 (get_global $~lib/allocator/tlsf/ROOT) ) ;;@ ~lib/allocator/tlsf.ts:444:2 (if ;;@ ~lib/allocator/tlsf.ts:444:6 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:444:7 (get_local $1) ) ;;@ ~lib/allocator/tlsf.ts:444:13 (block ;;@ ~lib/allocator/tlsf.ts:445:4 (set_local $2 ;;@ ~lib/allocator/tlsf.ts:445:21 (i32.and (i32.add ;;@ ~lib/allocator/tlsf.ts:445:22 (get_global $HEAP_BASE) ;;@ ~lib/allocator/tlsf.ts:445:34 (i32.const 7) ) ;;@ ~lib/allocator/tlsf.ts:445:45 (i32.xor ;;@ ~lib/allocator/tlsf.ts:445:46 (i32.const 7) (i32.const -1) ) ) ) ;;@ ~lib/allocator/tlsf.ts:446:4 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:446:22 (current_memory) ) ;;@ ~lib/allocator/tlsf.ts:447:4 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:447:22 (i32.shr_u ;;@ ~lib/allocator/tlsf.ts:447:28 (i32.and ;;@ ~lib/allocator/tlsf.ts:447:29 (i32.add ;;@ ~lib/allocator/tlsf.ts:447:30 (i32.add ;;@ ~lib/allocator/tlsf.ts:447:31 (get_local $2) ;;@ ~lib/allocator/tlsf.ts:447:44 (i32.const 2916) ) ;;@ ~lib/allocator/tlsf.ts:447:57 (i32.const 65535) ) ;;@ ~lib/allocator/tlsf.ts:447:67 (i32.xor ;;@ ~lib/allocator/tlsf.ts:447:68 (i32.const 65535) (i32.const -1) ) ) ;;@ ~lib/allocator/tlsf.ts:447:80 (i32.const 16) ) ) ;;@ ~lib/allocator/tlsf.ts:448:4 (if ;;@ ~lib/allocator/tlsf.ts:448:8 (if (result i32) (tee_local $5 (i32.gt_s (get_local $4) ;;@ ~lib/allocator/tlsf.ts:448:22 (get_local $3) ) ) ;;@ ~lib/allocator/tlsf.ts:448:37 (i32.lt_s (grow_memory ;;@ ~lib/allocator/tlsf.ts:448:49 (i32.sub (get_local $4) ;;@ ~lib/allocator/tlsf.ts:448:63 (get_local $3) ) ) ;;@ ~lib/allocator/tlsf.ts:448:78 (i32.const 0) ) (get_local $5) ) ;;@ ~lib/allocator/tlsf.ts:448:81 (unreachable) ) ;;@ ~lib/allocator/tlsf.ts:449:4 (set_global $~lib/allocator/tlsf/ROOT ;;@ ~lib/allocator/tlsf.ts:449:11 (tee_local $1 ;;@ ~lib/allocator/tlsf.ts:449:18 (get_local $2) ) ) ;;@ ~lib/allocator/tlsf.ts:450:4 (call $~lib/allocator/tlsf/Root#set:tailRef (get_local $1) ;;@ ~lib/allocator/tlsf.ts:450:19 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:451:4 (i32.store (get_local $1) ;;@ ~lib/allocator/tlsf.ts:451:17 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:452:4 (block $break|0 ;;@ ~lib/allocator/tlsf.ts:452:9 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:452:25 (i32.const 0) ) (loop $repeat|0 (br_if $break|0 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:452:28 (i32.lt_u (get_local $5) ;;@ ~lib/allocator/tlsf.ts:452:33 (i32.const 22) ) ) ) ;;@ ~lib/allocator/tlsf.ts:452:48 (block ;;@ ~lib/allocator/tlsf.ts:453:11 (call $~lib/allocator/tlsf/Root#setSLMap ;;@ ~lib/allocator/tlsf.ts:453:6 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:453:20 (get_local $5) ;;@ ~lib/allocator/tlsf.ts:453:24 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:454:6 (block $break|1 ;;@ ~lib/allocator/tlsf.ts:454:11 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:454:25 (i32.const 0) ) (loop $repeat|1 (br_if $break|1 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:454:28 (i32.lt_u (get_local $6) ;;@ ~lib/allocator/tlsf.ts:454:33 (i32.const 32) ) ) ) ;;@ ~lib/allocator/tlsf.ts:454:48 (call $~lib/allocator/tlsf/Root#setHead ;;@ ~lib/allocator/tlsf.ts:455:8 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:455:21 (get_local $5) ;;@ ~lib/allocator/tlsf.ts:455:25 (get_local $6) ;;@ ~lib/allocator/tlsf.ts:455:29 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:454:42 (set_local $6 (i32.add ;;@ ~lib/allocator/tlsf.ts:454:44 (get_local $6) (i32.const 1) ) ) (br $repeat|1) ) ) ) ;;@ ~lib/allocator/tlsf.ts:452:42 (set_local $5 (i32.add ;;@ ~lib/allocator/tlsf.ts:452:44 (get_local $5) (i32.const 1) ) ) (br $repeat|0) ) ) ;;@ ~lib/allocator/tlsf.ts:458:9 (drop (call $~lib/allocator/tlsf/Root#addMemory ;;@ ~lib/allocator/tlsf.ts:458:4 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:458:19 (i32.and (i32.add ;;@ ~lib/allocator/tlsf.ts:458:20 (i32.add (get_local $2) ;;@ ~lib/allocator/tlsf.ts:458:33 (i32.const 2916) ) ;;@ ~lib/allocator/tlsf.ts:458:45 (i32.const 7) ) ;;@ ~lib/allocator/tlsf.ts:458:56 (i32.xor ;;@ ~lib/allocator/tlsf.ts:458:57 (i32.const 7) (i32.const -1) ) ) ;;@ ~lib/allocator/tlsf.ts:458:66 (i32.shl (current_memory) ;;@ ~lib/allocator/tlsf.ts:458:86 (i32.const 16) ) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:462:2 (set_local $7 ;;@ ~lib/allocator/tlsf.ts:462:20 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:463:2 (if ;;@ ~lib/allocator/tlsf.ts:463:6 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:463:12 (block ;;@ ~lib/allocator/tlsf.ts:464:4 (if ;;@ ~lib/allocator/tlsf.ts:464:8 (i32.gt_u (get_local $0) ;;@ ~lib/allocator/tlsf.ts:464:15 (i32.const 1073741824) ) ;;@ ~lib/allocator/tlsf.ts:464:31 (unreachable) ) ;;@ ~lib/allocator/tlsf.ts:466:4 (set_local $0 ;;@ ~lib/allocator/tlsf.ts:466:11 (select (tee_local $4 ;;@ ~lib/allocator/tlsf.ts:466:22 (i32.and (i32.add ;;@ ~lib/allocator/tlsf.ts:466:23 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:466:30 (i32.const 7) ) ;;@ ~lib/allocator/tlsf.ts:466:41 (i32.xor ;;@ ~lib/allocator/tlsf.ts:466:42 (i32.const 7) (i32.const -1) ) ) ) (tee_local $3 ;;@ ~lib/allocator/tlsf.ts:466:51 (i32.const 16) ) (i32.gt_u (get_local $4) (get_local $3) ) ) ) ;;@ ~lib/allocator/tlsf.ts:468:4 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:468:21 (call $~lib/allocator/tlsf/Root#search ;;@ ~lib/allocator/tlsf.ts:468:16 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:468:28 (get_local $0) ) ) ;;@ ~lib/allocator/tlsf.ts:469:4 (if ;;@ ~lib/allocator/tlsf.ts:469:8 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:469:9 (get_local $4) ) ;;@ ~lib/allocator/tlsf.ts:469:16 (block ;;@ ~lib/allocator/tlsf.ts:472:6 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:472:24 (current_memory) ) ;;@ ~lib/allocator/tlsf.ts:473:6 (set_local $2 ;;@ ~lib/allocator/tlsf.ts:473:24 (i32.shr_u ;;@ ~lib/allocator/tlsf.ts:473:30 (i32.and ;;@ ~lib/allocator/tlsf.ts:473:31 (i32.add ;;@ ~lib/allocator/tlsf.ts:473:32 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:473:39 (i32.const 65535) ) ;;@ ~lib/allocator/tlsf.ts:473:49 (i32.xor ;;@ ~lib/allocator/tlsf.ts:473:50 (i32.const 65535) (i32.const -1) ) ) ;;@ ~lib/allocator/tlsf.ts:473:62 (i32.const 16) ) ) ;;@ ~lib/allocator/tlsf.ts:474:6 (set_local $5 ;;@ ~lib/allocator/tlsf.ts:474:24 (select (tee_local $5 ;;@ ~lib/allocator/tlsf.ts:474:28 (get_local $3) ) (tee_local $6 ;;@ ~lib/allocator/tlsf.ts:474:41 (get_local $2) ) (i32.gt_s (get_local $5) (get_local $6) ) ) ) ;;@ ~lib/allocator/tlsf.ts:475:6 (if ;;@ ~lib/allocator/tlsf.ts:475:10 (i32.lt_s (grow_memory ;;@ ~lib/allocator/tlsf.ts:475:22 (get_local $5) ) ;;@ ~lib/allocator/tlsf.ts:475:37 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:475:40 (if ;;@ ~lib/allocator/tlsf.ts:476:12 (i32.lt_s (grow_memory ;;@ ~lib/allocator/tlsf.ts:476:24 (get_local $2) ) ;;@ ~lib/allocator/tlsf.ts:476:39 (i32.const 0) ) ;;@ ~lib/allocator/tlsf.ts:476:42 (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:480:6 (set_local $6 ;;@ ~lib/allocator/tlsf.ts:480:23 (current_memory) ) ;;@ ~lib/allocator/tlsf.ts:481:11 (drop (call $~lib/allocator/tlsf/Root#addMemory ;;@ ~lib/allocator/tlsf.ts:481:6 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:481:21 (i32.shl (get_local $3) ;;@ ~lib/allocator/tlsf.ts:481:43 (i32.const 16) ) ;;@ ~lib/allocator/tlsf.ts:481:47 (i32.shl (get_local $6) ;;@ ~lib/allocator/tlsf.ts:481:68 (i32.const 16) ) ) ) ;;@ ~lib/allocator/tlsf.ts:482:6 (set_local $4 ;;@ ~lib/allocator/tlsf.ts:482:14 (if (result i32) (i32.eqz (tee_local $8 ;;@ ~lib/allocator/tlsf.ts:482:26 (call $~lib/allocator/tlsf/Root#search ;;@ ~lib/allocator/tlsf.ts:482:21 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:482:33 (get_local $0) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 482) (i32.const 14) ) (unreachable) ) (get_local $8) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:485:4 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:485:11 (i32.ge_u (i32.and ;;@ ~lib/allocator/tlsf.ts:485:12 (i32.load (get_local $4) ) ;;@ ~lib/allocator/tlsf.ts:485:25 (i32.xor ;;@ ~lib/allocator/tlsf.ts:485:26 (i32.const 3) (i32.const -1) ) ) ;;@ ~lib/allocator/tlsf.ts:485:35 (get_local $0) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 485) (i32.const 4) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:486:4 (set_local $7 ;;@ ~lib/allocator/tlsf.ts:486:16 (call $~lib/allocator/tlsf/Root#use ;;@ ~lib/allocator/tlsf.ts:486:11 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:486:20 (get_local $4) ;;@ ~lib/allocator/tlsf.ts:486:34 (get_local $0) ) ) ) ) ;;@ ~lib/allocator/tlsf.ts:489:9 (get_local $7) ) (func $~lib/allocator/tlsf/free_memory (; 19 ;) (type $iv) (param $0 i32) (local $1 i32) (local $2 i32) (local $3 i32) ;;@ ~lib/allocator/tlsf.ts:495:2 (if ;;@ ~lib/allocator/tlsf.ts:495:6 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:495:12 (block ;;@ ~lib/allocator/tlsf.ts:496:4 (set_local $1 ;;@ ~lib/allocator/tlsf.ts:496:15 (get_global $~lib/allocator/tlsf/ROOT) ) ;;@ ~lib/allocator/tlsf.ts:497:4 (if ;;@ ~lib/allocator/tlsf.ts:497:8 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:497:14 (block ;;@ ~lib/allocator/tlsf.ts:498:6 (set_local $2 ;;@ ~lib/allocator/tlsf.ts:498:18 (i32.sub ;;@ ~lib/allocator/tlsf.ts:498:36 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:498:43 (i32.const 8) ) ) ;;@ ~lib/allocator/tlsf.ts:499:6 (set_local $3 ;;@ ~lib/allocator/tlsf.ts:499:22 (i32.load (get_local $2) ) ) ;;@ ~lib/allocator/tlsf.ts:500:6 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:500:13 (i32.eqz ;;@ ~lib/allocator/tlsf.ts:500:14 (i32.and ;;@ ~lib/allocator/tlsf.ts:500:15 (get_local $3) ;;@ ~lib/allocator/tlsf.ts:500:27 (i32.const 1) ) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 500) (i32.const 6) ) (unreachable) ) ) ;;@ ~lib/allocator/tlsf.ts:501:6 (i32.store (get_local $2) ;;@ ~lib/allocator/tlsf.ts:501:19 (i32.or (get_local $3) ;;@ ~lib/allocator/tlsf.ts:501:31 (i32.const 1) ) ) ;;@ ~lib/allocator/tlsf.ts:502:11 (call $~lib/allocator/tlsf/Root#insert ;;@ ~lib/allocator/tlsf.ts:502:6 (get_local $1) ;;@ ~lib/allocator/tlsf.ts:502:18 (i32.sub ;;@ ~lib/allocator/tlsf.ts:502:36 (get_local $0) ;;@ ~lib/allocator/tlsf.ts:502:43 (i32.const 8) ) ) ) ) ) ) ) (func $start (; 20 ;) (type $v) ;;@ ~lib/allocator/tlsf.ts:122:0 (if (i32.eqz ;;@ ~lib/allocator/tlsf.ts:122:7 (i32.le_s (i32.shl ;;@ ~lib/allocator/tlsf.ts:122:8 (i32.const 1) ;;@ ~lib/allocator/tlsf.ts:122:13 (i32.const 5) ) ;;@ ~lib/allocator/tlsf.ts:122:25 (i32.const 32) ) ) (block (call $~lib/env/abort (i32.const 0) (i32.const 8) (i32.const 122) (i32.const 0) ) (unreachable) ) ) ) )