2018-06-21 03:09:58 +02:00
|
|
|
(module
|
|
|
|
(type $iiiiv (func (param i32 i32 i32 i32)))
|
2018-09-15 03:19:41 +02:00
|
|
|
(type $iiv (func (param i32 i32)))
|
|
|
|
(type $iiiv (func (param i32 i32 i32)))
|
2018-09-15 02:54:30 +02:00
|
|
|
(type $iifv (func (param i32 i32 f32)))
|
|
|
|
(type $iif (func (param i32 i32) (result f32)))
|
2018-06-21 03:09:58 +02:00
|
|
|
(type $v (func))
|
2018-09-13 23:10:49 +02:00
|
|
|
(type $FUNCSIG$ii (func (param i32) (result i32)))
|
2018-09-15 03:19:41 +02:00
|
|
|
(type $FUNCSIG$vi (func (param i32)))
|
|
|
|
(type $FUNCSIG$vii (func (param i32 i32)))
|
2018-06-21 03:09:58 +02:00
|
|
|
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
|
|
|
(global $std/pointer/one (mut i32) (i32.const 0))
|
|
|
|
(global $std/pointer/two (mut i32) (i32.const 0))
|
|
|
|
(global $std/pointer/add (mut i32) (i32.const 0))
|
|
|
|
(global $std/pointer/sub (mut i32) (i32.const 0))
|
2018-06-21 19:42:18 +02:00
|
|
|
(global $std/pointer/nextOne (mut i32) (i32.const 0))
|
2018-09-15 02:54:30 +02:00
|
|
|
(global $std/pointer/buf (mut i32) (i32.const 0))
|
2018-06-21 03:09:58 +02:00
|
|
|
(memory $0 1)
|
|
|
|
(data (i32.const 8) "\0e\00\00\00s\00t\00d\00/\00p\00o\00i\00n\00t\00e\00r\00.\00t\00s")
|
2018-07-18 23:49:32 +02:00
|
|
|
(export "memory" (memory $0))
|
2018-06-21 03:09:58 +02:00
|
|
|
(start $start)
|
2018-09-13 23:10:49 +02:00
|
|
|
(func $std/pointer/Pointer<Entry>#constructor (; 1 ;) (; has Stack IR ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
|
|
|
(get_local $0)
|
2018-06-21 03:09:58 +02:00
|
|
|
)
|
2018-09-15 03:19:41 +02:00
|
|
|
(func $~lib/internal/memory/memset (; 2 ;) (; has Stack IR ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
|
|
(local $1 i32)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(i32.sub
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(i32.sub
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(i32.sub
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 3)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 3)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(i32.sub
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(func $~lib/internal/memory/memcpy (; 3 ;) (; has Stack IR ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
|
|
(local $3 i32)
|
|
|
|
(local $4 i32)
|
|
|
|
(local $5 i32)
|
|
|
|
(loop $continue|0
|
|
|
|
(if
|
|
|
|
(tee_local $3
|
|
|
|
(if (result i32)
|
|
|
|
(get_local $2)
|
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 3)
|
|
|
|
)
|
|
|
|
(get_local $2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $4
|
|
|
|
(get_local $0)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(loop $continue|1
|
|
|
|
(if
|
|
|
|
(i32.ge_u
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 12)
|
|
|
|
)
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 12)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(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)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store16
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load16_u
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(set_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(return)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ge_u
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 32)
|
|
|
|
)
|
|
|
|
(block $break|2
|
|
|
|
(block $case2|2
|
|
|
|
(block $case1|2
|
|
|
|
(if
|
|
|
|
(i32.ne
|
|
|
|
(tee_local $3
|
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(br_if $case1|2
|
|
|
|
(i32.eq
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br_if $case2|2
|
|
|
|
(i32.eq
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $break|2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $5
|
|
|
|
(i32.load
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $1)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $4
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(loop $continue|3
|
|
|
|
(if
|
|
|
|
(i32.ge_u
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 17)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store
|
|
|
|
(get_local $0)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $5)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $3
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $5
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $5)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $3
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 9)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 12)
|
|
|
|
)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $5
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 13)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $break|2)
|
|
|
|
)
|
|
|
|
(set_local $5
|
|
|
|
(i32.load
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $4
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(loop $continue|4
|
|
|
|
(if
|
|
|
|
(i32.ge_u
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 18)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store
|
|
|
|
(get_local $0)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $5)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $3
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $5
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 6)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $5)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $3
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 10)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 12)
|
|
|
|
)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $5
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 14)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|4)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $break|2)
|
|
|
|
)
|
|
|
|
(set_local $5
|
|
|
|
(i32.load
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $4
|
|
|
|
(get_local $0)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(loop $continue|5
|
|
|
|
(if
|
|
|
|
(i32.ge_u
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 19)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store
|
|
|
|
(get_local $0)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $5)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $3
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $5
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 7)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $5)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $3
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 11)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 12)
|
|
|
|
)
|
|
|
|
(i32.or
|
|
|
|
(i32.shr_u
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(i32.shl
|
|
|
|
(tee_local $5
|
|
|
|
(i32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 15)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store8
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $1)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $4
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store8
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $1)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $4
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store8
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $1)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $3)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $3)
|
|
|
|
(i32.load8_u
|
|
|
|
(tee_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $4
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i32.store8
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $4
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(set_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $0)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(func $~lib/internal/memory/memmove (; 4 ;) (; has Stack IR ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
|
|
(local $2 i32)
|
|
|
|
(local $3 i32)
|
|
|
|
(local $4 i32)
|
|
|
|
(set_local $2
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eq
|
|
|
|
(get_local $0)
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(return)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(tee_local $3
|
|
|
|
(i32.le_u
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(get_local $0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $3
|
|
|
|
(i32.le_u
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(get_local $3)
|
|
|
|
(block
|
|
|
|
(call $~lib/internal/memory/memcpy
|
|
|
|
(get_local $0)
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(return)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.lt_u
|
|
|
|
(get_local $0)
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(if
|
|
|
|
(i32.eq
|
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 7)
|
|
|
|
)
|
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 7)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(loop $continue|0
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 7)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(get_local $2)
|
|
|
|
)
|
|
|
|
(return)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(tee_local $4
|
|
|
|
(get_local $0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(loop $continue|1
|
|
|
|
(if
|
|
|
|
(i32.ge_u
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i64.store
|
|
|
|
(get_local $0)
|
|
|
|
(i64.load
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(loop $continue|2
|
|
|
|
(if
|
|
|
|
(get_local $2)
|
|
|
|
(block
|
|
|
|
(set_local $0
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(tee_local $4
|
|
|
|
(get_local $0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $1
|
|
|
|
(i32.add
|
|
|
|
(tee_local $3
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(get_local $4)
|
|
|
|
(i32.load8_u
|
|
|
|
(get_local $3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(if
|
|
|
|
(i32.eq
|
|
|
|
(i32.and
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 7)
|
|
|
|
)
|
|
|
|
(i32.and
|
|
|
|
(get_local $0)
|
|
|
|
(i32.const 7)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(loop $continue|3
|
|
|
|
(if
|
|
|
|
(i32.and
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(get_local $2)
|
|
|
|
)
|
|
|
|
(i32.const 7)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(if
|
|
|
|
(i32.eqz
|
|
|
|
(get_local $2)
|
|
|
|
)
|
|
|
|
(return)
|
|
|
|
)
|
|
|
|
(i32.store8
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(tee_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.load8_u
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(get_local $2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|3)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(loop $continue|4
|
|
|
|
(if
|
|
|
|
(i32.ge_u
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(i64.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(tee_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i64.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(get_local $2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|4)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(loop $continue|5
|
|
|
|
(if
|
|
|
|
(get_local $2)
|
|
|
|
(block
|
|
|
|
(i32.store8
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(tee_local $2
|
|
|
|
(i32.sub
|
|
|
|
(get_local $2)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.load8_u
|
|
|
|
(i32.add
|
|
|
|
(get_local $1)
|
|
|
|
(get_local $2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(br $continue|5)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(func $std/pointer/Pointer<Entry>#set:value (; 5 ;) (; has Stack IR ;) (type $iiv) (param $0 i32) (param $1 i32)
|
|
|
|
(if
|
|
|
|
(get_local $1)
|
|
|
|
(call $~lib/internal/memory/memmove
|
|
|
|
(get_local $0)
|
|
|
|
(get_local $1)
|
|
|
|
)
|
|
|
|
(call $~lib/internal/memory/memset
|
|
|
|
(get_local $0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(func $std/pointer/Pointer<f32>#set (; 6 ;) (; has Stack IR ;) (type $iifv) (param $0 i32) (param $1 i32) (param $2 f32)
|
2018-09-15 02:54:30 +02:00
|
|
|
(f32.store
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.shl
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(get_local $2)
|
|
|
|
)
|
|
|
|
)
|
2018-09-15 03:19:41 +02:00
|
|
|
(func $std/pointer/Pointer<f32>#get (; 7 ;) (; has Stack IR ;) (type $iif) (param $0 i32) (param $1 i32) (result f32)
|
2018-09-15 02:54:30 +02:00
|
|
|
(f32.load
|
|
|
|
(i32.add
|
|
|
|
(get_local $0)
|
|
|
|
(i32.shl
|
|
|
|
(get_local $1)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2018-09-15 03:19:41 +02:00
|
|
|
(func $std/pointer/Pointer<f32>#set:value (; 8 ;) (; has Stack IR ;) (type $FUNCSIG$vi) (param $0 i32)
|
|
|
|
(f32.store
|
|
|
|
(get_local $0)
|
|
|
|
(f32.const 1.399999976158142)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(func $start (; 9 ;) (; has Stack IR ;) (type $v)
|
2018-06-21 03:09:58 +02:00
|
|
|
(set_global $std/pointer/one
|
|
|
|
(call $std/pointer/Pointer<Entry>#constructor
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $std/pointer/two
|
|
|
|
(call $std/pointer/Pointer<Entry>#constructor
|
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/one)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 79)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/two)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 80)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(i32.store
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/one)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(i32.store offset=4
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/one)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
|
|
|
(i32.load
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/one)
|
2018-06-21 03:09:58 +02:00
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 84)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
|
|
|
(i32.load offset=4
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/one)
|
2018-06-21 03:09:58 +02:00
|
|
|
)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 85)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $std/pointer/add
|
|
|
|
(i32.add
|
|
|
|
(get_global $std/pointer/one)
|
|
|
|
(get_global $std/pointer/two)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/add)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 32)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 88)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $std/pointer/sub
|
|
|
|
(i32.sub
|
|
|
|
(get_global $std/pointer/two)
|
|
|
|
(get_global $std/pointer/one)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/sub)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 91)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/one)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 93)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $std/pointer/one
|
|
|
|
(i32.add
|
|
|
|
(get_global $std/pointer/one)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
2018-06-21 19:42:18 +02:00
|
|
|
(set_global $std/pointer/nextOne
|
|
|
|
(get_global $std/pointer/one)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
|
|
|
(get_global $std/pointer/nextOne)
|
|
|
|
(get_global $std/pointer/one)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 95)
|
2018-06-21 19:42:18 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
2018-06-21 03:09:58 +02:00
|
|
|
(if
|
|
|
|
(i32.ne
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/one)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 16)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 96)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/two)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 24)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 98)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $std/pointer/two
|
|
|
|
(i32.sub
|
|
|
|
(get_global $std/pointer/two)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(set_global $std/pointer/two
|
|
|
|
(i32.sub
|
|
|
|
(get_global $std/pointer/two)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/two)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 101)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
|
|
|
(i32.load
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/two)
|
2018-06-21 03:09:58 +02:00
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 102)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
|
|
|
(i32.load offset=4
|
2018-06-22 15:26:59 +02:00
|
|
|
(get_global $std/pointer/two)
|
2018-06-21 03:09:58 +02:00
|
|
|
)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 103)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(call $std/pointer/Pointer<Entry>#set:value
|
|
|
|
(get_global $std/pointer/one)
|
|
|
|
(get_global $std/pointer/two)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.eq
|
|
|
|
(get_global $std/pointer/one)
|
|
|
|
(get_global $std/pointer/two)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.const 106)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
|
|
|
(i32.load
|
|
|
|
(get_global $std/pointer/one)
|
|
|
|
)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.const 107)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(i32.ne
|
|
|
|
(i32.load offset=4
|
|
|
|
(get_global $std/pointer/one)
|
|
|
|
)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.const 108)
|
2018-06-21 03:09:58 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
2018-09-15 02:54:30 +02:00
|
|
|
(set_global $std/pointer/buf
|
|
|
|
(call $std/pointer/Pointer<Entry>#constructor
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(call $std/pointer/Pointer<f32>#set
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
(i32.const 0)
|
|
|
|
(f32.const 1.100000023841858)
|
|
|
|
)
|
|
|
|
(call $std/pointer/Pointer<f32>#set
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
(i32.const 1)
|
|
|
|
(f32.const 1.2000000476837158)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(call $std/pointer/Pointer<f32>#get
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(f32.const 1.100000023841858)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 114)
|
2018-09-15 02:54:30 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(call $std/pointer/Pointer<f32>#get
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(f32.const 1.2000000476837158)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 115)
|
2018-09-15 02:54:30 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(f32.load
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
)
|
|
|
|
(f32.const 1.100000023841858)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 117)
|
2018-09-15 02:54:30 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(f32.load
|
|
|
|
(i32.add
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
(i32.const 4)
|
2018-07-18 23:49:32 +02:00
|
|
|
)
|
|
|
|
)
|
2018-09-15 02:54:30 +02:00
|
|
|
(f32.const 1.2000000476837158)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 118)
|
2018-09-15 02:54:30 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
2018-07-18 23:49:32 +02:00
|
|
|
(unreachable)
|
|
|
|
)
|
2018-09-15 02:54:30 +02:00
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(f32.load
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(f32.const 1.100000023841858)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 120)
|
2018-09-15 02:54:30 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(f32.load
|
|
|
|
(i32.const 4)
|
|
|
|
)
|
|
|
|
(f32.const 1.2000000476837158)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 121)
|
2018-09-15 02:54:30 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
2018-07-18 23:49:32 +02:00
|
|
|
)
|
|
|
|
)
|
2018-09-15 02:54:30 +02:00
|
|
|
(f32.store
|
|
|
|
(i32.add
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(f32.const 1.2999999523162842)
|
2018-07-18 23:49:32 +02:00
|
|
|
)
|
2018-09-15 02:54:30 +02:00
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(call $std/pointer/Pointer<f32>#get
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
(i32.const 2)
|
|
|
|
)
|
|
|
|
(f32.const 1.2999999523162842)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 124)
|
2018-09-15 02:54:30 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(f32.load
|
|
|
|
(i32.add
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(f32.const 1.2999999523162842)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 125)
|
2018-09-15 02:54:30 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(f32.load
|
|
|
|
(i32.const 8)
|
|
|
|
)
|
|
|
|
(f32.const 1.2999999523162842)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
2018-09-15 03:19:41 +02:00
|
|
|
(i32.const 126)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(call $std/pointer/Pointer<f32>#set:value
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(f32.load
|
|
|
|
(get_global $std/pointer/buf)
|
|
|
|
)
|
|
|
|
(f32.const 1.399999976158142)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.const 129)
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(if
|
|
|
|
(f32.ne
|
|
|
|
(f32.load
|
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(f32.const 1.399999976158142)
|
|
|
|
)
|
|
|
|
(block
|
|
|
|
(call $~lib/env/abort
|
|
|
|
(i32.const 0)
|
|
|
|
(i32.const 8)
|
|
|
|
(i32.const 130)
|
2018-09-15 02:54:30 +02:00
|
|
|
(i32.const 0)
|
|
|
|
)
|
|
|
|
(unreachable)
|
|
|
|
)
|
2018-07-18 23:49:32 +02:00
|
|
|
)
|
|
|
|
)
|
2018-09-17 01:48:35 +02:00
|
|
|
(func $null (; 10 ;) (; has Stack IR ;) (type $v)
|
|
|
|
(nop)
|
|
|
|
)
|
2018-06-21 03:09:58 +02:00
|
|
|
)
|