blob: af05b1e3f0bd931cc4a5526a1ddd75181ccc5d89 [file] [log] [blame]
(module
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$vi (func (param i32)))
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(type $FUNCSIG$v (func))
(type $FUNCSIG$vii (func (param i32 i32)))
(import "env" "STACKTOP" (global $STACKTOP$asm2wasm$import i32))
(import "env" "STACK_MAX" (global $STACK_MAX$asm2wasm$import i32))
(import "env" "abort" (func $abort (param i32)))
(import "env" "_pthread_cleanup_pop" (func $_pthread_cleanup_pop (param i32)))
(import "env" "_pthread_self" (func $_pthread_self (result i32)))
(import "env" "_sysconf" (func $_sysconf (param i32) (result i32)))
(import "env" "___lock" (func $___lock (param i32)))
(import "env" "___syscall6" (func $___syscall6 (param i32 i32) (result i32)))
(import "env" "_abort" (func $_abort))
(import "env" "_sbrk" (func $_sbrk (param i32) (result i32)))
(import "env" "_time" (func $_time (param i32) (result i32)))
(import "env" "_pthread_cleanup_push" (func $_pthread_cleanup_push (param i32 i32)))
(import "env" "_emscripten_memcpy_big" (func $_emscripten_memcpy_big (param i32 i32 i32) (result i32)))
(import "env" "___syscall54" (func $___syscall54 (param i32 i32) (result i32)))
(import "env" "___unlock" (func $___unlock (param i32)))
(import "env" "___syscall140" (func $___syscall140 (param i32 i32) (result i32)))
(import "env" "___syscall146" (func $___syscall146 (param i32 i32) (result i32)))
(import "env" "memory" (memory $0 256 256))
(import "env" "table" (table 18 18 anyfunc))
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(global $STACKTOP (mut i32) (get_global $STACKTOP$asm2wasm$import))
(global $STACK_MAX (mut i32) (get_global $STACK_MAX$asm2wasm$import))
(global $__THREW__ (mut i32) (i32.const 0))
(global $threwValue (mut i32) (i32.const 0))
(global $tempRet0 (mut i32) (i32.const 0))
(elem (get_global $tableBase) $b0 $___stdio_close $b1 $b1 $___stdout_write $___stdio_seek $b1 $___stdio_write $b1 $b1 $b2 $b2 $b2 $b2 $_cleanup_418 $b2 $b2 $b2)
(export "_free" (func $_free))
(export "_main" (func $_main))
(export "_memset" (func $_memset))
(export "_malloc" (func $_malloc))
(export "_memcpy" (func $_memcpy))
(export "_fflush" (func $_fflush))
(export "___errno_location" (func $___errno_location))
(export "runPostSets" (func $runPostSets))
(export "stackAlloc" (func $stackAlloc))
(export "stackSave" (func $stackSave))
(export "stackRestore" (func $stackRestore))
(export "establishStackSpace" (func $establishStackSpace))
(export "setThrew" (func $setThrew))
(export "setTempRet0" (func $setTempRet0))
(export "getTempRet0" (func $getTempRet0))
(export "dynCall_ii" (func $dynCall_ii))
(export "dynCall_iiii" (func $dynCall_iiii))
(export "dynCall_vi" (func $dynCall_vi))
(func $_malloc (; 15 ;) (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)
(local $9 i32)
(local $10 i32)
(local $11 i32)
(local $12 i32)
(local $13 i32)
(local $14 i32)
(local $15 i32)
(local $16 i32)
(local $17 i32)
(local $18 i32)
(local $19 i32)
(local $20 i32)
(local $21 i32)
(local $22 i32)
(local $23 i32)
(local $24 i32)
(local $25 i32)
(local $26 i32)
(local $27 i32)
(local $28 i32)
(local $29 i32)
(local $30 i32)
(local $31 i32)
(local $32 i32)
(local $33 i32)
(local $34 i32)
(local $35 i32)
(local $36 i32)
(local $37 i32)
(local $38 i32)
(local $39 i32)
(local $40 i32)
(local $41 i32)
(local $42 i32)
(local $43 i32)
(local $44 i32)
(local $45 i32)
(local $46 i32)
(local $47 i32)
(local $48 i32)
(local $49 i32)
(local $50 i32)
(local $51 i32)
(local $52 i32)
(block $do-once
(if
(i32.lt_u
(get_local $0)
(i32.const 245)
)
(block
(if
(i32.and
(tee_local $2
(i32.shr_u
(tee_local $15
(i32.load
(i32.const 176)
)
)
(tee_local $6
(i32.shr_u
(tee_local $9
(select
(i32.const 16)
(i32.and
(i32.add
(get_local $0)
(i32.const 11)
)
(i32.const -8)
)
(i32.lt_u
(get_local $0)
(i32.const 11)
)
)
)
(i32.const 3)
)
)
)
)
(i32.const 3)
)
(block
(set_local $2
(i32.load
(tee_local $17
(i32.add
(tee_local $0
(i32.load
(tee_local $5
(i32.add
(tee_local $1
(i32.add
(i32.shl
(tee_local $10
(i32.add
(i32.xor
(i32.and
(get_local $2)
(i32.const 1)
)
(i32.const 1)
)
(get_local $6)
)
)
(i32.const 3)
)
(i32.const 216)
)
)
(i32.const 8)
)
)
)
)
(i32.const 8)
)
)
)
)
(if
(i32.ne
(get_local $1)
(get_local $2)
)
(block
(if
(i32.lt_u
(get_local $2)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $7
(i32.add
(get_local $2)
(i32.const 12)
)
)
)
(get_local $0)
)
(block
(i32.store
(get_local $7)
(get_local $1)
)
(i32.store
(get_local $5)
(get_local $2)
)
)
(call $_abort)
)
)
(i32.store
(i32.const 176)
(i32.and
(get_local $15)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $10)
)
(i32.const -1)
)
)
)
)
(i32.store offset=4
(get_local $0)
(i32.or
(tee_local $2
(i32.shl
(get_local $10)
(i32.const 3)
)
)
(i32.const 3)
)
)
(i32.store
(tee_local $5
(i32.add
(i32.add
(get_local $0)
(get_local $2)
)
(i32.const 4)
)
)
(i32.or
(i32.load
(get_local $5)
)
(i32.const 1)
)
)
(return
(get_local $17)
)
)
)
(if
(i32.gt_u
(get_local $9)
(tee_local $5
(i32.load
(i32.const 184)
)
)
)
(block
(if
(get_local $2)
(block
(set_local $1
(i32.and
(i32.shr_u
(tee_local $2
(i32.add
(i32.and
(tee_local $1
(i32.and
(i32.shl
(get_local $2)
(get_local $6)
)
(i32.or
(tee_local $2
(i32.shl
(i32.const 2)
(get_local $6)
)
)
(i32.sub
(i32.const 0)
(get_local $2)
)
)
)
)
(i32.sub
(i32.const 0)
(get_local $1)
)
)
(i32.const -1)
)
)
(i32.const 12)
)
(i32.const 16)
)
)
(set_local $1
(i32.load
(tee_local $7
(i32.add
(tee_local $0
(i32.load
(tee_local $19
(i32.add
(tee_local $11
(i32.add
(i32.shl
(tee_local $10
(i32.add
(i32.or
(i32.or
(i32.or
(i32.or
(tee_local $2
(i32.and
(i32.shr_u
(tee_local $7
(i32.shr_u
(get_local $2)
(get_local $1)
)
)
(i32.const 5)
)
(i32.const 8)
)
)
(get_local $1)
)
(tee_local $7
(i32.and
(i32.shr_u
(tee_local $0
(i32.shr_u
(get_local $7)
(get_local $2)
)
)
(i32.const 2)
)
(i32.const 4)
)
)
)
(tee_local $0
(i32.and
(i32.shr_u
(tee_local $11
(i32.shr_u
(get_local $0)
(get_local $7)
)
)
(i32.const 1)
)
(i32.const 2)
)
)
)
(tee_local $11
(i32.and
(i32.shr_u
(tee_local $19
(i32.shr_u
(get_local $11)
(get_local $0)
)
)
(i32.const 1)
)
(i32.const 1)
)
)
)
(i32.shr_u
(get_local $19)
(get_local $11)
)
)
)
(i32.const 3)
)
(i32.const 216)
)
)
(i32.const 8)
)
)
)
)
(i32.const 8)
)
)
)
)
(if
(i32.ne
(get_local $11)
(get_local $1)
)
(block
(if
(i32.lt_u
(get_local $1)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $2
(i32.add
(get_local $1)
(i32.const 12)
)
)
)
(get_local $0)
)
(block
(i32.store
(get_local $2)
(get_local $11)
)
(i32.store
(get_local $19)
(get_local $1)
)
(set_local $17
(i32.load
(i32.const 184)
)
)
)
(call $_abort)
)
)
(block
(i32.store
(i32.const 176)
(i32.and
(get_local $15)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $10)
)
(i32.const -1)
)
)
)
(set_local $17
(get_local $5)
)
)
)
(i32.store offset=4
(get_local $0)
(i32.or
(get_local $9)
(i32.const 3)
)
)
(i32.store offset=4
(tee_local $15
(i32.add
(get_local $0)
(get_local $9)
)
)
(i32.or
(tee_local $5
(i32.sub
(i32.shl
(get_local $10)
(i32.const 3)
)
(get_local $9)
)
)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $15)
(get_local $5)
)
(get_local $5)
)
(if
(get_local $17)
(block
(set_local $1
(i32.load
(i32.const 196)
)
)
(set_local $11
(i32.add
(i32.shl
(tee_local $19
(i32.shr_u
(get_local $17)
(i32.const 3)
)
)
(i32.const 3)
)
(i32.const 216)
)
)
(if
(i32.and
(tee_local $6
(i32.load
(i32.const 176)
)
)
(tee_local $2
(i32.shl
(i32.const 1)
(get_local $19)
)
)
)
(if
(i32.lt_u
(tee_local $17
(i32.load
(tee_local $19
(i32.add
(get_local $11)
(i32.const 8)
)
)
)
)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(set_local $38
(get_local $19)
)
(set_local $31
(get_local $17)
)
)
)
(block
(i32.store
(i32.const 176)
(i32.or
(get_local $6)
(get_local $2)
)
)
(set_local $38
(i32.add
(get_local $11)
(i32.const 8)
)
)
(set_local $31
(get_local $11)
)
)
)
(i32.store
(get_local $38)
(get_local $1)
)
(i32.store offset=12
(get_local $31)
(get_local $1)
)
(i32.store offset=8
(get_local $1)
(get_local $31)
)
(i32.store offset=12
(get_local $1)
(get_local $11)
)
)
)
(i32.store
(i32.const 184)
(get_local $5)
)
(i32.store
(i32.const 196)
(get_local $15)
)
(return
(get_local $7)
)
)
)
(if
(tee_local $15
(i32.load
(i32.const 180)
)
)
(block
(set_local $15
(i32.and
(i32.shr_u
(tee_local $5
(i32.add
(i32.and
(get_local $15)
(i32.sub
(i32.const 0)
(get_local $15)
)
)
(i32.const -1)
)
)
(i32.const 12)
)
(i32.const 16)
)
)
(set_local $2
(i32.sub
(i32.and
(i32.load offset=4
(tee_local $17
(i32.load offset=480
(i32.shl
(i32.add
(i32.or
(i32.or
(i32.or
(i32.or
(tee_local $5
(i32.and
(i32.shr_u
(tee_local $11
(i32.shr_u
(get_local $5)
(get_local $15)
)
)
(i32.const 5)
)
(i32.const 8)
)
)
(get_local $15)
)
(tee_local $11
(i32.and
(i32.shr_u
(tee_local $1
(i32.shr_u
(get_local $11)
(get_local $5)
)
)
(i32.const 2)
)
(i32.const 4)
)
)
)
(tee_local $1
(i32.and
(i32.shr_u
(tee_local $2
(i32.shr_u
(get_local $1)
(get_local $11)
)
)
(i32.const 1)
)
(i32.const 2)
)
)
)
(tee_local $2
(i32.and
(i32.shr_u
(tee_local $6
(i32.shr_u
(get_local $2)
(get_local $1)
)
)
(i32.const 1)
)
(i32.const 1)
)
)
)
(i32.shr_u
(get_local $6)
(get_local $2)
)
)
(i32.const 2)
)
)
)
)
(i32.const -8)
)
(get_local $9)
)
)
(set_local $6
(get_local $17)
)
(set_local $1
(get_local $17)
)
(loop $while-in
(block $while-out
(if
(tee_local $17
(i32.load offset=16
(get_local $6)
)
)
(set_local $0
(get_local $17)
)
(if
(tee_local $11
(i32.load offset=20
(get_local $6)
)
)
(set_local $0
(get_local $11)
)
(block
(set_local $8
(get_local $2)
)
(set_local $3
(get_local $1)
)
(br $while-out)
)
)
)
(set_local $11
(i32.lt_u
(tee_local $17
(i32.sub
(i32.and
(i32.load offset=4
(get_local $0)
)
(i32.const -8)
)
(get_local $9)
)
)
(get_local $2)
)
)
(set_local $2
(select
(get_local $17)
(get_local $2)
(get_local $11)
)
)
(set_local $6
(get_local $0)
)
(set_local $1
(select
(get_local $0)
(get_local $1)
(get_local $11)
)
)
(br $while-in)
)
)
(if
(i32.lt_u
(get_local $3)
(tee_local $1
(i32.load
(i32.const 192)
)
)
)
(call $_abort)
)
(if
(i32.ge_u
(get_local $3)
(tee_local $6
(i32.add
(get_local $3)
(get_local $9)
)
)
)
(call $_abort)
)
(set_local $2
(i32.load offset=24
(get_local $3)
)
)
(block $do-once4
(if
(i32.eq
(tee_local $7
(i32.load offset=12
(get_local $3)
)
)
(get_local $3)
)
(block
(if
(tee_local $10
(i32.load
(tee_local $0
(i32.add
(get_local $3)
(i32.const 20)
)
)
)
)
(block
(set_local $17
(get_local $10)
)
(set_local $5
(get_local $0)
)
)
(if
(tee_local $17
(i32.load
(tee_local $11
(i32.add
(get_local $3)
(i32.const 16)
)
)
)
)
(set_local $5
(get_local $11)
)
(br $do-once4)
)
)
(loop $while-in7
(if
(tee_local $10
(i32.load
(tee_local $0
(i32.add
(get_local $17)
(i32.const 20)
)
)
)
)
(block
(set_local $17
(get_local $10)
)
(set_local $5
(get_local $0)
)
(br $while-in7)
)
)
(if
(tee_local $10
(i32.load
(tee_local $0
(i32.add
(get_local $17)
(i32.const 16)
)
)
)
)
(block
(set_local $17
(get_local $10)
)
(set_local $5
(get_local $0)
)
(br $while-in7)
)
)
)
(if
(i32.lt_u
(get_local $5)
(get_local $1)
)
(call $_abort)
(block
(i32.store
(get_local $5)
(i32.const 0)
)
(set_local $19
(get_local $17)
)
)
)
)
(block
(if
(i32.lt_u
(tee_local $0
(i32.load offset=8
(get_local $3)
)
)
(get_local $1)
)
(call $_abort)
)
(if
(i32.ne
(i32.load
(tee_local $10
(i32.add
(get_local $0)
(i32.const 12)
)
)
)
(get_local $3)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $11
(i32.add
(get_local $7)
(i32.const 8)
)
)
)
(get_local $3)
)
(block
(i32.store
(get_local $10)
(get_local $7)
)
(i32.store
(get_local $11)
(get_local $0)
)
(set_local $19
(get_local $7)
)
)
(call $_abort)
)
)
)
)
(block $do-once8
(if
(get_local $2)
(block
(if
(i32.eq
(get_local $3)
(i32.load
(tee_local $1
(i32.add
(i32.shl
(tee_local $7
(i32.load offset=28
(get_local $3)
)
)
(i32.const 2)
)
(i32.const 480)
)
)
)
)
(block
(i32.store
(get_local $1)
(get_local $19)
)
(if
(i32.eqz
(get_local $19)
)
(block
(i32.store
(i32.const 180)
(i32.and
(i32.load
(i32.const 180)
)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $7)
)
(i32.const -1)
)
)
)
(br $do-once8)
)
)
)
(block
(if
(i32.lt_u
(get_local $2)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $7
(i32.add
(get_local $2)
(i32.const 16)
)
)
)
(get_local $3)
)
(i32.store
(get_local $7)
(get_local $19)
)
(i32.store offset=20
(get_local $2)
(get_local $19)
)
)
(br_if $do-once8
(i32.eqz
(get_local $19)
)
)
)
)
(if
(i32.lt_u
(get_local $19)
(tee_local $7
(i32.load
(i32.const 192)
)
)
)
(call $_abort)
)
(i32.store offset=24
(get_local $19)
(get_local $2)
)
(if
(tee_local $1
(i32.load offset=16
(get_local $3)
)
)
(if
(i32.lt_u
(get_local $1)
(get_local $7)
)
(call $_abort)
(block
(i32.store offset=16
(get_local $19)
(get_local $1)
)
(i32.store offset=24
(get_local $1)
(get_local $19)
)
)
)
)
(if
(tee_local $1
(i32.load offset=20
(get_local $3)
)
)
(if
(i32.lt_u
(get_local $1)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store offset=20
(get_local $19)
(get_local $1)
)
(i32.store offset=24
(get_local $1)
(get_local $19)
)
)
)
)
)
)
)
(if
(i32.lt_u
(get_local $8)
(i32.const 16)
)
(block
(i32.store offset=4
(get_local $3)
(i32.or
(tee_local $2
(i32.add
(get_local $8)
(get_local $9)
)
)
(i32.const 3)
)
)
(i32.store
(tee_local $1
(i32.add
(i32.add
(get_local $3)
(get_local $2)
)
(i32.const 4)
)
)
(i32.or
(i32.load
(get_local $1)
)
(i32.const 1)
)
)
)
(block
(i32.store offset=4
(get_local $3)
(i32.or
(get_local $9)
(i32.const 3)
)
)
(i32.store offset=4
(get_local $6)
(i32.or
(get_local $8)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $6)
(get_local $8)
)
(get_local $8)
)
(if
(tee_local $1
(i32.load
(i32.const 184)
)
)
(block
(set_local $2
(i32.load
(i32.const 196)
)
)
(set_local $1
(i32.add
(i32.shl
(tee_local $7
(i32.shr_u
(get_local $1)
(i32.const 3)
)
)
(i32.const 3)
)
(i32.const 216)
)
)
(if
(i32.and
(tee_local $0
(i32.load
(i32.const 176)
)
)
(tee_local $11
(i32.shl
(i32.const 1)
(get_local $7)
)
)
)
(if
(i32.lt_u
(tee_local $10
(i32.load
(tee_local $7
(i32.add
(get_local $1)
(i32.const 8)
)
)
)
)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(set_local $39
(get_local $7)
)
(set_local $32
(get_local $10)
)
)
)
(block
(i32.store
(i32.const 176)
(i32.or
(get_local $0)
(get_local $11)
)
)
(set_local $39
(i32.add
(get_local $1)
(i32.const 8)
)
)
(set_local $32
(get_local $1)
)
)
)
(i32.store
(get_local $39)
(get_local $2)
)
(i32.store offset=12
(get_local $32)
(get_local $2)
)
(i32.store offset=8
(get_local $2)
(get_local $32)
)
(i32.store offset=12
(get_local $2)
(get_local $1)
)
)
)
(i32.store
(i32.const 184)
(get_local $8)
)
(i32.store
(i32.const 196)
(get_local $6)
)
)
)
(return
(i32.add
(get_local $3)
(i32.const 8)
)
)
)
)
)
)
)
(if
(i32.le_u
(get_local $0)
(i32.const -65)
)
(block
(set_local $2
(i32.and
(tee_local $1
(i32.add
(get_local $0)
(i32.const 11)
)
)
(i32.const -8)
)
)
(if
(tee_local $11
(i32.load
(i32.const 180)
)
)
(block
(set_local $0
(i32.sub
(i32.const 0)
(get_local $2)
)
)
(block $label$break$L123
(if
(tee_local $15
(i32.load offset=480
(i32.shl
(tee_local $9
(if (result i32)
(tee_local $10
(i32.shr_u
(get_local $1)
(i32.const 8)
)
)
(if (result i32)
(i32.gt_u
(get_local $2)
(i32.const 16777215)
)
(i32.const 31)
(i32.or
(i32.and
(i32.shr_u
(get_local $2)
(i32.add
(tee_local $15
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
(tee_local $10
(i32.and
(i32.shr_u
(i32.add
(tee_local $7
(i32.shl
(get_local $10)
(tee_local $1
(i32.and
(i32.shr_u
(i32.add
(get_local $10)
(i32.const 1048320)
)
(i32.const 16)
)
(i32.const 8)
)
)
)
)
(i32.const 520192)
)
(i32.const 16)
)
(i32.const 4)
)
)
(get_local $1)
)
(tee_local $7
(i32.and
(i32.shr_u
(i32.add
(tee_local $17
(i32.shl
(get_local $7)
(get_local $10)
)
)
(i32.const 245760)
)
(i32.const 16)
)
(i32.const 2)
)
)
)
)
(i32.shr_u
(i32.shl
(get_local $17)
(get_local $7)
)
(i32.const 15)
)
)
)
(i32.const 7)
)
)
(i32.const 1)
)
(i32.shl
(get_local $15)
(i32.const 1)
)
)
)
(i32.const 0)
)
)
(i32.const 2)
)
)
)
(block
(set_local $7
(get_local $0)
)
(set_local $17
(i32.const 0)
)
(set_local $1
(i32.shl
(get_local $2)
(select
(i32.const 0)
(i32.sub
(i32.const 25)
(i32.shr_u
(get_local $9)
(i32.const 1)
)
)
(i32.eq
(get_local $9)
(i32.const 31)
)
)
)
)
(set_local $10
(get_local $15)
)
(loop $while-in14
(if
(i32.lt_u
(tee_local $0
(i32.sub
(tee_local $19
(i32.and
(i32.load offset=4
(get_local $10)
)
(i32.const -8)
)
)
(get_local $2)
)
)
(get_local $7)
)
(if
(i32.eq
(get_local $19)
(get_local $2)
)
(block
(set_local $27
(get_local $0)
)
(set_local $25
(get_local $10)
)
(set_local $29
(get_local $10)
)
(set_local $7
(i32.const 90)
)
(br $label$break$L123)
)
(block
(set_local $7
(get_local $0)
)
(set_local $5
(get_local $10)
)
)
)
)
(set_local $19
(select
(get_local $17)
(tee_local $0
(i32.load offset=20
(get_local $10)
)
)
(i32.or
(i32.eqz
(get_local $0)
)
(i32.eq
(get_local $0)
(tee_local $10
(i32.load
(i32.add
(i32.add
(get_local $10)
(i32.const 16)
)
(i32.shl
(i32.shr_u
(get_local $1)
(i32.const 31)
)
(i32.const 2)
)
)
)
)
)
)
)
)
(if
(tee_local $0
(i32.eqz
(get_local $10)
)
)
(block
(set_local $33
(get_local $7)
)
(set_local $6
(get_local $19)
)
(set_local $30
(get_local $5)
)
(set_local $7
(i32.const 86)
)
)
(block
(set_local $17
(get_local $19)
)
(set_local $1
(i32.shl
(get_local $1)
(i32.xor
(i32.and
(get_local $0)
(i32.const 1)
)
(i32.const 1)
)
)
)
(br $while-in14)
)
)
)
)
(block
(set_local $33
(get_local $0)
)
(set_local $7
(i32.const 86)
)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 86)
)
(block
(if
(i32.eqz
(i32.or
(get_local $6)
(get_local $30)
)
)
(block
(if
(i32.eqz
(tee_local $0
(i32.and
(get_local $11)
(i32.or
(tee_local $15
(i32.shl
(i32.const 2)
(get_local $9)
)
)
(i32.sub
(i32.const 0)
(get_local $15)
)
)
)
)
)
(block
(set_local $9
(get_local $2)
)
(br $do-once)
)
)
(set_local $0
(i32.and
(i32.shr_u
(tee_local $15
(i32.add
(i32.and
(get_local $0)
(i32.sub
(i32.const 0)
(get_local $0)
)
)
(i32.const -1)
)
)
(i32.const 12)
)
(i32.const 16)
)
)
(set_local $6
(i32.load offset=480
(i32.shl
(i32.add
(i32.or
(i32.or
(i32.or
(i32.or
(tee_local $15
(i32.and
(i32.shr_u
(tee_local $9
(i32.shr_u
(get_local $15)
(get_local $0)
)
)
(i32.const 5)
)
(i32.const 8)
)
)
(get_local $0)
)
(tee_local $9
(i32.and
(i32.shr_u
(tee_local $6
(i32.shr_u
(get_local $9)
(get_local $15)
)
)
(i32.const 2)
)
(i32.const 4)
)
)
)
(tee_local $6
(i32.and
(i32.shr_u
(tee_local $5
(i32.shr_u
(get_local $6)
(get_local $9)
)
)
(i32.const 1)
)
(i32.const 2)
)
)
)
(tee_local $5
(i32.and
(i32.shr_u
(tee_local $1
(i32.shr_u
(get_local $5)
(get_local $6)
)
)
(i32.const 1)
)
(i32.const 1)
)
)
)
(i32.shr_u
(get_local $1)
(get_local $5)
)
)
(i32.const 2)
)
)
)
)
)
(if
(get_local $6)
(block
(set_local $27
(get_local $33)
)
(set_local $25
(get_local $6)
)
(set_local $29
(get_local $30)
)
(set_local $7
(i32.const 90)
)
)
(block
(set_local $3
(get_local $33)
)
(set_local $12
(get_local $30)
)
)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 90)
)
(loop $while-in16
(set_local $7
(i32.const 0)
)
(set_local $1
(i32.lt_u
(tee_local $5
(i32.sub
(i32.and
(i32.load offset=4
(get_local $25)
)
(i32.const -8)
)
(get_local $2)
)
)
(get_local $27)
)
)
(set_local $6
(select
(get_local $5)
(get_local $27)
(get_local $1)
)
)
(set_local $5
(select
(get_local $25)
(get_local $29)
(get_local $1)
)
)
(if
(tee_local $1
(i32.load offset=16
(get_local $25)
)
)
(block
(set_local $27
(get_local $6)
)
(set_local $25
(get_local $1)
)
(set_local $29
(get_local $5)
)
(br $while-in16)
)
)
(if
(tee_local $25
(i32.load offset=20
(get_local $25)
)
)
(block
(set_local $27
(get_local $6)
)
(set_local $29
(get_local $5)
)
(br $while-in16)
)
(block
(set_local $3
(get_local $6)
)
(set_local $12
(get_local $5)
)
)
)
)
)
(if
(select
(i32.lt_u
(get_local $3)
(i32.sub
(i32.load
(i32.const 184)
)
(get_local $2)
)
)
(i32.const 0)
(get_local $12)
)
(block
(if
(i32.lt_u
(get_local $12)
(tee_local $11
(i32.load
(i32.const 192)
)
)
)
(call $_abort)
)
(if
(i32.ge_u
(get_local $12)
(tee_local $5
(i32.add
(get_local $12)
(get_local $2)
)
)
)
(call $_abort)
)
(set_local $6
(i32.load offset=24
(get_local $12)
)
)
(block $do-once17
(if
(i32.eq
(tee_local $1
(i32.load offset=12
(get_local $12)
)
)
(get_local $12)
)
(block
(if
(tee_local $0
(i32.load
(tee_local $9
(i32.add
(get_local $12)
(i32.const 20)
)
)
)
)
(block
(set_local $17
(get_local $0)
)
(set_local $1
(get_local $9)
)
)
(if
(tee_local $17
(i32.load
(tee_local $15
(i32.add
(get_local $12)
(i32.const 16)
)
)
)
)
(set_local $1
(get_local $15)
)
(br $do-once17)
)
)
(loop $while-in20
(if
(tee_local $0
(i32.load
(tee_local $9
(i32.add
(get_local $17)
(i32.const 20)
)
)
)
)
(block
(set_local $17
(get_local $0)
)
(set_local $1
(get_local $9)
)
(br $while-in20)
)
)
(if
(tee_local $0
(i32.load
(tee_local $9
(i32.add
(get_local $17)
(i32.const 16)
)
)
)
)
(block
(set_local $17
(get_local $0)
)
(set_local $1
(get_local $9)
)
(br $while-in20)
)
)
)
(if
(i32.lt_u
(get_local $1)
(get_local $11)
)
(call $_abort)
(block
(i32.store
(get_local $1)
(i32.const 0)
)
(set_local $8
(get_local $17)
)
)
)
)
(block
(if
(i32.lt_u
(tee_local $9
(i32.load offset=8
(get_local $12)
)
)
(get_local $11)
)
(call $_abort)
)
(if
(i32.ne
(i32.load
(tee_local $0
(i32.add
(get_local $9)
(i32.const 12)
)
)
)
(get_local $12)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $15
(i32.add
(get_local $1)
(i32.const 8)
)
)
)
(get_local $12)
)
(block
(i32.store
(get_local $0)
(get_local $1)
)
(i32.store
(get_local $15)
(get_local $9)
)
(set_local $8
(get_local $1)
)
)
(call $_abort)
)
)
)
)
(block $do-once21
(if
(get_local $6)
(block
(if
(i32.eq
(get_local $12)
(i32.load
(tee_local $11
(i32.add
(i32.shl
(tee_local $1
(i32.load offset=28
(get_local $12)
)
)
(i32.const 2)
)
(i32.const 480)
)
)
)
)
(block
(i32.store
(get_local $11)
(get_local $8)
)
(if
(i32.eqz
(get_local $8)
)
(block
(i32.store
(i32.const 180)
(i32.and
(i32.load
(i32.const 180)
)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $1)
)
(i32.const -1)
)
)
)
(br $do-once21)
)
)
)
(block
(if
(i32.lt_u
(get_local $6)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $1
(i32.add
(get_local $6)
(i32.const 16)
)
)
)
(get_local $12)
)
(i32.store
(get_local $1)
(get_local $8)
)
(i32.store offset=20
(get_local $6)
(get_local $8)
)
)
(br_if $do-once21
(i32.eqz
(get_local $8)
)
)
)
)
(if
(i32.lt_u
(get_local $8)
(tee_local $1
(i32.load
(i32.const 192)
)
)
)
(call $_abort)
)
(i32.store offset=24
(get_local $8)
(get_local $6)
)
(if
(tee_local $11
(i32.load offset=16
(get_local $12)
)
)
(if
(i32.lt_u
(get_local $11)
(get_local $1)
)
(call $_abort)
(block
(i32.store offset=16
(get_local $8)
(get_local $11)
)
(i32.store offset=24
(get_local $11)
(get_local $8)
)
)
)
)
(if
(tee_local $11
(i32.load offset=20
(get_local $12)
)
)
(if
(i32.lt_u
(get_local $11)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store offset=20
(get_local $8)
(get_local $11)
)
(i32.store offset=24
(get_local $11)
(get_local $8)
)
)
)
)
)
)
)
(block $do-once25
(if
(i32.ge_u
(get_local $3)
(i32.const 16)
)
(block
(i32.store offset=4
(get_local $12)
(i32.or
(get_local $2)
(i32.const 3)
)
)
(i32.store offset=4
(get_local $5)
(i32.or
(get_local $3)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $5)
(get_local $3)
)
(get_local $3)
)
(set_local $6
(i32.shr_u
(get_local $3)
(i32.const 3)
)
)
(if
(i32.lt_u
(get_local $3)
(i32.const 256)
)
(block
(set_local $11
(i32.add
(i32.shl
(get_local $6)
(i32.const 3)
)
(i32.const 216)
)
)
(if
(i32.and
(tee_local $1
(i32.load
(i32.const 176)
)
)
(tee_local $9
(i32.shl
(i32.const 1)
(get_local $6)
)
)
)
(if
(i32.lt_u
(tee_local $15
(i32.load
(tee_local $6
(i32.add
(get_local $11)
(i32.const 8)
)
)
)
)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(set_local $16
(get_local $6)
)
(set_local $26
(get_local $15)
)
)
)
(block
(i32.store
(i32.const 176)
(i32.or
(get_local $1)
(get_local $9)
)
)
(set_local $16
(i32.add
(get_local $11)
(i32.const 8)
)
)
(set_local $26
(get_local $11)
)
)
)
(i32.store
(get_local $16)
(get_local $5)
)
(i32.store offset=12
(get_local $26)
(get_local $5)
)
(i32.store offset=8
(get_local $5)
(get_local $26)
)
(i32.store offset=12
(get_local $5)
(get_local $11)
)
(br $do-once25)
)
)
(set_local $6
(i32.add
(i32.shl
(tee_local $10
(if (result i32)
(tee_local $11
(i32.shr_u
(get_local $3)
(i32.const 8)
)
)
(if (result i32)
(i32.gt_u
(get_local $3)
(i32.const 16777215)
)
(i32.const 31)
(i32.or
(i32.and
(i32.shr_u
(get_local $3)
(i32.add
(tee_local $6
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
(tee_local $11
(i32.and
(i32.shr_u
(i32.add
(tee_local $1
(i32.shl
(get_local $11)
(tee_local $9
(i32.and
(i32.shr_u
(i32.add
(get_local $11)
(i32.const 1048320)
)
(i32.const 16)
)
(i32.const 8)
)
)
)
)
(i32.const 520192)
)
(i32.const 16)
)
(i32.const 4)
)
)
(get_local $9)
)
(tee_local $1
(i32.and
(i32.shr_u
(i32.add
(tee_local $15
(i32.shl
(get_local $1)
(get_local $11)
)
)
(i32.const 245760)
)
(i32.const 16)
)
(i32.const 2)
)
)
)
)
(i32.shr_u
(i32.shl
(get_local $15)
(get_local $1)
)
(i32.const 15)
)
)
)
(i32.const 7)
)
)
(i32.const 1)
)
(i32.shl
(get_local $6)
(i32.const 1)
)
)
)
(i32.const 0)
)
)
(i32.const 2)
)
(i32.const 480)
)
)
(i32.store offset=28
(get_local $5)
(get_local $10)
)
(i32.store offset=4
(tee_local $1
(i32.add
(get_local $5)
(i32.const 16)
)
)
(i32.const 0)
)
(i32.store
(get_local $1)
(i32.const 0)
)
(if
(i32.eqz
(i32.and
(tee_local $1
(i32.load
(i32.const 180)
)
)
(tee_local $15
(i32.shl
(i32.const 1)
(get_local $10)
)
)
)
)
(block
(i32.store
(i32.const 180)
(i32.or
(get_local $1)
(get_local $15)
)
)
(i32.store
(get_local $6)
(get_local $5)
)
(i32.store offset=24
(get_local $5)
(get_local $6)
)
(i32.store offset=12
(get_local $5)
(get_local $5)
)
(i32.store offset=8
(get_local $5)
(get_local $5)
)
(br $do-once25)
)
)
(set_local $15
(i32.shl
(get_local $3)
(select
(i32.const 0)
(i32.sub
(i32.const 25)
(i32.shr_u
(get_local $10)
(i32.const 1)
)
)
(i32.eq
(get_local $10)
(i32.const 31)
)
)
)
)
(set_local $1
(i32.load
(get_local $6)
)
)
(loop $while-in28
(block $while-out27
(if
(i32.eq
(i32.and
(i32.load offset=4
(get_local $1)
)
(i32.const -8)
)
(get_local $3)
)
(block
(set_local $14
(get_local $1)
)
(set_local $7
(i32.const 148)
)
(br $while-out27)
)
)
(if
(tee_local $9
(i32.load
(tee_local $6
(i32.add
(i32.add
(get_local $1)
(i32.const 16)
)
(i32.shl
(i32.shr_u
(get_local $15)
(i32.const 31)
)
(i32.const 2)
)
)
)
)
)
(block
(set_local $15
(i32.shl
(get_local $15)
(i32.const 1)
)
)
(set_local $1
(get_local $9)
)
(br $while-in28)
)
(block
(set_local $23
(get_local $6)
)
(set_local $21
(get_local $1)
)
(set_local $7
(i32.const 145)
)
)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 145)
)
(if
(i32.lt_u
(get_local $23)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store
(get_local $23)
(get_local $5)
)
(i32.store offset=24
(get_local $5)
(get_local $21)
)
(i32.store offset=12
(get_local $5)
(get_local $5)
)
(i32.store offset=8
(get_local $5)
(get_local $5)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 148)
)
(if
(i32.and
(i32.ge_u
(tee_local $15
(i32.load
(tee_local $1
(i32.add
(get_local $14)
(i32.const 8)
)
)
)
)
(tee_local $9
(i32.load
(i32.const 192)
)
)
)
(i32.ge_u
(get_local $14)
(get_local $9)
)
)
(block
(i32.store offset=12
(get_local $15)
(get_local $5)
)
(i32.store
(get_local $1)
(get_local $5)
)
(i32.store offset=8
(get_local $5)
(get_local $15)
)
(i32.store offset=12
(get_local $5)
(get_local $14)
)
(i32.store offset=24
(get_local $5)
(i32.const 0)
)
)
(call $_abort)
)
)
)
)
(block
(i32.store offset=4
(get_local $12)
(i32.or
(tee_local $15
(i32.add
(get_local $3)
(get_local $2)
)
)
(i32.const 3)
)
)
(i32.store
(tee_local $1
(i32.add
(i32.add
(get_local $12)
(get_local $15)
)
(i32.const 4)
)
)
(i32.or
(i32.load
(get_local $1)
)
(i32.const 1)
)
)
)
)
)
(return
(i32.add
(get_local $12)
(i32.const 8)
)
)
)
(set_local $9
(get_local $2)
)
)
)
(set_local $9
(get_local $2)
)
)
)
(set_local $9
(i32.const -1)
)
)
)
)
(if
(i32.ge_u
(tee_local $12
(i32.load
(i32.const 184)
)
)
(get_local $9)
)
(block
(set_local $14
(i32.load
(i32.const 196)
)
)
(if
(i32.gt_u
(tee_local $3
(i32.sub
(get_local $12)
(get_local $9)
)
)
(i32.const 15)
)
(block
(i32.store
(i32.const 196)
(tee_local $21
(i32.add
(get_local $14)
(get_local $9)
)
)
)
(i32.store
(i32.const 184)
(get_local $3)
)
(i32.store offset=4
(get_local $21)
(i32.or
(get_local $3)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $21)
(get_local $3)
)
(get_local $3)
)
(i32.store offset=4
(get_local $14)
(i32.or
(get_local $9)
(i32.const 3)
)
)
)
(block
(i32.store
(i32.const 184)
(i32.const 0)
)
(i32.store
(i32.const 196)
(i32.const 0)
)
(i32.store offset=4
(get_local $14)
(i32.or
(get_local $12)
(i32.const 3)
)
)
(i32.store
(tee_local $3
(i32.add
(i32.add
(get_local $14)
(get_local $12)
)
(i32.const 4)
)
)
(i32.or
(i32.load
(get_local $3)
)
(i32.const 1)
)
)
)
)
(return
(i32.add
(get_local $14)
(i32.const 8)
)
)
)
)
(if
(i32.gt_u
(tee_local $14
(i32.load
(i32.const 188)
)
)
(get_local $9)
)
(block
(i32.store
(i32.const 188)
(tee_local $3
(i32.sub
(get_local $14)
(get_local $9)
)
)
)
(i32.store
(i32.const 200)
(tee_local $12
(i32.add
(tee_local $14
(i32.load
(i32.const 200)
)
)
(get_local $9)
)
)
)
(i32.store offset=4
(get_local $12)
(i32.or
(get_local $3)
(i32.const 1)
)
)
(i32.store offset=4
(get_local $14)
(i32.or
(get_local $9)
(i32.const 3)
)
)
(return
(i32.add
(get_local $14)
(i32.const 8)
)
)
)
)
(if
(i32.eqz
(i32.load
(i32.const 648)
)
)
(if
(i32.and
(i32.add
(tee_local $14
(call $_sysconf
(i32.const 30)
)
)
(i32.const -1)
)
(get_local $14)
)
(call $_abort)
(block
(i32.store
(i32.const 656)
(get_local $14)
)
(i32.store
(i32.const 652)
(get_local $14)
)
(i32.store
(i32.const 660)
(i32.const -1)
)
(i32.store
(i32.const 664)
(i32.const -1)
)
(i32.store
(i32.const 668)
(i32.const 0)
)
(i32.store
(i32.const 620)
(i32.const 0)
)
(i32.store
(i32.const 648)
(i32.xor
(i32.and
(call $_time
(i32.const 0)
)
(i32.const -16)
)
(i32.const 1431655768)
)
)
)
)
)
(set_local $14
(i32.add
(get_local $9)
(i32.const 48)
)
)
(if
(i32.le_u
(tee_local $3
(i32.and
(tee_local $21
(i32.add
(tee_local $3
(i32.load
(i32.const 656)
)
)
(tee_local $12
(i32.add
(get_local $9)
(i32.const 47)
)
)
)
)
(tee_local $23
(i32.sub
(i32.const 0)
(get_local $3)
)
)
)
)
(get_local $9)
)
(return
(i32.const 0)
)
)
(if
(if (result i32)
(tee_local $10
(i32.load
(i32.const 616)
)
)
(i32.or
(i32.le_u
(tee_local $16
(i32.add
(tee_local $26
(i32.load
(i32.const 608)
)
)
(get_local $3)
)
)
(get_local $26)
)
(i32.gt_u
(get_local $16)
(get_local $10)
)
)
(i32.const 0)
)
(return
(i32.const 0)
)
)
(if
(if (result i32)
(if (result i32)
(select
(i32.lt_u
(get_local $3)
(i32.const 2147483647)
)
(i32.const 0)
(i32.eq
(tee_local $7
(block $label$break$L257 (result i32)
(if (result i32)
(i32.and
(i32.load
(i32.const 620)
)
(i32.const 4)
)
(i32.const 190)
(block (result i32)
(block $label$break$L259
(if
(tee_local $10
(i32.load
(i32.const 200)
)
)
(block
(set_local $16
(i32.const 624)
)
(loop $while-in34
(block $while-out33
(if
(if (result i32)
(i32.le_u
(tee_local $26
(i32.load
(get_local $16)
)
)
(get_local $10)
)
(i32.gt_u
(i32.add
(get_local $26)
(i32.load
(tee_local $8
(i32.add
(get_local $16)
(i32.const 4)
)
)
)
)
(get_local $10)
)
(i32.const 0)
)
(block
(set_local $6
(get_local $16)
)
(set_local $1
(get_local $8)
)
(br $while-out33)
)
)
(br_if $while-in34
(tee_local $16
(i32.load offset=8
(get_local $16)
)
)
)
(set_local $7
(i32.const 173)
)
(br $label$break$L259)
)
)
(if
(i32.lt_u
(tee_local $16
(i32.and
(i32.sub
(get_local $21)
(i32.load
(i32.const 188)
)
)
(get_local $23)
)
)
(i32.const 2147483647)
)
(if
(i32.eq
(tee_local $8
(call $_sbrk
(get_local $16)
)
)
(i32.add
(i32.load
(get_local $6)
)
(i32.load
(get_local $1)
)
)
)
(if
(i32.ne
(get_local $8)
(i32.const -1)
)
(block
(set_local $20
(get_local $8)
)
(set_local $22
(get_local $16)
)
(br $label$break$L257
(i32.const 193)
)
)
)
(block
(set_local $13
(get_local $8)
)
(set_local $18
(get_local $16)
)
(set_local $7
(i32.const 183)
)
)
)
)
)
(set_local $7
(i32.const 173)
)
)
)
(block $do-once35
(if
(if (result i32)
(i32.eq
(get_local $7)
(i32.const 173)
)
(i32.ne
(tee_local $10
(call $_sbrk
(i32.const 0)
)
)
(i32.const -1)
)
(i32.const 0)
)
(block
(set_local $0
(if (result i32)
(i32.and
(tee_local $8
(i32.add
(tee_local $16
(i32.load
(i32.const 652)
)
)
(i32.const -1)
)
)
(tee_local $2
(get_local $10)
)
)
(i32.add
(i32.sub
(get_local $3)
(get_local $2)
)
(i32.and
(i32.add
(get_local $8)
(get_local $2)
)
(i32.sub
(i32.const 0)
(get_local $16)
)
)
)
(get_local $3)
)
)
(set_local $2
(i32.add
(tee_local $16
(i32.load
(i32.const 608)
)
)
(get_local $0)
)
)
(if
(i32.and
(i32.gt_u
(get_local $0)
(get_local $9)
)
(i32.lt_u
(get_local $0)
(i32.const 2147483647)
)
)
(block
(br_if $do-once35
(select
(i32.or
(i32.le_u
(get_local $2)
(get_local $16)
)
(i32.gt_u
(get_local $2)
(tee_local $8
(i32.load
(i32.const 616)
)
)
)
)
(i32.const 0)
(get_local $8)
)
)
(if
(i32.eq
(tee_local $8
(call $_sbrk
(get_local $0)
)
)
(get_local $10)
)
(block
(set_local $20
(get_local $10)
)
(set_local $22
(get_local $0)
)
(br $label$break$L257
(i32.const 193)
)
)
(block
(set_local $13
(get_local $8)
)
(set_local $18
(get_local $0)
)
(set_local $7
(i32.const 183)
)
)
)
)
)
)
)
)
(block $label$break$L279
(if
(i32.eq
(get_local $7)
(i32.const 183)
)
(block
(set_local $8
(i32.sub
(i32.const 0)
(get_local $18)
)
)
(if
(if (result i32)
(i32.and
(i32.gt_u
(get_local $14)
(get_local $18)
)
(i32.and
(i32.lt_u
(get_local $18)
(i32.const 2147483647)
)
(i32.ne
(get_local $13)
(i32.const -1)
)
)
)
(i32.lt_u
(tee_local $2
(i32.and
(i32.add
(i32.sub
(get_local $12)
(get_local $18)
)
(tee_local $10
(i32.load
(i32.const 656)
)
)
)
(i32.sub
(i32.const 0)
(get_local $10)
)
)
)
(i32.const 2147483647)
)
(i32.const 0)
)
(if
(i32.eq
(call $_sbrk
(get_local $2)
)
(i32.const -1)
)
(block
(drop
(call $_sbrk
(get_local $8)
)
)
(br $label$break$L279)
)
(set_local $4
(i32.add
(get_local $2)
(get_local $18)
)
)
)
(set_local $4
(get_local $18)
)
)
(if
(i32.ne
(get_local $13)
(i32.const -1)
)
(block
(set_local $20
(get_local $13)
)
(set_local $22
(get_local $4)
)
(br $label$break$L257
(i32.const 193)
)
)
)
)
)
)
(i32.store
(i32.const 620)
(i32.or
(i32.load
(i32.const 620)
)
(i32.const 4)
)
)
(i32.const 190)
)
)
)
)
(i32.const 190)
)
)
(i32.and
(i32.lt_u
(tee_local $4
(call $_sbrk
(get_local $3)
)
)
(tee_local $3
(call $_sbrk
(i32.const 0)
)
)
)
(i32.and
(i32.ne
(get_local $4)
(i32.const -1)
)
(i32.ne
(get_local $3)
(i32.const -1)
)
)
)
(i32.const 0)
)
(i32.gt_u
(tee_local $13
(i32.sub
(get_local $3)
(get_local $4)
)
)
(i32.add
(get_local $9)
(i32.const 40)
)
)
(i32.const 0)
)
(block
(set_local $20
(get_local $4)
)
(set_local $22
(get_local $13)
)
(set_local $7
(i32.const 193)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 193)
)
(block
(i32.store
(i32.const 608)
(tee_local $13
(i32.add
(i32.load
(i32.const 608)
)
(get_local $22)
)
)
)
(if
(i32.gt_u
(get_local $13)
(i32.load
(i32.const 612)
)
)
(i32.store
(i32.const 612)
(get_local $13)
)
)
(block $do-once40
(if
(tee_local $13
(i32.load
(i32.const 200)
)
)
(block
(set_local $4
(i32.const 624)
)
(loop $do-in
(block $do-out
(if
(i32.eq
(get_local $20)
(i32.add
(tee_local $3
(i32.load
(get_local $4)
)
)
(tee_local $12
(i32.load
(tee_local $18
(i32.add
(get_local $4)
(i32.const 4)
)
)
)
)
)
)
(block
(set_local $46
(get_local $3)
)
(set_local $47
(get_local $18)
)
(set_local $48
(get_local $12)
)
(set_local $49
(get_local $4)
)
(set_local $7
(i32.const 203)
)
(br $do-out)
)
)
(br_if $do-in
(tee_local $4
(i32.load offset=8
(get_local $4)
)
)
)
)
)
(if
(select
(i32.and
(i32.lt_u
(get_local $13)
(get_local $20)
)
(i32.ge_u
(get_local $13)
(get_local $46)
)
)
(i32.const 0)
(select
(i32.eqz
(i32.and
(i32.load offset=12
(get_local $49)
)
(i32.const 8)
)
)
(i32.const 0)
(i32.eq
(get_local $7)
(i32.const 203)
)
)
)
(block
(i32.store
(get_local $47)
(i32.add
(get_local $48)
(get_local $22)
)
)
(set_local $4
(i32.add
(get_local $13)
(tee_local $12
(select
(i32.and
(i32.sub
(i32.const 0)
(tee_local $4
(i32.add
(get_local $13)
(i32.const 8)
)
)
)
(i32.const 7)
)
(i32.const 0)
(i32.and
(get_local $4)
(i32.const 7)
)
)
)
)
)
(set_local $18
(i32.add
(i32.sub
(get_local $22)
(get_local $12)
)
(i32.load
(i32.const 188)
)
)
)
(i32.store
(i32.const 200)
(get_local $4)
)
(i32.store
(i32.const 188)
(get_local $18)
)
(i32.store offset=4
(get_local $4)
(i32.or
(get_local $18)
(i32.const 1)
)
)
(i32.store offset=4
(i32.add
(get_local $4)
(get_local $18)
)
(i32.const 40)
)
(i32.store
(i32.const 204)
(i32.load
(i32.const 664)
)
)
(br $do-once40)
)
)
(set_local $5
(if (result i32)
(i32.lt_u
(get_local $20)
(tee_local $18
(i32.load
(i32.const 192)
)
)
)
(block (result i32)
(i32.store
(i32.const 192)
(get_local $20)
)
(get_local $20)
)
(get_local $18)
)
)
(set_local $18
(i32.add
(get_local $20)
(get_local $22)
)
)
(set_local $4
(i32.const 624)
)
(loop $while-in43
(block $while-out42
(if
(i32.eq
(i32.load
(get_local $4)
)
(get_local $18)
)
(block
(set_local $50
(get_local $4)
)
(set_local $40
(get_local $4)
)
(set_local $7
(i32.const 211)
)
(br $while-out42)
)
)
(br_if $while-in43
(tee_local $4
(i32.load offset=8
(get_local $4)
)
)
)
(set_local $28
(i32.const 624)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 211)
)
(if
(i32.and
(i32.load offset=12
(get_local $40)
)
(i32.const 8)
)
(set_local $28
(i32.const 624)
)
(block
(i32.store
(get_local $50)
(get_local $20)
)
(i32.store
(tee_local $4
(i32.add
(get_local $40)
(i32.const 4)
)
)
(i32.add
(i32.load
(get_local $4)
)
(get_local $22)
)
)
(set_local $12
(i32.add
(get_local $20)
(select
(i32.and
(i32.sub
(i32.const 0)
(tee_local $4
(i32.add
(get_local $20)
(i32.const 8)
)
)
)
(i32.const 7)
)
(i32.const 0)
(i32.and
(get_local $4)
(i32.const 7)
)
)
)
)
(set_local $3
(i32.add
(get_local $18)
(select
(i32.and
(i32.sub
(i32.const 0)
(tee_local $4
(i32.add
(get_local $18)
(i32.const 8)
)
)
)
(i32.const 7)
)
(i32.const 0)
(i32.and
(get_local $4)
(i32.const 7)
)
)
)
)
(set_local $4
(i32.add
(get_local $12)
(get_local $9)
)
)
(set_local $14
(i32.sub
(i32.sub
(get_local $3)
(get_local $12)
)
(get_local $9)
)
)
(i32.store offset=4
(get_local $12)
(i32.or
(get_local $9)
(i32.const 3)
)
)
(block $do-once44
(if
(i32.ne
(get_local $3)
(get_local $13)
)
(block
(if
(i32.eq
(get_local $3)
(i32.load
(i32.const 196)
)
)
(block
(i32.store
(i32.const 184)
(tee_local $0
(i32.add
(i32.load
(i32.const 184)
)
(get_local $14)
)
)
)
(i32.store
(i32.const 196)
(get_local $4)
)
(i32.store offset=4
(get_local $4)
(i32.or
(get_local $0)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $4)
(get_local $0)
)
(get_local $0)
)
(br $do-once44)
)
)
(if
(i32.eq
(i32.and
(tee_local $0
(i32.load offset=4
(get_local $3)
)
)
(i32.const 3)
)
(i32.const 1)
)
(block
(set_local $1
(i32.and
(get_local $0)
(i32.const -8)
)
)
(set_local $6
(i32.shr_u
(get_local $0)
(i32.const 3)
)
)
(block $label$break$L331
(if
(i32.ge_u
(get_local $0)
(i32.const 256)
)
(block
(set_local $23
(i32.load offset=24
(get_local $3)
)
)
(block $do-once47
(if
(i32.eq
(tee_local $21
(i32.load offset=12
(get_local $3)
)
)
(get_local $3)
)
(block
(if
(tee_local $10
(i32.load
(tee_local $2
(i32.add
(tee_local $8
(i32.add
(get_local $3)
(i32.const 16)
)
)
(i32.const 4)
)
)
)
)
(block
(set_local $0
(get_local $10)
)
(set_local $8
(get_local $2)
)
)
(if
(tee_local $16
(i32.load
(get_local $8)
)
)
(set_local $0
(get_local $16)
)
(br $do-once47)
)
)
(loop $while-in50
(if
(tee_local $10
(i32.load
(tee_local $2
(i32.add
(get_local $0)
(i32.const 20)
)
)
)
)
(block
(set_local $0
(get_local $10)
)
(set_local $8
(get_local $2)
)
(br $while-in50)
)
)
(if
(tee_local $10
(i32.load
(tee_local $2
(i32.add
(get_local $0)
(i32.const 16)
)
)
)
)
(block
(set_local $0
(get_local $10)
)
(set_local $8
(get_local $2)
)
(br $while-in50)
)
)
)
(if
(i32.lt_u
(get_local $8)
(get_local $5)
)
(call $_abort)
(block
(i32.store
(get_local $8)
(i32.const 0)
)
(set_local $24
(get_local $0)
)
)
)
)
(block
(if
(i32.lt_u
(tee_local $2
(i32.load offset=8
(get_local $3)
)
)
(get_local $5)
)
(call $_abort)
)
(if
(i32.ne
(i32.load
(tee_local $10
(i32.add
(get_local $2)
(i32.const 12)
)
)
)
(get_local $3)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $8
(i32.add
(get_local $21)
(i32.const 8)
)
)
)
(get_local $3)
)
(block
(i32.store
(get_local $10)
(get_local $21)
)
(i32.store
(get_local $8)
(get_local $2)
)
(set_local $24
(get_local $21)
)
)
(call $_abort)
)
)
)
)
(br_if $label$break$L331
(i32.eqz
(get_local $23)
)
)
(block $do-once51
(if
(i32.ne
(get_local $3)
(i32.load
(tee_local $2
(i32.add
(i32.shl
(tee_local $21
(i32.load offset=28
(get_local $3)
)
)
(i32.const 2)
)
(i32.const 480)
)
)
)
)
(block
(if
(i32.lt_u
(get_local $23)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $8
(i32.add
(get_local $23)
(i32.const 16)
)
)
)
(get_local $3)
)
(i32.store
(get_local $8)
(get_local $24)
)
(i32.store offset=20
(get_local $23)
(get_local $24)
)
)
(br_if $label$break$L331
(i32.eqz
(get_local $24)
)
)
)
(block
(i32.store
(get_local $2)
(get_local $24)
)
(br_if $do-once51
(get_local $24)
)
(i32.store
(i32.const 180)
(i32.and
(i32.load
(i32.const 180)
)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $21)
)
(i32.const -1)
)
)
)
(br $label$break$L331)
)
)
)
(if
(i32.lt_u
(get_local $24)
(tee_local $21
(i32.load
(i32.const 192)
)
)
)
(call $_abort)
)
(i32.store offset=24
(get_local $24)
(get_local $23)
)
(if
(tee_local $8
(i32.load
(tee_local $2
(i32.add
(get_local $3)
(i32.const 16)
)
)
)
)
(if
(i32.lt_u
(get_local $8)
(get_local $21)
)
(call $_abort)
(block
(i32.store offset=16
(get_local $24)
(get_local $8)
)
(i32.store offset=24
(get_local $8)
(get_local $24)
)
)
)
)
(br_if $label$break$L331
(i32.eqz
(tee_local $8
(i32.load offset=4
(get_local $2)
)
)
)
)
(if
(i32.lt_u
(get_local $8)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store offset=20
(get_local $24)
(get_local $8)
)
(i32.store offset=24
(get_local $8)
(get_local $24)
)
)
)
)
(block
(set_local $21
(i32.load offset=12
(get_local $3)
)
)
(block $do-once55
(if
(i32.ne
(tee_local $8
(i32.load offset=8
(get_local $3)
)
)
(tee_local $23
(i32.add
(i32.shl
(get_local $6)
(i32.const 3)
)
(i32.const 216)
)
)
)
(block
(if
(i32.lt_u
(get_local $8)
(get_local $5)
)
(call $_abort)
)
(br_if $do-once55
(i32.eq
(i32.load offset=12
(get_local $8)
)
(get_local $3)
)
)
(call $_abort)
)
)
)
(if
(i32.eq
(get_local $21)
(get_local $8)
)
(block
(i32.store
(i32.const 176)
(i32.and
(i32.load
(i32.const 176)
)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $6)
)
(i32.const -1)
)
)
)
(br $label$break$L331)
)
)
(block $do-once57
(if
(i32.eq
(get_local $21)
(get_local $23)
)
(set_local $41
(i32.add
(get_local $21)
(i32.const 8)
)
)
(block
(if
(i32.lt_u
(get_local $21)
(get_local $5)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $2
(i32.add
(get_local $21)
(i32.const 8)
)
)
)
(get_local $3)
)
(block
(set_local $41
(get_local $2)
)
(br $do-once57)
)
)
(call $_abort)
)
)
)
(i32.store offset=12
(get_local $8)
(get_local $21)
)
(i32.store
(get_local $41)
(get_local $8)
)
)
)
)
(set_local $3
(i32.add
(get_local $3)
(get_local $1)
)
)
(set_local $14
(i32.add
(get_local $1)
(get_local $14)
)
)
)
)
(i32.store
(tee_local $6
(i32.add
(get_local $3)
(i32.const 4)
)
)
(i32.and
(i32.load
(get_local $6)
)
(i32.const -2)
)
)
(i32.store offset=4
(get_local $4)
(i32.or
(get_local $14)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $4)
(get_local $14)
)
(get_local $14)
)
(set_local $6
(i32.shr_u
(get_local $14)
(i32.const 3)
)
)
(if
(i32.lt_u
(get_local $14)
(i32.const 256)
)
(block
(set_local $0
(i32.add
(i32.shl
(get_local $6)
(i32.const 3)
)
(i32.const 216)
)
)
(block $do-once59
(if
(i32.and
(tee_local $23
(i32.load
(i32.const 176)
)
)
(tee_local $2
(i32.shl
(i32.const 1)
(get_local $6)
)
)
)
(block
(if
(i32.ge_u
(tee_local $10
(i32.load
(tee_local $6
(i32.add
(get_local $0)
(i32.const 8)
)
)
)
)
(i32.load
(i32.const 192)
)
)
(block
(set_local $42
(get_local $6)
)
(set_local $34
(get_local $10)
)
(br $do-once59)
)
)
(call $_abort)
)
(block
(i32.store
(i32.const 176)
(i32.or
(get_local $23)
(get_local $2)
)
)
(set_local $42
(i32.add
(get_local $0)
(i32.const 8)
)
)
(set_local $34
(get_local $0)
)
)
)
)
(i32.store
(get_local $42)
(get_local $4)
)
(i32.store offset=12
(get_local $34)
(get_local $4)
)
(i32.store offset=8
(get_local $4)
(get_local $34)
)
(i32.store offset=12
(get_local $4)
(get_local $0)
)
(br $do-once44)
)
)
(set_local $2
(i32.add
(i32.shl
(tee_local $1
(block $do-once61 (result i32)
(if (result i32)
(tee_local $2
(i32.shr_u
(get_local $14)
(i32.const 8)
)
)
(block (result i32)
(drop
(br_if $do-once61
(i32.const 31)
(i32.gt_u
(get_local $14)
(i32.const 16777215)
)
)
)
(i32.or
(i32.and
(i32.shr_u
(get_local $14)
(i32.add
(tee_local $16
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
(tee_local $10
(i32.and
(i32.shr_u
(i32.add
(tee_local $1
(i32.shl
(get_local $2)
(tee_local $23
(i32.and
(i32.shr_u
(i32.add
(get_local $2)
(i32.const 1048320)
)
(i32.const 16)
)
(i32.const 8)
)
)
)
)
(i32.const 520192)
)
(i32.const 16)
)
(i32.const 4)
)
)
(get_local $23)
)
(tee_local $1
(i32.and
(i32.shr_u
(i32.add
(tee_local $6
(i32.shl
(get_local $1)
(get_local $10)
)
)
(i32.const 245760)
)
(i32.const 16)
)
(i32.const 2)
)
)
)
)
(i32.shr_u
(i32.shl
(get_local $6)
(get_local $1)
)
(i32.const 15)
)
)
)
(i32.const 7)
)
)
(i32.const 1)
)
(i32.shl
(get_local $16)
(i32.const 1)
)
)
)
(i32.const 0)
)
)
)
(i32.const 2)
)
(i32.const 480)
)
)
(i32.store offset=28
(get_local $4)
(get_local $1)
)
(i32.store offset=4
(tee_local $0
(i32.add
(get_local $4)
(i32.const 16)
)
)
(i32.const 0)
)
(i32.store
(get_local $0)
(i32.const 0)
)
(if
(i32.eqz
(i32.and
(tee_local $0
(i32.load
(i32.const 180)
)
)
(tee_local $16
(i32.shl
(i32.const 1)
(get_local $1)
)
)
)
)
(block
(i32.store
(i32.const 180)
(i32.or
(get_local $0)
(get_local $16)
)
)
(i32.store
(get_local $2)
(get_local $4)
)
(i32.store offset=24
(get_local $4)
(get_local $2)
)
(i32.store offset=12
(get_local $4)
(get_local $4)
)
(i32.store offset=8
(get_local $4)
(get_local $4)
)
(br $do-once44)
)
)
(set_local $16
(i32.shl
(get_local $14)
(select
(i32.const 0)
(i32.sub
(i32.const 25)
(i32.shr_u
(get_local $1)
(i32.const 1)
)
)
(i32.eq
(get_local $1)
(i32.const 31)
)
)
)
)
(set_local $0
(i32.load
(get_local $2)
)
)
(loop $while-in64
(block $while-out63
(if
(i32.eq
(i32.and
(i32.load offset=4
(get_local $0)
)
(i32.const -8)
)
(get_local $14)
)
(block
(set_local $35
(get_local $0)
)
(set_local $7
(i32.const 281)
)
(br $while-out63)
)
)
(if
(tee_local $1
(i32.load
(tee_local $2
(i32.add
(i32.add
(get_local $0)
(i32.const 16)
)
(i32.shl
(i32.shr_u
(get_local $16)
(i32.const 31)
)
(i32.const 2)
)
)
)
)
)
(block
(set_local $16
(i32.shl
(get_local $16)
(i32.const 1)
)
)
(set_local $0
(get_local $1)
)
(br $while-in64)
)
(block
(set_local $43
(get_local $2)
)
(set_local $51
(get_local $0)
)
(set_local $7
(i32.const 278)
)
)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 278)
)
(if
(i32.lt_u
(get_local $43)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store
(get_local $43)
(get_local $4)
)
(i32.store offset=24
(get_local $4)
(get_local $51)
)
(i32.store offset=12
(get_local $4)
(get_local $4)
)
(i32.store offset=8
(get_local $4)
(get_local $4)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 281)
)
(if
(i32.and
(i32.ge_u
(tee_local $16
(i32.load
(tee_local $0
(i32.add
(get_local $35)
(i32.const 8)
)
)
)
)
(tee_local $1
(i32.load
(i32.const 192)
)
)
)
(i32.ge_u
(get_local $35)
(get_local $1)
)
)
(block
(i32.store offset=12
(get_local $16)
(get_local $4)
)
(i32.store
(get_local $0)
(get_local $4)
)
(i32.store offset=8
(get_local $4)
(get_local $16)
)
(i32.store offset=12
(get_local $4)
(get_local $35)
)
(i32.store offset=24
(get_local $4)
(i32.const 0)
)
)
(call $_abort)
)
)
)
)
(block
(i32.store
(i32.const 188)
(tee_local $16
(i32.add
(i32.load
(i32.const 188)
)
(get_local $14)
)
)
)
(i32.store
(i32.const 200)
(get_local $4)
)
(i32.store offset=4
(get_local $4)
(i32.or
(get_local $16)
(i32.const 1)
)
)
)
)
)
(return
(i32.add
(get_local $12)
(i32.const 8)
)
)
)
)
)
(loop $while-in66
(if
(if (result i32)
(i32.le_u
(tee_local $4
(i32.load
(get_local $28)
)
)
(get_local $13)
)
(i32.gt_u
(tee_local $14
(i32.add
(get_local $4)
(i32.load offset=4
(get_local $28)
)
)
)
(get_local $13)
)
(i32.const 0)
)
(set_local $0
(get_local $14)
)
(block
(set_local $28
(i32.load offset=8
(get_local $28)
)
)
(br $while-in66)
)
)
)
(set_local $14
(i32.add
(tee_local $12
(i32.add
(get_local $0)
(i32.const -47)
)
)
(i32.const 8)
)
)
(set_local $4
(i32.add
(tee_local $12
(select
(get_local $13)
(tee_local $4
(i32.add
(get_local $12)
(select
(i32.and
(i32.sub
(i32.const 0)
(get_local $14)
)
(i32.const 7)
)
(i32.const 0)
(i32.and
(get_local $14)
(i32.const 7)
)
)
)
)
(i32.lt_u
(get_local $4)
(tee_local $14
(i32.add
(get_local $13)
(i32.const 16)
)
)
)
)
)
(i32.const 8)
)
)
(i32.store
(i32.const 200)
(tee_local $3
(i32.add
(get_local $20)
(tee_local $18
(select
(i32.and
(i32.sub
(i32.const 0)
(tee_local $3
(i32.add
(get_local $20)
(i32.const 8)
)
)
)
(i32.const 7)
)
(i32.const 0)
(i32.and
(get_local $3)
(i32.const 7)
)
)
)
)
)
)
(i32.store
(i32.const 188)
(tee_local $16
(i32.sub
(i32.add
(get_local $22)
(i32.const -40)
)
(get_local $18)
)
)
)
(i32.store offset=4
(get_local $3)
(i32.or
(get_local $16)
(i32.const 1)
)
)
(i32.store offset=4
(i32.add
(get_local $3)
(get_local $16)
)
(i32.const 40)
)
(i32.store
(i32.const 204)
(i32.load
(i32.const 664)
)
)
(i32.store
(tee_local $16
(i32.add
(get_local $12)
(i32.const 4)
)
)
(i32.const 27)
)
(i32.store
(get_local $4)
(i32.load
(i32.const 624)
)
)
(i32.store offset=4
(get_local $4)
(i32.load
(i32.const 628)
)
)
(i32.store offset=8
(get_local $4)
(i32.load
(i32.const 632)
)
)
(i32.store offset=12
(get_local $4)
(i32.load
(i32.const 636)
)
)
(i32.store
(i32.const 624)
(get_local $20)
)
(i32.store
(i32.const 628)
(get_local $22)
)
(i32.store
(i32.const 636)
(i32.const 0)
)
(i32.store
(i32.const 632)
(get_local $4)
)
(set_local $4
(i32.add
(get_local $12)
(i32.const 24)
)
)
(loop $do-in68
(i32.store
(tee_local $4
(i32.add
(get_local $4)
(i32.const 4)
)
)
(i32.const 7)
)
(br_if $do-in68
(i32.lt_u
(i32.add
(get_local $4)
(i32.const 4)
)
(get_local $0)
)
)
)
(if
(i32.ne
(get_local $12)
(get_local $13)
)
(block
(i32.store
(get_local $16)
(i32.and
(i32.load
(get_local $16)
)
(i32.const -2)
)
)
(i32.store offset=4
(get_local $13)
(i32.or
(tee_local $4
(i32.sub
(get_local $12)
(get_local $13)
)
)
(i32.const 1)
)
)
(i32.store
(get_local $12)
(get_local $4)
)
(set_local $3
(i32.shr_u
(get_local $4)
(i32.const 3)
)
)
(if
(i32.lt_u
(get_local $4)
(i32.const 256)
)
(block
(set_local $18
(i32.add
(i32.shl
(get_local $3)
(i32.const 3)
)
(i32.const 216)
)
)
(if
(i32.and
(tee_local $0
(i32.load
(i32.const 176)
)
)
(tee_local $1
(i32.shl
(i32.const 1)
(get_local $3)
)
)
)
(if
(i32.lt_u
(tee_local $2
(i32.load
(tee_local $3
(i32.add
(get_local $18)
(i32.const 8)
)
)
)
)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(set_local $44
(get_local $3)
)
(set_local $36
(get_local $2)
)
)
)
(block
(i32.store
(i32.const 176)
(i32.or
(get_local $0)
(get_local $1)
)
)
(set_local $44
(i32.add
(get_local $18)
(i32.const 8)
)
)
(set_local $36
(get_local $18)
)
)
)
(i32.store
(get_local $44)
(get_local $13)
)
(i32.store offset=12
(get_local $36)
(get_local $13)
)
(i32.store offset=8
(get_local $13)
(get_local $36)
)
(i32.store offset=12
(get_local $13)
(get_local $18)
)
(br $do-once40)
)
)
(set_local $3
(i32.add
(i32.shl
(tee_local $1
(if (result i32)
(tee_local $18
(i32.shr_u
(get_local $4)
(i32.const 8)
)
)
(if (result i32)
(i32.gt_u
(get_local $4)
(i32.const 16777215)
)
(i32.const 31)
(i32.or
(i32.and
(i32.shr_u
(get_local $4)
(i32.add
(tee_local $3
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
(tee_local $18
(i32.and
(i32.shr_u
(i32.add
(tee_local $0
(i32.shl
(get_local $18)
(tee_local $1
(i32.and
(i32.shr_u
(i32.add
(get_local $18)
(i32.const 1048320)
)
(i32.const 16)
)
(i32.const 8)
)
)
)
)
(i32.const 520192)
)
(i32.const 16)
)
(i32.const 4)
)
)
(get_local $1)
)
(tee_local $0
(i32.and
(i32.shr_u
(i32.add
(tee_local $2
(i32.shl
(get_local $0)
(get_local $18)
)
)
(i32.const 245760)
)
(i32.const 16)
)
(i32.const 2)
)
)
)
)
(i32.shr_u
(i32.shl
(get_local $2)
(get_local $0)
)
(i32.const 15)
)
)
)
(i32.const 7)
)
)
(i32.const 1)
)
(i32.shl
(get_local $3)
(i32.const 1)
)
)
)
(i32.const 0)
)
)
(i32.const 2)
)
(i32.const 480)
)
)
(i32.store offset=28
(get_local $13)
(get_local $1)
)
(i32.store offset=20
(get_local $13)
(i32.const 0)
)
(i32.store
(get_local $14)
(i32.const 0)
)
(if
(i32.eqz
(i32.and
(tee_local $0
(i32.load
(i32.const 180)
)
)
(tee_local $2
(i32.shl
(i32.const 1)
(get_local $1)
)
)
)
)
(block
(i32.store
(i32.const 180)
(i32.or
(get_local $0)
(get_local $2)
)
)
(i32.store
(get_local $3)
(get_local $13)
)
(i32.store offset=24
(get_local $13)
(get_local $3)
)
(i32.store offset=12
(get_local $13)
(get_local $13)
)
(i32.store offset=8
(get_local $13)
(get_local $13)
)
(br $do-once40)
)
)
(set_local $2
(i32.shl
(get_local $4)
(select
(i32.const 0)
(i32.sub
(i32.const 25)
(i32.shr_u
(get_local $1)
(i32.const 1)
)
)
(i32.eq
(get_local $1)
(i32.const 31)
)
)
)
)
(set_local $0
(i32.load
(get_local $3)
)
)
(loop $while-in70
(block $while-out69
(if
(i32.eq
(i32.and
(i32.load offset=4
(get_local $0)
)
(i32.const -8)
)
(get_local $4)
)
(block
(set_local $37
(get_local $0)
)
(set_local $7
(i32.const 307)
)
(br $while-out69)
)
)
(if
(tee_local $1
(i32.load
(tee_local $3
(i32.add
(i32.add
(get_local $0)
(i32.const 16)
)
(i32.shl
(i32.shr_u
(get_local $2)
(i32.const 31)
)
(i32.const 2)
)
)
)
)
)
(block
(set_local $2
(i32.shl
(get_local $2)
(i32.const 1)
)
)
(set_local $0
(get_local $1)
)
(br $while-in70)
)
(block
(set_local $45
(get_local $3)
)
(set_local $52
(get_local $0)
)
(set_local $7
(i32.const 304)
)
)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 304)
)
(if
(i32.lt_u
(get_local $45)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store
(get_local $45)
(get_local $13)
)
(i32.store offset=24
(get_local $13)
(get_local $52)
)
(i32.store offset=12
(get_local $13)
(get_local $13)
)
(i32.store offset=8
(get_local $13)
(get_local $13)
)
)
)
(if
(i32.eq
(get_local $7)
(i32.const 307)
)
(if
(i32.and
(i32.ge_u
(tee_local $2
(i32.load
(tee_local $0
(i32.add
(get_local $37)
(i32.const 8)
)
)
)
)
(tee_local $4
(i32.load
(i32.const 192)
)
)
)
(i32.ge_u
(get_local $37)
(get_local $4)
)
)
(block
(i32.store offset=12
(get_local $2)
(get_local $13)
)
(i32.store
(get_local $0)
(get_local $13)
)
(i32.store offset=8
(get_local $13)
(get_local $2)
)
(i32.store offset=12
(get_local $13)
(get_local $37)
)
(i32.store offset=24
(get_local $13)
(i32.const 0)
)
)
(call $_abort)
)
)
)
)
)
)
(block
(if
(i32.or
(i32.eqz
(tee_local $2
(i32.load
(i32.const 192)
)
)
)
(i32.lt_u
(get_local $20)
(get_local $2)
)
)
(i32.store
(i32.const 192)
(get_local $20)
)
)
(i32.store
(i32.const 624)
(get_local $20)
)
(i32.store
(i32.const 628)
(get_local $22)
)
(i32.store
(i32.const 636)
(i32.const 0)
)
(i32.store
(i32.const 212)
(i32.load
(i32.const 648)
)
)
(i32.store
(i32.const 208)
(i32.const -1)
)
(set_local $2
(i32.const 0)
)
(loop $do-in72
(i32.store offset=12
(tee_local $0
(i32.add
(i32.shl
(get_local $2)
(i32.const 3)
)
(i32.const 216)
)
)
(get_local $0)
)
(i32.store offset=8
(get_local $0)
(get_local $0)
)
(br_if $do-in72
(i32.ne
(tee_local $2
(i32.add
(get_local $2)
(i32.const 1)
)
)
(i32.const 32)
)
)
)
(i32.store
(i32.const 200)
(tee_local $2
(i32.add
(get_local $20)
(tee_local $0
(select
(i32.and
(i32.sub
(i32.const 0)
(tee_local $2
(i32.add
(get_local $20)
(i32.const 8)
)
)
)
(i32.const 7)
)
(i32.const 0)
(i32.and
(get_local $2)
(i32.const 7)
)
)
)
)
)
)
(i32.store
(i32.const 188)
(tee_local $4
(i32.sub
(i32.add
(get_local $22)
(i32.const -40)
)
(get_local $0)
)
)
)
(i32.store offset=4
(get_local $2)
(i32.or
(get_local $4)
(i32.const 1)
)
)
(i32.store offset=4
(i32.add
(get_local $2)
(get_local $4)
)
(i32.const 40)
)
(i32.store
(i32.const 204)
(i32.load
(i32.const 664)
)
)
)
)
)
(if
(i32.gt_u
(tee_local $22
(i32.load
(i32.const 188)
)
)
(get_local $9)
)
(block
(i32.store
(i32.const 188)
(tee_local $20
(i32.sub
(get_local $22)
(get_local $9)
)
)
)
(i32.store
(i32.const 200)
(tee_local $13
(i32.add
(tee_local $22
(i32.load
(i32.const 200)
)
)
(get_local $9)
)
)
)
(i32.store offset=4
(get_local $13)
(i32.or
(get_local $20)
(i32.const 1)
)
)
(i32.store offset=4
(get_local $22)
(i32.or
(get_local $9)
(i32.const 3)
)
)
(return
(i32.add
(get_local $22)
(i32.const 8)
)
)
)
)
)
)
(i32.store
(call $___errno_location)
(i32.const 12)
)
(i32.const 0)
)
(func $_free (; 16 ;) (param $0 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)
(local $9 i32)
(local $10 i32)
(local $11 i32)
(local $12 i32)
(local $13 i32)
(local $14 i32)
(local $15 i32)
(local $16 i32)
(local $17 i32)
(local $18 i32)
(local $19 i32)
(if
(i32.eqz
(get_local $0)
)
(return)
)
(if
(i32.lt_u
(tee_local $1
(i32.add
(get_local $0)
(i32.const -8)
)
)
(tee_local $14
(i32.load
(i32.const 192)
)
)
)
(call $_abort)
)
(if
(i32.eq
(tee_local $0
(i32.and
(tee_local $4
(i32.load
(i32.add
(get_local $0)
(i32.const -4)
)
)
)
(i32.const 3)
)
)
(i32.const 1)
)
(call $_abort)
)
(set_local $8
(i32.add
(get_local $1)
(tee_local $5
(i32.and
(get_local $4)
(i32.const -8)
)
)
)
)
(block $do-once
(if
(i32.and
(get_local $4)
(i32.const 1)
)
(block
(set_local $2
(get_local $1)
)
(set_local $3
(get_local $5)
)
)
(block
(set_local $11
(i32.load
(get_local $1)
)
)
(if
(i32.eqz
(get_local $0)
)
(return)
)
(set_local $5
(i32.add
(get_local $11)
(get_local $5)
)
)
(if
(i32.lt_u
(tee_local $1
(i32.add
(get_local $1)
(i32.sub
(i32.const 0)
(get_local $11)
)
)
)
(get_local $14)
)
(call $_abort)
)
(if
(i32.eq
(get_local $1)
(i32.load
(i32.const 196)
)
)
(block
(if
(i32.ne
(i32.and
(tee_local $7
(i32.load
(tee_local $0
(i32.add
(get_local $8)
(i32.const 4)
)
)
)
)
(i32.const 3)
)
(i32.const 3)
)
(block
(set_local $2
(get_local $1)
)
(set_local $3
(get_local $5)
)
(br $do-once)
)
)
(i32.store
(i32.const 184)
(get_local $5)
)
(i32.store
(get_local $0)
(i32.and
(get_local $7)
(i32.const -2)
)
)
(i32.store offset=4
(get_local $1)
(i32.or
(get_local $5)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $1)
(get_local $5)
)
(get_local $5)
)
(return)
)
)
(set_local $7
(i32.shr_u
(get_local $11)
(i32.const 3)
)
)
(if
(i32.lt_u
(get_local $11)
(i32.const 256)
)
(block
(set_local $0
(i32.load offset=12
(get_local $1)
)
)
(if
(i32.ne
(tee_local $11
(i32.load offset=8
(get_local $1)
)
)
(tee_local $4
(i32.add
(i32.shl
(get_local $7)
(i32.const 3)
)
(i32.const 216)
)
)
)
(block
(if
(i32.lt_u
(get_local $11)
(get_local $14)
)
(call $_abort)
)
(if
(i32.ne
(i32.load offset=12
(get_local $11)
)
(get_local $1)
)
(call $_abort)
)
)
)
(if
(i32.eq
(get_local $0)
(get_local $11)
)
(block
(i32.store
(i32.const 176)
(i32.and
(i32.load
(i32.const 176)
)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $7)
)
(i32.const -1)
)
)
)
(set_local $2
(get_local $1)
)
(set_local $3
(get_local $5)
)
(br $do-once)
)
)
(if
(i32.ne
(get_local $0)
(get_local $4)
)
(block
(if
(i32.lt_u
(get_local $0)
(get_local $14)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $4
(i32.add
(get_local $0)
(i32.const 8)
)
)
)
(get_local $1)
)
(set_local $10
(get_local $4)
)
(call $_abort)
)
)
(set_local $10
(i32.add
(get_local $0)
(i32.const 8)
)
)
)
(i32.store offset=12
(get_local $11)
(get_local $0)
)
(i32.store
(get_local $10)
(get_local $11)
)
(set_local $2
(get_local $1)
)
(set_local $3
(get_local $5)
)
(br $do-once)
)
)
(set_local $11
(i32.load offset=24
(get_local $1)
)
)
(block $do-once0
(if
(i32.eq
(tee_local $0
(i32.load offset=12
(get_local $1)
)
)
(get_local $1)
)
(block
(if
(tee_local $10
(i32.load
(tee_local $7
(i32.add
(tee_local $4
(i32.add
(get_local $1)
(i32.const 16)
)
)
(i32.const 4)
)
)
)
)
(block
(set_local $0
(get_local $10)
)
(set_local $4
(get_local $7)
)
)
(br_if $do-once0
(i32.eqz
(tee_local $0
(i32.load
(get_local $4)
)
)
)
)
)
(loop $while-in
(if
(tee_local $10
(i32.load
(tee_local $7
(i32.add
(get_local $0)
(i32.const 20)
)
)
)
)
(block
(set_local $0
(get_local $10)
)
(set_local $4
(get_local $7)
)
(br $while-in)
)
)
(if
(tee_local $10
(i32.load
(tee_local $7
(i32.add
(get_local $0)
(i32.const 16)
)
)
)
)
(block
(set_local $0
(get_local $10)
)
(set_local $4
(get_local $7)
)
(br $while-in)
)
(block
(set_local $7
(get_local $0)
)
(set_local $9
(get_local $4)
)
)
)
)
(if
(i32.lt_u
(get_local $9)
(get_local $14)
)
(call $_abort)
(block
(i32.store
(get_local $9)
(i32.const 0)
)
(set_local $6
(get_local $7)
)
)
)
)
(block
(if
(i32.lt_u
(tee_local $7
(i32.load offset=8
(get_local $1)
)
)
(get_local $14)
)
(call $_abort)
)
(if
(i32.ne
(i32.load
(tee_local $10
(i32.add
(get_local $7)
(i32.const 12)
)
)
)
(get_local $1)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $4
(i32.add
(get_local $0)
(i32.const 8)
)
)
)
(get_local $1)
)
(block
(i32.store
(get_local $10)
(get_local $0)
)
(i32.store
(get_local $4)
(get_local $7)
)
(set_local $6
(get_local $0)
)
)
(call $_abort)
)
)
)
)
(if
(get_local $11)
(block
(if
(i32.eq
(get_local $1)
(i32.load
(tee_local $7
(i32.add
(i32.shl
(tee_local $0
(i32.load offset=28
(get_local $1)
)
)
(i32.const 2)
)
(i32.const 480)
)
)
)
)
(block
(i32.store
(get_local $7)
(get_local $6)
)
(if
(i32.eqz
(get_local $6)
)
(block
(i32.store
(i32.const 180)
(i32.and
(i32.load
(i32.const 180)
)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $0)
)
(i32.const -1)
)
)
)
(set_local $2
(get_local $1)
)
(set_local $3
(get_local $5)
)
(br $do-once)
)
)
)
(block
(if
(i32.lt_u
(get_local $11)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $0
(i32.add
(get_local $11)
(i32.const 16)
)
)
)
(get_local $1)
)
(i32.store
(get_local $0)
(get_local $6)
)
(i32.store offset=20
(get_local $11)
(get_local $6)
)
)
(if
(i32.eqz
(get_local $6)
)
(block
(set_local $2
(get_local $1)
)
(set_local $3
(get_local $5)
)
(br $do-once)
)
)
)
)
(if
(i32.lt_u
(get_local $6)
(tee_local $0
(i32.load
(i32.const 192)
)
)
)
(call $_abort)
)
(i32.store offset=24
(get_local $6)
(get_local $11)
)
(if
(tee_local $4
(i32.load
(tee_local $7
(i32.add
(get_local $1)
(i32.const 16)
)
)
)
)
(if
(i32.lt_u
(get_local $4)
(get_local $0)
)
(call $_abort)
(block
(i32.store offset=16
(get_local $6)
(get_local $4)
)
(i32.store offset=24
(get_local $4)
(get_local $6)
)
)
)
)
(if
(tee_local $4
(i32.load offset=4
(get_local $7)
)
)
(if
(i32.lt_u
(get_local $4)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store offset=20
(get_local $6)
(get_local $4)
)
(i32.store offset=24
(get_local $4)
(get_local $6)
)
(set_local $2
(get_local $1)
)
(set_local $3
(get_local $5)
)
)
)
(block
(set_local $2
(get_local $1)
)
(set_local $3
(get_local $5)
)
)
)
)
(block
(set_local $2
(get_local $1)
)
(set_local $3
(get_local $5)
)
)
)
)
)
)
(if
(i32.ge_u
(get_local $2)
(get_local $8)
)
(call $_abort)
)
(if
(i32.eqz
(i32.and
(tee_local $1
(i32.load
(tee_local $5
(i32.add
(get_local $8)
(i32.const 4)
)
)
)
)
(i32.const 1)
)
)
(call $_abort)
)
(if
(i32.and
(get_local $1)
(i32.const 2)
)
(block
(i32.store
(get_local $5)
(i32.and
(get_local $1)
(i32.const -2)
)
)
(i32.store offset=4
(get_local $2)
(i32.or
(get_local $3)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $2)
(get_local $3)
)
(get_local $3)
)
(set_local $0
(get_local $3)
)
)
(block
(if
(i32.eq
(get_local $8)
(i32.load
(i32.const 200)
)
)
(block
(i32.store
(i32.const 188)
(tee_local $6
(i32.add
(i32.load
(i32.const 188)
)
(get_local $3)
)
)
)
(i32.store
(i32.const 200)
(get_local $2)
)
(i32.store offset=4
(get_local $2)
(i32.or
(get_local $6)
(i32.const 1)
)
)
(if
(i32.ne
(get_local $2)
(i32.load
(i32.const 196)
)
)
(return)
)
(i32.store
(i32.const 196)
(i32.const 0)
)
(i32.store
(i32.const 184)
(i32.const 0)
)
(return)
)
)
(if
(i32.eq
(get_local $8)
(i32.load
(i32.const 196)
)
)
(block
(i32.store
(i32.const 184)
(tee_local $6
(i32.add
(i32.load
(i32.const 184)
)
(get_local $3)
)
)
)
(i32.store
(i32.const 196)
(get_local $2)
)
(i32.store offset=4
(get_local $2)
(i32.or
(get_local $6)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $2)
(get_local $6)
)
(get_local $6)
)
(return)
)
)
(set_local $6
(i32.add
(i32.and
(get_local $1)
(i32.const -8)
)
(get_local $3)
)
)
(set_local $14
(i32.shr_u
(get_local $1)
(i32.const 3)
)
)
(block $do-once4
(if
(i32.ge_u
(get_local $1)
(i32.const 256)
)
(block
(set_local $7
(i32.load offset=24
(get_local $8)
)
)
(block $do-once6
(if
(i32.eq
(tee_local $9
(i32.load offset=12
(get_local $8)
)
)
(get_local $8)
)
(block
(if
(tee_local $10
(i32.load
(tee_local $0
(i32.add
(tee_local $4
(i32.add
(get_local $8)
(i32.const 16)
)
)
(i32.const 4)
)
)
)
)
(block
(set_local $3
(get_local $10)
)
(set_local $4
(get_local $0)
)
)
(if
(tee_local $0
(i32.load
(get_local $4)
)
)
(set_local $3
(get_local $0)
)
(br $do-once6)
)
)
(loop $while-in9
(if
(tee_local $10
(i32.load
(tee_local $0
(i32.add
(get_local $3)
(i32.const 20)
)
)
)
)
(block
(set_local $3
(get_local $10)
)
(set_local $4
(get_local $0)
)
(br $while-in9)
)
)
(if
(tee_local $10
(i32.load
(tee_local $0
(i32.add
(get_local $3)
(i32.const 16)
)
)
)
)
(block
(set_local $3
(get_local $10)
)
(set_local $4
(get_local $0)
)
(br $while-in9)
)
)
)
(if
(i32.lt_u
(get_local $4)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store
(get_local $4)
(i32.const 0)
)
(set_local $12
(get_local $3)
)
)
)
)
(block
(if
(i32.lt_u
(tee_local $0
(i32.load offset=8
(get_local $8)
)
)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.ne
(i32.load
(tee_local $10
(i32.add
(get_local $0)
(i32.const 12)
)
)
)
(get_local $8)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $4
(i32.add
(get_local $9)
(i32.const 8)
)
)
)
(get_local $8)
)
(block
(i32.store
(get_local $10)
(get_local $9)
)
(i32.store
(get_local $4)
(get_local $0)
)
(set_local $12
(get_local $9)
)
)
(call $_abort)
)
)
)
)
(if
(get_local $7)
(block
(if
(i32.eq
(get_local $8)
(i32.load
(tee_local $5
(i32.add
(i32.shl
(tee_local $9
(i32.load offset=28
(get_local $8)
)
)
(i32.const 2)
)
(i32.const 480)
)
)
)
)
(block
(i32.store
(get_local $5)
(get_local $12)
)
(if
(i32.eqz
(get_local $12)
)
(block
(i32.store
(i32.const 180)
(i32.and
(i32.load
(i32.const 180)
)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $9)
)
(i32.const -1)
)
)
)
(br $do-once4)
)
)
)
(block
(if
(i32.lt_u
(get_local $7)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $9
(i32.add
(get_local $7)
(i32.const 16)
)
)
)
(get_local $8)
)
(i32.store
(get_local $9)
(get_local $12)
)
(i32.store offset=20
(get_local $7)
(get_local $12)
)
)
(br_if $do-once4
(i32.eqz
(get_local $12)
)
)
)
)
(if
(i32.lt_u
(get_local $12)
(tee_local $9
(i32.load
(i32.const 192)
)
)
)
(call $_abort)
)
(i32.store offset=24
(get_local $12)
(get_local $7)
)
(if
(tee_local $1
(i32.load
(tee_local $5
(i32.add
(get_local $8)
(i32.const 16)
)
)
)
)
(if
(i32.lt_u
(get_local $1)
(get_local $9)
)
(call $_abort)
(block
(i32.store offset=16
(get_local $12)
(get_local $1)
)
(i32.store offset=24
(get_local $1)
(get_local $12)
)
)
)
)
(if
(tee_local $1
(i32.load offset=4
(get_local $5)
)
)
(if
(i32.lt_u
(get_local $1)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store offset=20
(get_local $12)
(get_local $1)
)
(i32.store offset=24
(get_local $1)
(get_local $12)
)
)
)
)
)
)
)
(block
(set_local $9
(i32.load offset=12
(get_local $8)
)
)
(if
(i32.ne
(tee_local $1
(i32.load offset=8
(get_local $8)
)
)
(tee_local $7
(i32.add
(i32.shl
(get_local $14)
(i32.const 3)
)
(i32.const 216)
)
)
)
(block
(if
(i32.lt_u
(get_local $1)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.ne
(i32.load offset=12
(get_local $1)
)
(get_local $8)
)
(call $_abort)
)
)
)
(if
(i32.eq
(get_local $9)
(get_local $1)
)
(block
(i32.store
(i32.const 176)
(i32.and
(i32.load
(i32.const 176)
)
(i32.xor
(i32.shl
(i32.const 1)
(get_local $14)
)
(i32.const -1)
)
)
)
(br $do-once4)
)
)
(if
(i32.ne
(get_local $9)
(get_local $7)
)
(block
(if
(i32.lt_u
(get_local $9)
(i32.load
(i32.const 192)
)
)
(call $_abort)
)
(if
(i32.eq
(i32.load
(tee_local $7
(i32.add
(get_local $9)
(i32.const 8)
)
)
)
(get_local $8)
)
(set_local $16
(get_local $7)
)
(call $_abort)
)
)
(set_local $16
(i32.add
(get_local $9)
(i32.const 8)
)
)
)
(i32.store offset=12
(get_local $1)
(get_local $9)
)
(i32.store
(get_local $16)
(get_local $1)
)
)
)
)
(i32.store offset=4
(get_local $2)
(i32.or
(get_local $6)
(i32.const 1)
)
)
(i32.store
(i32.add
(get_local $2)
(get_local $6)
)
(get_local $6)
)
(if
(i32.eq
(get_local $2)
(i32.load
(i32.const 196)
)
)
(block
(i32.store
(i32.const 184)
(get_local $6)
)
(return)
)
(set_local $0
(get_local $6)
)
)
)
)
(set_local $3
(i32.shr_u
(get_local $0)
(i32.const 3)
)
)
(if
(i32.lt_u
(get_local $0)
(i32.const 256)
)
(block
(set_local $1
(i32.add
(i32.shl
(get_local $3)
(i32.const 3)
)
(i32.const 216)
)
)
(if
(i32.and
(tee_local $5
(i32.load
(i32.const 176)
)
)
(tee_local $6
(i32.shl
(i32.const 1)
(get_local $3)
)
)
)
(if
(i32.lt_u
(tee_local $16
(i32.load
(tee_local $3
(i32.add
(get_local $1)
(i32.const 8)
)
)
)
)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(set_local $15
(get_local $3)
)
(set_local $13
(get_local $16)
)
)
)
(block
(i32.store
(i32.const 176)
(i32.or
(get_local $5)
(get_local $6)
)
)
(set_local $15
(i32.add
(get_local $1)
(i32.const 8)
)
)
(set_local $13
(get_local $1)
)
)
)
(i32.store
(get_local $15)
(get_local $2)
)
(i32.store offset=12
(get_local $13)
(get_local $2)
)
(i32.store offset=8
(get_local $2)
(get_local $13)
)
(i32.store offset=12
(get_local $2)
(get_local $1)
)
(return)
)
)
(set_local $5
(i32.add
(i32.shl
(tee_local $3
(if (result i32)
(tee_local $1
(i32.shr_u
(get_local $0)
(i32.const 8)
)
)
(if (result i32)
(i32.gt_u
(get_local $0)
(i32.const 16777215)
)
(i32.const 31)
(i32.or
(i32.and
(i32.shr_u
(get_local $0)
(i32.add
(tee_local $5
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
(tee_local $1
(i32.and
(i32.shr_u
(i32.add
(tee_local $15
(i32.shl
(get_local $1)
(tee_local $13
(i32.and
(i32.shr_u
(i32.add
(get_local $1)
(i32.const 1048320)
)
(i32.const 16)
)
(i32.const 8)
)
)
)
)
(i32.const 520192)
)
(i32.const 16)
)
(i32.const 4)
)
)
(get_local $13)
)
(tee_local $15
(i32.and
(i32.shr_u
(i32.add
(tee_local $6
(i32.shl
(get_local $15)
(get_local $1)
)
)
(i32.const 245760)
)
(i32.const 16)
)
(i32.const 2)
)
)
)
)
(i32.shr_u
(i32.shl
(get_local $6)
(get_local $15)
)
(i32.const 15)
)
)
)
(i32.const 7)
)
)
(i32.const 1)
)
(i32.shl
(get_local $5)
(i32.const 1)
)
)
)
(i32.const 0)
)
)
(i32.const 2)
)
(i32.const 480)
)
)
(i32.store offset=28
(get_local $2)
(get_local $3)
)
(i32.store offset=20
(get_local $2)
(i32.const 0)
)
(i32.store offset=16
(get_local $2)
(i32.const 0)
)
(if
(i32.and
(tee_local $15
(i32.load
(i32.const 180)
)
)
(tee_local $6
(i32.shl
(i32.const 1)
(get_local $3)
)
)
)
(block
(set_local $13
(i32.shl
(get_local $0)
(select
(i32.const 0)
(i32.sub
(i32.const 25)
(i32.shr_u
(get_local $3)
(i32.const 1)
)
)
(i32.eq
(get_local $3)
(i32.const 31)
)
)
)
)
(set_local $1
(i32.load
(get_local $5)
)
)
(loop $while-in15
(block $while-out14
(if
(i32.eq
(i32.and
(i32.load offset=4
(get_local $1)
)
(i32.const -8)
)
(get_local $0)
)
(block
(set_local $17
(get_local $1)
)
(set_local $0
(i32.const 130)
)
(br $while-out14)
)
)
(if
(tee_local $3
(i32.load
(tee_local $16
(i32.add
(i32.add
(get_local $1)
(i32.const 16)
)
(i32.shl
(i32.shr_u
(get_local $13)
(i32.const 31)
)
(i32.const 2)
)
)
)
)
)
(block
(set_local $13
(i32.shl
(get_local $13)
(i32.const 1)
)
)
(set_local $1
(get_local $3)
)
(br $while-in15)
)
(block
(set_local $18
(get_local $16)
)
(set_local $19
(get_local $1)
)
(set_local $0
(i32.const 127)
)
)
)
)
)
(if
(i32.eq
(get_local $0)
(i32.const 127)
)
(if
(i32.lt_u
(get_local $18)
(i32.load
(i32.const 192)
)
)
(call $_abort)
(block
(i32.store
(get_local $18)
(get_local $2)
)
(i32.store offset=24
(get_local $2)
(get_local $19)
)
(i32.store offset=12
(get_local $2)
(get_local $2)
)
(i32.store offset=8
(get_local $2)
(get_local $2)
)
)
)
(if
(i32.eq
(get_local $0)
(i32.const 130)
)
(if
(i32.and
(i32.ge_u
(tee_local $13
(i32.load
(tee_local $1
(i32.add
(get_local $17)
(i32.const 8)
)
)
)
)
(tee_local $5
(i32.load
(i32.const 192)
)
)
)
(i32.ge_u
(get_local $17)
(get_local $5)
)
)
(block
(i32.store offset=12
(get_local $13)
(get_local $2)
)
(i32.store
(get_local $1)
(get_local $2)
)
(i32.store offset=8
(get_local $2)
(get_local $13)
)
(i32.store offset=12
(get_local $2)
(get_local $17)
)
(i32.store offset=24
(get_local $2)
(i32.const 0)
)
)
(call $_abort)
)
)
)
)
(block
(i32.store
(i32.const 180)
(i32.or
(get_local $15)
(get_local $6)
)
)
(i32.store
(get_local $5)
(get_local $2)
)
(i32.store offset=24
(get_local $2)
(get_local $5)
)
(i32.store offset=12
(get_local $2)
(get_local $2)
)
(i32.store offset=8
(get_local $2)
(get_local $2)
)
)
)
(i32.store
(i32.const 208)
(tee_local $2
(i32.add
(i32.load
(i32.const 208)
)
(i32.const -1)
)
)
)
(if
(get_local $2)
(return)
(set_local $0
(i32.const 632)
)
)
(loop $while-in17
(if
(tee_local $2
(i32.load
(get_local $0)
)
)
(block
(set_local $0
(i32.add
(get_local $2)
(i32.const 8)
)
)
(br $while-in17)
)
)
)
(i32.store
(i32.const 208)
(i32.const -1)
)
)
(func $___stdio_write (; 17 ;) (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)
(local $9 i32)
(local $10 i32)
(local $11 i32)
(local $12 i32)
(local $13 i32)
(local $14 i32)
(local $15 i32)
(local $16 i32)
(local $17 i32)
(set_local $10
(get_global $STACKTOP)
)
(set_global $STACKTOP
(i32.add
(get_global $STACKTOP)
(i32.const 48)
)
)
(set_local $11
(i32.add
(get_local $10)
(i32.const 16)
)
)
(set_local $12
(get_local $10)
)
(i32.store
(tee_local $3
(i32.add
(get_local $10)
(i32.const 32)
)
)
(tee_local $7
(i32.load
(tee_local $8
(i32.add
(get_local $0)
(i32.const 28)
)
)
)
)
)
(i32.store offset=4
(get_local $3)
(tee_local $9
(i32.sub
(i32.load
(tee_local $13
(i32.add
(get_local $0)
(i32.const 20)
)
)
)
(get_local $7)
)
)
)
(i32.store offset=8
(get_local $3)
(get_local $1)
)
(i32.store offset=12
(get_local $3)
(get_local $2)
)
(set_local $1
(i32.add
(get_local $0)
(i32.const 60)
)
)
(set_local $7
(i32.add
(get_local $0)
(i32.const 44)
)
)
(set_local $4
(get_local $3)
)
(set_local $3
(i32.const 2)
)
(set_local $5
(i32.add
(get_local $9)
(get_local $2)
)
)
(loop $while-in
(block $while-out
(if
(i32.eq
(get_local $5)
(tee_local $6
(if (result i32)
(i32.load
(i32.const 8)
)
(block (result i32)
(call $_pthread_cleanup_push
(i32.const 4)
(get_local $0)
)
(i32.store
(get_local $12)
(i32.load
(get_local $1)
)
)
(i32.store offset=4
(get_local $12)
(get_local $4)
)
(i32.store offset=8
(get_local $12)
(get_local $3)
)
(set_local $9
(call $___syscall_ret
(call $___syscall146
(i32.const 146)
(get_local $12)
)
)
)
(call $_pthread_cleanup_pop
(i32.const 0)
)
(get_local $9)
)
(block (result i32)
(i32.store
(get_local $11)
(i32.load
(get_local $1)
)
)
(i32.store offset=4
(get_local $11)
(get_local $4)
)
(i32.store offset=8
(get_local $11)
(get_local $3)
)
(call $___syscall_ret
(call $___syscall146
(i32.const 146)
(get_local $11)
)
)
)
)
)
)
(block
(set_local $1
(i32.const 6)
)
(br $while-out)
)
)
(if
(i32.lt_s
(get_local $6)
(i32.const 0)
)
(block
(set_local $16
(get_local $4)
)
(set_local $17
(get_local $3)
)
(set_local $1
(i32.const 8)
)
(br $while-out)
)
)
(set_local $9
(i32.sub
(get_local $5)
(get_local $6)
)
)
(if
(i32.le_u
(get_local $6)
(tee_local $14
(i32.load offset=4
(get_local $4)
)
)
)
(set_local $5
(if (result i32)
(i32.eq
(get_local $3)
(i32.const 2)
)
(block (result i32)
(i32.store
(get_local $8)
(i32.add
(i32.load
(get_local $8)
)
(get_local $6)
)
)
(set_local $3
(i32.const 2)
)
(get_local $14)
)
(get_local $14)
)
)
(block
(i32.store
(get_local $8)
(tee_local $5
(i32.load
(get_local $7)
)
)
)
(i32.store
(get_local $13)
(get_local $5)
)
(set_local $5
(i32.load offset=12
(get_local $4)
)
)
(set_local $6
(i32.sub
(get_local $6)
(get_local $14)
)
)
(set_local $4
(i32.add
(get_local $4)
(i32.const 8)
)
)
(set_local $3
(i32.add
(get_local $3)
(i32.const -1)
)
)
)
)
(i32.store
(get_local $4)
(i32.add
(i32.load
(get_local $4)
)
(get_local $6)
)
)
(i32.store offset=4
(get_local $4)
(i32.sub
(get_local $5)
(get_local $6)
)
)
(set_local $5
(get_local $9)
)
(br $while-in)
)
)
(if
(i32.eq
(get_local $1)
(i32.const 6)
)
(block
(i32.store offset=16
(get_local $0)
(i32.add
(tee_local $5
(i32.load
(get_local $7)
)
)
(i32.load offset=48
(get_local $0)
)
)
)
(i32.store
(get_local $8)
(tee_local $7
(get_local $5)
)
)
(i32.store
(get_local $13)
(get_local $7)
)
(set_local $15
(get_local $2)
)
)
(if
(i32.eq
(get_local $1)
(i32.const 8)
)
(block
(i32.store offset=16
(get_local $0)
(i32.const 0)
)
(i32.store
(get_local $8)
(i32.const 0)
)
(i32.store
(get_local $13)
(i32.const 0)
)
(i32.store
(get_local $0)
(i32.or
(i32.load
(get_local $0)
)
(i32.const 32)
)
)
(set_local $15
(select
(i32.const 0)
(i32.sub
(get_local $2)
(i32.load offset=4
(get_local $16)
)
)
(i32.eq
(get_local $17)
(i32.const 2)
)
)
)
)
)
)
(set_global $STACKTOP
(get_local $10)
)
(get_local $15)
)
(func $___fwritex (; 18 ;) (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)
(if
(tee_local $5
(i32.load
(tee_local $3
(i32.add
(get_local $2)
(i32.const 16)
)
)
)
)
(block
(set_local $6
(get_local $5)
)
(set_local $7
(i32.const 5)
)
)
(if
(i32.eqz
(call $___towrite
(get_local $2)
)
)
(block
(set_local $6
(i32.load
(get_local $3)
)
)
(set_local $7
(i32.const 5)
)
)
)
)
(block $label$break$L5
(if
(i32.eq
(get_local $7)
(i32.const 5)
)
(block
(if
(i32.lt_u
(i32.sub
(get_local $6)
(tee_local $3
(i32.load
(tee_local $5
(i32.add
(get_local $2)
(i32.const 20)
)
)
)
)
)
(get_local $1)
)
(block
(set_local $4
(call_indirect (type $FUNCSIG$iiii)
(get_local $2)
(get_local $0)
(get_local $1)
(i32.add
(i32.and
(i32.load offset=36
(get_local $2)
)
(i32.const 7)
)
(i32.const 2)
)
)
)
(br $label$break$L5)
)
)
(set_local $4
(get_local $3)
)
(block $label$break$L10
(if
(i32.gt_s
(i32.load8_s offset=75
(get_local $2)
)
(i32.const -1)
)
(block
(set_local $3
(get_local $1)
)
(loop $while-in
(if
(i32.eqz
(get_local $3)
)
(block
(set_local $3
(i32.const 0)
)
(br $label$break$L10)
)
)
(if
(i32.ne
(i32.load8_s
(i32.add
(get_local $0)
(tee_local $6
(i32.add
(get_local $3)
(i32.const -1)
)
)
)
)
(i32.const 10)
)
(block
(set_local $3
(get_local $6)
)
(br $while-in)
)
)
)
(if
(i32.lt_u
(call_indirect (type $FUNCSIG$iiii)
(get_local $2)
(get_local $0)
(get_local $3)
(i32.add
(i32.and
(i32.load offset=36
(get_local $2)
)
(i32.const 7)
)
(i32.const 2)
)
)
(get_local $3)
)
(block
(set_local $4
(get_local $3)
)
(br $label$break$L5)
)
)
(set_local $1
(i32.sub
(get_local $1)
(get_local $3)
)
)
(set_local $0
(i32.add
(get_local $0)
(get_local $3)
)
)
(set_local $4
(i32.load
(get_local $5)
)
)
)
(set_local $3
(i32.const 0)
)
)
)
(drop
(call $_memcpy
(get_local $4)
(get_local $0)
(get_local $1)
)
)
(i32.store
(get_local $5)
(i32.add
(i32.load
(get_local $5)
)
(get_local $1)
)
)
(set_local $4
(i32.add
(get_local $3)
(get_local $1)
)
)
)
)
)
(get_local $4)
)
(func $_fflush (; 19 ;) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(block $do-once
(if
(get_local $0)
(block
(if
(i32.le_s
(i32.load offset=76
(get_local $0)
)
(i32.const -1)
)
(block
(set_local $2
(call $___fflush_unlocked
(get_local $0)
)
)
(br $do-once)
)
)
(set_local $1
(i32.eqz
(call $___lockfile
(get_local $0)
)
)
)
(set_local $2
(call $___fflush_unlocked
(get_local $0)
)
)
(if
(i32.eqz
(get_local $1)
)
(call $___unlockfile
(get_local $0)
)
)
)
(block
(set_local $0
(if (result i32)
(i32.load
(i32.const 56)
)
(call $_fflush
(i32.load
(i32.const 56)
)
)
(i32.const 0)
)
)
(call $___lock
(i32.const 36)
)
(if
(tee_local $2
(i32.load
(i32.const 32)
)
)
(block
(set_local $1
(get_local $2)
)
(set_local $2
(get_local $0)
)
(loop $while-in
(set_local $0
(if (result i32)
(i32.gt_s
(i32.load offset=76
(get_local $1)
)
(i32.const -1)
)
(call $___lockfile
(get_local $1)
)
(i32.const 0)
)
)
(if
(i32.gt_u
(i32.load offset=20
(get_local $1)
)
(i32.load offset=28
(get_local $1)
)
)
(set_local $2
(i32.or
(call $___fflush_unlocked
(get_local $1)
)
(get_local $2)
)
)
)
(if
(get_local $0)
(call $___unlockfile
(get_local $1)
)
)
(br_if $while-in
(tee_local $1
(i32.load offset=56
(get_local $1)
)
)
)
)
)
(set_local $2
(get_local $0)
)
)
(call $___unlock
(i32.const 36)
)
)
)
)
(get_local $2)
)
(func $_strlen (; 20 ;) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(block $label$break$L1
(if
(i32.and
(tee_local $3
(get_local $0)
)
(i32.const 3)
)
(block
(set_local $4
(get_local $3)
)
(loop $while-in
(if
(i32.eqz
(i32.load8_s
(get_local $0)
)
)
(block
(set_local $5
(get_local $4)
)
(br $label$break$L1)
)
)
(br_if $while-in
(i32.and
(tee_local $4
(tee_local $0
(i32.add
(get_local $0)
(i32.const 1)
)
)
)
(i32.const 3)
)
)
(set_local $1
(get_local $0)
)
(set_local $2
(i32.const 4)
)
)
)
(block
(set_local $1
(get_local $0)
)
(set_local $2
(i32.const 4)
)
)
)
)
(if
(i32.eq
(get_local $2)
(i32.const 4)
)
(block
(set_local $2
(get_local $1)
)
(loop $while-in1
(if
(i32.and
(i32.xor
(i32.and
(tee_local $1
(i32.load
(get_local $2)
)
)
(i32.const -2139062144)
)
(i32.const -2139062144)
)
(i32.add
(get_local $1)
(i32.const -16843009)
)
)
(set_local $0
(get_local $2)
)
(block
(set_local $2
(i32.add
(get_local $2)
(i32.const 4)
)
)
(br $while-in1)
)
)
)
(if
(i32.and
(get_local $1)
(i32.const 255)
)
(block
(set_local $1
(get_local $0)
)
(loop $while-in3
(if
(i32.load8_s
(tee_local $0
(i32.add
(get_local $1)
(i32.const 1)
)
)
)
(block
(set_local $1
(get_local $0)
)
(br $while-in3)
)
)
)
)
)
(set_local $5
(get_local $0)
)
)
)
(i32.sub
(get_local $5)
(get_local $3)
)
)
(func $___overflow (; 21 ;) (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)
(local $8 i32)
(local $9 i32)
(local $10 i32)
(set_local $5
(get_global $STACKTOP)
)
(set_global $STACKTOP
(i32.add
(get_global $STACKTOP)
(i32.const 16)
)
)
(i32.store8
(tee_local $6
(get_local $5)
)
(tee_local $9
(i32.and
(get_local $1)
(i32.const 255)
)
)
)
(if
(tee_local $3
(i32.load
(tee_local $2
(i32.add
(get_local $0)
(i32.const 16)
)
)
)
)
(block
(set_local $7
(get_local $3)
)
(set_local $8
(i32.const 4)
)
)
(if
(call $___towrite
(get_local $0)
)
(set_local $4
(i32.const -1)
)
(block
(set_local $7
(i32.load
(get_local $2)
)
)
(set_local $8
(i32.const 4)
)
)
)
)
(block $do-once
(if
(i32.eq
(get_local $8)
(i32.const 4)
)
(block
(if
(if (result i32)
(i32.lt_u
(tee_local $2
(i32.load
(tee_local $3
(i32.add
(get_local $0)
(i32.const 20)
)
)
)
)
(get_local $7)
)
(i32.ne
(tee_local $10
(i32.and
(get_local $1)
(i32.const 255)
)
)
(i32.load8_s offset=75
(get_local $0)
)
)
(i32.const 0)
)
(block
(i32.store
(get_local $3)
(i32.add
(get_local $2)
(i32.const 1)
)
)
(i32.store8
(get_local $2)
(get_local $9)
)
(set_local $4
(get_local $10)
)
(br $do-once)
)
)
(set_local $4
(if (result i32)
(i32.eq
(call_indirect (type $FUNCSIG$iiii)
(get_local $0)
(get_local $6)
(i32.const 1)
(i32.add
(i32.and
(i32.load offset=36
(get_local $0)
)
(i32.const 7)
)
(i32.const 2)
)
)
(i32.const 1)
)
(i32.load8_u
(get_local $6)
)
(i32.const -1)
)
)
)
)
)
(set_global $STACKTOP
(get_local $5)
)
(get_local $4)
)
(func $___fflush_unlocked (; 22 ;) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(tee_local $0
(if (result i32)
(if (result i32)
(i32.gt_u
(i32.load
(tee_local $1
(i32.add
(get_local $0)
(i32.const 20)
)
)
)
(i32.load
(tee_local $2
(i32.add
(get_local $0)
(i32.const 28)
)
)
)
)
(block (result i32)
(drop
(call_indirect (type $FUNCSIG$iiii)
(get_local $0)
(i32.const 0)
(i32.const 0)
(i32.add
(i32.and
(i32.load offset=36
(get_local $0)
)
(i32.const 7)
)
(i32.const 2)
)
)
)
(i32.eqz
(i32.load
(get_local $1)
)
)
)
(i32.const 0)
)
(i32.const -1)
(block (result i32)
(if
(i32.lt_u
(tee_local $4
(i32.load
(tee_local $3
(i32.add
(get_local $0)
(i32.const 4)
)
)
)
)
(tee_local $6
(i32.load
(tee_local $5
(i32.add
(get_local $0)
(i32.const 8)
)
)
)
)
)
(drop
(call_indirect (type $FUNCSIG$iiii)
(get_local $0)
(i32.sub
(get_local $4)
(get_local $6)
)
(i32.const 1)
(i32.add
(i32.and
(i32.load offset=40
(get_local $0)
)
(i32.const 7)
)
(i32.const 2)
)
)
)
)
(i32.store offset=16
(get_local $0)
(i32.const 0)
)
(i32.store
(get_local $2)
(i32.const 0)
)
(i32.store
(get_local $1)
(i32.const 0)
)
(i32.store
(get_local $5)
(i32.const 0)
)
(i32.store
(get_local $3)
(i32.const 0)
)
(i32.const 0)
)
)
)
)
(func $_memcpy (; 23 ;) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(if
(i32.ge_s
(get_local $2)
(i32.const 4096)
)
(return
(call $_emscripten_memcpy_big
(get_local $0)
(get_local $1)
(get_local $2)
)
)
)
(set_local $3
(get_local $0)
)
(if
(i32.eq
(i32.and
(get_local $0)
(i32.const 3)
)
(i32.and
(get_local $1)
(i32.const 3)
)
)
(block
(loop $while-in
(if
(i32.and
(get_local $0)
(i32.const 3)
)
(block
(if
(i32.eqz
(get_local $2)
)
(return
(get_local $3)
)
)
(i32.store8
(get_local $0)
(i32.load8_s
(get_local $1)
)
)
(set_local $0
(i32.add
(get_local $0)
(i32.const 1)
)
)
(set_local $1
(i32.add
(get_local $1)
(i32.const 1)
)
)
(set_local $2
(i32.sub
(get_local $2)
(i32.const 1)
)
)
(br $while-in)
)
)
)
(loop $while-in1
(if
(i32.ge_s
(get_local $2)
(i32.const 4)
)
(block
(i32.store
(get_local $0)
(i32.load
(get_local $1)
)
)
(set_local $0
(i32.add
(get_local $0)
(i32.const 4)
)
)
(set_local $1
(i32.add
(get_local $1)
(i32.const 4)
)
)
(set_local $2
(i32.sub
(get_local $2)
(i32.const 4)
)
)
(br $while-in1)
)
)
)
)
)
(loop $while-in3
(if
(i32.gt_s
(get_local $2)
(i32.const 0)
)
(block
(i32.store8
(get_local $0)
(i32.load8_s
(get_local $1)
)
)
(set_local $0
(i32.add
(get_local $0)
(i32.const 1)
)
)
(set_local $1
(i32.add
(get_local $1)
(i32.const 1)
)
)
(set_local $2
(i32.sub
(get_local $2)
(i32.const 1)
)
)
(br $while-in3)
)
)
)
(get_local $3)
)
(func $runPostSets (; 24 ;)
(nop)
)
(func $_memset (; 25 ;) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(set_local $4
(i32.add
(get_local $0)
(get_local $2)
)
)
(if
(i32.ge_s
(get_local $2)
(i32.const 20)
)
(block
(set_local $1
(i32.and
(get_local $1)
(i32.const 255)
)
)
(if
(tee_local $3
(i32.and
(get_local $0)
(i32.const 3)
)
)
(block
(set_local $3
(i32.sub
(i32.add
(get_local $0)
(i32.const 4)
)
(get_local $3)
)
)
(loop $while-in
(if
(i32.lt_s
(get_local $0)
(get_local $3)
)
(block
(i32.store8
(get_local $0)
(get_local $1)
)
(set_local $0
(i32.add
(get_local $0)
(i32.const 1)
)
)
(br $while-in)
)
)
)
)
)
(set_local $3
(i32.or
(i32.or
(i32.or
(get_local $1)
(i32.shl
(get_local $1)
(i32.const 8)
)
)
(i32.shl
(get_local $1)
(i32.const 16)
)
)
(i32.shl
(get_local $1)
(i32.const 24)
)
)
)
(set_local $5
(i32.and
(get_local $4)
(i32.const -4)
)
)
(loop $while-in1
(if
(i32.lt_s
(get_local $0)
(get_local $5)
)
(block
(i32.store
(get_local $0)
(get_local $3)
)
(set_local $0
(i32.add
(get_local $0)
(i32.const 4)
)
)
(br $while-in1)
)
)
)
)
)
(loop $while-in3
(if
(i32.lt_s
(get_local $0)
(get_local $4)
)
(block
(i32.store8
(get_local $0)
(get_local $1)
)
(set_local $0
(i32.add
(get_local $0)
(i32.const 1)
)
)
(br $while-in3)
)
)
)
(i32.sub
(get_local $0)
(get_local $2)
)
)
(func $_puts (; 26 ;) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
(set_local $3
(if (result i32)
(i32.gt_s
(i32.load offset=76
(tee_local $1
(i32.load
(i32.const 52)
)
)
)
(i32.const -1)
)
(call $___lockfile
(get_local $1)
)
(i32.const 0)
)
)
(set_local $0
(block $do-once (result i32)
(if (result i32)
(i32.lt_s
(i32.add
(call $_fwrite
(get_local $0)
(call $_strlen
(get_local $0)
)
(i32.const 1)
(get_local $1)
)
(i32.const -1)
)
(i32.const 0)
)
(i32.const 1)
(block (result i32)
(if
(if (result i32)
(i32.ne
(i32.load8_s offset=75
(get_local $1)
)
(i32.const 10)
)
(i32.lt_u
(tee_local $2
(i32.load
(tee_local $4
(i32.add
(get_local $1)
(i32.const 20)
)
)
)
)
(i32.load offset=16
(get_local $1)
)
)
(i32.const 0)
)
(block
(i32.store
(get_local $4)
(i32.add
(get_local $2)
(i32.const 1)
)
)
(i32.store8
(get_local $2)
(i32.const 10)
)
(br $do-once
(i32.const 0)
)
)
)
(i32.lt_s
(call $___overflow
(get_local $1)
(i32.const 10)
)
(i32.const 0)
)
)
)
)
)
(if
(get_local $3)
(call $___unlockfile
(get_local $1)
)
)
(i32.shr_s
(i32.shl
(get_local $0)
(i32.const 31)
)
(i32.const 31)
)
)
(func $___stdio_seek (; 27 ;) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(set_local $4
(get_global $STACKTOP)
)
(set_global $STACKTOP
(i32.add
(get_global $STACKTOP)
(i32.const 32)
)
)
(i32.store
(tee_local $3
(get_local $4)
)
(i32.load offset=60
(get_local $0)
)
)
(i32.store offset=4
(get_local $3)
(i32.const 0)
)
(i32.store offset=8
(get_local $3)
(get_local $1)
)
(i32.store offset=12
(get_local $3)
(tee_local $0
(i32.add
(get_local $4)
(i32.const 20)
)
)
)
(i32.store offset=16
(get_local $3)
(get_local $2)
)
(set_local $0
(if (result i32)
(i32.lt_s
(call $___syscall_ret
(call $___syscall140
(i32.const 140)
(get_local $3)
)
)
(i32.const 0)
)
(block (result i32)
(i32.store
(get_local $0)
(i32.const -1)
)
(i32.const -1)
)
(i32.load
(get_local $0)
)
)
)
(set_global $STACKTOP
(get_local $4)
)
(get_local $0)
)
(func $___towrite (; 28 ;) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(set_local $2
(i32.load8_s
(tee_local $1
(i32.add
(get_local $0)
(i32.const 74)
)
)
)
)
(i32.store8
(get_local $1)
(i32.or
(i32.add
(get_local $2)
(i32.const 255)
)
(get_local $2)
)
)
(tee_local $0
(if (result i32)
(i32.and
(tee_local $2
(i32.load
(get_local $0)
)
)
(i32.const 8)
)
(block (result i32)
(i32.store
(get_local $0)
(i32.or
(get_local $2)
(i32.const 32)
)
)
(i32.const -1)
)
(block (result i32)
(i32.store offset=8
(get_local $0)
(i32.const 0)
)
(i32.store offset=4
(get_local $0)
(i32.const 0)
)
(i32.store offset=28
(get_local $0)
(tee_local $1
(i32.load offset=44
(get_local $0)
)
)
)
(i32.store offset=20
(get_local $0)
(get_local $1)
)
(i32.store offset=16
(get_local $0)
(i32.add
(get_local $1)
(i32.load offset=48
(get_local $0)
)
)
)
(i32.const 0)
)
)
)
)
(func $_fwrite (; 29 ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
(local $4 i32)
(local $5 i32)
(set_local $4
(i32.mul
(get_local $2)
(get_local $1)
)
)
(if
(i32.gt_s
(i32.load offset=76
(get_local $3)
)
(i32.const -1)
)
(block
(set_local $5
(i32.eqz
(call $___lockfile
(get_local $3)
)
)
)
(set_local $0
(call $___fwritex
(get_local $0)
(get_local $4)
(get_local $3)
)
)
(if
(i32.eqz
(get_local $5)
)
(call $___unlockfile
(get_local $3)
)
)
)
(set_local $0
(call $___fwritex
(get_local $0)
(get_local $4)
(get_local $3)
)
)
)
(if
(i32.ne
(get_local $0)
(get_local $4)
)
(set_local $2
(i32.div_u
(get_local $0)
(get_local $1)
)
)
)
(get_local $2)
)
(func $___stdout_write (; 30 ;) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(set_local $4
(get_global $STACKTOP)
)
(set_global $STACKTOP
(i32.add
(get_global $STACKTOP)
(i32.const 80)
)
)
(set_local $3
(get_local $4)
)
(i32.store offset=36
(get_local $0)
(i32.const 5)
)
(if
(if (result i32)
(i32.and
(i32.load
(get_local $0)
)
(i32.const 64)
)
(i32.const 0)
(block (result i32)
(i32.store
(get_local $3)
(i32.load offset=60
(get_local $0)
)
)
(i32.store offset=4
(get_local $3)
(i32.const 21505)
)
(i32.store offset=8
(get_local $3)
(i32.add
(get_local $4)
(i32.const 12)
)
)
(call $___syscall54
(i32.const 54)
(get_local $3)
)
)
)
(i32.store8 offset=75
(get_local $0)
(i32.const -1)
)
)
(set_local $3
(call $___stdio_write
(get_local $0)
(get_local $1)
(get_local $2)
)
)
(set_global $STACKTOP
(get_local $4)
)
(get_local $3)
)
(func $___stdio_close (; 31 ;) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(set_local $1
(get_global $STACKTOP)
)
(set_global $STACKTOP
(i32.add
(get_global $STACKTOP)
(i32.const 16)
)
)
(i32.store
(tee_local $2
(get_local $1)
)
(i32.load offset=60
(get_local $0)
)
)
(set_local $0
(call $___syscall_ret
(call $___syscall6
(i32.const 6)
(get_local $2)
)
)
)
(set_global $STACKTOP
(get_local $1)
)
(get_local $0)
)
(func $___syscall_ret (; 32 ;) (param $0 i32) (result i32)
(if (result i32)
(i32.gt_u
(get_local $0)
(i32.const -4096)
)
(block (result i32)
(i32.store
(call $___errno_location)
(i32.sub
(i32.const 0)
(get_local $0)
)
)
(i32.const -1)
)
(get_local $0)
)
)
(func $dynCall_iiii (; 33 ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
(call_indirect (type $FUNCSIG$iiii)
(get_local $1)
(get_local $2)
(get_local $3)
(i32.add
(i32.and
(get_local $0)
(i32.const 7)
)
(i32.const 2)
)
)
)
(func $stackAlloc (; 34 ;) (param $0 i32) (result i32)
(local $1 i32)
(set_local $1
(get_global $STACKTOP)
)
(set_global $STACKTOP
(i32.add
(get_global $STACKTOP)
(get_local $0)
)
)
(set_global $STACKTOP
(i32.and
(i32.add
(get_global $STACKTOP)
(i32.const 15)
)
(i32.const -16)
)
)
(get_local $1)
)
(func $___errno_location (; 35 ;) (result i32)
(if (result i32)
(i32.load
(i32.const 8)
)
(i32.load offset=60
(call $_pthread_self)
)
(i32.const 60)
)
)
(func $setThrew (; 36 ;) (param $0 i32) (param $1 i32)
(if
(i32.eqz
(get_global $__THREW__)
)
(block
(set_global $__THREW__
(get_local $0)
)
(set_global $threwValue
(get_local $1)
)
)
)
)
(func $dynCall_ii (; 37 ;) (param $0 i32) (param $1 i32) (result i32)
(call_indirect (type $FUNCSIG$ii)
(get_local $1)
(i32.and
(get_local $0)
(i32.const 1)
)
)
)
(func $_cleanup_418 (; 38 ;) (param $0 i32)
(if
(i32.eqz
(i32.load offset=68
(get_local $0)
)
)
(call $___unlockfile
(get_local $0)
)
)
)
(func $establishStackSpace (; 39 ;) (param $0 i32) (param $1 i32)
(set_global $STACKTOP
(get_local $0)
)
(set_global $STACK_MAX
(get_local $1)
)
)
(func $dynCall_vi (; 40 ;) (param $0 i32) (param $1 i32)
(call_indirect (type $FUNCSIG$vi)
(get_local $1)
(i32.add
(i32.and
(get_local $0)
(i32.const 7)
)
(i32.const 10)
)
)
)
(func $b1 (; 41 ;) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(call $abort
(i32.const 1)
)
(i32.const 0)
)
(func $stackRestore (; 42 ;) (param $0 i32)
(set_global $STACKTOP
(get_local $0)
)
)
(func $setTempRet0 (; 43 ;) (param $0 i32)
(set_global $tempRet0
(get_local $0)
)
)
(func $b0 (; 44 ;) (param $0 i32) (result i32)
(call $abort
(i32.const 0)
)
(i32.const 0)
)
(func $___unlockfile (; 45 ;) (param $0 i32)
(nop)
)
(func $___lockfile (; 46 ;) (param $0 i32) (result i32)
(i32.const 0)
)
(func $getTempRet0 (; 47 ;) (result i32)
(get_global $tempRet0)
)
(func $_main (; 48 ;) (result i32)
(drop
(call $_puts
(i32.const 672)
)
)
(i32.const 0)
)
(func $stackSave (; 49 ;) (result i32)
(get_global $STACKTOP)
)
(func $b2 (; 50 ;) (param $0 i32)
(call $abort
(i32.const 2)
)
)
)