mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 18:40:38 +00:00
Add a test for a wasm aggregate function which uses the new metrics to check if the cache has been hit at least once. Also check that the cache can get reused on different queries, by testing that the number of queries is higher than the number of cache misses. Signed-off-by: Wojciech Mitros <wojciech.mitros@scylladb.com>
4089 lines
127 KiB
Plaintext
4089 lines
127 KiB
Plaintext
(module
|
|
(type (;0;) (func (param i32) (result i32)))
|
|
(type (;1;) (func (param i32)))
|
|
(type (;2;) (func (param i32 i32) (result i32)))
|
|
(func $dlmalloc (type 0) (param i32) (result i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
global.get 0
|
|
i32.const 16
|
|
i32.sub
|
|
local.tee 10
|
|
global.set 0
|
|
block ;; label = @1
|
|
i32.const 1048604
|
|
i32.load
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
call $sbrk
|
|
i32.const 1049088
|
|
i32.sub
|
|
local.tee 2
|
|
i32.const 89
|
|
i32.lt_u
|
|
br_if 0 (;@1;)
|
|
i32.const 1049052
|
|
i32.load
|
|
local.tee 4
|
|
i32.eqz
|
|
if ;; label = @2
|
|
i32.const 1049064
|
|
i64.const -1
|
|
i64.store align=4
|
|
i32.const 1049056
|
|
i64.const 281474976776192
|
|
i64.store align=4
|
|
i32.const 1049052
|
|
local.get 10
|
|
i32.const 8
|
|
i32.add
|
|
i32.const -16
|
|
i32.and
|
|
i32.const 1431655768
|
|
i32.xor
|
|
local.tee 4
|
|
i32.store
|
|
i32.const 1049072
|
|
i32.const 0
|
|
i32.store
|
|
i32.const 1049024
|
|
i32.const 0
|
|
i32.store
|
|
end
|
|
i32.const 1049032
|
|
local.get 2
|
|
i32.store
|
|
i32.const 1049028
|
|
i32.const 1049088
|
|
i32.store
|
|
i32.const 1048596
|
|
i32.const 1049088
|
|
i32.store
|
|
i32.const 1048616
|
|
local.get 4
|
|
i32.store
|
|
i32.const 1048612
|
|
i32.const -1
|
|
i32.store
|
|
loop ;; label = @2
|
|
local.get 1
|
|
i32.const 1048640
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1048628
|
|
i32.add
|
|
local.tee 3
|
|
i32.store
|
|
local.get 3
|
|
local.get 1
|
|
i32.const 1048620
|
|
i32.add
|
|
local.tee 4
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1048632
|
|
i32.add
|
|
local.get 4
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1048648
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1048636
|
|
i32.add
|
|
local.tee 4
|
|
i32.store
|
|
local.get 4
|
|
local.get 3
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1048656
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1048644
|
|
i32.add
|
|
local.tee 3
|
|
i32.store
|
|
local.get 3
|
|
local.get 4
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1048652
|
|
i32.add
|
|
local.get 3
|
|
i32.store
|
|
local.get 1
|
|
i32.const 32
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 256
|
|
i32.ne
|
|
br_if 0 (;@2;)
|
|
end
|
|
i32.const 1049100
|
|
local.get 2
|
|
i32.const -56
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 8
|
|
i32.sub
|
|
local.tee 2
|
|
i32.const 1
|
|
i32.or
|
|
i32.store
|
|
i32.const 1048608
|
|
i32.const 1049068
|
|
i32.load
|
|
i32.store
|
|
i32.const 1048592
|
|
local.get 2
|
|
i32.store
|
|
i32.const 1048604
|
|
i32.const 1049096
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1049088
|
|
i32.add
|
|
i32.const 56
|
|
i32.store offset=4
|
|
end
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
block ;; label = @5
|
|
block ;; label = @6
|
|
block ;; label = @7
|
|
block ;; label = @8
|
|
block ;; label = @9
|
|
block ;; label = @10
|
|
block ;; label = @11
|
|
local.get 0
|
|
i32.const 236
|
|
i32.le_u
|
|
if ;; label = @12
|
|
i32.const 1048580
|
|
i32.load
|
|
local.tee 6
|
|
i32.const 16
|
|
local.get 0
|
|
i32.const 19
|
|
i32.add
|
|
i32.const -16
|
|
i32.and
|
|
local.get 0
|
|
i32.const 11
|
|
i32.lt_u
|
|
select
|
|
local.tee 5
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.shr_u
|
|
local.tee 1
|
|
i32.const 3
|
|
i32.and
|
|
if ;; label = @13
|
|
local.get 1
|
|
i32.const 1
|
|
i32.and
|
|
local.get 0
|
|
i32.or
|
|
i32.const 1
|
|
i32.xor
|
|
local.tee 2
|
|
i32.const 3
|
|
i32.shl
|
|
local.tee 4
|
|
i32.const 1048628
|
|
i32.add
|
|
i32.load
|
|
local.tee 0
|
|
i32.const 8
|
|
i32.add
|
|
local.set 1
|
|
block ;; label = @14
|
|
local.get 0
|
|
i32.load offset=8
|
|
local.tee 3
|
|
local.get 4
|
|
i32.const 1048620
|
|
i32.add
|
|
local.tee 4
|
|
i32.eq
|
|
if ;; label = @15
|
|
i32.const 1048580
|
|
local.get 6
|
|
i32.const -2
|
|
local.get 2
|
|
i32.rotl
|
|
i32.and
|
|
i32.store
|
|
br 1 (;@14;)
|
|
end
|
|
local.get 4
|
|
local.get 3
|
|
i32.store offset=8
|
|
local.get 3
|
|
local.get 4
|
|
i32.store offset=12
|
|
end
|
|
local.get 0
|
|
local.get 2
|
|
i32.const 3
|
|
i32.shl
|
|
local.tee 2
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 2
|
|
i32.add
|
|
local.tee 0
|
|
local.get 0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
br 12 (;@1;)
|
|
end
|
|
local.get 5
|
|
i32.const 1048588
|
|
i32.load
|
|
local.tee 8
|
|
i32.le_u
|
|
br_if 1 (;@11;)
|
|
local.get 1
|
|
if ;; label = @13
|
|
block ;; label = @14
|
|
i32.const 2
|
|
local.get 0
|
|
i32.shl
|
|
local.tee 2
|
|
i32.const 0
|
|
local.get 2
|
|
i32.sub
|
|
i32.or
|
|
local.get 1
|
|
local.get 0
|
|
i32.shl
|
|
i32.and
|
|
local.tee 0
|
|
i32.const 0
|
|
local.get 0
|
|
i32.sub
|
|
i32.and
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
local.get 0
|
|
i32.const 12
|
|
i32.shr_u
|
|
i32.const 16
|
|
i32.and
|
|
local.tee 0
|
|
i32.shr_u
|
|
local.tee 1
|
|
i32.const 5
|
|
i32.shr_u
|
|
i32.const 8
|
|
i32.and
|
|
local.tee 2
|
|
local.get 0
|
|
i32.or
|
|
local.get 1
|
|
local.get 2
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.const 4
|
|
i32.and
|
|
local.tee 1
|
|
i32.or
|
|
local.get 0
|
|
local.get 1
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.const 2
|
|
i32.and
|
|
local.tee 1
|
|
i32.or
|
|
local.get 0
|
|
local.get 1
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
local.tee 1
|
|
i32.or
|
|
local.get 0
|
|
local.get 1
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 3
|
|
i32.shl
|
|
local.tee 3
|
|
i32.const 1048628
|
|
i32.add
|
|
i32.load
|
|
local.tee 0
|
|
i32.load offset=8
|
|
local.tee 1
|
|
local.get 3
|
|
i32.const 1048620
|
|
i32.add
|
|
local.tee 3
|
|
i32.eq
|
|
if ;; label = @15
|
|
i32.const 1048580
|
|
local.get 6
|
|
i32.const -2
|
|
local.get 2
|
|
i32.rotl
|
|
i32.and
|
|
local.tee 6
|
|
i32.store
|
|
br 1 (;@14;)
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
i32.store offset=8
|
|
local.get 1
|
|
local.get 3
|
|
i32.store offset=12
|
|
end
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
local.get 5
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 2
|
|
i32.const 3
|
|
i32.shl
|
|
local.tee 2
|
|
i32.add
|
|
local.get 2
|
|
local.get 5
|
|
i32.sub
|
|
local.tee 4
|
|
i32.store
|
|
local.get 0
|
|
local.get 5
|
|
i32.add
|
|
local.tee 5
|
|
local.get 4
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 8
|
|
if ;; label = @14
|
|
local.get 8
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 3
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 1048620
|
|
i32.add
|
|
local.set 0
|
|
i32.const 1048600
|
|
i32.load
|
|
local.set 2
|
|
block (result i32) ;; label = @15
|
|
local.get 6
|
|
i32.const 1
|
|
local.get 3
|
|
i32.shl
|
|
local.tee 3
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @16
|
|
i32.const 1048580
|
|
local.get 3
|
|
local.get 6
|
|
i32.or
|
|
i32.store
|
|
local.get 0
|
|
br 1 (;@15;)
|
|
end
|
|
local.get 0
|
|
i32.load offset=8
|
|
end
|
|
local.tee 3
|
|
local.get 2
|
|
i32.store offset=12
|
|
local.get 0
|
|
local.get 2
|
|
i32.store offset=8
|
|
local.get 2
|
|
local.get 0
|
|
i32.store offset=12
|
|
local.get 2
|
|
local.get 3
|
|
i32.store offset=8
|
|
end
|
|
i32.const 1048600
|
|
local.get 5
|
|
i32.store
|
|
i32.const 1048588
|
|
local.get 4
|
|
i32.store
|
|
br 12 (;@1;)
|
|
end
|
|
i32.const 1048584
|
|
i32.load
|
|
local.tee 11
|
|
i32.eqz
|
|
br_if 1 (;@11;)
|
|
local.get 11
|
|
i32.const 0
|
|
local.get 11
|
|
i32.sub
|
|
i32.and
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
local.get 0
|
|
i32.const 12
|
|
i32.shr_u
|
|
i32.const 16
|
|
i32.and
|
|
local.tee 0
|
|
i32.shr_u
|
|
local.tee 1
|
|
i32.const 5
|
|
i32.shr_u
|
|
i32.const 8
|
|
i32.and
|
|
local.tee 2
|
|
local.get 0
|
|
i32.or
|
|
local.get 1
|
|
local.get 2
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.const 4
|
|
i32.and
|
|
local.tee 1
|
|
i32.or
|
|
local.get 0
|
|
local.get 1
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.const 2
|
|
i32.and
|
|
local.tee 1
|
|
i32.or
|
|
local.get 0
|
|
local.get 1
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
local.tee 1
|
|
i32.or
|
|
local.get 0
|
|
local.get 1
|
|
i32.shr_u
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
i32.load
|
|
local.tee 0
|
|
i32.load offset=4
|
|
i32.const -8
|
|
i32.and
|
|
local.get 5
|
|
i32.sub
|
|
local.set 4
|
|
local.get 0
|
|
local.set 2
|
|
loop ;; label = @13
|
|
block ;; label = @14
|
|
local.get 2
|
|
i32.load offset=16
|
|
local.tee 1
|
|
i32.eqz
|
|
if ;; label = @15
|
|
local.get 2
|
|
i32.const 20
|
|
i32.add
|
|
i32.load
|
|
local.tee 1
|
|
i32.eqz
|
|
br_if 1 (;@14;)
|
|
end
|
|
local.get 1
|
|
i32.load offset=4
|
|
i32.const -8
|
|
i32.and
|
|
local.get 5
|
|
i32.sub
|
|
local.tee 2
|
|
local.get 4
|
|
local.get 2
|
|
local.get 4
|
|
i32.lt_u
|
|
local.tee 2
|
|
select
|
|
local.set 4
|
|
local.get 1
|
|
local.get 0
|
|
local.get 2
|
|
select
|
|
local.set 0
|
|
local.get 1
|
|
local.set 2
|
|
br 1 (;@13;)
|
|
end
|
|
end
|
|
local.get 0
|
|
i32.load offset=24
|
|
local.set 9
|
|
local.get 0
|
|
local.get 0
|
|
i32.load offset=12
|
|
local.tee 3
|
|
i32.ne
|
|
if ;; label = @13
|
|
i32.const 1048596
|
|
i32.load
|
|
local.get 0
|
|
i32.load offset=8
|
|
local.tee 1
|
|
i32.gt_u
|
|
drop
|
|
local.get 3
|
|
local.get 1
|
|
i32.store offset=8
|
|
local.get 1
|
|
local.get 3
|
|
i32.store offset=12
|
|
br 11 (;@2;)
|
|
end
|
|
local.get 0
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 1
|
|
i32.eqz
|
|
if ;; label = @13
|
|
local.get 0
|
|
i32.load offset=16
|
|
local.tee 1
|
|
i32.eqz
|
|
br_if 3 (;@10;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.set 2
|
|
end
|
|
loop ;; label = @13
|
|
local.get 2
|
|
local.set 7
|
|
local.get 1
|
|
local.tee 3
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 1
|
|
br_if 0 (;@13;)
|
|
local.get 3
|
|
i32.const 16
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
i32.load offset=16
|
|
local.tee 1
|
|
br_if 0 (;@13;)
|
|
end
|
|
local.get 7
|
|
i32.const 0
|
|
i32.store
|
|
br 10 (;@2;)
|
|
end
|
|
i32.const -1
|
|
local.set 5
|
|
local.get 0
|
|
i32.const -65
|
|
i32.gt_u
|
|
br_if 0 (;@11;)
|
|
local.get 0
|
|
i32.const 19
|
|
i32.add
|
|
local.tee 0
|
|
i32.const -16
|
|
i32.and
|
|
local.set 5
|
|
i32.const 1048584
|
|
i32.load
|
|
local.tee 8
|
|
i32.eqz
|
|
br_if 0 (;@11;)
|
|
i32.const 0
|
|
local.get 5
|
|
i32.sub
|
|
local.set 4
|
|
block ;; label = @12
|
|
block ;; label = @13
|
|
block ;; label = @14
|
|
block (result i32) ;; label = @15
|
|
i32.const 0
|
|
local.get 5
|
|
i32.const 256
|
|
i32.lt_u
|
|
br_if 0 (;@15;)
|
|
drop
|
|
i32.const 31
|
|
local.get 5
|
|
i32.const 16777215
|
|
i32.gt_u
|
|
br_if 0 (;@15;)
|
|
drop
|
|
local.get 0
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.tee 0
|
|
local.get 0
|
|
i32.const 1048320
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 8
|
|
i32.and
|
|
local.tee 0
|
|
i32.shl
|
|
local.tee 1
|
|
local.get 1
|
|
i32.const 520192
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 4
|
|
i32.and
|
|
local.tee 1
|
|
i32.shl
|
|
local.tee 2
|
|
local.get 2
|
|
i32.const 245760
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 2
|
|
i32.and
|
|
local.tee 2
|
|
i32.shl
|
|
i32.const 15
|
|
i32.shr_u
|
|
local.get 0
|
|
local.get 1
|
|
i32.or
|
|
local.get 2
|
|
i32.or
|
|
i32.sub
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get 5
|
|
local.get 0
|
|
i32.const 21
|
|
i32.add
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.or
|
|
i32.const 28
|
|
i32.add
|
|
end
|
|
local.tee 7
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
i32.load
|
|
local.tee 2
|
|
i32.eqz
|
|
if ;; label = @15
|
|
i32.const 0
|
|
local.set 1
|
|
i32.const 0
|
|
local.set 3
|
|
br 1 (;@14;)
|
|
end
|
|
i32.const 0
|
|
local.set 1
|
|
local.get 5
|
|
i32.const 0
|
|
i32.const 25
|
|
local.get 7
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.sub
|
|
local.get 7
|
|
i32.const 31
|
|
i32.eq
|
|
select
|
|
i32.shl
|
|
local.set 0
|
|
i32.const 0
|
|
local.set 3
|
|
loop ;; label = @15
|
|
block ;; label = @16
|
|
local.get 2
|
|
i32.load offset=4
|
|
i32.const -8
|
|
i32.and
|
|
local.get 5
|
|
i32.sub
|
|
local.tee 6
|
|
local.get 4
|
|
i32.ge_u
|
|
br_if 0 (;@16;)
|
|
local.get 2
|
|
local.set 3
|
|
local.get 6
|
|
local.tee 4
|
|
br_if 0 (;@16;)
|
|
i32.const 0
|
|
local.set 4
|
|
local.get 2
|
|
local.set 1
|
|
br 3 (;@13;)
|
|
end
|
|
local.get 1
|
|
local.get 2
|
|
i32.const 20
|
|
i32.add
|
|
i32.load
|
|
local.tee 6
|
|
local.get 6
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 29
|
|
i32.shr_u
|
|
i32.const 4
|
|
i32.and
|
|
i32.add
|
|
i32.const 16
|
|
i32.add
|
|
i32.load
|
|
local.tee 2
|
|
i32.eq
|
|
select
|
|
local.get 1
|
|
local.get 6
|
|
select
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.shl
|
|
local.set 0
|
|
local.get 2
|
|
br_if 0 (;@15;)
|
|
end
|
|
end
|
|
local.get 1
|
|
local.get 3
|
|
i32.or
|
|
i32.eqz
|
|
if ;; label = @14
|
|
i32.const 0
|
|
local.set 3
|
|
i32.const 2
|
|
local.get 7
|
|
i32.shl
|
|
local.tee 0
|
|
i32.const 0
|
|
local.get 0
|
|
i32.sub
|
|
i32.or
|
|
local.get 8
|
|
i32.and
|
|
local.tee 0
|
|
i32.eqz
|
|
br_if 3 (;@11;)
|
|
local.get 0
|
|
i32.const 0
|
|
local.get 0
|
|
i32.sub
|
|
i32.and
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
local.get 0
|
|
i32.const 12
|
|
i32.shr_u
|
|
i32.const 16
|
|
i32.and
|
|
local.tee 0
|
|
i32.shr_u
|
|
local.tee 1
|
|
i32.const 5
|
|
i32.shr_u
|
|
i32.const 8
|
|
i32.and
|
|
local.tee 2
|
|
local.get 0
|
|
i32.or
|
|
local.get 1
|
|
local.get 2
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.const 2
|
|
i32.shr_u
|
|
i32.const 4
|
|
i32.and
|
|
local.tee 1
|
|
i32.or
|
|
local.get 0
|
|
local.get 1
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.const 2
|
|
i32.and
|
|
local.tee 1
|
|
i32.or
|
|
local.get 0
|
|
local.get 1
|
|
i32.shr_u
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
local.tee 1
|
|
i32.or
|
|
local.get 0
|
|
local.get 1
|
|
i32.shr_u
|
|
i32.add
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
i32.load
|
|
local.set 1
|
|
end
|
|
local.get 1
|
|
i32.eqz
|
|
br_if 1 (;@12;)
|
|
end
|
|
loop ;; label = @13
|
|
local.get 1
|
|
i32.load offset=4
|
|
i32.const -8
|
|
i32.and
|
|
local.get 5
|
|
i32.sub
|
|
local.tee 6
|
|
local.get 4
|
|
i32.lt_u
|
|
local.set 0
|
|
local.get 6
|
|
local.get 4
|
|
local.get 0
|
|
select
|
|
local.set 4
|
|
local.get 1
|
|
local.get 3
|
|
local.get 0
|
|
select
|
|
local.set 3
|
|
local.get 1
|
|
i32.load offset=16
|
|
local.tee 2
|
|
if (result i32) ;; label = @14
|
|
local.get 2
|
|
else
|
|
local.get 1
|
|
i32.const 20
|
|
i32.add
|
|
i32.load
|
|
end
|
|
local.tee 1
|
|
br_if 0 (;@13;)
|
|
end
|
|
end
|
|
local.get 3
|
|
i32.eqz
|
|
br_if 0 (;@11;)
|
|
local.get 4
|
|
i32.const 1048588
|
|
i32.load
|
|
local.get 5
|
|
i32.sub
|
|
i32.ge_u
|
|
br_if 0 (;@11;)
|
|
local.get 3
|
|
i32.load offset=24
|
|
local.set 7
|
|
local.get 3
|
|
local.get 3
|
|
i32.load offset=12
|
|
local.tee 0
|
|
i32.ne
|
|
if ;; label = @12
|
|
i32.const 1048596
|
|
i32.load
|
|
local.get 3
|
|
i32.load offset=8
|
|
local.tee 1
|
|
i32.gt_u
|
|
drop
|
|
local.get 0
|
|
local.get 1
|
|
i32.store offset=8
|
|
local.get 1
|
|
local.get 0
|
|
i32.store offset=12
|
|
br 9 (;@3;)
|
|
end
|
|
local.get 3
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 1
|
|
i32.eqz
|
|
if ;; label = @12
|
|
local.get 3
|
|
i32.load offset=16
|
|
local.tee 1
|
|
i32.eqz
|
|
br_if 3 (;@9;)
|
|
local.get 3
|
|
i32.const 16
|
|
i32.add
|
|
local.set 2
|
|
end
|
|
loop ;; label = @12
|
|
local.get 2
|
|
local.set 6
|
|
local.get 1
|
|
local.tee 0
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 1
|
|
br_if 0 (;@12;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.set 2
|
|
local.get 0
|
|
i32.load offset=16
|
|
local.tee 1
|
|
br_if 0 (;@12;)
|
|
end
|
|
local.get 6
|
|
i32.const 0
|
|
i32.store
|
|
br 8 (;@3;)
|
|
end
|
|
i32.const 1048588
|
|
i32.load
|
|
local.tee 1
|
|
local.get 5
|
|
i32.ge_u
|
|
if ;; label = @11
|
|
i32.const 1048600
|
|
i32.load
|
|
local.set 0
|
|
block ;; label = @12
|
|
local.get 1
|
|
local.get 5
|
|
i32.sub
|
|
local.tee 2
|
|
i32.const 16
|
|
i32.ge_u
|
|
if ;; label = @13
|
|
local.get 0
|
|
local.get 5
|
|
i32.add
|
|
local.tee 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
i32.const 1048588
|
|
local.get 2
|
|
i32.store
|
|
i32.const 1048600
|
|
local.get 3
|
|
i32.store
|
|
local.get 0
|
|
local.get 1
|
|
i32.add
|
|
local.get 2
|
|
i32.store
|
|
local.get 0
|
|
local.get 5
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
br 1 (;@12;)
|
|
end
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 1
|
|
i32.add
|
|
local.tee 1
|
|
local.get 1
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
i32.const 1048600
|
|
i32.const 0
|
|
i32.store
|
|
i32.const 1048588
|
|
i32.const 0
|
|
i32.store
|
|
end
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.set 1
|
|
br 10 (;@1;)
|
|
end
|
|
i32.const 1048592
|
|
i32.load
|
|
local.tee 0
|
|
local.get 5
|
|
i32.gt_u
|
|
if ;; label = @11
|
|
i32.const 1048604
|
|
i32.load
|
|
local.tee 1
|
|
local.get 5
|
|
i32.add
|
|
local.tee 2
|
|
local.get 0
|
|
local.get 5
|
|
i32.sub
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
i32.const 1048592
|
|
local.get 0
|
|
i32.store
|
|
i32.const 1048604
|
|
local.get 2
|
|
i32.store
|
|
local.get 1
|
|
local.get 5
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 1
|
|
i32.const 8
|
|
i32.add
|
|
local.set 1
|
|
br 10 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.set 1
|
|
local.get 5
|
|
i32.const 71
|
|
i32.add
|
|
local.tee 7
|
|
block (result i32) ;; label = @11
|
|
i32.const 1049052
|
|
i32.load
|
|
if ;; label = @12
|
|
i32.const 1049060
|
|
i32.load
|
|
br 1 (;@11;)
|
|
end
|
|
i32.const 1049064
|
|
i64.const -1
|
|
i64.store align=4
|
|
i32.const 1049056
|
|
i64.const 281474976776192
|
|
i64.store align=4
|
|
i32.const 1049052
|
|
local.get 10
|
|
i32.const 12
|
|
i32.add
|
|
i32.const -16
|
|
i32.and
|
|
i32.const 1431655768
|
|
i32.xor
|
|
i32.store
|
|
i32.const 1049072
|
|
i32.const 0
|
|
i32.store
|
|
i32.const 1049024
|
|
i32.const 0
|
|
i32.store
|
|
i32.const 65536
|
|
end
|
|
local.tee 4
|
|
i32.add
|
|
local.tee 6
|
|
i32.const 0
|
|
local.get 4
|
|
i32.sub
|
|
local.tee 4
|
|
i32.and
|
|
local.tee 2
|
|
local.get 5
|
|
i32.le_u
|
|
if ;; label = @11
|
|
i32.const 1049076
|
|
i32.const 48
|
|
i32.store
|
|
br 10 (;@1;)
|
|
end
|
|
block ;; label = @11
|
|
i32.const 1049020
|
|
i32.load
|
|
local.tee 1
|
|
i32.eqz
|
|
br_if 0 (;@11;)
|
|
i32.const 1049012
|
|
i32.load
|
|
local.tee 3
|
|
local.get 2
|
|
i32.add
|
|
local.tee 8
|
|
local.get 3
|
|
i32.gt_u
|
|
i32.const 0
|
|
local.get 8
|
|
local.get 1
|
|
i32.le_u
|
|
select
|
|
br_if 0 (;@11;)
|
|
i32.const 0
|
|
local.set 1
|
|
i32.const 1049076
|
|
i32.const 48
|
|
i32.store
|
|
br 10 (;@1;)
|
|
end
|
|
i32.const 1049024
|
|
i32.load8_u
|
|
i32.const 4
|
|
i32.and
|
|
br_if 4 (;@6;)
|
|
block ;; label = @11
|
|
block ;; label = @12
|
|
i32.const 1048604
|
|
i32.load
|
|
local.tee 3
|
|
if ;; label = @13
|
|
i32.const 1049028
|
|
local.set 1
|
|
loop ;; label = @14
|
|
local.get 1
|
|
i32.load
|
|
local.tee 8
|
|
local.get 3
|
|
i32.le_u
|
|
if ;; label = @15
|
|
local.get 8
|
|
local.get 1
|
|
i32.load offset=4
|
|
i32.add
|
|
local.get 3
|
|
i32.gt_u
|
|
br_if 3 (;@12;)
|
|
end
|
|
local.get 1
|
|
i32.load offset=8
|
|
local.tee 1
|
|
br_if 0 (;@14;)
|
|
end
|
|
end
|
|
i32.const 0
|
|
call $sbrk
|
|
local.tee 0
|
|
i32.const -1
|
|
i32.eq
|
|
br_if 5 (;@7;)
|
|
local.get 2
|
|
local.set 6
|
|
i32.const 1049056
|
|
i32.load
|
|
local.tee 1
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 3
|
|
local.get 0
|
|
i32.and
|
|
if ;; label = @13
|
|
local.get 2
|
|
local.get 0
|
|
i32.sub
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
i32.const 0
|
|
local.get 1
|
|
i32.sub
|
|
i32.and
|
|
i32.add
|
|
local.set 6
|
|
end
|
|
local.get 6
|
|
local.get 5
|
|
i32.le_u
|
|
br_if 5 (;@7;)
|
|
local.get 6
|
|
i32.const 2147483646
|
|
i32.gt_u
|
|
br_if 5 (;@7;)
|
|
i32.const 1049020
|
|
i32.load
|
|
local.tee 1
|
|
if ;; label = @13
|
|
i32.const 1049012
|
|
i32.load
|
|
local.tee 3
|
|
local.get 6
|
|
i32.add
|
|
local.tee 4
|
|
local.get 3
|
|
i32.le_u
|
|
br_if 6 (;@7;)
|
|
local.get 4
|
|
local.get 1
|
|
i32.gt_u
|
|
br_if 6 (;@7;)
|
|
end
|
|
local.get 6
|
|
call $sbrk
|
|
local.tee 1
|
|
local.get 0
|
|
i32.ne
|
|
br_if 1 (;@11;)
|
|
br 7 (;@5;)
|
|
end
|
|
local.get 6
|
|
local.get 0
|
|
i32.sub
|
|
local.get 4
|
|
i32.and
|
|
local.tee 6
|
|
i32.const 2147483646
|
|
i32.gt_u
|
|
br_if 4 (;@7;)
|
|
local.get 6
|
|
call $sbrk
|
|
local.tee 0
|
|
local.get 1
|
|
i32.load
|
|
local.get 1
|
|
i32.load offset=4
|
|
i32.add
|
|
i32.eq
|
|
br_if 3 (;@8;)
|
|
local.get 0
|
|
local.set 1
|
|
end
|
|
block ;; label = @11
|
|
local.get 1
|
|
i32.const -1
|
|
i32.eq
|
|
br_if 0 (;@11;)
|
|
local.get 5
|
|
i32.const 72
|
|
i32.add
|
|
local.get 6
|
|
i32.le_u
|
|
br_if 0 (;@11;)
|
|
i32.const 1049060
|
|
i32.load
|
|
local.tee 0
|
|
local.get 7
|
|
local.get 6
|
|
i32.sub
|
|
i32.add
|
|
i32.const 0
|
|
local.get 0
|
|
i32.sub
|
|
i32.and
|
|
local.tee 0
|
|
i32.const 2147483646
|
|
i32.gt_u
|
|
if ;; label = @12
|
|
local.get 1
|
|
local.set 0
|
|
br 7 (;@5;)
|
|
end
|
|
local.get 0
|
|
call $sbrk
|
|
i32.const -1
|
|
i32.ne
|
|
if ;; label = @12
|
|
local.get 0
|
|
local.get 6
|
|
i32.add
|
|
local.set 6
|
|
local.get 1
|
|
local.set 0
|
|
br 7 (;@5;)
|
|
end
|
|
i32.const 0
|
|
local.get 6
|
|
i32.sub
|
|
call $sbrk
|
|
drop
|
|
br 4 (;@7;)
|
|
end
|
|
local.get 1
|
|
local.tee 0
|
|
i32.const -1
|
|
i32.ne
|
|
br_if 5 (;@5;)
|
|
br 3 (;@7;)
|
|
end
|
|
i32.const 0
|
|
local.set 3
|
|
br 7 (;@2;)
|
|
end
|
|
i32.const 0
|
|
local.set 0
|
|
br 5 (;@3;)
|
|
end
|
|
local.get 0
|
|
i32.const -1
|
|
i32.ne
|
|
br_if 2 (;@5;)
|
|
end
|
|
i32.const 1049024
|
|
i32.const 1049024
|
|
i32.load
|
|
i32.const 4
|
|
i32.or
|
|
i32.store
|
|
end
|
|
local.get 2
|
|
i32.const 2147483646
|
|
i32.gt_u
|
|
br_if 1 (;@4;)
|
|
local.get 2
|
|
call $sbrk
|
|
local.set 0
|
|
i32.const 0
|
|
call $sbrk
|
|
local.set 1
|
|
local.get 0
|
|
i32.const -1
|
|
i32.eq
|
|
br_if 1 (;@4;)
|
|
local.get 1
|
|
i32.const -1
|
|
i32.eq
|
|
br_if 1 (;@4;)
|
|
local.get 0
|
|
local.get 1
|
|
i32.ge_u
|
|
br_if 1 (;@4;)
|
|
local.get 1
|
|
local.get 0
|
|
i32.sub
|
|
local.tee 6
|
|
local.get 5
|
|
i32.const 56
|
|
i32.add
|
|
i32.le_u
|
|
br_if 1 (;@4;)
|
|
end
|
|
i32.const 1049012
|
|
i32.const 1049012
|
|
i32.load
|
|
local.get 6
|
|
i32.add
|
|
local.tee 1
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1049016
|
|
i32.load
|
|
i32.gt_u
|
|
if ;; label = @5
|
|
i32.const 1049016
|
|
local.get 1
|
|
i32.store
|
|
end
|
|
block ;; label = @5
|
|
block ;; label = @6
|
|
block ;; label = @7
|
|
i32.const 1048604
|
|
i32.load
|
|
local.tee 3
|
|
if ;; label = @8
|
|
i32.const 1049028
|
|
local.set 1
|
|
loop ;; label = @9
|
|
local.get 0
|
|
local.get 1
|
|
i32.load
|
|
local.tee 2
|
|
local.get 1
|
|
i32.load offset=4
|
|
local.tee 4
|
|
i32.add
|
|
i32.eq
|
|
br_if 2 (;@7;)
|
|
local.get 1
|
|
i32.load offset=8
|
|
local.tee 1
|
|
br_if 0 (;@9;)
|
|
end
|
|
br 2 (;@6;)
|
|
end
|
|
i32.const 1048596
|
|
i32.load
|
|
local.tee 1
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
i32.ge_u
|
|
select
|
|
i32.eqz
|
|
if ;; label = @8
|
|
i32.const 1048596
|
|
local.get 0
|
|
i32.store
|
|
end
|
|
i32.const 0
|
|
local.set 1
|
|
i32.const 1049032
|
|
local.get 6
|
|
i32.store
|
|
i32.const 1049028
|
|
local.get 0
|
|
i32.store
|
|
i32.const 1048612
|
|
i32.const -1
|
|
i32.store
|
|
i32.const 1048616
|
|
i32.const 1049052
|
|
i32.load
|
|
i32.store
|
|
i32.const 1049040
|
|
i32.const 0
|
|
i32.store
|
|
loop ;; label = @8
|
|
local.get 1
|
|
i32.const 1048640
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1048628
|
|
i32.add
|
|
local.tee 2
|
|
i32.store
|
|
local.get 2
|
|
local.get 1
|
|
i32.const 1048620
|
|
i32.add
|
|
local.tee 3
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1048632
|
|
i32.add
|
|
local.get 3
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1048648
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1048636
|
|
i32.add
|
|
local.tee 3
|
|
i32.store
|
|
local.get 3
|
|
local.get 2
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1048656
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1048644
|
|
i32.add
|
|
local.tee 2
|
|
i32.store
|
|
local.get 2
|
|
local.get 3
|
|
i32.store
|
|
local.get 1
|
|
i32.const 1048652
|
|
i32.add
|
|
local.get 2
|
|
i32.store
|
|
local.get 1
|
|
i32.const 32
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 256
|
|
i32.ne
|
|
br_if 0 (;@8;)
|
|
end
|
|
local.get 0
|
|
i32.const -8
|
|
local.get 0
|
|
i32.sub
|
|
i32.const 15
|
|
i32.and
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 15
|
|
i32.and
|
|
select
|
|
local.tee 1
|
|
i32.add
|
|
local.tee 2
|
|
local.get 6
|
|
i32.const -56
|
|
i32.add
|
|
local.tee 3
|
|
local.get 1
|
|
i32.sub
|
|
local.tee 1
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
i32.const 1048608
|
|
i32.const 1049068
|
|
i32.load
|
|
i32.store
|
|
i32.const 1048592
|
|
local.get 1
|
|
i32.store
|
|
i32.const 1048604
|
|
local.get 2
|
|
i32.store
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
i32.const 56
|
|
i32.store offset=4
|
|
br 2 (;@5;)
|
|
end
|
|
local.get 1
|
|
i32.load8_u offset=12
|
|
i32.const 8
|
|
i32.and
|
|
br_if 0 (;@6;)
|
|
local.get 2
|
|
local.get 3
|
|
i32.gt_u
|
|
br_if 0 (;@6;)
|
|
local.get 0
|
|
local.get 3
|
|
i32.le_u
|
|
br_if 0 (;@6;)
|
|
local.get 3
|
|
i32.const -8
|
|
local.get 3
|
|
i32.sub
|
|
i32.const 15
|
|
i32.and
|
|
i32.const 0
|
|
local.get 3
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 15
|
|
i32.and
|
|
select
|
|
local.tee 0
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 1048592
|
|
i32.load
|
|
local.get 6
|
|
i32.add
|
|
local.tee 7
|
|
local.get 0
|
|
i32.sub
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 1
|
|
local.get 4
|
|
local.get 6
|
|
i32.add
|
|
i32.store offset=4
|
|
i32.const 1048608
|
|
i32.const 1049068
|
|
i32.load
|
|
i32.store
|
|
i32.const 1048592
|
|
local.get 0
|
|
i32.store
|
|
i32.const 1048604
|
|
local.get 2
|
|
i32.store
|
|
local.get 3
|
|
local.get 7
|
|
i32.add
|
|
i32.const 56
|
|
i32.store offset=4
|
|
br 1 (;@5;)
|
|
end
|
|
local.get 0
|
|
i32.const 1048596
|
|
i32.load
|
|
i32.lt_u
|
|
if ;; label = @6
|
|
i32.const 1048596
|
|
local.get 0
|
|
i32.store
|
|
end
|
|
local.get 0
|
|
local.get 6
|
|
i32.add
|
|
local.set 2
|
|
i32.const 1049028
|
|
local.set 1
|
|
block ;; label = @6
|
|
block ;; label = @7
|
|
block ;; label = @8
|
|
block ;; label = @9
|
|
block ;; label = @10
|
|
block ;; label = @11
|
|
loop ;; label = @12
|
|
local.get 2
|
|
local.get 1
|
|
i32.load
|
|
i32.ne
|
|
if ;; label = @13
|
|
local.get 1
|
|
i32.load offset=8
|
|
local.tee 1
|
|
br_if 1 (;@12;)
|
|
br 2 (;@11;)
|
|
end
|
|
end
|
|
local.get 1
|
|
i32.load8_u offset=12
|
|
i32.const 8
|
|
i32.and
|
|
i32.eqz
|
|
br_if 1 (;@10;)
|
|
end
|
|
i32.const 1049028
|
|
local.set 1
|
|
loop ;; label = @11
|
|
local.get 1
|
|
i32.load
|
|
local.tee 2
|
|
local.get 3
|
|
i32.le_u
|
|
if ;; label = @12
|
|
local.get 2
|
|
local.get 1
|
|
i32.load offset=4
|
|
i32.add
|
|
local.tee 4
|
|
local.get 3
|
|
i32.gt_u
|
|
br_if 3 (;@9;)
|
|
end
|
|
local.get 1
|
|
i32.load offset=8
|
|
local.set 1
|
|
br 0 (;@11;)
|
|
end
|
|
unreachable
|
|
end
|
|
local.get 1
|
|
local.get 0
|
|
i32.store
|
|
local.get 1
|
|
local.get 1
|
|
i32.load offset=4
|
|
local.get 6
|
|
i32.add
|
|
i32.store offset=4
|
|
local.get 0
|
|
i32.const -8
|
|
local.get 0
|
|
i32.sub
|
|
i32.const 15
|
|
i32.and
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 15
|
|
i32.and
|
|
select
|
|
i32.add
|
|
local.tee 8
|
|
local.get 5
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 2
|
|
i32.const -8
|
|
local.get 2
|
|
i32.sub
|
|
i32.const 15
|
|
i32.and
|
|
i32.const 0
|
|
local.get 2
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 15
|
|
i32.and
|
|
select
|
|
i32.add
|
|
local.tee 6
|
|
local.get 5
|
|
local.get 8
|
|
i32.add
|
|
local.tee 5
|
|
i32.sub
|
|
local.set 2
|
|
local.get 3
|
|
local.get 6
|
|
i32.eq
|
|
if ;; label = @10
|
|
i32.const 1048604
|
|
local.get 5
|
|
i32.store
|
|
i32.const 1048592
|
|
i32.const 1048592
|
|
i32.load
|
|
local.get 2
|
|
i32.add
|
|
local.tee 0
|
|
i32.store
|
|
local.get 5
|
|
local.get 0
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
br 3 (;@7;)
|
|
end
|
|
local.get 6
|
|
i32.const 1048600
|
|
i32.load
|
|
i32.eq
|
|
if ;; label = @10
|
|
i32.const 1048600
|
|
local.get 5
|
|
i32.store
|
|
i32.const 1048588
|
|
i32.const 1048588
|
|
i32.load
|
|
local.get 2
|
|
i32.add
|
|
local.tee 0
|
|
i32.store
|
|
local.get 5
|
|
local.get 0
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 5
|
|
i32.add
|
|
local.get 0
|
|
i32.store
|
|
br 3 (;@7;)
|
|
end
|
|
local.get 6
|
|
i32.load offset=4
|
|
local.tee 0
|
|
i32.const 3
|
|
i32.and
|
|
i32.const 1
|
|
i32.eq
|
|
if ;; label = @10
|
|
local.get 0
|
|
i32.const -8
|
|
i32.and
|
|
local.set 9
|
|
block ;; label = @11
|
|
local.get 0
|
|
i32.const 255
|
|
i32.le_u
|
|
if ;; label = @12
|
|
local.get 6
|
|
i32.load offset=8
|
|
local.tee 1
|
|
local.get 0
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 3
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 1048620
|
|
i32.add
|
|
i32.eq
|
|
drop
|
|
local.get 1
|
|
local.get 6
|
|
i32.load offset=12
|
|
local.tee 0
|
|
i32.eq
|
|
if ;; label = @13
|
|
i32.const 1048580
|
|
i32.const 1048580
|
|
i32.load
|
|
i32.const -2
|
|
local.get 3
|
|
i32.rotl
|
|
i32.and
|
|
i32.store
|
|
br 2 (;@11;)
|
|
end
|
|
local.get 0
|
|
local.get 1
|
|
i32.store offset=8
|
|
local.get 1
|
|
local.get 0
|
|
i32.store offset=12
|
|
br 1 (;@11;)
|
|
end
|
|
local.get 6
|
|
i32.load offset=24
|
|
local.set 7
|
|
block ;; label = @12
|
|
local.get 6
|
|
local.get 6
|
|
i32.load offset=12
|
|
local.tee 0
|
|
i32.ne
|
|
if ;; label = @13
|
|
local.get 0
|
|
local.get 6
|
|
i32.load offset=8
|
|
local.tee 1
|
|
i32.store offset=8
|
|
local.get 1
|
|
local.get 0
|
|
i32.store offset=12
|
|
br 1 (;@12;)
|
|
end
|
|
block ;; label = @13
|
|
local.get 6
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 1
|
|
i32.load
|
|
local.tee 4
|
|
br_if 0 (;@13;)
|
|
local.get 6
|
|
i32.const 16
|
|
i32.add
|
|
local.tee 1
|
|
i32.load
|
|
local.tee 4
|
|
br_if 0 (;@13;)
|
|
i32.const 0
|
|
local.set 0
|
|
br 1 (;@12;)
|
|
end
|
|
loop ;; label = @13
|
|
local.get 1
|
|
local.set 3
|
|
local.get 4
|
|
local.tee 0
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 1
|
|
i32.load
|
|
local.tee 4
|
|
br_if 0 (;@13;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
i32.load offset=16
|
|
local.tee 4
|
|
br_if 0 (;@13;)
|
|
end
|
|
local.get 3
|
|
i32.const 0
|
|
i32.store
|
|
end
|
|
local.get 7
|
|
i32.eqz
|
|
br_if 0 (;@11;)
|
|
block ;; label = @12
|
|
local.get 6
|
|
local.get 6
|
|
i32.load offset=28
|
|
local.tee 1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
local.tee 3
|
|
i32.load
|
|
i32.eq
|
|
if ;; label = @13
|
|
local.get 3
|
|
local.get 0
|
|
i32.store
|
|
local.get 0
|
|
br_if 1 (;@12;)
|
|
i32.const 1048584
|
|
i32.const 1048584
|
|
i32.load
|
|
i32.const -2
|
|
local.get 1
|
|
i32.rotl
|
|
i32.and
|
|
i32.store
|
|
br 2 (;@11;)
|
|
end
|
|
local.get 7
|
|
i32.const 16
|
|
i32.const 20
|
|
local.get 7
|
|
i32.load offset=16
|
|
local.get 6
|
|
i32.eq
|
|
select
|
|
i32.add
|
|
local.get 0
|
|
i32.store
|
|
local.get 0
|
|
i32.eqz
|
|
br_if 1 (;@11;)
|
|
end
|
|
local.get 0
|
|
local.get 7
|
|
i32.store offset=24
|
|
local.get 6
|
|
i32.load offset=16
|
|
local.tee 1
|
|
if ;; label = @12
|
|
local.get 0
|
|
local.get 1
|
|
i32.store offset=16
|
|
local.get 1
|
|
local.get 0
|
|
i32.store offset=24
|
|
end
|
|
local.get 6
|
|
i32.load offset=20
|
|
local.tee 1
|
|
i32.eqz
|
|
br_if 0 (;@11;)
|
|
local.get 0
|
|
i32.const 20
|
|
i32.add
|
|
local.get 1
|
|
i32.store
|
|
local.get 1
|
|
local.get 0
|
|
i32.store offset=24
|
|
end
|
|
local.get 6
|
|
local.get 9
|
|
i32.add
|
|
local.set 6
|
|
local.get 2
|
|
local.get 9
|
|
i32.add
|
|
local.set 2
|
|
end
|
|
local.get 6
|
|
local.get 6
|
|
i32.load offset=4
|
|
i32.const -2
|
|
i32.and
|
|
i32.store offset=4
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
local.get 2
|
|
i32.store
|
|
local.get 5
|
|
local.get 2
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 2
|
|
i32.const 255
|
|
i32.le_u
|
|
if ;; label = @10
|
|
local.get 2
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 1
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 1048620
|
|
i32.add
|
|
local.set 0
|
|
block (result i32) ;; label = @11
|
|
i32.const 1048580
|
|
i32.load
|
|
local.tee 2
|
|
i32.const 1
|
|
local.get 1
|
|
i32.shl
|
|
local.tee 1
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @12
|
|
i32.const 1048580
|
|
local.get 1
|
|
local.get 2
|
|
i32.or
|
|
i32.store
|
|
local.get 0
|
|
br 1 (;@11;)
|
|
end
|
|
local.get 0
|
|
i32.load offset=8
|
|
end
|
|
local.tee 4
|
|
local.get 5
|
|
i32.store offset=12
|
|
local.get 0
|
|
local.get 5
|
|
i32.store offset=8
|
|
local.get 5
|
|
local.get 0
|
|
i32.store offset=12
|
|
local.get 5
|
|
local.get 4
|
|
i32.store offset=8
|
|
br 3 (;@7;)
|
|
end
|
|
i32.const 31
|
|
local.set 1
|
|
local.get 2
|
|
i32.const 16777215
|
|
i32.le_u
|
|
if ;; label = @10
|
|
local.get 2
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.tee 0
|
|
local.get 0
|
|
i32.const 1048320
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 8
|
|
i32.and
|
|
local.tee 0
|
|
i32.shl
|
|
local.tee 1
|
|
local.get 1
|
|
i32.const 520192
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 4
|
|
i32.and
|
|
local.tee 1
|
|
i32.shl
|
|
local.tee 3
|
|
local.get 3
|
|
i32.const 245760
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 2
|
|
i32.and
|
|
local.tee 3
|
|
i32.shl
|
|
i32.const 15
|
|
i32.shr_u
|
|
local.get 0
|
|
local.get 1
|
|
i32.or
|
|
local.get 3
|
|
i32.or
|
|
i32.sub
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 21
|
|
i32.add
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.or
|
|
i32.const 28
|
|
i32.add
|
|
local.set 1
|
|
end
|
|
local.get 5
|
|
local.get 1
|
|
i32.store offset=28
|
|
local.get 5
|
|
i64.const 0
|
|
i64.store offset=16 align=4
|
|
local.get 1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
local.set 0
|
|
i32.const 1048584
|
|
i32.load
|
|
local.tee 3
|
|
i32.const 1
|
|
local.get 1
|
|
i32.shl
|
|
local.tee 4
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @10
|
|
local.get 0
|
|
local.get 5
|
|
i32.store
|
|
i32.const 1048584
|
|
local.get 3
|
|
local.get 4
|
|
i32.or
|
|
i32.store
|
|
local.get 5
|
|
local.get 0
|
|
i32.store offset=24
|
|
local.get 5
|
|
local.get 5
|
|
i32.store offset=8
|
|
local.get 5
|
|
local.get 5
|
|
i32.store offset=12
|
|
br 3 (;@7;)
|
|
end
|
|
local.get 2
|
|
i32.const 0
|
|
i32.const 25
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.sub
|
|
local.get 1
|
|
i32.const 31
|
|
i32.eq
|
|
select
|
|
i32.shl
|
|
local.set 1
|
|
local.get 0
|
|
i32.load
|
|
local.set 0
|
|
loop ;; label = @10
|
|
local.get 0
|
|
local.tee 3
|
|
i32.load offset=4
|
|
i32.const -8
|
|
i32.and
|
|
local.get 2
|
|
i32.eq
|
|
br_if 2 (;@8;)
|
|
local.get 1
|
|
i32.const 29
|
|
i32.shr_u
|
|
local.set 0
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shl
|
|
local.set 1
|
|
local.get 3
|
|
local.get 0
|
|
i32.const 4
|
|
i32.and
|
|
i32.add
|
|
i32.const 16
|
|
i32.add
|
|
local.tee 4
|
|
i32.load
|
|
local.tee 0
|
|
br_if 0 (;@10;)
|
|
end
|
|
local.get 4
|
|
local.get 5
|
|
i32.store
|
|
local.get 5
|
|
local.get 3
|
|
i32.store offset=24
|
|
local.get 5
|
|
local.get 5
|
|
i32.store offset=12
|
|
local.get 5
|
|
local.get 5
|
|
i32.store offset=8
|
|
br 2 (;@7;)
|
|
end
|
|
local.get 0
|
|
i32.const -8
|
|
local.get 0
|
|
i32.sub
|
|
i32.const 15
|
|
i32.and
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 15
|
|
i32.and
|
|
select
|
|
local.tee 1
|
|
i32.add
|
|
local.tee 7
|
|
local.get 6
|
|
i32.const -56
|
|
i32.add
|
|
local.tee 2
|
|
local.get 1
|
|
i32.sub
|
|
local.tee 1
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 2
|
|
i32.add
|
|
i32.const 56
|
|
i32.store offset=4
|
|
local.get 3
|
|
local.get 4
|
|
i32.const 55
|
|
local.get 4
|
|
i32.sub
|
|
i32.const 15
|
|
i32.and
|
|
i32.const 0
|
|
local.get 4
|
|
i32.const -55
|
|
i32.add
|
|
i32.const 15
|
|
i32.and
|
|
select
|
|
i32.add
|
|
i32.const -63
|
|
i32.add
|
|
local.tee 2
|
|
local.get 2
|
|
local.get 3
|
|
i32.const 16
|
|
i32.add
|
|
i32.lt_u
|
|
select
|
|
local.tee 2
|
|
i32.const 35
|
|
i32.store offset=4
|
|
i32.const 1048608
|
|
i32.const 1049068
|
|
i32.load
|
|
i32.store
|
|
i32.const 1048592
|
|
local.get 1
|
|
i32.store
|
|
i32.const 1048604
|
|
local.get 7
|
|
i32.store
|
|
local.get 2
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1049036
|
|
i64.load align=4
|
|
i64.store align=4
|
|
local.get 2
|
|
i32.const 1049028
|
|
i64.load align=4
|
|
i64.store offset=8 align=4
|
|
i32.const 1049036
|
|
local.get 2
|
|
i32.const 8
|
|
i32.add
|
|
i32.store
|
|
i32.const 1049032
|
|
local.get 6
|
|
i32.store
|
|
i32.const 1049028
|
|
local.get 0
|
|
i32.store
|
|
i32.const 1049040
|
|
i32.const 0
|
|
i32.store
|
|
local.get 2
|
|
i32.const 36
|
|
i32.add
|
|
local.set 1
|
|
loop ;; label = @9
|
|
local.get 1
|
|
i32.const 7
|
|
i32.store
|
|
local.get 4
|
|
local.get 1
|
|
i32.const 4
|
|
i32.add
|
|
local.tee 1
|
|
i32.gt_u
|
|
br_if 0 (;@9;)
|
|
end
|
|
local.get 2
|
|
local.get 3
|
|
i32.eq
|
|
br_if 3 (;@5;)
|
|
local.get 2
|
|
local.get 2
|
|
i32.load offset=4
|
|
i32.const -2
|
|
i32.and
|
|
i32.store offset=4
|
|
local.get 2
|
|
local.get 2
|
|
local.get 3
|
|
i32.sub
|
|
local.tee 4
|
|
i32.store
|
|
local.get 3
|
|
local.get 4
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 4
|
|
i32.const 255
|
|
i32.le_u
|
|
if ;; label = @9
|
|
local.get 4
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 1
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 1048620
|
|
i32.add
|
|
local.set 0
|
|
block (result i32) ;; label = @10
|
|
i32.const 1048580
|
|
i32.load
|
|
local.tee 2
|
|
i32.const 1
|
|
local.get 1
|
|
i32.shl
|
|
local.tee 1
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @11
|
|
i32.const 1048580
|
|
local.get 1
|
|
local.get 2
|
|
i32.or
|
|
i32.store
|
|
local.get 0
|
|
br 1 (;@10;)
|
|
end
|
|
local.get 0
|
|
i32.load offset=8
|
|
end
|
|
local.tee 2
|
|
local.get 3
|
|
i32.store offset=12
|
|
local.get 0
|
|
local.get 3
|
|
i32.store offset=8
|
|
local.get 3
|
|
local.get 0
|
|
i32.store offset=12
|
|
local.get 3
|
|
local.get 2
|
|
i32.store offset=8
|
|
br 4 (;@5;)
|
|
end
|
|
i32.const 31
|
|
local.set 1
|
|
local.get 3
|
|
i64.const 0
|
|
i64.store offset=16 align=4
|
|
local.get 4
|
|
i32.const 16777215
|
|
i32.le_u
|
|
if ;; label = @9
|
|
local.get 4
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.tee 0
|
|
local.get 0
|
|
i32.const 1048320
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 8
|
|
i32.and
|
|
local.tee 0
|
|
i32.shl
|
|
local.tee 1
|
|
local.get 1
|
|
i32.const 520192
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 4
|
|
i32.and
|
|
local.tee 1
|
|
i32.shl
|
|
local.tee 2
|
|
local.get 2
|
|
i32.const 245760
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 2
|
|
i32.and
|
|
local.tee 2
|
|
i32.shl
|
|
i32.const 15
|
|
i32.shr_u
|
|
local.get 0
|
|
local.get 1
|
|
i32.or
|
|
local.get 2
|
|
i32.or
|
|
i32.sub
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get 4
|
|
local.get 0
|
|
i32.const 21
|
|
i32.add
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.or
|
|
i32.const 28
|
|
i32.add
|
|
local.set 1
|
|
end
|
|
local.get 3
|
|
i32.const 28
|
|
i32.add
|
|
local.get 1
|
|
i32.store
|
|
local.get 1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
local.set 0
|
|
i32.const 1048584
|
|
i32.load
|
|
local.tee 2
|
|
i32.const 1
|
|
local.get 1
|
|
i32.shl
|
|
local.tee 6
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @9
|
|
local.get 0
|
|
local.get 3
|
|
i32.store
|
|
i32.const 1048584
|
|
local.get 2
|
|
local.get 6
|
|
i32.or
|
|
i32.store
|
|
local.get 3
|
|
i32.const 24
|
|
i32.add
|
|
local.get 0
|
|
i32.store
|
|
local.get 3
|
|
local.get 3
|
|
i32.store offset=8
|
|
local.get 3
|
|
local.get 3
|
|
i32.store offset=12
|
|
br 4 (;@5;)
|
|
end
|
|
local.get 4
|
|
i32.const 0
|
|
i32.const 25
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.sub
|
|
local.get 1
|
|
i32.const 31
|
|
i32.eq
|
|
select
|
|
i32.shl
|
|
local.set 1
|
|
local.get 0
|
|
i32.load
|
|
local.set 0
|
|
loop ;; label = @9
|
|
local.get 0
|
|
local.tee 2
|
|
i32.load offset=4
|
|
i32.const -8
|
|
i32.and
|
|
local.get 4
|
|
i32.eq
|
|
br_if 3 (;@6;)
|
|
local.get 1
|
|
i32.const 29
|
|
i32.shr_u
|
|
local.set 0
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shl
|
|
local.set 1
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 4
|
|
i32.and
|
|
i32.add
|
|
i32.const 16
|
|
i32.add
|
|
local.tee 6
|
|
i32.load
|
|
local.tee 0
|
|
br_if 0 (;@9;)
|
|
end
|
|
local.get 6
|
|
local.get 3
|
|
i32.store
|
|
local.get 3
|
|
i32.const 24
|
|
i32.add
|
|
local.get 2
|
|
i32.store
|
|
local.get 3
|
|
local.get 3
|
|
i32.store offset=12
|
|
local.get 3
|
|
local.get 3
|
|
i32.store offset=8
|
|
br 3 (;@5;)
|
|
end
|
|
local.get 3
|
|
i32.load offset=8
|
|
local.tee 0
|
|
local.get 5
|
|
i32.store offset=12
|
|
local.get 3
|
|
local.get 5
|
|
i32.store offset=8
|
|
local.get 5
|
|
i32.const 0
|
|
i32.store offset=24
|
|
local.get 5
|
|
local.get 3
|
|
i32.store offset=12
|
|
local.get 5
|
|
local.get 0
|
|
i32.store offset=8
|
|
end
|
|
local.get 8
|
|
i32.const 8
|
|
i32.add
|
|
local.set 1
|
|
br 5 (;@1;)
|
|
end
|
|
local.get 2
|
|
i32.load offset=8
|
|
local.tee 0
|
|
local.get 3
|
|
i32.store offset=12
|
|
local.get 2
|
|
local.get 3
|
|
i32.store offset=8
|
|
local.get 3
|
|
i32.const 24
|
|
i32.add
|
|
i32.const 0
|
|
i32.store
|
|
local.get 3
|
|
local.get 2
|
|
i32.store offset=12
|
|
local.get 3
|
|
local.get 0
|
|
i32.store offset=8
|
|
end
|
|
i32.const 1048592
|
|
i32.load
|
|
local.tee 1
|
|
local.get 5
|
|
i32.le_u
|
|
br_if 0 (;@4;)
|
|
i32.const 1048604
|
|
i32.load
|
|
local.tee 0
|
|
local.get 5
|
|
i32.add
|
|
local.tee 2
|
|
local.get 1
|
|
local.get 5
|
|
i32.sub
|
|
local.tee 1
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
i32.const 1048592
|
|
local.get 1
|
|
i32.store
|
|
i32.const 1048604
|
|
local.get 2
|
|
i32.store
|
|
local.get 0
|
|
local.get 5
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.set 1
|
|
br 3 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.set 1
|
|
i32.const 1049076
|
|
i32.const 48
|
|
i32.store
|
|
br 2 (;@1;)
|
|
end
|
|
block ;; label = @3
|
|
local.get 7
|
|
i32.eqz
|
|
br_if 0 (;@3;)
|
|
block ;; label = @4
|
|
local.get 3
|
|
i32.load offset=28
|
|
local.tee 1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.get 3
|
|
i32.eq
|
|
if ;; label = @5
|
|
local.get 2
|
|
local.get 0
|
|
i32.store
|
|
local.get 0
|
|
br_if 1 (;@4;)
|
|
i32.const 1048584
|
|
local.get 8
|
|
i32.const -2
|
|
local.get 1
|
|
i32.rotl
|
|
i32.and
|
|
local.tee 8
|
|
i32.store
|
|
br 2 (;@3;)
|
|
end
|
|
local.get 7
|
|
i32.const 16
|
|
i32.const 20
|
|
local.get 7
|
|
i32.load offset=16
|
|
local.get 3
|
|
i32.eq
|
|
select
|
|
i32.add
|
|
local.get 0
|
|
i32.store
|
|
local.get 0
|
|
i32.eqz
|
|
br_if 1 (;@3;)
|
|
end
|
|
local.get 0
|
|
local.get 7
|
|
i32.store offset=24
|
|
local.get 3
|
|
i32.load offset=16
|
|
local.tee 1
|
|
if ;; label = @4
|
|
local.get 0
|
|
local.get 1
|
|
i32.store offset=16
|
|
local.get 1
|
|
local.get 0
|
|
i32.store offset=24
|
|
end
|
|
local.get 3
|
|
i32.const 20
|
|
i32.add
|
|
i32.load
|
|
local.tee 1
|
|
i32.eqz
|
|
br_if 0 (;@3;)
|
|
local.get 0
|
|
i32.const 20
|
|
i32.add
|
|
local.get 1
|
|
i32.store
|
|
local.get 1
|
|
local.get 0
|
|
i32.store offset=24
|
|
end
|
|
block ;; label = @3
|
|
local.get 4
|
|
i32.const 15
|
|
i32.le_u
|
|
if ;; label = @4
|
|
local.get 3
|
|
local.get 4
|
|
local.get 5
|
|
i32.add
|
|
local.tee 0
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.tee 0
|
|
local.get 0
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
br 1 (;@3;)
|
|
end
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.tee 2
|
|
local.get 4
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 3
|
|
local.get 5
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 2
|
|
local.get 4
|
|
i32.add
|
|
local.get 4
|
|
i32.store
|
|
local.get 4
|
|
i32.const 255
|
|
i32.le_u
|
|
if ;; label = @4
|
|
local.get 4
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 1
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 1048620
|
|
i32.add
|
|
local.set 0
|
|
block (result i32) ;; label = @5
|
|
i32.const 1048580
|
|
i32.load
|
|
local.tee 4
|
|
i32.const 1
|
|
local.get 1
|
|
i32.shl
|
|
local.tee 1
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @6
|
|
i32.const 1048580
|
|
local.get 1
|
|
local.get 4
|
|
i32.or
|
|
i32.store
|
|
local.get 0
|
|
br 1 (;@5;)
|
|
end
|
|
local.get 0
|
|
i32.load offset=8
|
|
end
|
|
local.tee 4
|
|
local.get 2
|
|
i32.store offset=12
|
|
local.get 0
|
|
local.get 2
|
|
i32.store offset=8
|
|
local.get 2
|
|
local.get 0
|
|
i32.store offset=12
|
|
local.get 2
|
|
local.get 4
|
|
i32.store offset=8
|
|
br 1 (;@3;)
|
|
end
|
|
i32.const 31
|
|
local.set 1
|
|
local.get 4
|
|
i32.const 16777215
|
|
i32.le_u
|
|
if ;; label = @4
|
|
local.get 4
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.tee 0
|
|
local.get 0
|
|
i32.const 1048320
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 8
|
|
i32.and
|
|
local.tee 0
|
|
i32.shl
|
|
local.tee 1
|
|
local.get 1
|
|
i32.const 520192
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 4
|
|
i32.and
|
|
local.tee 1
|
|
i32.shl
|
|
local.tee 6
|
|
local.get 6
|
|
i32.const 245760
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 2
|
|
i32.and
|
|
local.tee 6
|
|
i32.shl
|
|
i32.const 15
|
|
i32.shr_u
|
|
local.get 0
|
|
local.get 1
|
|
i32.or
|
|
local.get 6
|
|
i32.or
|
|
i32.sub
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get 4
|
|
local.get 0
|
|
i32.const 21
|
|
i32.add
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.or
|
|
i32.const 28
|
|
i32.add
|
|
local.set 1
|
|
end
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=28
|
|
local.get 2
|
|
i64.const 0
|
|
i64.store offset=16 align=4
|
|
local.get 1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
local.set 0
|
|
local.get 8
|
|
i32.const 1
|
|
local.get 1
|
|
i32.shl
|
|
local.tee 6
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @4
|
|
local.get 0
|
|
local.get 2
|
|
i32.store
|
|
i32.const 1048584
|
|
local.get 6
|
|
local.get 8
|
|
i32.or
|
|
i32.store
|
|
local.get 2
|
|
local.get 0
|
|
i32.store offset=24
|
|
local.get 2
|
|
local.get 2
|
|
i32.store offset=8
|
|
local.get 2
|
|
local.get 2
|
|
i32.store offset=12
|
|
br 1 (;@3;)
|
|
end
|
|
local.get 4
|
|
i32.const 0
|
|
i32.const 25
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.sub
|
|
local.get 1
|
|
i32.const 31
|
|
i32.eq
|
|
select
|
|
i32.shl
|
|
local.set 1
|
|
local.get 0
|
|
i32.load
|
|
local.set 5
|
|
block ;; label = @4
|
|
loop ;; label = @5
|
|
local.get 5
|
|
local.tee 0
|
|
i32.load offset=4
|
|
i32.const -8
|
|
i32.and
|
|
local.get 4
|
|
i32.eq
|
|
br_if 1 (;@4;)
|
|
local.get 1
|
|
i32.const 29
|
|
i32.shr_u
|
|
local.set 6
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shl
|
|
local.set 1
|
|
local.get 0
|
|
local.get 6
|
|
i32.const 4
|
|
i32.and
|
|
i32.add
|
|
i32.const 16
|
|
i32.add
|
|
local.tee 6
|
|
i32.load
|
|
local.tee 5
|
|
br_if 0 (;@5;)
|
|
end
|
|
local.get 6
|
|
local.get 2
|
|
i32.store
|
|
local.get 2
|
|
local.get 0
|
|
i32.store offset=24
|
|
local.get 2
|
|
local.get 2
|
|
i32.store offset=12
|
|
local.get 2
|
|
local.get 2
|
|
i32.store offset=8
|
|
br 1 (;@3;)
|
|
end
|
|
local.get 0
|
|
i32.load offset=8
|
|
local.tee 1
|
|
local.get 2
|
|
i32.store offset=12
|
|
local.get 0
|
|
local.get 2
|
|
i32.store offset=8
|
|
local.get 2
|
|
i32.const 0
|
|
i32.store offset=24
|
|
local.get 2
|
|
local.get 0
|
|
i32.store offset=12
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=8
|
|
end
|
|
local.get 3
|
|
i32.const 8
|
|
i32.add
|
|
local.set 1
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
local.get 9
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.load offset=28
|
|
local.tee 1
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.get 0
|
|
i32.eq
|
|
if ;; label = @4
|
|
local.get 2
|
|
local.get 3
|
|
i32.store
|
|
local.get 3
|
|
br_if 1 (;@3;)
|
|
i32.const 1048584
|
|
local.get 11
|
|
i32.const -2
|
|
local.get 1
|
|
i32.rotl
|
|
i32.and
|
|
i32.store
|
|
br 2 (;@2;)
|
|
end
|
|
local.get 9
|
|
i32.const 16
|
|
i32.const 20
|
|
local.get 9
|
|
i32.load offset=16
|
|
local.get 0
|
|
i32.eq
|
|
select
|
|
i32.add
|
|
local.get 3
|
|
i32.store
|
|
local.get 3
|
|
i32.eqz
|
|
br_if 1 (;@2;)
|
|
end
|
|
local.get 3
|
|
local.get 9
|
|
i32.store offset=24
|
|
local.get 0
|
|
i32.load offset=16
|
|
local.tee 1
|
|
if ;; label = @3
|
|
local.get 3
|
|
local.get 1
|
|
i32.store offset=16
|
|
local.get 1
|
|
local.get 3
|
|
i32.store offset=24
|
|
end
|
|
local.get 0
|
|
i32.const 20
|
|
i32.add
|
|
i32.load
|
|
local.tee 1
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 3
|
|
i32.const 20
|
|
i32.add
|
|
local.get 1
|
|
i32.store
|
|
local.get 1
|
|
local.get 3
|
|
i32.store offset=24
|
|
end
|
|
block ;; label = @2
|
|
local.get 4
|
|
i32.const 15
|
|
i32.le_u
|
|
if ;; label = @3
|
|
local.get 0
|
|
local.get 4
|
|
local.get 5
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 1
|
|
i32.add
|
|
local.tee 1
|
|
local.get 1
|
|
i32.load offset=4
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 0
|
|
local.get 5
|
|
i32.add
|
|
local.tee 7
|
|
local.get 4
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 5
|
|
i32.const 3
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 4
|
|
local.get 7
|
|
i32.add
|
|
local.get 4
|
|
i32.store
|
|
local.get 8
|
|
if ;; label = @3
|
|
local.get 8
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 3
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 1048620
|
|
i32.add
|
|
local.set 1
|
|
i32.const 1048600
|
|
i32.load
|
|
local.set 2
|
|
block (result i32) ;; label = @4
|
|
i32.const 1
|
|
local.get 3
|
|
i32.shl
|
|
local.tee 3
|
|
local.get 6
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @5
|
|
i32.const 1048580
|
|
local.get 3
|
|
local.get 6
|
|
i32.or
|
|
i32.store
|
|
local.get 1
|
|
br 1 (;@4;)
|
|
end
|
|
local.get 1
|
|
i32.load offset=8
|
|
end
|
|
local.tee 3
|
|
local.get 2
|
|
i32.store offset=12
|
|
local.get 1
|
|
local.get 2
|
|
i32.store offset=8
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=12
|
|
local.get 2
|
|
local.get 3
|
|
i32.store offset=8
|
|
end
|
|
i32.const 1048600
|
|
local.get 7
|
|
i32.store
|
|
i32.const 1048588
|
|
local.get 4
|
|
i32.store
|
|
end
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.set 1
|
|
end
|
|
local.get 10
|
|
i32.const 16
|
|
i32.add
|
|
global.set 0
|
|
local.get 1)
|
|
(func $dlfree (type 1) (param i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32)
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const -8
|
|
i32.add
|
|
local.tee 3
|
|
local.get 0
|
|
i32.const -4
|
|
i32.add
|
|
i32.load
|
|
local.tee 1
|
|
i32.const -8
|
|
i32.and
|
|
local.tee 0
|
|
i32.add
|
|
local.set 5
|
|
block ;; label = @2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.and
|
|
br_if 0 (;@2;)
|
|
local.get 1
|
|
i32.const 3
|
|
i32.and
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
local.get 3
|
|
local.get 3
|
|
i32.load
|
|
local.tee 1
|
|
i32.sub
|
|
local.tee 3
|
|
i32.const 1048596
|
|
i32.load
|
|
i32.lt_u
|
|
br_if 1 (;@1;)
|
|
local.get 0
|
|
local.get 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 3
|
|
i32.const 1048600
|
|
i32.load
|
|
i32.ne
|
|
if ;; label = @3
|
|
local.get 1
|
|
i32.const 255
|
|
i32.le_u
|
|
if ;; label = @4
|
|
local.get 3
|
|
i32.load offset=8
|
|
local.tee 2
|
|
local.get 1
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 4
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 1048620
|
|
i32.add
|
|
i32.eq
|
|
drop
|
|
local.get 2
|
|
local.get 3
|
|
i32.load offset=12
|
|
local.tee 1
|
|
i32.eq
|
|
if ;; label = @5
|
|
i32.const 1048580
|
|
i32.const 1048580
|
|
i32.load
|
|
i32.const -2
|
|
local.get 4
|
|
i32.rotl
|
|
i32.and
|
|
i32.store
|
|
br 3 (;@2;)
|
|
end
|
|
local.get 1
|
|
local.get 2
|
|
i32.store offset=8
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=12
|
|
br 2 (;@2;)
|
|
end
|
|
local.get 3
|
|
i32.load offset=24
|
|
local.set 6
|
|
block ;; label = @4
|
|
local.get 3
|
|
local.get 3
|
|
i32.load offset=12
|
|
local.tee 1
|
|
i32.ne
|
|
if ;; label = @5
|
|
local.get 1
|
|
local.get 3
|
|
i32.load offset=8
|
|
local.tee 2
|
|
i32.store offset=8
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=12
|
|
br 1 (;@4;)
|
|
end
|
|
block ;; label = @5
|
|
local.get 3
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 4
|
|
br_if 0 (;@5;)
|
|
local.get 3
|
|
i32.const 16
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 4
|
|
br_if 0 (;@5;)
|
|
i32.const 0
|
|
local.set 1
|
|
br 1 (;@4;)
|
|
end
|
|
loop ;; label = @5
|
|
local.get 2
|
|
local.set 7
|
|
local.get 4
|
|
local.tee 1
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 4
|
|
br_if 0 (;@5;)
|
|
local.get 1
|
|
i32.const 16
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.load offset=16
|
|
local.tee 4
|
|
br_if 0 (;@5;)
|
|
end
|
|
local.get 7
|
|
i32.const 0
|
|
i32.store
|
|
end
|
|
local.get 6
|
|
i32.eqz
|
|
br_if 1 (;@2;)
|
|
block ;; label = @4
|
|
local.get 3
|
|
local.get 3
|
|
i32.load offset=28
|
|
local.tee 2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
local.tee 4
|
|
i32.load
|
|
i32.eq
|
|
if ;; label = @5
|
|
local.get 4
|
|
local.get 1
|
|
i32.store
|
|
local.get 1
|
|
br_if 1 (;@4;)
|
|
i32.const 1048584
|
|
i32.const 1048584
|
|
i32.load
|
|
i32.const -2
|
|
local.get 2
|
|
i32.rotl
|
|
i32.and
|
|
i32.store
|
|
br 3 (;@2;)
|
|
end
|
|
local.get 6
|
|
i32.const 16
|
|
i32.const 20
|
|
local.get 6
|
|
i32.load offset=16
|
|
local.get 3
|
|
i32.eq
|
|
select
|
|
i32.add
|
|
local.get 1
|
|
i32.store
|
|
local.get 1
|
|
i32.eqz
|
|
br_if 2 (;@2;)
|
|
end
|
|
local.get 1
|
|
local.get 6
|
|
i32.store offset=24
|
|
local.get 3
|
|
i32.load offset=16
|
|
local.tee 2
|
|
if ;; label = @4
|
|
local.get 1
|
|
local.get 2
|
|
i32.store offset=16
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=24
|
|
end
|
|
local.get 3
|
|
i32.load offset=20
|
|
local.tee 2
|
|
i32.eqz
|
|
br_if 1 (;@2;)
|
|
local.get 1
|
|
i32.const 20
|
|
i32.add
|
|
local.get 2
|
|
i32.store
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=24
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 5
|
|
i32.load offset=4
|
|
local.tee 1
|
|
i32.const 3
|
|
i32.and
|
|
i32.const 3
|
|
i32.ne
|
|
br_if 0 (;@2;)
|
|
local.get 5
|
|
local.get 1
|
|
i32.const -2
|
|
i32.and
|
|
i32.store offset=4
|
|
i32.const 1048588
|
|
local.get 0
|
|
i32.store
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.get 0
|
|
i32.store
|
|
local.get 3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
return
|
|
end
|
|
local.get 5
|
|
local.get 3
|
|
i32.le_u
|
|
br_if 0 (;@1;)
|
|
local.get 5
|
|
i32.load offset=4
|
|
local.tee 1
|
|
i32.const 1
|
|
i32.and
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
block ;; label = @2
|
|
local.get 1
|
|
i32.const 2
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @3
|
|
local.get 5
|
|
i32.const 1048604
|
|
i32.load
|
|
i32.eq
|
|
if ;; label = @4
|
|
i32.const 1048604
|
|
local.get 3
|
|
i32.store
|
|
i32.const 1048592
|
|
i32.const 1048592
|
|
i32.load
|
|
local.get 0
|
|
i32.add
|
|
local.tee 0
|
|
i32.store
|
|
local.get 3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 3
|
|
i32.const 1048600
|
|
i32.load
|
|
i32.ne
|
|
br_if 3 (;@1;)
|
|
i32.const 1048588
|
|
i32.const 0
|
|
i32.store
|
|
i32.const 1048600
|
|
i32.const 0
|
|
i32.store
|
|
return
|
|
end
|
|
local.get 5
|
|
i32.const 1048600
|
|
i32.load
|
|
i32.eq
|
|
if ;; label = @4
|
|
i32.const 1048600
|
|
local.get 3
|
|
i32.store
|
|
i32.const 1048588
|
|
i32.const 1048588
|
|
i32.load
|
|
local.get 0
|
|
i32.add
|
|
local.tee 0
|
|
i32.store
|
|
local.get 3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.get 0
|
|
i32.store
|
|
return
|
|
end
|
|
local.get 1
|
|
i32.const -8
|
|
i32.and
|
|
local.get 0
|
|
i32.add
|
|
local.set 0
|
|
block ;; label = @4
|
|
local.get 1
|
|
i32.const 255
|
|
i32.le_u
|
|
if ;; label = @5
|
|
local.get 5
|
|
i32.load offset=8
|
|
local.tee 2
|
|
local.get 1
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 4
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 1048620
|
|
i32.add
|
|
i32.eq
|
|
drop
|
|
local.get 2
|
|
local.get 5
|
|
i32.load offset=12
|
|
local.tee 1
|
|
i32.eq
|
|
if ;; label = @6
|
|
i32.const 1048580
|
|
i32.const 1048580
|
|
i32.load
|
|
i32.const -2
|
|
local.get 4
|
|
i32.rotl
|
|
i32.and
|
|
i32.store
|
|
br 2 (;@4;)
|
|
end
|
|
local.get 1
|
|
local.get 2
|
|
i32.store offset=8
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=12
|
|
br 1 (;@4;)
|
|
end
|
|
local.get 5
|
|
i32.load offset=24
|
|
local.set 6
|
|
block ;; label = @5
|
|
local.get 5
|
|
local.get 5
|
|
i32.load offset=12
|
|
local.tee 1
|
|
i32.ne
|
|
if ;; label = @6
|
|
i32.const 1048596
|
|
i32.load
|
|
local.get 5
|
|
i32.load offset=8
|
|
local.tee 2
|
|
i32.gt_u
|
|
drop
|
|
local.get 1
|
|
local.get 2
|
|
i32.store offset=8
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=12
|
|
br 1 (;@5;)
|
|
end
|
|
block ;; label = @6
|
|
local.get 5
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 4
|
|
br_if 0 (;@6;)
|
|
local.get 5
|
|
i32.const 16
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 4
|
|
br_if 0 (;@6;)
|
|
i32.const 0
|
|
local.set 1
|
|
br 1 (;@5;)
|
|
end
|
|
loop ;; label = @6
|
|
local.get 2
|
|
local.set 7
|
|
local.get 4
|
|
local.tee 1
|
|
i32.const 20
|
|
i32.add
|
|
local.tee 2
|
|
i32.load
|
|
local.tee 4
|
|
br_if 0 (;@6;)
|
|
local.get 1
|
|
i32.const 16
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.load offset=16
|
|
local.tee 4
|
|
br_if 0 (;@6;)
|
|
end
|
|
local.get 7
|
|
i32.const 0
|
|
i32.store
|
|
end
|
|
local.get 6
|
|
i32.eqz
|
|
br_if 0 (;@4;)
|
|
block ;; label = @5
|
|
local.get 5
|
|
local.get 5
|
|
i32.load offset=28
|
|
local.tee 2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
local.tee 4
|
|
i32.load
|
|
i32.eq
|
|
if ;; label = @6
|
|
local.get 4
|
|
local.get 1
|
|
i32.store
|
|
local.get 1
|
|
br_if 1 (;@5;)
|
|
i32.const 1048584
|
|
i32.const 1048584
|
|
i32.load
|
|
i32.const -2
|
|
local.get 2
|
|
i32.rotl
|
|
i32.and
|
|
i32.store
|
|
br 2 (;@4;)
|
|
end
|
|
local.get 6
|
|
i32.const 16
|
|
i32.const 20
|
|
local.get 6
|
|
i32.load offset=16
|
|
local.get 5
|
|
i32.eq
|
|
select
|
|
i32.add
|
|
local.get 1
|
|
i32.store
|
|
local.get 1
|
|
i32.eqz
|
|
br_if 1 (;@4;)
|
|
end
|
|
local.get 1
|
|
local.get 6
|
|
i32.store offset=24
|
|
local.get 5
|
|
i32.load offset=16
|
|
local.tee 2
|
|
if ;; label = @5
|
|
local.get 1
|
|
local.get 2
|
|
i32.store offset=16
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=24
|
|
end
|
|
local.get 5
|
|
i32.load offset=20
|
|
local.tee 2
|
|
i32.eqz
|
|
br_if 0 (;@4;)
|
|
local.get 1
|
|
i32.const 20
|
|
i32.add
|
|
local.get 2
|
|
i32.store
|
|
local.get 2
|
|
local.get 1
|
|
i32.store offset=24
|
|
end
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.get 0
|
|
i32.store
|
|
local.get 3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
local.get 3
|
|
i32.const 1048600
|
|
i32.load
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
i32.const 1048588
|
|
local.get 0
|
|
i32.store
|
|
return
|
|
end
|
|
local.get 5
|
|
local.get 1
|
|
i32.const -2
|
|
i32.and
|
|
i32.store offset=4
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.get 0
|
|
i32.store
|
|
local.get 3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.or
|
|
i32.store offset=4
|
|
end
|
|
local.get 0
|
|
i32.const 255
|
|
i32.le_u
|
|
if ;; label = @2
|
|
local.get 0
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 1
|
|
i32.const 3
|
|
i32.shl
|
|
i32.const 1048620
|
|
i32.add
|
|
local.set 0
|
|
block (result i32) ;; label = @3
|
|
i32.const 1048580
|
|
i32.load
|
|
local.tee 2
|
|
i32.const 1
|
|
local.get 1
|
|
i32.shl
|
|
local.tee 1
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @4
|
|
i32.const 1048580
|
|
local.get 1
|
|
local.get 2
|
|
i32.or
|
|
i32.store
|
|
local.get 0
|
|
br 1 (;@3;)
|
|
end
|
|
local.get 0
|
|
i32.load offset=8
|
|
end
|
|
local.tee 2
|
|
local.get 3
|
|
i32.store offset=12
|
|
local.get 0
|
|
local.get 3
|
|
i32.store offset=8
|
|
local.get 3
|
|
local.get 0
|
|
i32.store offset=12
|
|
local.get 3
|
|
local.get 2
|
|
i32.store offset=8
|
|
return
|
|
end
|
|
i32.const 31
|
|
local.set 2
|
|
local.get 3
|
|
i64.const 0
|
|
i64.store offset=16 align=4
|
|
local.get 0
|
|
i32.const 16777215
|
|
i32.le_u
|
|
if ;; label = @2
|
|
local.get 0
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.tee 1
|
|
local.get 1
|
|
i32.const 1048320
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 8
|
|
i32.and
|
|
local.tee 1
|
|
i32.shl
|
|
local.tee 2
|
|
local.get 2
|
|
i32.const 520192
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 4
|
|
i32.and
|
|
local.tee 2
|
|
i32.shl
|
|
local.tee 4
|
|
local.get 4
|
|
i32.const 245760
|
|
i32.add
|
|
i32.const 16
|
|
i32.shr_u
|
|
i32.const 2
|
|
i32.and
|
|
local.tee 4
|
|
i32.shl
|
|
i32.const 15
|
|
i32.shr_u
|
|
local.get 1
|
|
local.get 2
|
|
i32.or
|
|
local.get 4
|
|
i32.or
|
|
i32.sub
|
|
local.tee 1
|
|
i32.const 1
|
|
i32.shl
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 21
|
|
i32.add
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.or
|
|
i32.const 28
|
|
i32.add
|
|
local.set 2
|
|
end
|
|
local.get 3
|
|
i32.const 28
|
|
i32.add
|
|
local.get 2
|
|
i32.store
|
|
local.get 2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.const 1048884
|
|
i32.add
|
|
local.set 1
|
|
block ;; label = @2
|
|
i32.const 1048584
|
|
i32.load
|
|
local.tee 4
|
|
i32.const 1
|
|
local.get 2
|
|
i32.shl
|
|
local.tee 7
|
|
i32.and
|
|
i32.eqz
|
|
if ;; label = @3
|
|
local.get 1
|
|
local.get 3
|
|
i32.store
|
|
i32.const 1048584
|
|
local.get 4
|
|
local.get 7
|
|
i32.or
|
|
i32.store
|
|
local.get 3
|
|
i32.const 24
|
|
i32.add
|
|
local.get 1
|
|
i32.store
|
|
local.get 3
|
|
local.get 3
|
|
i32.store offset=8
|
|
local.get 3
|
|
local.get 3
|
|
i32.store offset=12
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 0
|
|
i32.const 0
|
|
i32.const 25
|
|
local.get 2
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.sub
|
|
local.get 2
|
|
i32.const 31
|
|
i32.eq
|
|
select
|
|
i32.shl
|
|
local.set 2
|
|
local.get 1
|
|
i32.load
|
|
local.set 1
|
|
block ;; label = @3
|
|
loop ;; label = @4
|
|
local.get 1
|
|
local.tee 4
|
|
i32.load offset=4
|
|
i32.const -8
|
|
i32.and
|
|
local.get 0
|
|
i32.eq
|
|
br_if 1 (;@3;)
|
|
local.get 2
|
|
i32.const 29
|
|
i32.shr_u
|
|
local.set 1
|
|
local.get 2
|
|
i32.const 1
|
|
i32.shl
|
|
local.set 2
|
|
local.get 4
|
|
local.get 1
|
|
i32.const 4
|
|
i32.and
|
|
i32.add
|
|
i32.const 16
|
|
i32.add
|
|
local.tee 7
|
|
i32.load
|
|
local.tee 1
|
|
br_if 0 (;@4;)
|
|
end
|
|
local.get 7
|
|
local.get 3
|
|
i32.store
|
|
local.get 3
|
|
i32.const 24
|
|
i32.add
|
|
local.get 4
|
|
i32.store
|
|
local.get 3
|
|
local.get 3
|
|
i32.store offset=12
|
|
local.get 3
|
|
local.get 3
|
|
i32.store offset=8
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 4
|
|
i32.load offset=8
|
|
local.tee 0
|
|
local.get 3
|
|
i32.store offset=12
|
|
local.get 4
|
|
local.get 3
|
|
i32.store offset=8
|
|
local.get 3
|
|
i32.const 24
|
|
i32.add
|
|
i32.const 0
|
|
i32.store
|
|
local.get 3
|
|
local.get 4
|
|
i32.store offset=12
|
|
local.get 3
|
|
local.get 0
|
|
i32.store offset=8
|
|
end
|
|
i32.const 1048612
|
|
i32.const 1048612
|
|
i32.load
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.const -1
|
|
local.get 0
|
|
select
|
|
i32.store
|
|
end)
|
|
(func $sbrk (type 0) (param i32) (result i32)
|
|
local.get 0
|
|
i32.eqz
|
|
if ;; label = @1
|
|
memory.size
|
|
i32.const 16
|
|
i32.shl
|
|
return
|
|
end
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 65535
|
|
i32.and
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const -1
|
|
i32.le_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.shr_u
|
|
memory.grow
|
|
local.tee 0
|
|
i32.const -1
|
|
i32.eq
|
|
if ;; label = @2
|
|
i32.const 1049076
|
|
i32.const 48
|
|
i32.store
|
|
i32.const -1
|
|
return
|
|
end
|
|
local.get 0
|
|
i32.const 16
|
|
i32.shl
|
|
return
|
|
end
|
|
unreachable)
|
|
(func $plus42.command_export (type 2) (param i32 i32) (result i32)
|
|
local.get 0
|
|
local.get 1
|
|
i32.add
|
|
i32.const 42
|
|
i32.add
|
|
i32.const 65535
|
|
i32.and)
|
|
(func $_scylla_malloc.command_export (type 0) (param i32) (result i32)
|
|
local.get 0
|
|
call $dlmalloc)
|
|
(func $_scylla_free.command_export (type 1) (param i32)
|
|
local.get 0
|
|
call $dlfree)
|
|
(memory (;0;) 17)
|
|
(global (;0;) (mut i32) (i32.const 1048576))
|
|
(global (;1;) i32 (i32.const 1048576))
|
|
(global (;2;) i32 (i32.const 1049088))
|
|
(global (;3;) i32 (i32.const 1049080))
|
|
(export "memory" (memory 0))
|
|
(export "_scylla_abi" (global 1))
|
|
(export "__heap_base" (global 2))
|
|
(export "__data_end" (global 3))
|
|
(export "plus42" (func $plus42.command_export))
|
|
(export "_scylla_malloc" (func $_scylla_malloc.command_export))
|
|
(export "_scylla_free" (func $_scylla_free.command_export))
|
|
(data (;0;) (i32.const 1048576) "\02"))
|