2018-06-21 03:09:58 +02:00
|
|
|
(module
|
2019-02-07 15:26:26 +01:00
|
|
|
(type $iiii_ (func (param i32 i32 i32 i32)))
|
|
|
|
(type $_ (func))
|
2018-09-15 03:19:41 +02:00
|
|
|
(type $FUNCSIG$vi (func (param i32)))
|
|
|
|
(type $FUNCSIG$vii (func (param i32 i32)))
|
2018-11-08 08:04:24 +01:00
|
|
|
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
2018-10-11 08:49:08 +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")
|
2019-02-05 17:12:10 +01:00
|
|
|
(table $0 1 funcref)
|
2018-10-11 08:49:08 +02:00
|
|
|
(elem (i32.const 0) $null)
|
2018-06-21 03:09:58 +02:00
|
|
|
(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-07-18 23:49:32 +02:00
|
|
|
(export "memory" (memory $0))
|
2018-10-11 08:49:08 +02:00
|
|
|
(export "table" (table $0))
|
2018-06-21 03:09:58 +02:00
|
|
|
(start $start)
|
2018-11-09 12:28:10 +01:00
|
|
|
(func $~lib/internal/memory/memset (; 1 ;) (type $FUNCSIG$vi) (param $0 i32)
|
2018-09-15 03:19:41 +02:00
|
|
|
(local $1 i32)
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 0
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
|
|
|
i32.const 0
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
|
|
|
i32.const 0
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.add
|
|
|
|
i32.const 0
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.sub
|
|
|
|
i32.const 0
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 3
|
|
|
|
i32.sub
|
|
|
|
i32.const 0
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 3
|
|
|
|
i32.add
|
|
|
|
i32.const 0
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.sub
|
|
|
|
i32.const 0
|
|
|
|
i32.store8
|
2018-09-15 03:19:41 +02:00
|
|
|
)
|
2019-02-28 18:26:04 +01:00
|
|
|
(func $~lib/internal/memory/memcpy (; 2 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
|
|
|
(local $2 i32)
|
2018-09-15 03:19:41 +02:00
|
|
|
(local $3 i32)
|
|
|
|
(local $4 i32)
|
|
|
|
(local $5 i32)
|
2019-02-28 18:26:04 +01:00
|
|
|
i32.const 8
|
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
loop $continue|0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 3
|
|
|
|
i32.and
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
|
|
|
local.get $2
|
2019-01-09 13:02:47 +01:00
|
|
|
select
|
2018-11-08 08:04:24 +01:00
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
br $continue|0
|
|
|
|
end
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 3
|
|
|
|
i32.and
|
|
|
|
i32.eqz
|
|
|
|
if
|
|
|
|
loop $continue|1
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.ge_u
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
|
|
|
i32.load
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
|
|
|
i32.load
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 12
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 12
|
|
|
|
i32.add
|
|
|
|
i32.load
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
br $continue|1
|
|
|
|
end
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
|
|
|
i32.load
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $0
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
2018-11-08 08:04:24 +01:00
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $0
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
2018-11-08 08:04:24 +01:00
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load16_u
|
|
|
|
i32.store16
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $0
|
2019-01-09 13:02:47 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
2018-11-08 08:04:24 +01:00
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
|
|
|
end
|
|
|
|
return
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 32
|
|
|
|
i32.ge_u
|
|
|
|
if
|
|
|
|
block $break|2
|
|
|
|
block $case2|2
|
|
|
|
block $case1|2
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 3
|
|
|
|
i32.and
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.ne
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.eq
|
|
|
|
br_if $case1|2
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 3
|
|
|
|
i32.eq
|
|
|
|
br_if $case2|2
|
|
|
|
br $break|2
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $5
|
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 3
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
loop $continue|3
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 17
|
|
|
|
i32.ge_u
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $5
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 5
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $5
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $3
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 9
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $5
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 12
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 13
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $5
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $3
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
br $continue|3
|
|
|
|
end
|
|
|
|
end
|
|
|
|
br $break|2
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $5
|
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
loop $continue|4
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 18
|
|
|
|
i32.ge_u
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $5
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 6
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $5
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $3
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 10
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $5
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 12
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 14
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $5
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $3
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
br $continue|4
|
|
|
|
end
|
|
|
|
end
|
|
|
|
br $break|2
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $5
|
|
|
|
local.get $0
|
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
loop $continue|5
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 19
|
|
|
|
i32.ge_u
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 3
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $5
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 7
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $5
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $3
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 11
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $5
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 12
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 15
|
|
|
|
i32.add
|
|
|
|
i32.load
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $5
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shl
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $3
|
2018-12-01 03:09:43 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.shr_u
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.or
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
br $continue|5
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-28 18:26:04 +01:00
|
|
|
local.tee $0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
|
|
|
end
|
2018-09-15 03:19:41 +02:00
|
|
|
)
|
2018-11-09 12:28:10 +01:00
|
|
|
(func $~lib/internal/memory/memmove (; 3 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
|
2018-09-15 03:19:41 +02:00
|
|
|
(local $2 i32)
|
|
|
|
(local $3 i32)
|
|
|
|
(local $4 i32)
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.eq
|
|
|
|
if
|
|
|
|
return
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.le_u
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $3
|
2019-01-09 13:02:47 +01:00
|
|
|
if (result i32)
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $3
|
2019-01-09 13:02:47 +01:00
|
|
|
else
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.le_u
|
|
|
|
end
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
call $~lib/internal/memory/memcpy
|
|
|
|
return
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.lt_u
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 7
|
|
|
|
i32.and
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 7
|
|
|
|
i32.and
|
|
|
|
i32.eq
|
|
|
|
if
|
|
|
|
loop $continue|0
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 7
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.eqz
|
|
|
|
if
|
|
|
|
return
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
|
|
|
local.get $0
|
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
|
|
|
br $continue|0
|
|
|
|
end
|
|
|
|
end
|
|
|
|
loop $continue|1
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.ge_u
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i64.load
|
|
|
|
i64.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
2018-11-08 08:04:24 +01:00
|
|
|
br $continue|1
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
loop $continue|2
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.tee $4
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $0
|
|
|
|
local.get $1
|
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $1
|
|
|
|
local.get $4
|
|
|
|
local.get $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.set $2
|
2018-11-08 08:04:24 +01:00
|
|
|
br $continue|2
|
|
|
|
end
|
|
|
|
end
|
|
|
|
else
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 7
|
|
|
|
i32.and
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 7
|
|
|
|
i32.and
|
|
|
|
i32.eq
|
|
|
|
if
|
|
|
|
loop $continue|3
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.const 7
|
|
|
|
i32.and
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.eqz
|
|
|
|
if
|
|
|
|
return
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $2
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
|
|
|
br $continue|3
|
|
|
|
end
|
|
|
|
end
|
|
|
|
loop $continue|4
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.ge_u
|
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $2
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i64.load
|
|
|
|
i64.store
|
|
|
|
br $continue|4
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
loop $continue|5
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
local.tee $2
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $1
|
|
|
|
local.get $2
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
|
|
|
i32.load8_u
|
|
|
|
i32.store8
|
|
|
|
br $continue|5
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2018-09-15 03:19:41 +02:00
|
|
|
)
|
2019-02-21 00:11:22 +01:00
|
|
|
(func $start:std/pointer (; 4 ;) (type $_)
|
2018-11-09 12:28:10 +01:00
|
|
|
(local $0 i32)
|
|
|
|
(local $1 i32)
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $std/pointer/one
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $std/pointer/two
|
|
|
|
global.get $std/pointer/one
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 79
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/two
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 80
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
|
|
|
local.tee $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 2
|
|
|
|
i32.store offset=4
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 84
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load offset=4
|
|
|
|
i32.const 2
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 85
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
|
|
|
global.get $std/pointer/two
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $std/pointer/add
|
|
|
|
global.get $std/pointer/add
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 32
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 88
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/two
|
|
|
|
global.get $std/pointer/one
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $std/pointer/sub
|
|
|
|
global.get $std/pointer/sub
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 91
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 93
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $std/pointer/one
|
|
|
|
global.get $std/pointer/one
|
|
|
|
local.tee $0
|
|
|
|
global.set $std/pointer/nextOne
|
|
|
|
global.get $std/pointer/nextOne
|
|
|
|
local.get $0
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 95
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 96
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/two
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 98
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/two
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $std/pointer/two
|
|
|
|
global.get $std/pointer/two
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.sub
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $std/pointer/two
|
|
|
|
global.get $std/pointer/two
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 101
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/two
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 102
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/two
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load offset=4
|
|
|
|
i32.const 2
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 103
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
|
|
|
local.set $0
|
|
|
|
global.get $std/pointer/two
|
|
|
|
local.tee $1
|
2018-11-09 12:28:10 +01:00
|
|
|
if
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.get $1
|
2018-11-09 12:28:10 +01:00
|
|
|
call $~lib/internal/memory/memmove
|
|
|
|
else
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-09 12:28:10 +01:00
|
|
|
call $~lib/internal/memory/memset
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
|
|
|
global.get $std/pointer/two
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.eq
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 106
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load
|
|
|
|
i32.const 1
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 107
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/one
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.load offset=4
|
|
|
|
i32.const 2
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 108
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 0
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $std/pointer/buf
|
|
|
|
global.get $std/pointer/buf
|
2018-11-08 08:04:24 +01:00
|
|
|
f32.const 1.100000023841858
|
2018-11-09 12:28:10 +01:00
|
|
|
f32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/buf
|
2018-11-09 12:28:10 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
2018-11-08 08:04:24 +01:00
|
|
|
f32.const 1.2000000476837158
|
2018-11-09 12:28:10 +01:00
|
|
|
f32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/buf
|
2018-11-09 12:28:10 +01:00
|
|
|
f32.load
|
2018-11-08 08:04:24 +01:00
|
|
|
f32.const 1.100000023841858
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 114
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/buf
|
2018-11-09 12:28:10 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
|
|
|
f32.load
|
2018-11-08 08:04:24 +01:00
|
|
|
f32.const 1.2000000476837158
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 115
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/buf
|
2018-11-08 08:04:24 +01:00
|
|
|
f32.load
|
|
|
|
f32.const 1.100000023841858
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 117
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/buf
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 4
|
|
|
|
i32.add
|
|
|
|
f32.load
|
|
|
|
f32.const 1.2000000476837158
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 118
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 0
|
|
|
|
f32.load
|
|
|
|
f32.const 1.100000023841858
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 120
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 4
|
|
|
|
f32.load
|
|
|
|
f32.const 1.2000000476837158
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 121
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/buf
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
2019-02-06 23:42:43 +01:00
|
|
|
local.tee $0
|
2018-11-08 08:04:24 +01:00
|
|
|
f32.const 1.2999999523162842
|
|
|
|
f32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
2018-11-09 12:28:10 +01:00
|
|
|
f32.load
|
2018-11-08 08:04:24 +01:00
|
|
|
f32.const 1.2999999523162842
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 124
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/buf
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.add
|
|
|
|
f32.load
|
|
|
|
f32.const 1.2999999523162842
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 125
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 8
|
|
|
|
f32.load
|
|
|
|
f32.const 1.2999999523162842
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 126
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/buf
|
2018-11-09 12:28:10 +01:00
|
|
|
f32.const 1.399999976158142
|
|
|
|
f32.store
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $std/pointer/buf
|
2018-11-08 08:04:24 +01:00
|
|
|
f32.load
|
|
|
|
f32.const 1.399999976158142
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 129
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 0
|
|
|
|
f32.load
|
|
|
|
f32.const 1.399999976158142
|
|
|
|
f32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
|
|
|
i32.const 8
|
|
|
|
i32.const 130
|
|
|
|
i32.const 0
|
|
|
|
call $~lib/env/abort
|
|
|
|
unreachable
|
|
|
|
end
|
2018-07-18 23:49:32 +02:00
|
|
|
)
|
2019-02-21 00:11:22 +01:00
|
|
|
(func $start (; 5 ;) (type $_)
|
|
|
|
call $start:std/pointer
|
|
|
|
)
|
|
|
|
(func $null (; 6 ;) (type $_)
|
2018-11-08 08:04:24 +01:00
|
|
|
nop
|
2018-09-17 01:48:35 +02:00
|
|
|
)
|
2018-06-21 03:09:58 +02:00
|
|
|
)
|