2017-12-08 16:11:58 +01:00
|
|
|
(module
|
2019-03-01 00:01:23 +01:00
|
|
|
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
|
|
|
|
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
|
|
|
|
(type $FUNCSIG$v (func))
|
2019-06-05 23:15:39 +02:00
|
|
|
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32)))
|
2017-12-08 16:11:58 +01:00
|
|
|
(memory $0 1)
|
2019-06-05 23:15:39 +02:00
|
|
|
(data (i32.const 8) "\12\00\00\00\01\00\00\00\01\00\00\00\12\00\00\00m\00e\00m\00c\00p\00y\00.\00t\00s")
|
2018-10-11 08:49:08 +02:00
|
|
|
(global $memcpy/dest (mut i32) (i32.const 0))
|
2017-12-08 16:11:58 +01:00
|
|
|
(export "memory" (memory $0))
|
2018-07-18 23:49:32 +02:00
|
|
|
(export "memcpy" (func $memcpy/memcpy))
|
2017-12-08 16:11:58 +01:00
|
|
|
(start $start)
|
2019-03-01 00:01:23 +01:00
|
|
|
(func $memcpy/memcpy (; 1 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
2017-12-08 16:11:58 +01:00
|
|
|
(local $3 i32)
|
|
|
|
(local $4 i32)
|
|
|
|
(local $5 i32)
|
2018-06-09 14:05:33 +02:00
|
|
|
(local $6 i32)
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $0
|
|
|
|
local.set $6
|
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-06-05 23:15:39 +02:00
|
|
|
i32.const 0
|
2019-02-05 17:12:10 +01:00
|
|
|
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
|
2019-03-27 15:50:05 +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 $0
|
|
|
|
local.get $1
|
2019-03-27 15:50:05 +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 $1
|
|
|
|
local.get $3
|
2019-03-27 15:50:05 +01:00
|
|
|
local.get $4
|
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
|
2019-06-11 12:52:16 +02:00
|
|
|
i32.lt_u
|
|
|
|
i32.eqz
|
2018-11-08 08:04:24 +01:00
|
|
|
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
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $6
|
2018-11-08 08:04:24 +01:00
|
|
|
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-03-27 15:50:05 +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-03-27 15:50:05 +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 $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-03-27 15:50:05 +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 $1
|
|
|
|
local.get $3
|
2019-03-27 15:50:05 +01:00
|
|
|
local.get $4
|
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
|
2019-06-11 12:52:16 +02:00
|
|
|
i32.lt_u
|
|
|
|
i32.eqz
|
2018-11-08 08:04:24 +01:00
|
|
|
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-03-27 15:50:05 +01:00
|
|
|
local.get $3
|
|
|
|
i32.const 24
|
|
|
|
i32.shr_u
|
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-03-27 15:50:05 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.shl
|
|
|
|
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-03-27 15:50:05 +01:00
|
|
|
local.get $3
|
|
|
|
i32.const 24
|
|
|
|
i32.shr_u
|
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
|
|
|
|
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-03-27 15:50:05 +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 $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-03-27 15:50:05 +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 $1
|
|
|
|
local.get $3
|
2019-03-27 15:50:05 +01:00
|
|
|
local.get $4
|
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
|
2019-06-11 12:52:16 +02:00
|
|
|
i32.lt_u
|
|
|
|
i32.eqz
|
2018-11-08 08:04:24 +01:00
|
|
|
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-03-27 15:50:05 +01:00
|
|
|
local.get $3
|
|
|
|
i32.const 16
|
|
|
|
i32.shr_u
|
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-03-27 15:50:05 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 16
|
|
|
|
i32.shl
|
|
|
|
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-03-27 15:50:05 +01:00
|
|
|
local.get $3
|
|
|
|
i32.const 16
|
|
|
|
i32.shr_u
|
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
|
|
|
|
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
|
2019-03-27 15:50:05 +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 $0
|
|
|
|
local.get $1
|
2019-03-27 15:50:05 +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 $1
|
|
|
|
local.get $3
|
2019-03-27 15:50:05 +01:00
|
|
|
local.get $4
|
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
|
2019-06-11 12:52:16 +02:00
|
|
|
i32.lt_u
|
|
|
|
i32.eqz
|
2018-11-08 08:04:24 +01:00
|
|
|
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-03-27 15:50:05 +01:00
|
|
|
local.get $3
|
|
|
|
i32.const 8
|
|
|
|
i32.shr_u
|
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-03-27 15:50:05 +01:00
|
|
|
local.tee $3
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 24
|
|
|
|
i32.shl
|
|
|
|
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-03-27 15:50:05 +01:00
|
|
|
local.get $3
|
|
|
|
i32.const 8
|
|
|
|
i32.shr_u
|
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
|
|
|
|
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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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 $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-03-27 15:50:05 +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 $1
|
|
|
|
local.get $3
|
2019-03-27 15:50:05 +01:00
|
|
|
local.get $4
|
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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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 $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-03-27 15:50:05 +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 $1
|
|
|
|
local.get $3
|
2019-03-27 15:50:05 +01:00
|
|
|
local.get $4
|
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-03-27 15:50:05 +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-03-27 15:50:05 +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-03-27 15:50:05 +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 $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-03-27 15:50:05 +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 $1
|
|
|
|
local.get $3
|
2019-03-27 15:50:05 +01:00
|
|
|
local.get $4
|
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-03-27 15:50:05 +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 $0
|
|
|
|
local.get $1
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 1
|
|
|
|
i32.add
|
2019-03-27 15:50:05 +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 $1
|
|
|
|
local.get $3
|
2019-03-27 15:50:05 +01:00
|
|
|
local.get $4
|
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
|
2019-02-05 17:12:10 +01:00
|
|
|
local.get $6
|
2017-12-08 16:11:58 +01:00
|
|
|
)
|
2019-03-01 00:01:23 +01:00
|
|
|
(func $start:memcpy (; 2 ;) (type $FUNCSIG$v)
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i64.const 1229782938247303441
|
|
|
|
i64.store
|
|
|
|
i32.const 16
|
|
|
|
i64.const 2459565876494606882
|
|
|
|
i64.store
|
|
|
|
i32.const 24
|
|
|
|
i64.const 3689348814741910323
|
|
|
|
i64.store
|
|
|
|
i32.const 32
|
|
|
|
i64.const 4919131752989213764
|
|
|
|
i64.store
|
|
|
|
i32.const 9
|
|
|
|
i32.const 24
|
|
|
|
i32.const 4
|
|
|
|
call $memcpy/memcpy
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $memcpy/dest
|
|
|
|
global.get $memcpy/dest
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 9
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 151
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 8
|
|
|
|
i64.load
|
|
|
|
i64.const 1229783084848853777
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 152
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 8
|
|
|
|
i32.const 8
|
|
|
|
i32.const 32
|
|
|
|
call $memcpy/memcpy
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $memcpy/dest
|
|
|
|
global.get $memcpy/dest
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i32.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 155
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 8
|
|
|
|
i64.load
|
|
|
|
i64.const 1229783084848853777
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 156
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 16
|
|
|
|
i64.load
|
|
|
|
i64.const 2459565876494606882
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 157
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 24
|
|
|
|
i64.load
|
|
|
|
i64.const 3689348814741910323
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 158
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 32
|
|
|
|
i64.load
|
|
|
|
i64.const 4919131752989213764
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 159
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 13
|
|
|
|
i32.const 36
|
|
|
|
i32.const 3
|
|
|
|
call $memcpy/memcpy
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $memcpy/dest
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i64.load
|
|
|
|
i64.const 4919131679688438545
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 162
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 16
|
|
|
|
i32.const 24
|
|
|
|
i32.const 15
|
|
|
|
call $memcpy/memcpy
|
2019-02-05 17:12:10 +01:00
|
|
|
global.set $memcpy/dest
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 8
|
|
|
|
i64.load
|
|
|
|
i64.const 4919131679688438545
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 165
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 16
|
|
|
|
i64.load
|
|
|
|
i64.const 3689348814741910323
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 166
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 24
|
|
|
|
i64.load
|
|
|
|
i64.const 3694152654344438852
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 167
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
|
|
|
i32.const 32
|
|
|
|
i64.load
|
|
|
|
i64.const 4919131752989213764
|
|
|
|
i64.ne
|
|
|
|
if
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
i32.const 24
|
2018-11-08 08:04:24 +01:00
|
|
|
i32.const 168
|
|
|
|
i32.const 0
|
2019-06-05 23:15:39 +02:00
|
|
|
call $~lib/builtins/abort
|
2018-11-08 08:04:24 +01:00
|
|
|
unreachable
|
|
|
|
end
|
2017-12-08 16:11:58 +01:00
|
|
|
)
|
2019-03-01 00:01:23 +01:00
|
|
|
(func $start (; 3 ;) (type $FUNCSIG$v)
|
2019-02-21 00:11:22 +01:00
|
|
|
call $start:memcpy
|
|
|
|
)
|
2019-03-01 00:01:23 +01:00
|
|
|
(func $null (; 4 ;) (type $FUNCSIG$v)
|
2018-11-08 08:04:24 +01:00
|
|
|
nop
|
2018-09-17 01:48:35 +02:00
|
|
|
)
|
2017-12-08 16:11:58 +01:00
|
|
|
)
|