16571 lines
327 KiB
Plaintext
16571 lines
327 KiB
Plaintext
(module $ammunition.wasm
|
|
(type (;0;) (func (param i32 i32)))
|
|
(type (;1;) (func))
|
|
(type (;2;) (func (result i32)))
|
|
(type (;3;) (func (param i32) (result i32)))
|
|
(type (;4;) (func (param i32 i32 i32) (result i32)))
|
|
(type (;5;) (func (param i32 i32) (result i32)))
|
|
(type (;6;) (func (param i32 i32 i32 i32)))
|
|
(type (;7;) (func (param i32 i32 i32 i32) (result i32)))
|
|
(type (;8;) (func (param i32 i32 i32)))
|
|
(type (;9;) (func (param i32 i32 i32 i32 i32)))
|
|
(type (;10;) (func (param i32 i32 i32 i32 i32) (result i32)))
|
|
(import "__pragma" "loopbound" (func $__pragma_loopbound (type 0)))
|
|
(func $__wasm_apply_data_relocs (type 1))
|
|
(func $ammunition_bits_test (type 2) (result i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 16
|
|
i32.sub
|
|
local.tee 0
|
|
global.set $__stack_pointer
|
|
i32.const 8
|
|
i32.const 8
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=8 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=14 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=10 align=1
|
|
i32.const 64
|
|
i32.const 64
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 2
|
|
loop ;; label = @1
|
|
i32.const 1
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
i32.const 6
|
|
i32.and
|
|
local.tee 3
|
|
i32.const 6
|
|
i32.xor
|
|
i32.shl
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 1
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 4
|
|
i32.and
|
|
i32.const 1
|
|
local.get 3
|
|
i32.const 7
|
|
i32.xor
|
|
i32.shl
|
|
local.get 4
|
|
i32.and
|
|
i32.or
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 64
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 64
|
|
i32.const 64
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 3
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 3
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 1
|
|
local.get 1
|
|
i32.load8_u
|
|
i32.const 1
|
|
local.get 3
|
|
i32.const -1
|
|
i32.xor
|
|
i32.const 7
|
|
i32.and
|
|
i32.shl
|
|
i32.or
|
|
i32.store8
|
|
i32.const 64
|
|
i32.const 64
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @2
|
|
i32.const 1
|
|
i32.const 1
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
i32.const 6
|
|
i32.and
|
|
local.tee 4
|
|
i32.const 7
|
|
i32.xor
|
|
i32.shl
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 1
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.and
|
|
i32.eqz
|
|
local.get 1
|
|
local.get 3
|
|
i32.gt_u
|
|
i32.xor
|
|
select
|
|
local.get 5
|
|
local.get 4
|
|
i32.const 6
|
|
i32.xor
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.and
|
|
i32.eqz
|
|
local.get 1
|
|
local.get 3
|
|
i32.ge_u
|
|
i32.xor
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 64
|
|
i32.ne
|
|
br_if 0 (;@2;)
|
|
end
|
|
local.get 3
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 3
|
|
i32.const 64
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 8
|
|
i32.const 8
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=8 align=1
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store align=1
|
|
i32.const 64
|
|
local.set 1
|
|
i32.const 64
|
|
i32.const 64
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 3
|
|
loop ;; label = @1
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 3
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.add
|
|
call $ammunition_is_zero_bit_string
|
|
select
|
|
local.set 2
|
|
local.get 3
|
|
i32.const 1
|
|
i32.add
|
|
local.set 3
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 1
|
|
br_if 0 (;@1;)
|
|
end
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 13
|
|
i32.const 1
|
|
i32.const 35
|
|
call $ammunition_bit_string_set
|
|
i32.const 13
|
|
i32.const 13
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 0
|
|
i32.const 13
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 1
|
|
i32.const 12
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 3
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 2
|
|
i32.const 11
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 3
|
|
i32.const 10
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 5
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 4
|
|
i32.const 9
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 6
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 5
|
|
i32.const 8
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 7
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 6
|
|
i32.const 7
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 8
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 7
|
|
i32.const 6
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 9
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 8
|
|
i32.const 5
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 10
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 9
|
|
i32.const 4
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 11
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 10
|
|
i32.const 3
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 12
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 11
|
|
i32.const 2
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 13
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 12
|
|
i32.const 1
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 14
|
|
i32.const 35
|
|
i32.const 35
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 13
|
|
i32.const 35
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 15
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 14
|
|
i32.const 34
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 16
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 15
|
|
i32.const 33
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 17
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 16
|
|
i32.const 32
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 18
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 17
|
|
i32.const 31
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 19
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 18
|
|
i32.const 30
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 20
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 19
|
|
i32.const 29
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 21
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 20
|
|
i32.const 28
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 22
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 21
|
|
i32.const 27
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 23
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 22
|
|
i32.const 26
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 24
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 23
|
|
i32.const 25
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 25
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 24
|
|
i32.const 24
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 26
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 25
|
|
i32.const 23
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 27
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 26
|
|
i32.const 22
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 28
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 27
|
|
i32.const 21
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 29
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 28
|
|
i32.const 20
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 30
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 29
|
|
i32.const 19
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 31
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 30
|
|
i32.const 18
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 32
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 31
|
|
i32.const 17
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 33
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 32
|
|
i32.const 16
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 34
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 33
|
|
i32.const 15
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 35
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 34
|
|
i32.const 14
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 36
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 35
|
|
i32.const 13
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 37
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 36
|
|
i32.const 12
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 38
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 37
|
|
i32.const 11
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 39
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 38
|
|
i32.const 10
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 40
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 39
|
|
i32.const 9
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 41
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 40
|
|
i32.const 8
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 42
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 41
|
|
i32.const 7
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 43
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 42
|
|
i32.const 6
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 44
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 43
|
|
i32.const 5
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 45
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 44
|
|
i32.const 4
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 46
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 45
|
|
i32.const 3
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 47
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 46
|
|
i32.const 2
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 48
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 47
|
|
i32.const 1
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 49
|
|
i32.const 16
|
|
i32.const 16
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 48
|
|
i32.const 16
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 50
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 49
|
|
i32.const 15
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 51
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 50
|
|
i32.const 14
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 52
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 51
|
|
i32.const 13
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 53
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 52
|
|
i32.const 12
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 54
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 53
|
|
i32.const 11
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 55
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 54
|
|
i32.const 10
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 56
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 55
|
|
i32.const 9
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 57
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 56
|
|
i32.const 8
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 58
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 57
|
|
i32.const 7
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 59
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 58
|
|
i32.const 6
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 60
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 59
|
|
i32.const 5
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 61
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 60
|
|
i32.const 4
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 62
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 61
|
|
i32.const 3
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 63
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 62
|
|
i32.const 2
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 64
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 63
|
|
i32.const 1
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 65
|
|
i32.const 8
|
|
i32.const 8
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=8 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store8 offset=10
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=1 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store8 offset=15
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=11 align=1
|
|
i32.const 42
|
|
i32.const 42
|
|
call $__pragma_loopbound
|
|
i32.const 1
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
i32.const 1
|
|
local.get 3
|
|
select
|
|
i32.const 1
|
|
local.get 4
|
|
select
|
|
i32.const 1
|
|
local.get 5
|
|
select
|
|
i32.const 1
|
|
local.get 6
|
|
select
|
|
i32.const 1
|
|
local.get 7
|
|
select
|
|
i32.const 1
|
|
local.get 8
|
|
select
|
|
i32.const 1
|
|
local.get 9
|
|
select
|
|
i32.const 1
|
|
local.get 10
|
|
select
|
|
i32.const 1
|
|
local.get 11
|
|
select
|
|
i32.const 1
|
|
local.get 12
|
|
select
|
|
i32.const 1
|
|
local.get 13
|
|
select
|
|
i32.const 1
|
|
local.get 14
|
|
select
|
|
local.get 49
|
|
local.get 48
|
|
i32.or
|
|
local.get 47
|
|
local.get 46
|
|
local.get 45
|
|
local.get 44
|
|
local.get 43
|
|
local.get 42
|
|
local.get 41
|
|
local.get 40
|
|
local.get 39
|
|
local.get 38
|
|
local.get 37
|
|
local.get 36
|
|
local.get 35
|
|
local.get 34
|
|
local.get 33
|
|
local.get 32
|
|
local.get 31
|
|
local.get 30
|
|
local.get 29
|
|
local.get 28
|
|
local.get 27
|
|
local.get 26
|
|
local.get 25
|
|
local.get 24
|
|
local.get 23
|
|
local.get 22
|
|
local.get 21
|
|
local.get 20
|
|
local.get 19
|
|
local.get 18
|
|
local.get 17
|
|
local.get 16
|
|
local.get 15
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
select
|
|
i32.const 1
|
|
local.get 50
|
|
select
|
|
i32.const 1
|
|
local.get 51
|
|
select
|
|
i32.const 1
|
|
local.get 52
|
|
select
|
|
i32.const 1
|
|
local.get 53
|
|
select
|
|
i32.const 1
|
|
local.get 54
|
|
select
|
|
i32.const 1
|
|
local.get 55
|
|
select
|
|
i32.const 1
|
|
local.get 56
|
|
select
|
|
i32.const 1
|
|
local.get 57
|
|
select
|
|
i32.const 1
|
|
local.get 58
|
|
select
|
|
i32.const 1
|
|
local.get 59
|
|
select
|
|
i32.const 1
|
|
local.get 60
|
|
select
|
|
i32.const 1
|
|
local.get 61
|
|
select
|
|
i32.const 1
|
|
local.get 62
|
|
select
|
|
i32.const 1
|
|
local.get 63
|
|
select
|
|
i32.const 1
|
|
local.get 64
|
|
select
|
|
i32.const 1
|
|
local.get 65
|
|
select
|
|
local.set 1
|
|
i32.const 1
|
|
local.set 3
|
|
i32.const 0
|
|
local.set 4
|
|
i32.const 0
|
|
local.set 5
|
|
i32.const 0
|
|
local.set 2
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 5
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 5
|
|
call $ammunition_bit_string_set
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 0
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 6
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
local.get 5
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 5
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 3
|
|
i32.const 63
|
|
local.get 4
|
|
i32.sub
|
|
call $ammunition_is_zero_bit_string
|
|
local.set 3
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.const 64
|
|
call $ammunition_bit_string_set
|
|
i32.const 1
|
|
local.get 1
|
|
i32.const 1
|
|
local.get 6
|
|
select
|
|
local.get 5
|
|
select
|
|
i32.const 1
|
|
local.get 3
|
|
select
|
|
local.set 1
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 1
|
|
i32.shr_u
|
|
local.tee 5
|
|
local.get 2
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.add
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 42
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 8
|
|
i32.const 8
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=8 align=1
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store align=1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 2
|
|
i32.const 1
|
|
i32.const 43
|
|
call $ammunition_bit_string_set
|
|
local.get 0
|
|
i32.const 2
|
|
i32.const 1
|
|
i32.const 40
|
|
call $ammunition_bit_string_set
|
|
i32.const 42
|
|
local.set 3
|
|
i32.const 42
|
|
i32.const 42
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 2
|
|
loop ;; label = @1
|
|
i32.const 1
|
|
local.get 1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
local.get 2
|
|
local.get 3
|
|
call $ammunition_bit_string_comparison
|
|
select
|
|
local.set 1
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 3
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 43
|
|
i32.const 43
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 2
|
|
i32.const 64
|
|
local.set 3
|
|
loop ;; label = @1
|
|
i32.const 1
|
|
local.get 1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
local.get 2
|
|
local.get 3
|
|
call $ammunition_bit_string_comparison
|
|
i32.const 1
|
|
i32.lt_s
|
|
select
|
|
local.set 1
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 43
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 43
|
|
i32.const 43
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 2
|
|
i32.const 64
|
|
local.set 3
|
|
loop ;; label = @1
|
|
i32.const 1
|
|
local.get 1
|
|
local.get 0
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
local.get 3
|
|
call $ammunition_bit_string_comparison
|
|
i32.const -1
|
|
i32.gt_s
|
|
select
|
|
local.set 1
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 43
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 8
|
|
i32.const 8
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=8 align=1
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store align=1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 2
|
|
i32.const 1
|
|
i32.const 43
|
|
call $ammunition_bit_string_set
|
|
i32.const 59
|
|
local.set 3
|
|
i32.const 59
|
|
i32.const 59
|
|
call $__pragma_loopbound
|
|
i32.const 5
|
|
local.set 2
|
|
loop ;; label = @1
|
|
local.get 0
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
i32.const -5
|
|
i32.add
|
|
local.tee 4
|
|
local.get 3
|
|
call $ammunition_bit_string_copy
|
|
i32.const 1
|
|
local.get 1
|
|
local.get 0
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 4
|
|
local.get 3
|
|
call $ammunition_bit_string_comparison
|
|
select
|
|
local.set 1
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 64
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 8
|
|
i32.const 8
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=8 align=1
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store align=1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 2
|
|
i32.const 1
|
|
i32.const 43
|
|
call $ammunition_bit_string_set
|
|
local.get 0
|
|
i32.const 2
|
|
i32.const 1
|
|
i32.const 43
|
|
call $ammunition_bit_string_set
|
|
i32.const 59
|
|
local.set 3
|
|
i32.const 59
|
|
i32.const 59
|
|
call $__pragma_loopbound
|
|
i32.const 5
|
|
local.set 2
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.const 64
|
|
call $ammunition_bit_string_set
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 2
|
|
i32.const 1
|
|
i32.const 43
|
|
call $ammunition_bit_string_set
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
i32.const -5
|
|
i32.add
|
|
local.tee 4
|
|
local.get 3
|
|
call $ammunition_bit_string_move
|
|
i32.const 1
|
|
local.get 1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
local.get 4
|
|
local.get 3
|
|
call $ammunition_bit_string_comparison
|
|
select
|
|
local.set 1
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 64
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 8
|
|
i32.const 8
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=8 align=1
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store align=1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 2
|
|
i32.const 1
|
|
i32.const 43
|
|
call $ammunition_bit_string_set
|
|
local.get 0
|
|
i32.const 2
|
|
i32.const 1
|
|
i32.const 43
|
|
call $ammunition_bit_string_set
|
|
i32.const 59
|
|
i32.const 59
|
|
call $__pragma_loopbound
|
|
i32.const 59
|
|
local.set 3
|
|
i32.const 0
|
|
local.set 2
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.const 64
|
|
call $ammunition_bit_string_set
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
i32.const 2
|
|
i32.const 1
|
|
i32.const 43
|
|
call $ammunition_bit_string_set
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
i32.const 5
|
|
i32.add
|
|
local.tee 4
|
|
local.get 3
|
|
call $ammunition_bit_string_move
|
|
i32.const 1
|
|
local.get 1
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
local.get 4
|
|
local.get 3
|
|
call $ammunition_bit_string_comparison
|
|
select
|
|
local.set 1
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 59
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
global.set $__stack_pointer
|
|
local.get 1)
|
|
(func $ammunition_arithm_test (type 2) (result i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 80
|
|
i32.sub
|
|
local.tee 0
|
|
global.set $__stack_pointer
|
|
i32.const 4
|
|
i32.const 1024
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -2147483648
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 2
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
local.set 3
|
|
i32.const 4
|
|
i32.const 1050
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 2147483647
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 5
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
local.set 6
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
local.get 4
|
|
i32.eqz
|
|
local.get 1
|
|
i32.eqz
|
|
i32.or
|
|
local.get 2
|
|
local.get 3
|
|
local.get 6
|
|
local.get 5
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.const 0
|
|
i32.ne
|
|
i32.or
|
|
local.set 2
|
|
i32.const -2000
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 3
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 3
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
i32.or
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 2000
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1082
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 3
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
local.set 4
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
i32.const 1
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.get 4
|
|
local.get 3
|
|
i32.or
|
|
select
|
|
local.set 2
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 3
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 3
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
i32.or
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 4000
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 2147483647
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1116
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_add_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 2147483643
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 4
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_add_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 3
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 2147483647
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
local.set 4
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
i32.const 1
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.get 4
|
|
local.get 3
|
|
i32.or
|
|
select
|
|
local.set 3
|
|
i32.const -2000
|
|
local.set 1
|
|
i32.const -3999
|
|
local.set 2
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_add_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 4
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 3
|
|
local.get 4
|
|
select
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
i32.eq
|
|
select
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 4001
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1116
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_add_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -5
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 4
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_add_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 2
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
local.set 4
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
i32.const 1
|
|
local.get 3
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.get 4
|
|
local.get 2
|
|
i32.or
|
|
select
|
|
local.set 3
|
|
i32.const 1
|
|
local.set 1
|
|
i32.const 1
|
|
local.set 2
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_add_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 4
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 3
|
|
local.get 4
|
|
select
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
i32.eq
|
|
select
|
|
local.set 3
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 8001
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -2147483648
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1116
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_subtract_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -2147483644
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 4
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_subtract_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 2
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -2147483648
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
local.set 4
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
i32.const 1
|
|
local.get 3
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.get 4
|
|
local.get 2
|
|
i32.or
|
|
select
|
|
local.set 4
|
|
i32.const -2000
|
|
local.set 1
|
|
i32.const -4010
|
|
local.set 2
|
|
i32.const 2010
|
|
local.set 3
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 3
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_subtract_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 5
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 4
|
|
local.get 5
|
|
select
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
i32.eq
|
|
select
|
|
local.set 4
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.set 3
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 2000
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -3
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -2
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_subtract_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_subtract_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 2
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1190
|
|
call $ammunition_strcmp
|
|
local.set 3
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
i32.const 1
|
|
local.get 4
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.get 3
|
|
local.get 2
|
|
i32.or
|
|
select
|
|
local.set 2
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shr_u
|
|
local.tee 3
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_subtract_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 4
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 4
|
|
select
|
|
i32.const 1
|
|
local.get 1
|
|
local.get 3
|
|
i32.sub
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
i32.eq
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 4000
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 1073741824
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1113
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_multiply_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -1073741825
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1113
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_multiply_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 3
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 715827882
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 3
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_multiply_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 4
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 2147483646
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
local.set 5
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -1073741824
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 2
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_multiply_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 6
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -2147483648
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
local.set 7
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
i32.const 1
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
i32.const 1
|
|
local.get 3
|
|
select
|
|
local.get 7
|
|
local.get 6
|
|
i32.or
|
|
local.get 5
|
|
local.get 4
|
|
i32.or
|
|
i32.or
|
|
select
|
|
local.set 2
|
|
i32.const -2000
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1000
|
|
i32.add
|
|
local.tee 3
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_multiply_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 4
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 4
|
|
select
|
|
i32.const 1
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
local.get 3
|
|
local.get 1
|
|
i32.mul
|
|
i32.eq
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 2000
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 858993460
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 5
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_multiply_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 2147483647
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const 2
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_multiply_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 3
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
i32.const -2
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
call $ammunition_strcmp
|
|
local.set 4
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
i32.const 1
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.get 4
|
|
local.get 3
|
|
i32.or
|
|
select
|
|
local.set 2
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shr_u
|
|
local.tee 3
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_multiply_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 4
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 4
|
|
select
|
|
i32.const 1
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
local.get 3
|
|
local.get 1
|
|
i32.mul
|
|
i32.eq
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 4000
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1144
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1190
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_divide_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.set 4
|
|
i32.const 2000
|
|
local.set 2
|
|
i32.const -2000
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 1
|
|
i32.const -1
|
|
i32.gt_s
|
|
local.tee 3
|
|
br_if 0 (;@3;)
|
|
local.get 2
|
|
i32.const 20
|
|
i32.div_u
|
|
i32.const 1
|
|
i32.add
|
|
local.set 5
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 1
|
|
i32.const 65535
|
|
i32.and
|
|
i32.const 20
|
|
i32.div_u
|
|
i32.const -1
|
|
i32.xor
|
|
local.set 5
|
|
end
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 5
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_divide_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 5
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
local.set 6
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 3
|
|
br_if 0 (;@3;)
|
|
local.get 2
|
|
i32.const 20
|
|
i32.div_u
|
|
i32.const 1
|
|
i32.add
|
|
local.set 7
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 1
|
|
i32.const 65535
|
|
i32.and
|
|
i32.const 20
|
|
i32.div_u
|
|
i32.const -1
|
|
i32.xor
|
|
local.set 7
|
|
end
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_d
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_divide_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 8
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 1
|
|
local.get 7
|
|
i32.div_s
|
|
local.set 7
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
local.set 9
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 3
|
|
br_if 0 (;@3;)
|
|
local.get 2
|
|
i32.const 20
|
|
i32.div_u
|
|
i32.const 1
|
|
i32.add
|
|
local.set 3
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 1
|
|
i32.const 65535
|
|
i32.and
|
|
i32.const 20
|
|
i32.div_u
|
|
i32.const -1
|
|
i32.xor
|
|
local.set 3
|
|
end
|
|
i32.const 1
|
|
i32.const 1
|
|
local.get 4
|
|
local.get 5
|
|
select
|
|
i32.const 1
|
|
local.get 6
|
|
local.get 7
|
|
i32.eq
|
|
select
|
|
local.get 8
|
|
select
|
|
i32.const 1
|
|
local.get 9
|
|
local.get 1
|
|
local.get 3
|
|
i32.div_s
|
|
i32.eq
|
|
select
|
|
local.set 4
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 2
|
|
i32.const -2000
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1144
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1190
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_divide_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
local.get 4
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.set 2
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
i32.const 65535
|
|
i32.and
|
|
local.tee 3
|
|
i32.const 20
|
|
i32.div_u
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 4
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_divide_unsigned_integer
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 5
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 5
|
|
select
|
|
i32.const 1
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
local.get 3
|
|
local.get 4
|
|
i32.div_u
|
|
i32.eq
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 4000
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1144
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1190
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_remainder
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
i32.const 4000
|
|
i32.const 4000
|
|
call $__pragma_loopbound
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.set 2
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 1
|
|
i32.const 65535
|
|
i32.and
|
|
local.tee 3
|
|
i32.const 20
|
|
i32.div_u
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 4
|
|
call $ammunition_sprintf_u
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 48
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_remainder
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 5
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
i32.const 1
|
|
local.get 2
|
|
local.get 5
|
|
select
|
|
i32.const 1
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_atoi
|
|
local.get 3
|
|
local.get 4
|
|
i32.rem_u
|
|
i32.eq
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 4000
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 32
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1190
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 8
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1108
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1119
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1093
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1119
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const -13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1093
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 32
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1190
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 8
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1108
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1119
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1093
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1119
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const -13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1093
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1061
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 32
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1115
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 8
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1096
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1118
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1078
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1118
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const -13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1078
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 2
|
|
end
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 22
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_left
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 8
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1043
|
|
call $ammunition_strcmp
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 1
|
|
select
|
|
local.set 1
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1119
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1127
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1119
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const -13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1127
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 21
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 2
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 8
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1043
|
|
call $ammunition_strcmp
|
|
br_if 0 (;@2;)
|
|
local.get 1
|
|
i32.const 1
|
|
local.get 2
|
|
select
|
|
local.set 1
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1119
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1127
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1119
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const -13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1127
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1061
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 21
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 2
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 8
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1042
|
|
call $ammunition_strcmp
|
|
br_if 0 (;@2;)
|
|
local.get 1
|
|
i32.const 1
|
|
local.get 2
|
|
select
|
|
local.set 1
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1118
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_left
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1126
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1118
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const -13
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_shift_right
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1126
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1143
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_eq_integer
|
|
local.set 2
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_eq_integer
|
|
local.set 3
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1144
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_eq_unsigned_integer
|
|
local.set 4
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_eq_unsigned_integer
|
|
local.set 5
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1143
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ne_integer
|
|
local.set 6
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ne_integer
|
|
local.set 7
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1144
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ne_unsigned_integer
|
|
local.set 8
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ne_unsigned_integer
|
|
local.set 9
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1143
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_gt_integer
|
|
local.set 10
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_gt_integer
|
|
local.set 11
|
|
i32.const 4
|
|
i32.const 1183
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_gt_integer
|
|
local.set 12
|
|
i32.const 4
|
|
i32.const 1184
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_gt_integer
|
|
local.set 13
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1144
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_gt_unsigned_integer
|
|
local.set 14
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_gt_unsigned_integer
|
|
local.set 15
|
|
i32.const 4
|
|
i32.const 1184
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_gt_unsigned_integer
|
|
local.set 16
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1143
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_lt_integer
|
|
local.set 17
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_lt_integer
|
|
local.set 18
|
|
i32.const 4
|
|
i32.const 1183
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_lt_integer
|
|
local.set 19
|
|
i32.const 4
|
|
i32.const 1184
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_lt_integer
|
|
local.set 20
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1144
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_lt_unsigned_integer
|
|
local.set 21
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_lt_unsigned_integer
|
|
local.set 22
|
|
i32.const 4
|
|
i32.const 1184
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_lt_unsigned_integer
|
|
local.set 23
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1143
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ge_integer
|
|
local.set 24
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ge_integer
|
|
local.set 25
|
|
i32.const 4
|
|
i32.const 1183
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ge_integer
|
|
local.set 26
|
|
i32.const 4
|
|
i32.const 1184
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ge_integer
|
|
local.set 27
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1144
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ge_unsigned_integer
|
|
local.set 28
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ge_unsigned_integer
|
|
local.set 29
|
|
i32.const 4
|
|
i32.const 1184
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_ge_unsigned_integer
|
|
local.set 30
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1143
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_le_integer
|
|
local.set 31
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_le_integer
|
|
local.set 32
|
|
i32.const 4
|
|
i32.const 1183
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1061
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_le_integer
|
|
local.set 33
|
|
i32.const 4
|
|
i32.const 1184
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_le_integer
|
|
local.set 34
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1144
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_le_unsigned_integer
|
|
local.set 35
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_le_unsigned_integer
|
|
local.set 36
|
|
i32.const 4
|
|
i32.const 1184
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_le_unsigned_integer
|
|
local.set 37
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1154
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 2
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_change_unsigned_integer_size
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 38
|
|
i32.const 4
|
|
i32.const 1177
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 2
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_change_unsigned_integer_size
|
|
i32.const 2
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1177
|
|
call $ammunition_strcmp
|
|
br_if 0 (;@2;)
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
i32.const 1
|
|
local.get 1
|
|
local.get 2
|
|
select
|
|
i32.const 1
|
|
local.get 3
|
|
select
|
|
local.get 4
|
|
select
|
|
i32.const 1
|
|
local.get 5
|
|
select
|
|
i32.const 1
|
|
local.get 6
|
|
select
|
|
local.get 7
|
|
select
|
|
i32.const 1
|
|
local.get 8
|
|
select
|
|
local.get 12
|
|
local.get 11
|
|
i32.or
|
|
local.get 10
|
|
local.get 9
|
|
i32.or
|
|
i32.or
|
|
select
|
|
i32.const 1
|
|
local.get 13
|
|
select
|
|
local.get 15
|
|
local.get 14
|
|
i32.or
|
|
select
|
|
i32.const 1
|
|
local.get 16
|
|
select
|
|
i32.const 1
|
|
local.get 17
|
|
select
|
|
local.get 18
|
|
select
|
|
i32.const 1
|
|
local.get 19
|
|
select
|
|
local.get 20
|
|
select
|
|
i32.const 1
|
|
local.get 21
|
|
select
|
|
local.get 24
|
|
local.get 23
|
|
i32.or
|
|
local.get 22
|
|
i32.or
|
|
select
|
|
i32.const 1
|
|
local.get 25
|
|
select
|
|
local.get 26
|
|
select
|
|
i32.const 1
|
|
local.get 27
|
|
select
|
|
local.get 28
|
|
select
|
|
i32.const 1
|
|
local.get 29
|
|
select
|
|
i32.const 1
|
|
local.get 30
|
|
select
|
|
i32.const 1
|
|
local.get 31
|
|
select
|
|
i32.const 1
|
|
local.get 32
|
|
select
|
|
i32.const 1
|
|
local.get 33
|
|
select
|
|
local.get 34
|
|
select
|
|
i32.const 1
|
|
local.get 35
|
|
select
|
|
i32.const 1
|
|
local.get 36
|
|
select
|
|
local.get 37
|
|
select
|
|
i32.const 1
|
|
local.get 38
|
|
select
|
|
local.set 1
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1167
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
i32.const 6
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
call $ammunition_change_unsigned_integer_size
|
|
i32.const 6
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1167
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1160
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 2
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_change_integer_size
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 2
|
|
i32.const 4
|
|
i32.const 1147
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 2
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_change_integer_size
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 3
|
|
i32.const 4
|
|
i32.const 1177
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 2
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_change_integer_size
|
|
i32.const 2
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1177
|
|
call $ammunition_strcmp
|
|
br_if 0 (;@2;)
|
|
local.get 1
|
|
i32.const 1
|
|
local.get 2
|
|
select
|
|
i32.const 1
|
|
local.get 3
|
|
select
|
|
local.set 1
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1176
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
i32.const 2
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_change_integer_size
|
|
i32.const 2
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1176
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1167
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
i32.const 6
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
call $ammunition_change_integer_size
|
|
i32.const 6
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1167
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 4
|
|
i32.const 1166
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
i32.const 6
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
call $ammunition_change_integer_size
|
|
i32.const 6
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1166
|
|
call $ammunition_strcmp
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
end
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_or
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
local.set 2
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1190
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_or
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
local.set 3
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1099
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_or
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1099
|
|
call $ammunition_strcmp
|
|
local.set 4
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1090
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_or
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1138
|
|
call $ammunition_strcmp
|
|
local.set 5
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_or
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
local.set 6
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1190
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_or
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
local.set 7
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1115
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_or
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1115
|
|
call $ammunition_strcmp
|
|
local.set 8
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1090
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_or
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1138
|
|
call $ammunition_strcmp
|
|
local.set 9
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_and
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
local.set 10
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1190
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_and
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1190
|
|
call $ammunition_strcmp
|
|
local.set 11
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1099
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_and
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
local.set 12
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1090
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_unsigned_integer_and
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1110
|
|
call $ammunition_strcmp
|
|
local.set 13
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_and
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
local.set 14
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1190
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_and
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1190
|
|
call $ammunition_strcmp
|
|
local.set 15
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1115
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_and
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1062
|
|
call $ammunition_strcmp
|
|
local.set 16
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
i32.const 1090
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
call $ammunition_integer_and
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 8
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1110
|
|
call $ammunition_strcmp
|
|
local.set 17
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_not
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1067
|
|
call $ammunition_strcmp
|
|
local.set 18
|
|
i32.const 4
|
|
i32.const 1190
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_not
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1099
|
|
call $ammunition_strcmp
|
|
local.set 19
|
|
i32.const 4
|
|
i32.const 1099
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_unsigned_integer_not
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1190
|
|
call $ammunition_strcmp
|
|
local.set 20
|
|
i32.const 20
|
|
i32.const 20
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=48
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=16
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=18 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=22 align=2
|
|
local.get 0
|
|
i64.const 0
|
|
i64.store offset=56
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=30 align=2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=64
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=34
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=8 align=1
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store16 offset=6 align=1
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=2 align=1
|
|
i32.const 4
|
|
i32.const 1062
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_not
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1036
|
|
call $ammunition_strcmp
|
|
local.set 21
|
|
i32.const 4
|
|
i32.const 1190
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_not
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1115
|
|
call $ammunition_strcmp
|
|
local.set 22
|
|
i32.const 4
|
|
i32.const 1115
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_from_string
|
|
drop
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_integer_not
|
|
i32.const 4
|
|
local.get 0
|
|
i32.const 12
|
|
i32.add
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
call $ammunition_integer_to_string
|
|
drop
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
i32.const 1190
|
|
call $ammunition_strcmp
|
|
local.set 23
|
|
local.get 0
|
|
i32.const 80
|
|
i32.add
|
|
global.set $__stack_pointer
|
|
i32.const 1
|
|
local.get 1
|
|
local.get 23
|
|
local.get 22
|
|
i32.or
|
|
local.get 21
|
|
local.get 20
|
|
local.get 19
|
|
local.get 18
|
|
local.get 17
|
|
local.get 16
|
|
local.get 15
|
|
local.get 14
|
|
local.get 13
|
|
local.get 12
|
|
local.get 11
|
|
local.get 10
|
|
local.get 9
|
|
local.get 8
|
|
local.get 7
|
|
local.get 6
|
|
local.get 5
|
|
local.get 4
|
|
local.get 3
|
|
local.get 2
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
i32.or
|
|
select)
|
|
(func $ammunition_main (type 1)
|
|
i32.const 0
|
|
call $ammunition_bits_test
|
|
i32.const 0
|
|
i32.load offset=1192
|
|
i32.or
|
|
i32.store offset=1192
|
|
i32.const 0
|
|
call $ammunition_arithm_test
|
|
i32.const 0
|
|
i32.load offset=1192
|
|
i32.or
|
|
i32.store offset=1192)
|
|
(func $__original_main (type 2) (result i32)
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1192
|
|
call $ammunition_main
|
|
i32.const 0
|
|
i32.load offset=1192)
|
|
(func $ammunition_isdigit (type 3) (param i32) (result i32)
|
|
local.get 0
|
|
i32.const -48
|
|
i32.add
|
|
i32.const 255
|
|
i32.and
|
|
i32.const 10
|
|
i32.lt_u)
|
|
(func $ammunition_isspace (type 3) (param i32) (result i32)
|
|
local.get 0
|
|
i32.const 32
|
|
i32.eq
|
|
local.get 0
|
|
i32.const 13
|
|
i32.eq
|
|
i32.or
|
|
local.get 0
|
|
i32.const -9
|
|
i32.add
|
|
i32.const 2
|
|
i32.lt_u
|
|
i32.or)
|
|
(func $ammunition_memcpy (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32 i32 i32)
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 2
|
|
i32.const 3
|
|
i32.and
|
|
local.set 3
|
|
i32.const 0
|
|
local.set 4
|
|
block ;; label = @2
|
|
local.get 2
|
|
i32.const 4
|
|
i32.lt_u
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
i32.const -4
|
|
i32.and
|
|
local.set 5
|
|
i32.const 0
|
|
local.set 4
|
|
loop ;; label = @3
|
|
local.get 0
|
|
local.get 4
|
|
i32.add
|
|
local.tee 2
|
|
local.get 1
|
|
local.get 4
|
|
i32.add
|
|
local.tee 6
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.get 6
|
|
i32.const 2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 3
|
|
i32.add
|
|
local.get 6
|
|
i32.const 3
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 5
|
|
local.get 4
|
|
i32.const 4
|
|
i32.add
|
|
local.tee 4
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 3
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 1
|
|
local.get 4
|
|
i32.add
|
|
local.set 2
|
|
local.get 0
|
|
local.get 4
|
|
i32.add
|
|
local.set 4
|
|
loop ;; label = @2
|
|
local.get 4
|
|
local.get 2
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 4
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 3
|
|
br_if 0 (;@2;)
|
|
end
|
|
end
|
|
local.get 0)
|
|
(func $ammunition_memset (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32 i32)
|
|
i32.const 0
|
|
local.set 3
|
|
i32.const 0
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 2
|
|
i32.const 7
|
|
i32.and
|
|
local.set 4
|
|
block ;; label = @2
|
|
local.get 2
|
|
i32.const 8
|
|
i32.lt_u
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
i32.const -8
|
|
i32.and
|
|
local.set 5
|
|
i32.const 0
|
|
local.set 3
|
|
loop ;; label = @3
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.tee 2
|
|
local.get 1
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 7
|
|
i32.add
|
|
local.get 1
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 6
|
|
i32.add
|
|
local.get 1
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 5
|
|
i32.add
|
|
local.get 1
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 4
|
|
i32.add
|
|
local.get 1
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 3
|
|
i32.add
|
|
local.get 1
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.get 1
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.get 1
|
|
i32.store8
|
|
local.get 5
|
|
local.get 3
|
|
i32.const 8
|
|
i32.add
|
|
local.tee 3
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 4
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.set 2
|
|
loop ;; label = @2
|
|
local.get 2
|
|
local.get 1
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
br_if 0 (;@2;)
|
|
end
|
|
end
|
|
local.get 0)
|
|
(func $ammunition_memcmp (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32)
|
|
i32.const 0
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
loop ;; label = @2
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.load8_u
|
|
local.tee 3
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 4
|
|
i32.eq
|
|
br_if 0 (;@3;)
|
|
local.get 3
|
|
local.get 4
|
|
i32.sub
|
|
return
|
|
end
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 2
|
|
br_if 0 (;@2;)
|
|
end
|
|
end
|
|
i32.const 0)
|
|
(func $ammunition_memmove (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32 i32 i32)
|
|
local.get 0
|
|
local.get 2
|
|
i32.add
|
|
local.set 3
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 0
|
|
local.get 1
|
|
i32.ge_u
|
|
local.tee 4
|
|
br_if 0 (;@4;)
|
|
local.get 3
|
|
local.get 1
|
|
i32.le_u
|
|
br_if 1 (;@3;)
|
|
end
|
|
local.get 1
|
|
local.get 0
|
|
i32.ge_u
|
|
br_if 1 (;@2;)
|
|
local.get 1
|
|
local.get 2
|
|
i32.add
|
|
local.get 0
|
|
i32.gt_u
|
|
br_if 1 (;@2;)
|
|
end
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 2
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
local.get 2
|
|
i32.const 3
|
|
i32.and
|
|
local.set 5
|
|
i32.const 0
|
|
local.set 3
|
|
block ;; label = @3
|
|
local.get 2
|
|
i32.const 4
|
|
i32.lt_u
|
|
br_if 0 (;@3;)
|
|
local.get 2
|
|
i32.const -4
|
|
i32.and
|
|
local.set 6
|
|
i32.const 0
|
|
local.set 3
|
|
loop ;; label = @4
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.tee 2
|
|
local.get 1
|
|
local.get 3
|
|
i32.add
|
|
local.tee 4
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.get 4
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.get 4
|
|
i32.const 2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 3
|
|
i32.add
|
|
local.get 4
|
|
i32.const 3
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 6
|
|
local.get 3
|
|
i32.const 4
|
|
i32.add
|
|
local.tee 3
|
|
i32.ne
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
local.get 5
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
local.get 1
|
|
local.get 3
|
|
i32.add
|
|
local.set 2
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.set 3
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 2
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
i32.const 1
|
|
i32.add
|
|
local.set 3
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
i32.const 0
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @2
|
|
local.get 4
|
|
br_if 0 (;@2;)
|
|
local.get 3
|
|
local.get 1
|
|
i32.le_u
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
local.get 2
|
|
i32.const 3
|
|
i32.and
|
|
local.set 5
|
|
i32.const 0
|
|
local.set 3
|
|
block ;; label = @3
|
|
local.get 2
|
|
i32.const 4
|
|
i32.lt_u
|
|
br_if 0 (;@3;)
|
|
local.get 2
|
|
i32.const -4
|
|
i32.and
|
|
local.set 6
|
|
i32.const 0
|
|
local.set 3
|
|
loop ;; label = @4
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.tee 2
|
|
local.get 1
|
|
local.get 3
|
|
i32.add
|
|
local.tee 4
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.get 4
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.get 4
|
|
i32.const 2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 3
|
|
i32.add
|
|
local.get 4
|
|
i32.const 3
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 6
|
|
local.get 3
|
|
i32.const 4
|
|
i32.add
|
|
local.tee 3
|
|
i32.ne
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
local.get 5
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
local.get 1
|
|
local.get 3
|
|
i32.add
|
|
local.set 2
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.set 3
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 2
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
i32.const 1
|
|
i32.add
|
|
local.set 3
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 4
|
|
local.set 3
|
|
block ;; label = @2
|
|
local.get 2
|
|
i32.const 3
|
|
i32.and
|
|
local.tee 2
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 4
|
|
local.set 3
|
|
loop ;; label = @3
|
|
local.get 0
|
|
local.get 3
|
|
i32.add
|
|
local.get 1
|
|
local.get 3
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.set 3
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 2
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 4
|
|
i32.const 3
|
|
i32.lt_u
|
|
br_if 0 (;@1;)
|
|
local.get 1
|
|
i32.const -3
|
|
i32.add
|
|
local.set 5
|
|
local.get 0
|
|
i32.const -3
|
|
i32.add
|
|
local.set 1
|
|
loop ;; label = @2
|
|
local.get 1
|
|
local.get 3
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 3
|
|
i32.add
|
|
local.get 5
|
|
local.get 3
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 3
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.get 4
|
|
i32.const 2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.get 4
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
local.get 4
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 3
|
|
i32.const -4
|
|
i32.add
|
|
local.tee 3
|
|
i32.const -1
|
|
i32.ne
|
|
br_if 0 (;@2;)
|
|
end
|
|
end
|
|
local.get 0)
|
|
(func $ammunition_strcmp (type 5) (param i32 i32) (result i32)
|
|
(local i32)
|
|
i32.const 1
|
|
i32.const 11
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.load8_u
|
|
local.tee 2
|
|
br_if 0 (;@2;)
|
|
i32.const 0
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 2
|
|
i32.const 255
|
|
i32.and
|
|
local.get 1
|
|
i32.load8_u
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
i32.load8_u
|
|
local.set 2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 2
|
|
br_if 0 (;@3;)
|
|
end
|
|
i32.const 0
|
|
local.set 2
|
|
end
|
|
local.get 2
|
|
i32.const 255
|
|
i32.and
|
|
local.set 2
|
|
end
|
|
local.get 2
|
|
local.get 1
|
|
i32.load8_u
|
|
i32.sub)
|
|
(func $ammunition_atoi (type 3) (param i32) (result i32)
|
|
(local i32 i32 i32)
|
|
local.get 0
|
|
i32.load8_u
|
|
local.set 1
|
|
i32.const 1
|
|
i32.const 7
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 45
|
|
i32.eq
|
|
local.get 1
|
|
i32.const 43
|
|
i32.eq
|
|
i32.or
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 2
|
|
i32.const 0
|
|
local.set 3
|
|
loop ;; label = @1
|
|
local.get 3
|
|
i32.const 10
|
|
i32.mul
|
|
local.get 2
|
|
i32.extend8_s
|
|
i32.add
|
|
i32.const -48
|
|
i32.add
|
|
local.set 3
|
|
local.get 0
|
|
i32.load8_u
|
|
local.set 2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 2
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.get 3
|
|
i32.sub
|
|
local.get 3
|
|
local.get 1
|
|
i32.const 45
|
|
i32.eq
|
|
select)
|
|
(func $ammunition_sprintf_d (type 5) (param i32 i32) (result i32)
|
|
(local i32 i64 i64 i32 i64 i32)
|
|
i32.const 1
|
|
i32.const 10
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 2
|
|
local.get 1
|
|
i64.extend_i32_s
|
|
local.tee 3
|
|
local.set 4
|
|
loop ;; label = @1
|
|
local.get 2
|
|
local.tee 5
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 4
|
|
i64.const 9
|
|
i64.add
|
|
local.set 6
|
|
local.get 4
|
|
i64.const 10
|
|
i64.div_s
|
|
local.set 4
|
|
local.get 6
|
|
i64.const 18
|
|
i64.gt_u
|
|
br_if 0 (;@1;)
|
|
end
|
|
local.get 2
|
|
local.set 7
|
|
block ;; label = @1
|
|
local.get 1
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 45
|
|
i32.store8
|
|
local.get 5
|
|
i32.const 2
|
|
i32.add
|
|
local.set 7
|
|
end
|
|
local.get 0
|
|
local.get 7
|
|
i32.const 255
|
|
i32.and
|
|
i32.add
|
|
i32.const 0
|
|
i32.store8
|
|
i32.const 1
|
|
i32.const 10
|
|
call $__pragma_loopbound
|
|
loop ;; label = @1
|
|
local.get 0
|
|
local.get 7
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 7
|
|
i32.const 255
|
|
i32.and
|
|
i32.add
|
|
local.get 3
|
|
local.get 3
|
|
i64.const 63
|
|
i64.shr_s
|
|
local.tee 4
|
|
i64.xor
|
|
local.get 4
|
|
i64.sub
|
|
i64.const 10
|
|
i64.rem_u
|
|
i32.wrap_i64
|
|
i32.const 48
|
|
i32.or
|
|
i32.store8
|
|
local.get 3
|
|
i64.const 9
|
|
i64.add
|
|
local.set 4
|
|
local.get 3
|
|
i64.const 10
|
|
i64.div_s
|
|
local.set 3
|
|
local.get 4
|
|
i64.const 18
|
|
i64.gt_u
|
|
br_if 0 (;@1;)
|
|
end
|
|
local.get 1
|
|
i32.const 31
|
|
i32.shr_u
|
|
local.get 2
|
|
i32.extend8_s
|
|
i32.add)
|
|
(func $ammunition_sprintf_u (type 5) (param i32 i32) (result i32)
|
|
(local i32 i64 i64 i32)
|
|
i32.const 1
|
|
i32.const 10
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 2
|
|
local.get 1
|
|
i64.extend_i32_u
|
|
local.tee 3
|
|
local.set 4
|
|
loop ;; label = @1
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 4
|
|
i64.const 9
|
|
i64.gt_u
|
|
local.set 1
|
|
local.get 4
|
|
i64.const 10
|
|
i64.div_u
|
|
local.set 4
|
|
local.get 1
|
|
br_if 0 (;@1;)
|
|
end
|
|
local.get 0
|
|
local.get 2
|
|
i32.const 255
|
|
i32.and
|
|
i32.add
|
|
i32.const 0
|
|
i32.store8
|
|
i32.const 1
|
|
i32.const 10
|
|
call $__pragma_loopbound
|
|
local.get 2
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 0
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 255
|
|
i32.and
|
|
i32.add
|
|
local.get 3
|
|
local.get 3
|
|
i64.const 10
|
|
i64.div_u
|
|
local.tee 4
|
|
i64.const 10
|
|
i64.mul
|
|
i64.sub
|
|
i32.wrap_i64
|
|
i32.const 48
|
|
i32.or
|
|
i32.store8
|
|
local.get 3
|
|
i64.const 9
|
|
i64.gt_u
|
|
local.set 5
|
|
local.get 4
|
|
local.set 3
|
|
local.get 5
|
|
br_if 0 (;@1;)
|
|
end
|
|
local.get 2
|
|
i32.extend8_s)
|
|
(func $ammunition_add_unsigned_integer (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 4
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 5
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
i32.const 0
|
|
local.set 4
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 1
|
|
i32.const -2
|
|
i32.add
|
|
local.set 6
|
|
local.get 2
|
|
i32.const -2
|
|
i32.add
|
|
local.set 7
|
|
local.get 3
|
|
i32.const -2
|
|
i32.add
|
|
local.set 8
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 9
|
|
i32.const 0
|
|
local.set 4
|
|
loop ;; label = @3
|
|
local.get 8
|
|
local.get 0
|
|
i32.add
|
|
local.tee 10
|
|
i32.const 1
|
|
i32.add
|
|
local.get 4
|
|
local.get 6
|
|
local.get 0
|
|
i32.add
|
|
local.tee 11
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 7
|
|
local.get 0
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 12
|
|
i32.store8
|
|
local.get 10
|
|
local.get 12
|
|
i32.const 255
|
|
i32.gt_u
|
|
local.get 11
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 4
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 4
|
|
i32.store8
|
|
local.get 4
|
|
i32.const 255
|
|
i32.gt_u
|
|
local.set 4
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.set 0
|
|
local.get 9
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 9
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 5
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.add
|
|
local.get 4
|
|
local.get 1
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 0
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 255
|
|
i32.gt_u
|
|
local.set 4
|
|
end
|
|
i32.const 0
|
|
local.get 4
|
|
i32.store offset=1196)
|
|
(func $ammunition_add_integer (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
local.get 1
|
|
i32.load8_u
|
|
local.set 4
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 5
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 5
|
|
i32.const 7
|
|
i32.shr_u
|
|
local.set 6
|
|
local.get 4
|
|
i32.const 7
|
|
i32.shr_u
|
|
local.set 7
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 8
|
|
i32.const 0
|
|
local.set 4
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 1
|
|
i32.const -2
|
|
i32.add
|
|
local.set 9
|
|
local.get 2
|
|
i32.const -2
|
|
i32.add
|
|
local.set 10
|
|
local.get 3
|
|
i32.const -2
|
|
i32.add
|
|
local.set 11
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 4
|
|
i32.const 0
|
|
local.set 5
|
|
loop ;; label = @3
|
|
local.get 11
|
|
local.get 0
|
|
i32.add
|
|
local.tee 12
|
|
i32.const 1
|
|
i32.add
|
|
local.get 5
|
|
local.get 9
|
|
local.get 0
|
|
i32.add
|
|
local.tee 13
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 10
|
|
local.get 0
|
|
i32.add
|
|
local.tee 5
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 14
|
|
i32.store8
|
|
local.get 12
|
|
local.get 14
|
|
i32.const 255
|
|
i32.gt_u
|
|
local.get 13
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 5
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 13
|
|
i32.store8
|
|
local.get 13
|
|
i32.const 255
|
|
i32.gt_u
|
|
local.set 5
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.set 0
|
|
local.get 4
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 4
|
|
br_if 0 (;@3;)
|
|
end
|
|
local.get 13
|
|
i32.const 255
|
|
i32.gt_u
|
|
local.set 4
|
|
end
|
|
local.get 8
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.add
|
|
local.get 4
|
|
local.get 1
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
i32.store8
|
|
end
|
|
i32.const 0
|
|
local.set 0
|
|
block ;; label = @1
|
|
local.get 7
|
|
local.get 6
|
|
i32.ne
|
|
br_if 0 (;@1;)
|
|
local.get 7
|
|
local.get 3
|
|
i32.load8_u
|
|
i32.const 7
|
|
i32.shr_u
|
|
i32.ne
|
|
local.set 0
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
i32.store offset=1196)
|
|
(func $ammunition_subtract_unsigned_integer (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 4
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 5
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
i32.const 0
|
|
local.set 6
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 1
|
|
i32.const -2
|
|
i32.add
|
|
local.set 7
|
|
local.get 2
|
|
i32.const -2
|
|
i32.add
|
|
local.set 8
|
|
local.get 3
|
|
i32.const -2
|
|
i32.add
|
|
local.set 9
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 10
|
|
i32.const 0
|
|
local.set 6
|
|
loop ;; label = @3
|
|
local.get 9
|
|
local.get 0
|
|
i32.add
|
|
local.tee 11
|
|
i32.const 1
|
|
i32.add
|
|
local.get 6
|
|
local.get 7
|
|
local.get 0
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 8
|
|
local.get 0
|
|
i32.add
|
|
local.tee 6
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.sub
|
|
local.tee 12
|
|
i32.store8
|
|
local.get 11
|
|
local.get 12
|
|
i32.const 31
|
|
i32.shr_s
|
|
local.get 4
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 6
|
|
i32.load8_u
|
|
i32.sub
|
|
local.tee 4
|
|
i32.store8
|
|
local.get 4
|
|
i32.const 31
|
|
i32.shr_s
|
|
local.set 6
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.set 0
|
|
local.get 10
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 10
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
block ;; label = @2
|
|
local.get 5
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 3
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.add
|
|
local.get 6
|
|
local.get 1
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.sub
|
|
local.tee 4
|
|
i32.store8
|
|
end
|
|
local.get 4
|
|
i32.const 31
|
|
i32.shr_u
|
|
local.set 4
|
|
end
|
|
i32.const 0
|
|
local.get 4
|
|
i32.store offset=1196)
|
|
(func $ammunition_subtract_integer (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
local.get 1
|
|
i32.load8_u
|
|
local.set 4
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 5
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 5
|
|
i32.const 7
|
|
i32.shr_u
|
|
local.set 6
|
|
local.get 4
|
|
i32.const 7
|
|
i32.shr_u
|
|
local.set 7
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 8
|
|
i32.const 0
|
|
local.set 4
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 1
|
|
i32.const -2
|
|
i32.add
|
|
local.set 9
|
|
local.get 2
|
|
i32.const -2
|
|
i32.add
|
|
local.set 10
|
|
local.get 3
|
|
i32.const -2
|
|
i32.add
|
|
local.set 11
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 5
|
|
i32.const 0
|
|
local.set 4
|
|
loop ;; label = @3
|
|
local.get 11
|
|
local.get 0
|
|
i32.add
|
|
local.tee 12
|
|
i32.const 1
|
|
i32.add
|
|
local.get 4
|
|
local.get 9
|
|
local.get 0
|
|
i32.add
|
|
local.tee 13
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 10
|
|
local.get 0
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.sub
|
|
local.tee 14
|
|
i32.store8
|
|
local.get 12
|
|
local.get 14
|
|
i32.const 31
|
|
i32.shr_s
|
|
local.get 13
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 4
|
|
i32.load8_u
|
|
i32.sub
|
|
local.tee 4
|
|
i32.store8
|
|
local.get 4
|
|
i32.const 31
|
|
i32.shr_s
|
|
local.set 4
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.set 0
|
|
local.get 5
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 5
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 8
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.add
|
|
local.get 4
|
|
local.get 1
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.sub
|
|
i32.store8
|
|
end
|
|
i32.const 0
|
|
local.set 0
|
|
block ;; label = @1
|
|
local.get 7
|
|
local.get 6
|
|
i32.eq
|
|
br_if 0 (;@1;)
|
|
local.get 7
|
|
local.get 3
|
|
i32.load8_u
|
|
i32.const 7
|
|
i32.shr_u
|
|
i32.ne
|
|
local.set 0
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
i32.store offset=1196)
|
|
(func $ammunition_multiply_unsigned_integer_without_overflow_reaction (type 7) (param i32 i32 i32 i32) (result i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 256
|
|
i32.sub
|
|
local.tee 4
|
|
global.set $__stack_pointer
|
|
i32.const 0
|
|
local.set 5
|
|
local.get 4
|
|
local.get 0
|
|
i32.add
|
|
local.tee 6
|
|
i32.const 0
|
|
local.get 0
|
|
call $ammunition_memset
|
|
drop
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.set 7
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 9
|
|
local.get 0
|
|
i32.const 1
|
|
i32.shl
|
|
local.get 4
|
|
i32.add
|
|
i32.const -2
|
|
i32.add
|
|
local.set 10
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 11
|
|
local.set 12
|
|
loop ;; label = @3
|
|
i32.const 0
|
|
local.set 5
|
|
block ;; label = @4
|
|
local.get 2
|
|
local.get 12
|
|
i32.add
|
|
local.tee 13
|
|
i32.load8_u
|
|
i32.eqz
|
|
br_if 0 (;@4;)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 13
|
|
i32.load8_u
|
|
local.set 14
|
|
i32.const 0
|
|
local.set 5
|
|
block ;; label = @5
|
|
block ;; label = @6
|
|
local.get 11
|
|
br_if 0 (;@6;)
|
|
local.get 11
|
|
local.set 13
|
|
br 1 (;@5;)
|
|
end
|
|
local.get 8
|
|
local.set 15
|
|
local.get 10
|
|
local.set 13
|
|
local.get 7
|
|
local.set 16
|
|
loop ;; label = @6
|
|
local.get 13
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 17
|
|
local.get 5
|
|
local.get 17
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 14
|
|
local.get 1
|
|
local.get 16
|
|
i32.add
|
|
local.tee 5
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.mul
|
|
i32.add
|
|
local.tee 17
|
|
i32.store8
|
|
local.get 13
|
|
local.get 17
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.get 13
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 14
|
|
local.get 5
|
|
i32.load8_u
|
|
i32.mul
|
|
i32.add
|
|
local.tee 5
|
|
i32.store8
|
|
local.get 5
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 5
|
|
local.get 13
|
|
i32.const -2
|
|
i32.add
|
|
local.set 13
|
|
local.get 16
|
|
i32.const -2
|
|
i32.add
|
|
local.set 16
|
|
local.get 15
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 15
|
|
br_if 0 (;@6;)
|
|
end
|
|
local.get 16
|
|
i32.const 1
|
|
i32.add
|
|
local.set 13
|
|
end
|
|
local.get 9
|
|
i32.eqz
|
|
br_if 0 (;@4;)
|
|
local.get 4
|
|
local.get 12
|
|
i32.const 1
|
|
i32.add
|
|
local.get 13
|
|
i32.add
|
|
i32.add
|
|
local.tee 16
|
|
local.get 5
|
|
local.get 16
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 14
|
|
local.get 1
|
|
local.get 13
|
|
i32.add
|
|
i32.load8_u
|
|
i32.mul
|
|
i32.add
|
|
local.tee 13
|
|
i32.store8
|
|
local.get 13
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 5
|
|
end
|
|
local.get 4
|
|
local.get 12
|
|
i32.add
|
|
local.get 5
|
|
i32.store8
|
|
local.get 10
|
|
i32.const -1
|
|
i32.add
|
|
local.set 10
|
|
local.get 12
|
|
i32.const 0
|
|
i32.gt_s
|
|
local.set 13
|
|
local.get 12
|
|
i32.const -1
|
|
i32.add
|
|
local.set 12
|
|
local.get 13
|
|
br_if 0 (;@3;)
|
|
end
|
|
i32.const 0
|
|
local.set 5
|
|
i32.const 0
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.set 16
|
|
local.get 0
|
|
local.set 13
|
|
block ;; label = @3
|
|
loop ;; label = @4
|
|
local.get 16
|
|
local.get 13
|
|
i32.add
|
|
i32.load8_u
|
|
br_if 1 (;@3;)
|
|
local.get 13
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 13
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 3 (;@1;)
|
|
br 0 (;@4;)
|
|
end
|
|
end
|
|
i32.const 1
|
|
local.set 5
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 0
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
end
|
|
local.get 3
|
|
local.get 6
|
|
local.get 0
|
|
call $ammunition_memcpy
|
|
drop
|
|
local.get 4
|
|
i32.const 256
|
|
i32.add
|
|
global.set $__stack_pointer
|
|
local.get 5)
|
|
(func $ammunition_multiply_unsigned_integer (type 6) (param i32 i32 i32 i32)
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
local.get 2
|
|
local.get 3
|
|
call $ammunition_multiply_unsigned_integer_without_overflow_reaction
|
|
i32.store offset=1196)
|
|
(func $ammunition_multiply_integer (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 256
|
|
i32.sub
|
|
local.tee 4
|
|
global.set $__stack_pointer
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 5
|
|
local.get 1
|
|
i32.load8_s
|
|
local.tee 6
|
|
i32.xor
|
|
local.set 7
|
|
block ;; label = @1
|
|
local.get 6
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 8
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 5
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@3;)
|
|
local.get 1
|
|
i32.const -2
|
|
i32.add
|
|
local.set 9
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 10
|
|
local.get 4
|
|
i32.const 128
|
|
i32.add
|
|
i32.const -2
|
|
i32.add
|
|
local.set 11
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 5
|
|
loop ;; label = @4
|
|
local.get 11
|
|
local.get 5
|
|
i32.add
|
|
local.tee 12
|
|
i32.const 1
|
|
i32.add
|
|
local.get 6
|
|
local.get 9
|
|
local.get 5
|
|
i32.add
|
|
local.tee 13
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 14
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 14
|
|
i32.ne
|
|
local.tee 6
|
|
select
|
|
i32.store8
|
|
local.get 12
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 6
|
|
select
|
|
local.tee 6
|
|
local.get 13
|
|
i32.load8_u
|
|
local.tee 13
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 13
|
|
i32.ne
|
|
local.tee 6
|
|
select
|
|
i32.store8
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 6
|
|
select
|
|
local.set 6
|
|
local.get 5
|
|
i32.const -2
|
|
i32.add
|
|
local.set 5
|
|
local.get 10
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 10
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
local.get 8
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 4
|
|
i32.const 128
|
|
i32.add
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
i32.add
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.sub
|
|
local.get 6
|
|
local.get 5
|
|
i32.eq
|
|
select
|
|
i32.store8
|
|
end
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 5
|
|
local.get 4
|
|
i32.const 128
|
|
i32.add
|
|
local.set 1
|
|
end
|
|
local.get 7
|
|
i32.extend8_s
|
|
local.set 7
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 5
|
|
i32.extend8_s
|
|
i32.const -1
|
|
i32.le_s
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
local.set 8
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 4
|
|
local.set 8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 15
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 5
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
i32.const -2
|
|
i32.add
|
|
local.set 9
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 10
|
|
local.get 4
|
|
i32.const -2
|
|
i32.add
|
|
local.set 11
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 5
|
|
loop ;; label = @3
|
|
local.get 11
|
|
local.get 5
|
|
i32.add
|
|
local.tee 12
|
|
i32.const 1
|
|
i32.add
|
|
local.get 6
|
|
local.get 9
|
|
local.get 5
|
|
i32.add
|
|
local.tee 13
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 14
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 14
|
|
i32.ne
|
|
local.tee 6
|
|
select
|
|
i32.store8
|
|
local.get 12
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 6
|
|
select
|
|
local.tee 6
|
|
local.get 13
|
|
i32.load8_u
|
|
local.tee 13
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 13
|
|
i32.ne
|
|
local.tee 6
|
|
select
|
|
i32.store8
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 6
|
|
select
|
|
local.set 6
|
|
local.get 5
|
|
i32.const -2
|
|
i32.add
|
|
local.set 5
|
|
local.get 10
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 10
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 15
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 4
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
i32.add
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.sub
|
|
local.get 6
|
|
local.get 5
|
|
i32.eq
|
|
select
|
|
i32.store8
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
local.get 8
|
|
local.get 3
|
|
call $ammunition_multiply_unsigned_integer_without_overflow_reaction
|
|
i32.store offset=1196
|
|
local.get 3
|
|
i32.load8_s
|
|
local.set 13
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
block ;; label = @5
|
|
local.get 7
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@5;)
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 1 (;@4;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 14
|
|
i32.const 0
|
|
local.set 5
|
|
block ;; label = @6
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@6;)
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 6
|
|
i32.const 0
|
|
local.set 5
|
|
loop ;; label = @7
|
|
local.get 3
|
|
local.get 0
|
|
i32.add
|
|
local.tee 10
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 12
|
|
local.get 5
|
|
local.get 12
|
|
i32.load8_u
|
|
local.tee 12
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 5
|
|
local.get 12
|
|
i32.ne
|
|
local.tee 5
|
|
select
|
|
i32.store8
|
|
local.get 10
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 10
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 5
|
|
select
|
|
local.tee 5
|
|
local.get 10
|
|
i32.load8_u
|
|
local.tee 10
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 5
|
|
local.get 10
|
|
i32.ne
|
|
local.tee 5
|
|
select
|
|
i32.store8
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 5
|
|
select
|
|
local.set 5
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.set 0
|
|
local.get 6
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 6
|
|
br_if 0 (;@7;)
|
|
end
|
|
end
|
|
block ;; label = @6
|
|
local.get 14
|
|
i32.eqz
|
|
br_if 0 (;@6;)
|
|
local.get 3
|
|
local.get 0
|
|
i32.add
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.const 0
|
|
local.get 5
|
|
local.get 0
|
|
i32.load8_u
|
|
local.tee 0
|
|
i32.sub
|
|
local.get 5
|
|
local.get 0
|
|
i32.eq
|
|
select
|
|
i32.store8
|
|
end
|
|
local.get 13
|
|
i32.const -1
|
|
i32.le_s
|
|
br_if 2 (;@3;)
|
|
br 4 (;@1;)
|
|
end
|
|
local.get 13
|
|
i32.const -1
|
|
i32.le_s
|
|
br_if 2 (;@2;)
|
|
br 3 (;@1;)
|
|
end
|
|
local.get 13
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 2 (;@1;)
|
|
end
|
|
local.get 3
|
|
i32.load8_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end
|
|
local.get 4
|
|
i32.const 256
|
|
i32.add
|
|
global.set $__stack_pointer)
|
|
(func $ammunition_divide_unsigned_integer_without_overflow_reaction (type 7) (param i32 i32 i32 i32) (result i32)
|
|
(local i32 i32 i32 i32 i64 i64 i64 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i64)
|
|
global.get $__stack_pointer
|
|
i32.const 416
|
|
i32.sub
|
|
local.tee 4
|
|
global.set $__stack_pointer
|
|
i32.const 3
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 5
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@4;)
|
|
loop ;; label = @5
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
br_if 1 (;@4;)
|
|
local.get 0
|
|
local.get 5
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 0 (;@5;)
|
|
br 2 (;@3;)
|
|
end
|
|
end
|
|
local.get 0
|
|
local.get 5
|
|
i32.eq
|
|
br_if 0 (;@3;)
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
local.set 6
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 7
|
|
local.get 5
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
local.get 3
|
|
local.get 1
|
|
local.get 0
|
|
call $ammunition_memcpy
|
|
drop
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 5
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 2 (;@1;)
|
|
local.get 6
|
|
i64.extend_i32_u
|
|
i64.const 255
|
|
i64.and
|
|
local.set 8
|
|
i64.const 0
|
|
local.set 9
|
|
loop ;; label = @4
|
|
local.get 3
|
|
local.get 9
|
|
i64.const 8
|
|
i64.shl
|
|
local.get 3
|
|
i64.load8_u
|
|
i64.or
|
|
local.tee 9
|
|
local.get 8
|
|
i64.div_u
|
|
local.tee 10
|
|
i64.store8
|
|
local.get 9
|
|
local.get 10
|
|
local.get 8
|
|
i64.mul
|
|
i64.sub
|
|
local.set 9
|
|
local.get 3
|
|
i32.const 1
|
|
i32.add
|
|
local.set 3
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
br_if 0 (;@4;)
|
|
br 3 (;@1;)
|
|
end
|
|
end
|
|
local.get 3
|
|
i32.const 0
|
|
local.get 0
|
|
call $ammunition_memset
|
|
drop
|
|
i32.const 1
|
|
local.set 5
|
|
br 1 (;@1;)
|
|
end
|
|
local.get 4
|
|
i32.const 272
|
|
i32.add
|
|
i32.const 1
|
|
i32.or
|
|
local.get 1
|
|
local.get 0
|
|
call $ammunition_memcpy
|
|
drop
|
|
i32.const 0
|
|
local.set 11
|
|
local.get 4
|
|
i32.const 0
|
|
i32.store8 offset=272
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 256
|
|
local.get 6
|
|
i32.const 255
|
|
i32.and
|
|
i32.const 1
|
|
i32.add
|
|
i32.div_u
|
|
local.set 1
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 6
|
|
i32.const 3
|
|
i32.and
|
|
local.set 12
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.const 3
|
|
i32.lt_u
|
|
br_if 0 (;@3;)
|
|
local.get 0
|
|
i32.const -3
|
|
i32.add
|
|
local.set 13
|
|
local.get 6
|
|
i32.const -4
|
|
i32.and
|
|
local.set 14
|
|
i32.const 0
|
|
local.set 11
|
|
loop ;; label = @4
|
|
local.get 4
|
|
i32.const 272
|
|
i32.add
|
|
local.get 13
|
|
i32.add
|
|
local.tee 6
|
|
i32.const 3
|
|
i32.add
|
|
local.tee 15
|
|
local.get 15
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 11
|
|
i32.add
|
|
local.tee 11
|
|
i32.store8
|
|
local.get 6
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 15
|
|
local.get 15
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 11
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 11
|
|
i32.store8
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 15
|
|
local.get 15
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 11
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 11
|
|
i32.store8
|
|
local.get 6
|
|
local.get 6
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 11
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 11
|
|
i32.store8
|
|
local.get 11
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 11
|
|
local.get 13
|
|
i32.const -4
|
|
i32.add
|
|
local.set 13
|
|
local.get 14
|
|
i32.const -4
|
|
i32.add
|
|
local.tee 14
|
|
br_if 0 (;@4;)
|
|
end
|
|
local.get 13
|
|
i32.const 4
|
|
i32.add
|
|
local.set 6
|
|
end
|
|
local.get 12
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 6
|
|
local.get 4
|
|
i32.const 272
|
|
i32.add
|
|
i32.add
|
|
i32.const -1
|
|
i32.add
|
|
local.set 6
|
|
loop ;; label = @3
|
|
local.get 6
|
|
local.get 6
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 11
|
|
i32.add
|
|
local.tee 11
|
|
i32.store8
|
|
local.get 6
|
|
i32.const -1
|
|
i32.add
|
|
local.set 6
|
|
local.get 11
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 11
|
|
local.get 12
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 12
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 4
|
|
i32.const 144
|
|
i32.add
|
|
local.get 2
|
|
local.get 0
|
|
call $ammunition_memcpy
|
|
drop
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 3
|
|
i32.and
|
|
local.set 13
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 11
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.const 4
|
|
i32.lt_u
|
|
br_if 0 (;@3;)
|
|
local.get 0
|
|
i32.const 2147483644
|
|
i32.and
|
|
local.set 12
|
|
local.get 4
|
|
i32.const 144
|
|
i32.add
|
|
i32.const -4
|
|
i32.add
|
|
local.set 15
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 11
|
|
loop ;; label = @4
|
|
local.get 15
|
|
local.get 11
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 3
|
|
i32.add
|
|
local.tee 14
|
|
local.get 14
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 6
|
|
i32.add
|
|
local.tee 6
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 14
|
|
local.get 14
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 6
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 6
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 14
|
|
local.get 14
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 6
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 6
|
|
i32.store8
|
|
local.get 2
|
|
local.get 2
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 6
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 6
|
|
i32.store8
|
|
local.get 6
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 6
|
|
local.get 11
|
|
i32.const -4
|
|
i32.add
|
|
local.set 11
|
|
local.get 12
|
|
i32.const -4
|
|
i32.add
|
|
local.tee 12
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
local.get 13
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 11
|
|
local.get 4
|
|
i32.const 144
|
|
i32.add
|
|
i32.add
|
|
i32.const -1
|
|
i32.add
|
|
local.set 2
|
|
loop ;; label = @3
|
|
local.get 2
|
|
local.get 2
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.mul
|
|
local.get 6
|
|
i32.add
|
|
local.tee 6
|
|
i32.store8
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.set 2
|
|
local.get 6
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 6
|
|
local.get 13
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 13
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
i32.const 0
|
|
i32.const 0
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
local.get 5
|
|
i32.sub
|
|
local.set 15
|
|
local.get 3
|
|
local.get 7
|
|
local.get 5
|
|
i32.sub
|
|
local.tee 16
|
|
i32.add
|
|
local.set 17
|
|
local.get 4
|
|
i32.const 144
|
|
i32.add
|
|
local.get 5
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 18
|
|
i32.add
|
|
local.set 19
|
|
local.get 4
|
|
i32.const 1
|
|
i32.or
|
|
local.set 20
|
|
local.get 4
|
|
i32.const 144
|
|
i32.add
|
|
local.get 5
|
|
i32.add
|
|
local.set 7
|
|
i32.const 0
|
|
local.set 12
|
|
loop ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 4
|
|
i32.const 272
|
|
i32.add
|
|
local.get 12
|
|
local.tee 14
|
|
i32.add
|
|
local.tee 11
|
|
i32.load8_u
|
|
local.tee 5
|
|
local.get 7
|
|
i32.load8_u
|
|
local.tee 0
|
|
i32.ne
|
|
br_if 0 (;@4;)
|
|
local.get 14
|
|
i32.const 1
|
|
i32.add
|
|
local.set 12
|
|
i32.const 255
|
|
local.set 1
|
|
br 1 (;@3;)
|
|
end
|
|
local.get 5
|
|
i32.const 8
|
|
i32.shl
|
|
local.get 4
|
|
i32.const 272
|
|
i32.add
|
|
local.get 14
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 12
|
|
i32.add
|
|
i32.load8_u
|
|
i32.or
|
|
local.get 0
|
|
i32.div_u
|
|
local.set 1
|
|
end
|
|
i32.const 0
|
|
i32.const 0
|
|
call $__pragma_loopbound
|
|
local.get 1
|
|
local.get 19
|
|
i32.load8_u
|
|
local.tee 2
|
|
i32.mul
|
|
local.set 5
|
|
local.get 1
|
|
local.get 7
|
|
i32.load8_u
|
|
local.tee 6
|
|
i32.mul
|
|
local.set 0
|
|
local.get 11
|
|
i64.load8_u
|
|
i64.const 8
|
|
i64.shl
|
|
local.get 4
|
|
i32.const 272
|
|
i32.add
|
|
local.get 12
|
|
i32.add
|
|
i64.load8_u
|
|
i64.or
|
|
local.set 10
|
|
local.get 14
|
|
local.get 4
|
|
i32.const 272
|
|
i32.add
|
|
i32.add
|
|
i32.const 2
|
|
i32.add
|
|
i64.load8_u
|
|
local.set 21
|
|
loop ;; label = @3
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
i64.extend_i32_u
|
|
local.set 8
|
|
local.get 5
|
|
i64.extend_i32_u
|
|
local.set 9
|
|
local.get 5
|
|
local.get 2
|
|
i32.sub
|
|
local.set 5
|
|
local.get 0
|
|
local.get 6
|
|
i32.sub
|
|
local.set 0
|
|
local.get 10
|
|
local.get 8
|
|
i64.sub
|
|
i64.const 8
|
|
i64.shl
|
|
local.get 21
|
|
i64.or
|
|
local.get 9
|
|
i64.lt_u
|
|
br_if 0 (;@3;)
|
|
end
|
|
local.get 20
|
|
local.get 7
|
|
local.get 15
|
|
call $ammunition_memcpy
|
|
drop
|
|
local.get 4
|
|
i32.const 0
|
|
i32.store8
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 13
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 15
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 0 (;@4;)
|
|
i32.const 0
|
|
local.set 0
|
|
local.get 15
|
|
local.set 5
|
|
loop ;; label = @5
|
|
local.get 4
|
|
local.get 5
|
|
i32.add
|
|
local.tee 2
|
|
local.get 13
|
|
local.get 2
|
|
i32.load8_u
|
|
i32.mul
|
|
local.get 0
|
|
i32.add
|
|
local.tee 0
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 0
|
|
local.get 5
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.set 5
|
|
local.get 2
|
|
i32.const 1
|
|
i32.gt_u
|
|
br_if 0 (;@5;)
|
|
end
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 0
|
|
local.get 15
|
|
local.set 5
|
|
loop ;; label = @5
|
|
local.get 11
|
|
local.get 5
|
|
i32.add
|
|
local.tee 2
|
|
local.get 0
|
|
local.get 2
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 4
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
i32.sub
|
|
local.tee 2
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 31
|
|
i32.shr_s
|
|
local.set 0
|
|
local.get 5
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.set 5
|
|
local.get 6
|
|
i32.const 1
|
|
i32.gt_u
|
|
br_if 0 (;@5;)
|
|
end
|
|
local.get 2
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 1 (;@3;)
|
|
local.get 20
|
|
local.get 7
|
|
local.get 15
|
|
call $ammunition_memcpy
|
|
drop
|
|
i32.const 0
|
|
local.set 0
|
|
local.get 4
|
|
i32.const 0
|
|
i32.store8
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 15
|
|
local.set 5
|
|
loop ;; label = @5
|
|
local.get 11
|
|
local.get 5
|
|
i32.add
|
|
local.tee 2
|
|
local.get 0
|
|
local.get 2
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 4
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 0
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 255
|
|
i32.gt_u
|
|
local.set 0
|
|
local.get 5
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.set 5
|
|
local.get 2
|
|
i32.const 1
|
|
i32.gt_u
|
|
br_if 0 (;@5;)
|
|
end
|
|
local.get 1
|
|
local.set 13
|
|
br 1 (;@3;)
|
|
end
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
end
|
|
local.get 17
|
|
local.get 14
|
|
i32.add
|
|
local.get 13
|
|
i32.store8
|
|
local.get 12
|
|
local.get 18
|
|
i32.ne
|
|
br_if 0 (;@2;)
|
|
end
|
|
i32.const 0
|
|
local.set 5
|
|
local.get 3
|
|
i32.const 0
|
|
local.get 16
|
|
call $ammunition_memset
|
|
drop
|
|
end
|
|
local.get 4
|
|
i32.const 416
|
|
i32.add
|
|
global.set $__stack_pointer
|
|
local.get 5)
|
|
(func $ammunition_divide_unsigned_integer (type 6) (param i32 i32 i32 i32)
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
local.get 2
|
|
local.get 3
|
|
call $ammunition_divide_unsigned_integer_without_overflow_reaction
|
|
i32.store offset=1196)
|
|
(func $ammunition_divide_integer (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 256
|
|
i32.sub
|
|
local.tee 4
|
|
global.set $__stack_pointer
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 5
|
|
local.get 1
|
|
i32.load8_s
|
|
local.tee 6
|
|
i32.xor
|
|
local.set 7
|
|
block ;; label = @1
|
|
local.get 6
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 8
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 5
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@3;)
|
|
local.get 1
|
|
i32.const -2
|
|
i32.add
|
|
local.set 9
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 10
|
|
local.get 4
|
|
i32.const 128
|
|
i32.add
|
|
i32.const -2
|
|
i32.add
|
|
local.set 11
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 5
|
|
loop ;; label = @4
|
|
local.get 11
|
|
local.get 5
|
|
i32.add
|
|
local.tee 12
|
|
i32.const 1
|
|
i32.add
|
|
local.get 6
|
|
local.get 9
|
|
local.get 5
|
|
i32.add
|
|
local.tee 13
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 14
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 14
|
|
i32.ne
|
|
local.tee 6
|
|
select
|
|
i32.store8
|
|
local.get 12
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 6
|
|
select
|
|
local.tee 6
|
|
local.get 13
|
|
i32.load8_u
|
|
local.tee 13
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 13
|
|
i32.ne
|
|
local.tee 6
|
|
select
|
|
i32.store8
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 6
|
|
select
|
|
local.set 6
|
|
local.get 5
|
|
i32.const -2
|
|
i32.add
|
|
local.set 5
|
|
local.get 10
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 10
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
local.get 8
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 4
|
|
i32.const 128
|
|
i32.add
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
i32.add
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.sub
|
|
local.get 6
|
|
local.get 5
|
|
i32.eq
|
|
select
|
|
i32.store8
|
|
end
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 5
|
|
local.get 4
|
|
i32.const 128
|
|
i32.add
|
|
local.set 1
|
|
end
|
|
local.get 7
|
|
i32.extend8_s
|
|
local.set 7
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 5
|
|
i32.extend8_s
|
|
i32.const -1
|
|
i32.le_s
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
local.set 8
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 4
|
|
local.set 8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 15
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 5
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
i32.const -2
|
|
i32.add
|
|
local.set 9
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 10
|
|
local.get 4
|
|
i32.const -2
|
|
i32.add
|
|
local.set 11
|
|
i32.const 0
|
|
local.set 6
|
|
local.get 0
|
|
local.set 5
|
|
loop ;; label = @3
|
|
local.get 11
|
|
local.get 5
|
|
i32.add
|
|
local.tee 12
|
|
i32.const 1
|
|
i32.add
|
|
local.get 6
|
|
local.get 9
|
|
local.get 5
|
|
i32.add
|
|
local.tee 13
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 14
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 14
|
|
i32.ne
|
|
local.tee 6
|
|
select
|
|
i32.store8
|
|
local.get 12
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 6
|
|
select
|
|
local.tee 6
|
|
local.get 13
|
|
i32.load8_u
|
|
local.tee 13
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 13
|
|
i32.ne
|
|
local.tee 6
|
|
select
|
|
i32.store8
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 6
|
|
select
|
|
local.set 6
|
|
local.get 5
|
|
i32.const -2
|
|
i32.add
|
|
local.set 5
|
|
local.get 10
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 10
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 15
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 4
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
i32.add
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.sub
|
|
local.get 6
|
|
local.get 5
|
|
i32.eq
|
|
select
|
|
i32.store8
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
local.get 8
|
|
local.get 3
|
|
call $ammunition_divide_unsigned_integer_without_overflow_reaction
|
|
i32.store offset=1196
|
|
local.get 3
|
|
i32.load8_s
|
|
local.set 13
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
block ;; label = @5
|
|
local.get 7
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@5;)
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 1 (;@4;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 14
|
|
i32.const 0
|
|
local.set 5
|
|
block ;; label = @6
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@6;)
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 6
|
|
i32.const 0
|
|
local.set 5
|
|
loop ;; label = @7
|
|
local.get 3
|
|
local.get 0
|
|
i32.add
|
|
local.tee 10
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 12
|
|
local.get 5
|
|
local.get 12
|
|
i32.load8_u
|
|
local.tee 12
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 5
|
|
local.get 12
|
|
i32.ne
|
|
local.tee 5
|
|
select
|
|
i32.store8
|
|
local.get 10
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 10
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 5
|
|
select
|
|
local.tee 5
|
|
local.get 10
|
|
i32.load8_u
|
|
local.tee 10
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 5
|
|
local.get 10
|
|
i32.ne
|
|
local.tee 5
|
|
select
|
|
i32.store8
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 5
|
|
select
|
|
local.set 5
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.set 0
|
|
local.get 6
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 6
|
|
br_if 0 (;@7;)
|
|
end
|
|
end
|
|
block ;; label = @6
|
|
local.get 14
|
|
i32.eqz
|
|
br_if 0 (;@6;)
|
|
local.get 3
|
|
local.get 0
|
|
i32.add
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.const 0
|
|
local.get 5
|
|
local.get 0
|
|
i32.load8_u
|
|
local.tee 0
|
|
i32.sub
|
|
local.get 5
|
|
local.get 0
|
|
i32.eq
|
|
select
|
|
i32.store8
|
|
end
|
|
local.get 13
|
|
i32.const -1
|
|
i32.le_s
|
|
br_if 2 (;@3;)
|
|
br 4 (;@1;)
|
|
end
|
|
local.get 13
|
|
i32.const -1
|
|
i32.le_s
|
|
br_if 2 (;@2;)
|
|
br 3 (;@1;)
|
|
end
|
|
local.get 13
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 2 (;@1;)
|
|
end
|
|
local.get 3
|
|
i32.load8_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end
|
|
local.get 4
|
|
i32.const 256
|
|
i32.add
|
|
global.set $__stack_pointer)
|
|
(func $ammunition_unsigned_integer_remainder (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 128
|
|
i32.sub
|
|
local.tee 4
|
|
global.set $__stack_pointer
|
|
i32.const 0
|
|
local.set 5
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
local.get 2
|
|
local.get 4
|
|
call $ammunition_divide_unsigned_integer_without_overflow_reaction
|
|
local.tee 6
|
|
i32.store offset=1196
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 6
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 3
|
|
i32.const 0
|
|
local.get 0
|
|
call $ammunition_memset
|
|
drop
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 4
|
|
local.get 2
|
|
local.get 4
|
|
call $ammunition_multiply_unsigned_integer_without_overflow_reaction
|
|
i32.store offset=1196
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 7
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 0
|
|
i32.const 1
|
|
i32.ne
|
|
br_if 0 (;@4;)
|
|
i32.const 0
|
|
local.set 6
|
|
br 1 (;@3;)
|
|
end
|
|
local.get 1
|
|
i32.const -2
|
|
i32.add
|
|
local.set 8
|
|
local.get 3
|
|
i32.const -2
|
|
i32.add
|
|
local.set 9
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 5
|
|
local.get 4
|
|
i32.const -2
|
|
i32.add
|
|
local.set 10
|
|
i32.const 0
|
|
local.set 6
|
|
loop ;; label = @4
|
|
local.get 9
|
|
local.get 0
|
|
i32.add
|
|
local.tee 11
|
|
i32.const 1
|
|
i32.add
|
|
local.get 6
|
|
local.get 8
|
|
local.get 0
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 10
|
|
local.get 0
|
|
i32.add
|
|
local.tee 6
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.sub
|
|
local.tee 12
|
|
i32.store8
|
|
local.get 11
|
|
local.get 12
|
|
i32.const 31
|
|
i32.shr_s
|
|
local.get 2
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 6
|
|
i32.load8_u
|
|
i32.sub
|
|
local.tee 2
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 31
|
|
i32.shr_s
|
|
local.set 6
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.set 0
|
|
local.get 5
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 5
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
block ;; label = @3
|
|
local.get 7
|
|
i32.eqz
|
|
br_if 0 (;@3;)
|
|
local.get 3
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.add
|
|
local.get 6
|
|
local.get 1
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.add
|
|
local.get 4
|
|
local.get 0
|
|
i32.add
|
|
i32.load8_u
|
|
i32.sub
|
|
local.tee 2
|
|
i32.store8
|
|
end
|
|
local.get 2
|
|
i32.const 31
|
|
i32.shr_u
|
|
local.set 5
|
|
end
|
|
i32.const 0
|
|
local.get 5
|
|
i32.store offset=1196
|
|
end
|
|
local.get 4
|
|
i32.const 128
|
|
i32.add
|
|
global.set $__stack_pointer)
|
|
(func $ammunition_unsigned_integer_shift_right (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32)
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 0
|
|
local.get 2
|
|
i32.sub
|
|
local.get 3
|
|
call $ammunition_unsigned_integer_shift_left
|
|
return
|
|
end
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1196
|
|
i32.const 0
|
|
i32.const 2
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
local.get 2
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 4
|
|
i32.sub
|
|
local.tee 5
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 4
|
|
i32.gt_s
|
|
local.tee 6
|
|
select
|
|
local.tee 7
|
|
local.get 0
|
|
i32.ge_s
|
|
br_if 0 (;@1;)
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
local.get 7
|
|
i32.add
|
|
i32.load8_u
|
|
br_if 1 (;@2;)
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 7
|
|
local.get 0
|
|
i32.ge_s
|
|
br_if 2 (;@1;)
|
|
br 0 (;@3;)
|
|
end
|
|
end
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end
|
|
block ;; label = @1
|
|
local.get 6
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
i32.const 0
|
|
local.get 0
|
|
call $ammunition_memset
|
|
drop
|
|
return
|
|
end
|
|
local.get 3
|
|
local.get 4
|
|
i32.add
|
|
local.get 1
|
|
local.get 5
|
|
call $ammunition_memmove
|
|
drop
|
|
i32.const 0
|
|
local.set 1
|
|
local.get 3
|
|
i32.const 0
|
|
local.get 4
|
|
call $ammunition_memset
|
|
drop
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const 7
|
|
i32.and
|
|
local.tee 2
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
i32.const 3
|
|
i32.const 3
|
|
call $__pragma_loopbound
|
|
local.get 5
|
|
i32.const 1
|
|
i32.and
|
|
local.set 8
|
|
i32.const 8
|
|
local.get 2
|
|
i32.sub
|
|
local.set 6
|
|
block ;; label = @2
|
|
local.get 4
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 5
|
|
i32.const -2
|
|
i32.and
|
|
local.set 0
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 4
|
|
i32.add
|
|
local.tee 7
|
|
local.get 7
|
|
i32.load8_u
|
|
local.tee 5
|
|
local.get 2
|
|
i32.shr_u
|
|
local.get 1
|
|
i32.or
|
|
i32.store8
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 7
|
|
local.get 7
|
|
i32.load8_u
|
|
local.tee 7
|
|
local.get 2
|
|
i32.shr_u
|
|
local.get 5
|
|
local.get 6
|
|
i32.shl
|
|
i32.or
|
|
i32.store8
|
|
local.get 4
|
|
i32.const 2
|
|
i32.add
|
|
local.set 4
|
|
local.get 7
|
|
local.get 6
|
|
i32.shl
|
|
i32.const 254
|
|
i32.and
|
|
local.set 1
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 0
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
block ;; label = @2
|
|
local.get 8
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 3
|
|
local.get 4
|
|
i32.add
|
|
local.tee 7
|
|
local.get 7
|
|
i32.load8_u
|
|
local.tee 7
|
|
local.get 2
|
|
i32.shr_u
|
|
local.get 1
|
|
i32.or
|
|
i32.store8
|
|
local.get 7
|
|
local.get 6
|
|
i32.shl
|
|
i32.const 254
|
|
i32.and
|
|
local.set 1
|
|
end
|
|
local.get 1
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end)
|
|
(func $ammunition_unsigned_integer_shift_left (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32)
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 0
|
|
local.get 2
|
|
i32.sub
|
|
local.get 3
|
|
call $ammunition_unsigned_integer_shift_right
|
|
return
|
|
end
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1196
|
|
i32.const 0
|
|
i32.const 2
|
|
call $__pragma_loopbound
|
|
local.get 2
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.set 4
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const 8
|
|
i32.lt_u
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 6
|
|
local.get 5
|
|
local.get 6
|
|
i32.lt_u
|
|
select
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 1
|
|
local.set 5
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 5
|
|
i32.load8_u
|
|
br_if 1 (;@2;)
|
|
local.get 5
|
|
i32.const 1
|
|
i32.add
|
|
local.set 5
|
|
local.get 6
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 6
|
|
i32.eqz
|
|
br_if 2 (;@1;)
|
|
br 0 (;@3;)
|
|
end
|
|
end
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end
|
|
block ;; label = @1
|
|
local.get 4
|
|
local.get 0
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
i32.const 0
|
|
local.get 0
|
|
call $ammunition_memset
|
|
drop
|
|
return
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
local.get 4
|
|
i32.add
|
|
local.get 0
|
|
local.get 4
|
|
i32.sub
|
|
local.tee 1
|
|
call $ammunition_memmove
|
|
drop
|
|
local.get 3
|
|
local.get 1
|
|
i32.add
|
|
i32.const 0
|
|
local.get 4
|
|
call $ammunition_memset
|
|
drop
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const 7
|
|
i32.and
|
|
local.tee 5
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
i32.const 2
|
|
i32.const 3
|
|
call $__pragma_loopbound
|
|
local.get 1
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 1
|
|
i32.const 3
|
|
i32.and
|
|
local.set 7
|
|
i32.const 8
|
|
local.get 5
|
|
i32.sub
|
|
local.set 6
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 4
|
|
local.get 0
|
|
i32.sub
|
|
i32.const -4
|
|
i32.le_u
|
|
br_if 0 (;@3;)
|
|
i32.const 0
|
|
local.set 0
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 3
|
|
i32.const -4
|
|
i32.add
|
|
local.set 8
|
|
local.get 1
|
|
i32.const 2147483644
|
|
i32.and
|
|
local.set 4
|
|
i32.const 0
|
|
local.set 0
|
|
loop ;; label = @3
|
|
local.get 8
|
|
local.get 1
|
|
i32.add
|
|
local.tee 2
|
|
i32.const 3
|
|
i32.add
|
|
local.tee 9
|
|
local.get 9
|
|
i32.load8_u
|
|
local.tee 9
|
|
local.get 5
|
|
i32.shl
|
|
local.get 0
|
|
i32.or
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 0
|
|
local.get 0
|
|
i32.load8_u
|
|
local.tee 0
|
|
local.get 5
|
|
i32.shl
|
|
local.get 9
|
|
local.get 6
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 9
|
|
local.get 9
|
|
i32.load8_u
|
|
local.tee 9
|
|
local.get 5
|
|
i32.shl
|
|
local.get 0
|
|
local.get 6
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 2
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 0
|
|
local.get 5
|
|
i32.shl
|
|
local.get 9
|
|
local.get 6
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 1
|
|
i32.const -4
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
local.get 6
|
|
i32.shr_u
|
|
local.set 0
|
|
local.get 4
|
|
i32.const -4
|
|
i32.add
|
|
local.tee 4
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
block ;; label = @2
|
|
local.get 7
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 1
|
|
local.get 3
|
|
i32.add
|
|
i32.const -1
|
|
i32.add
|
|
local.set 2
|
|
loop ;; label = @3
|
|
local.get 2
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 1
|
|
local.get 5
|
|
i32.shl
|
|
local.get 0
|
|
i32.or
|
|
i32.store8
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
local.get 6
|
|
i32.shr_u
|
|
local.set 0
|
|
local.get 7
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 7
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 0
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end)
|
|
(func $ammunition_integer_shift_right (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32)
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 0
|
|
local.get 2
|
|
i32.sub
|
|
local.get 3
|
|
call $ammunition_integer_shift_left
|
|
return
|
|
end
|
|
local.get 1
|
|
i32.load8_s
|
|
local.set 4
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1196
|
|
i32.const 0
|
|
i32.const 2
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
local.get 2
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.tee 5
|
|
i32.sub
|
|
local.tee 6
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 5
|
|
i32.gt_s
|
|
select
|
|
local.tee 7
|
|
local.get 0
|
|
i32.ge_s
|
|
br_if 0 (;@1;)
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
local.get 7
|
|
i32.add
|
|
i32.load8_u
|
|
br_if 1 (;@2;)
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 7
|
|
local.get 0
|
|
i32.ge_s
|
|
br_if 2 (;@1;)
|
|
br 0 (;@3;)
|
|
end
|
|
end
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end
|
|
block ;; label = @1
|
|
local.get 5
|
|
local.get 0
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
i32.const 0
|
|
i32.const 255
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
select
|
|
local.get 0
|
|
call $ammunition_memset
|
|
drop
|
|
return
|
|
end
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.get 1
|
|
local.get 6
|
|
call $ammunition_memmove
|
|
drop
|
|
local.get 3
|
|
i32.const 0
|
|
i32.const 255
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
select
|
|
local.tee 7
|
|
local.get 5
|
|
call $ammunition_memset
|
|
drop
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const 7
|
|
i32.and
|
|
local.tee 1
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
i32.const 3
|
|
i32.const 3
|
|
call $__pragma_loopbound
|
|
local.get 7
|
|
i32.const 8
|
|
local.get 1
|
|
i32.sub
|
|
local.tee 2
|
|
i32.shl
|
|
local.set 4
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 6
|
|
i32.const 3
|
|
i32.and
|
|
local.tee 6
|
|
br_if 0 (;@3;)
|
|
local.get 5
|
|
local.set 7
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 5
|
|
local.set 7
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 7
|
|
i32.add
|
|
local.tee 8
|
|
local.get 8
|
|
i32.load8_u
|
|
local.tee 8
|
|
local.get 1
|
|
i32.shr_u
|
|
local.get 4
|
|
i32.or
|
|
i32.store8
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
local.set 7
|
|
local.get 8
|
|
local.get 2
|
|
i32.shl
|
|
local.set 4
|
|
local.get 6
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 6
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
block ;; label = @2
|
|
local.get 5
|
|
local.get 0
|
|
i32.sub
|
|
i32.const -4
|
|
i32.gt_u
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
local.get 7
|
|
i32.sub
|
|
local.set 0
|
|
local.get 3
|
|
local.get 7
|
|
i32.add
|
|
local.set 7
|
|
loop ;; label = @3
|
|
local.get 7
|
|
local.get 7
|
|
i32.load8_u
|
|
local.tee 6
|
|
local.get 1
|
|
i32.shr_u
|
|
local.get 4
|
|
i32.or
|
|
i32.store8
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 4
|
|
local.get 4
|
|
i32.load8_u
|
|
local.tee 4
|
|
local.get 1
|
|
i32.shr_u
|
|
local.get 6
|
|
local.get 2
|
|
i32.shl
|
|
i32.or
|
|
i32.store8
|
|
local.get 7
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 6
|
|
local.get 6
|
|
i32.load8_u
|
|
local.tee 6
|
|
local.get 1
|
|
i32.shr_u
|
|
local.get 4
|
|
local.get 2
|
|
i32.shl
|
|
i32.or
|
|
i32.store8
|
|
local.get 7
|
|
i32.const 3
|
|
i32.add
|
|
local.tee 4
|
|
local.get 4
|
|
i32.load8_u
|
|
local.tee 4
|
|
local.get 1
|
|
i32.shr_u
|
|
local.get 6
|
|
local.get 2
|
|
i32.shl
|
|
i32.or
|
|
i32.store8
|
|
local.get 7
|
|
i32.const 4
|
|
i32.add
|
|
local.set 7
|
|
local.get 4
|
|
local.get 2
|
|
i32.shl
|
|
local.set 4
|
|
local.get 0
|
|
i32.const -4
|
|
i32.add
|
|
local.tee 0
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 4
|
|
i32.const 254
|
|
i32.and
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end)
|
|
(func $ammunition_integer_shift_left (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32)
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 0
|
|
local.get 2
|
|
i32.sub
|
|
local.get 3
|
|
call $ammunition_integer_shift_right
|
|
return
|
|
end
|
|
local.get 1
|
|
i32.load8_s
|
|
local.set 4
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1196
|
|
i32.const 0
|
|
i32.const 2
|
|
call $__pragma_loopbound
|
|
local.get 2
|
|
i32.const 3
|
|
i32.shr_u
|
|
local.set 5
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const 8
|
|
i32.lt_u
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 6
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 7
|
|
local.get 6
|
|
local.get 7
|
|
i32.lt_u
|
|
select
|
|
i32.const 1
|
|
i32.add
|
|
local.set 7
|
|
i32.const 0
|
|
i32.const 255
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
select
|
|
local.set 8
|
|
local.get 1
|
|
local.set 6
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 8
|
|
local.get 6
|
|
i32.load8_u
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 7
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 7
|
|
i32.eqz
|
|
br_if 2 (;@1;)
|
|
br 0 (;@3;)
|
|
end
|
|
end
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 5
|
|
local.get 0
|
|
i32.lt_s
|
|
br_if 0 (;@3;)
|
|
local.get 3
|
|
i32.const 0
|
|
local.get 0
|
|
call $ammunition_memset
|
|
drop
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
local.get 0
|
|
local.get 5
|
|
i32.sub
|
|
local.tee 9
|
|
call $ammunition_memmove
|
|
drop
|
|
i32.const 0
|
|
local.set 1
|
|
local.get 3
|
|
local.get 9
|
|
i32.add
|
|
i32.const 0
|
|
local.get 5
|
|
call $ammunition_memset
|
|
drop
|
|
local.get 2
|
|
i32.const 7
|
|
i32.and
|
|
local.tee 6
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
i32.const 2
|
|
i32.const 3
|
|
call $__pragma_loopbound
|
|
i32.const 8
|
|
local.get 6
|
|
i32.sub
|
|
local.set 7
|
|
block ;; label = @3
|
|
local.get 9
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@3;)
|
|
local.get 9
|
|
i32.const 3
|
|
i32.and
|
|
local.set 2
|
|
block ;; label = @4
|
|
block ;; label = @5
|
|
local.get 5
|
|
local.get 0
|
|
i32.sub
|
|
i32.const -4
|
|
i32.le_u
|
|
br_if 0 (;@5;)
|
|
i32.const 0
|
|
local.set 1
|
|
br 1 (;@4;)
|
|
end
|
|
local.get 3
|
|
i32.const -4
|
|
i32.add
|
|
local.set 10
|
|
local.get 9
|
|
i32.const 2147483644
|
|
i32.and
|
|
local.set 0
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @5
|
|
local.get 10
|
|
local.get 9
|
|
i32.add
|
|
local.tee 8
|
|
i32.const 3
|
|
i32.add
|
|
local.tee 5
|
|
local.get 5
|
|
i32.load8_u
|
|
local.tee 5
|
|
local.get 6
|
|
i32.shl
|
|
local.get 1
|
|
i32.or
|
|
i32.store8
|
|
local.get 8
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 1
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 1
|
|
local.get 6
|
|
i32.shl
|
|
local.get 5
|
|
local.get 7
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 8
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 5
|
|
local.get 5
|
|
i32.load8_u
|
|
local.tee 5
|
|
local.get 6
|
|
i32.shl
|
|
local.get 1
|
|
local.get 7
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 8
|
|
local.get 8
|
|
i32.load8_u
|
|
local.tee 1
|
|
local.get 6
|
|
i32.shl
|
|
local.get 5
|
|
local.get 7
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 9
|
|
i32.const -4
|
|
i32.add
|
|
local.set 9
|
|
local.get 1
|
|
local.get 7
|
|
i32.shr_u
|
|
local.set 1
|
|
local.get 0
|
|
i32.const -4
|
|
i32.add
|
|
local.tee 0
|
|
br_if 0 (;@5;)
|
|
end
|
|
end
|
|
local.get 2
|
|
i32.eqz
|
|
br_if 0 (;@3;)
|
|
local.get 9
|
|
local.get 3
|
|
i32.add
|
|
i32.const -1
|
|
i32.add
|
|
local.set 8
|
|
loop ;; label = @4
|
|
local.get 8
|
|
local.get 8
|
|
i32.load8_u
|
|
local.tee 9
|
|
local.get 6
|
|
i32.shl
|
|
local.get 1
|
|
i32.or
|
|
i32.store8
|
|
local.get 8
|
|
i32.const -1
|
|
i32.add
|
|
local.set 8
|
|
local.get 9
|
|
local.get 7
|
|
i32.shr_u
|
|
local.set 1
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 2
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
local.get 1
|
|
i32.const 0
|
|
i32.const 255
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
select
|
|
local.get 7
|
|
i32.shr_u
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end
|
|
local.get 3
|
|
i32.load8_u
|
|
local.get 4
|
|
i32.xor
|
|
i32.extend8_s
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end)
|
|
(func $ammunition_integer_or (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 4
|
|
i32.const 0
|
|
local.set 5
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 6
|
|
i32.const 0
|
|
local.set 5
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.tee 0
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
local.tee 7
|
|
i32.load8_u
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
local.tee 8
|
|
i32.load8_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 8
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 6
|
|
local.get 5
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 4
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
i32.or
|
|
i32.store8
|
|
end)
|
|
(func $ammunition_unsigned_integer_or (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 4
|
|
i32.const 0
|
|
local.set 5
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 6
|
|
i32.const 0
|
|
local.set 5
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.tee 0
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
local.tee 7
|
|
i32.load8_u
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
local.tee 8
|
|
i32.load8_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 8
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 6
|
|
local.get 5
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 4
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
i32.or
|
|
i32.store8
|
|
end)
|
|
(func $ammunition_integer_and (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 4
|
|
i32.const 0
|
|
local.set 5
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 6
|
|
i32.const 0
|
|
local.set 5
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.tee 0
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
local.tee 7
|
|
i32.load8_u
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
local.tee 8
|
|
i32.load8_u
|
|
i32.and
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 8
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.and
|
|
i32.store8
|
|
local.get 6
|
|
local.get 5
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 4
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
i32.and
|
|
i32.store8
|
|
end)
|
|
(func $ammunition_unsigned_integer_and (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 4
|
|
i32.const 0
|
|
local.set 5
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 6
|
|
i32.const 0
|
|
local.set 5
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.tee 0
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
local.tee 7
|
|
i32.load8_u
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
local.tee 8
|
|
i32.load8_u
|
|
i32.and
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 8
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.and
|
|
i32.store8
|
|
local.get 6
|
|
local.get 5
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 4
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 1
|
|
local.get 5
|
|
i32.add
|
|
i32.load8_u
|
|
i32.and
|
|
i32.store8
|
|
end)
|
|
(func $ammunition_integer_not (type 8) (param i32 i32 i32)
|
|
(local i32 i32 i32 i32)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 3
|
|
i32.and
|
|
local.set 3
|
|
i32.const 0
|
|
local.set 4
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 4
|
|
i32.lt_u
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 2147483644
|
|
i32.and
|
|
local.set 5
|
|
i32.const 0
|
|
local.set 4
|
|
loop ;; label = @3
|
|
local.get 2
|
|
local.get 4
|
|
i32.add
|
|
local.tee 0
|
|
local.get 1
|
|
local.get 4
|
|
i32.add
|
|
local.tee 6
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
local.get 6
|
|
i32.const 2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 3
|
|
i32.add
|
|
local.get 6
|
|
i32.const 3
|
|
i32.add
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 5
|
|
local.get 4
|
|
i32.const 4
|
|
i32.add
|
|
local.tee 4
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 3
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 1
|
|
local.get 4
|
|
i32.add
|
|
local.set 0
|
|
local.get 2
|
|
local.get 4
|
|
i32.add
|
|
local.set 4
|
|
loop ;; label = @2
|
|
local.get 4
|
|
local.get 0
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 4
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 3
|
|
br_if 0 (;@2;)
|
|
end
|
|
end)
|
|
(func $ammunition_unsigned_integer_not (type 8) (param i32 i32 i32)
|
|
(local i32 i32 i32 i32)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 3
|
|
i32.and
|
|
local.set 3
|
|
i32.const 0
|
|
local.set 4
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 4
|
|
i32.lt_u
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 2147483644
|
|
i32.and
|
|
local.set 5
|
|
i32.const 0
|
|
local.set 4
|
|
loop ;; label = @3
|
|
local.get 2
|
|
local.get 4
|
|
i32.add
|
|
local.tee 0
|
|
local.get 1
|
|
local.get 4
|
|
i32.add
|
|
local.tee 6
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 2
|
|
i32.add
|
|
local.get 6
|
|
i32.const 2
|
|
i32.add
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 3
|
|
i32.add
|
|
local.get 6
|
|
i32.const 3
|
|
i32.add
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 5
|
|
local.get 4
|
|
i32.const 4
|
|
i32.add
|
|
local.tee 4
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 3
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 1
|
|
local.get 4
|
|
i32.add
|
|
local.set 0
|
|
local.get 2
|
|
local.get 4
|
|
i32.add
|
|
local.set 4
|
|
loop ;; label = @2
|
|
local.get 4
|
|
local.get 0
|
|
i32.load8_u
|
|
i32.const -1
|
|
i32.xor
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 4
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 3
|
|
br_if 0 (;@2;)
|
|
end
|
|
end)
|
|
(func $ammunition_eq_unsigned_integer (type 4) (param i32 i32 i32) (result i32)
|
|
local.get 1
|
|
local.get 2
|
|
local.get 0
|
|
call $ammunition_memcmp
|
|
i32.eqz)
|
|
(func $ammunition_eq_integer (type 4) (param i32 i32 i32) (result i32)
|
|
local.get 1
|
|
local.get 2
|
|
local.get 0
|
|
call $ammunition_memcmp
|
|
i32.eqz)
|
|
(func $ammunition_ne_unsigned_integer (type 4) (param i32 i32 i32) (result i32)
|
|
local.get 1
|
|
local.get 2
|
|
local.get 0
|
|
call $ammunition_memcmp
|
|
i32.const 0
|
|
i32.ne)
|
|
(func $ammunition_ne_integer (type 4) (param i32 i32 i32) (result i32)
|
|
local.get 1
|
|
local.get 2
|
|
local.get 0
|
|
call $ammunition_memcmp
|
|
i32.const 0
|
|
i32.ne)
|
|
(func $ammunition_gt_unsigned_integer (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32 i32)
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 3
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 4
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 4
|
|
local.get 5
|
|
i32.gt_u
|
|
local.set 3
|
|
end
|
|
local.get 3)
|
|
(func $ammunition_gt_integer (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32 i32)
|
|
i32.const 0
|
|
local.set 3
|
|
local.get 2
|
|
i32.load8_s
|
|
local.set 4
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 1
|
|
i32.load8_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 0
|
|
local.set 3
|
|
block ;; label = @3
|
|
local.get 4
|
|
i32.const 0
|
|
i32.ge_s
|
|
br_if 0 (;@3;)
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
block ;; label = @3
|
|
loop ;; label = @4
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 0
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 1 (;@3;)
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@4;)
|
|
br 3 (;@1;)
|
|
end
|
|
end
|
|
local.get 0
|
|
local.get 5
|
|
i32.gt_u
|
|
return
|
|
end
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 0
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 0
|
|
local.get 5
|
|
i32.gt_u
|
|
local.set 3
|
|
end
|
|
local.get 3)
|
|
(func $ammunition_lt_unsigned_integer (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32 i32)
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 3
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 4
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 4
|
|
local.get 5
|
|
i32.le_u
|
|
local.set 3
|
|
end
|
|
local.get 3)
|
|
(func $ammunition_lt_integer (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32 i32)
|
|
i32.const 0
|
|
local.set 3
|
|
local.get 2
|
|
i32.load8_s
|
|
local.set 4
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 1
|
|
i32.load8_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 4
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
block ;; label = @3
|
|
loop ;; label = @4
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 0
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 1 (;@3;)
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@4;)
|
|
br 3 (;@1;)
|
|
end
|
|
end
|
|
local.get 0
|
|
local.get 5
|
|
i32.le_u
|
|
return
|
|
end
|
|
i32.const 1
|
|
local.set 3
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 0
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 0
|
|
local.get 5
|
|
i32.le_u
|
|
local.set 3
|
|
end
|
|
local.get 3)
|
|
(func $ammunition_ge_unsigned_integer (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32)
|
|
i32.const 1
|
|
local.set 3
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 3
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 4
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
i32.const 1
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 3
|
|
local.get 4
|
|
i32.gt_u
|
|
local.set 3
|
|
end
|
|
local.get 3)
|
|
(func $ammunition_ge_integer (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32)
|
|
i32.const 0
|
|
local.set 3
|
|
local.get 2
|
|
i32.load8_s
|
|
local.set 4
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 1
|
|
i32.load8_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
block ;; label = @3
|
|
local.get 4
|
|
i32.const 0
|
|
i32.ge_s
|
|
br_if 0 (;@3;)
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const 1
|
|
local.set 3
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
block ;; label = @3
|
|
loop ;; label = @4
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 3
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 0
|
|
i32.ne
|
|
br_if 1 (;@3;)
|
|
i32.const 1
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@4;)
|
|
br 3 (;@1;)
|
|
end
|
|
end
|
|
local.get 3
|
|
local.get 0
|
|
i32.gt_u
|
|
return
|
|
end
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 1
|
|
local.set 3
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 3
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 0
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
i32.const 1
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 3
|
|
local.get 0
|
|
i32.gt_u
|
|
local.set 3
|
|
end
|
|
local.get 3)
|
|
(func $ammunition_le_unsigned_integer (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32)
|
|
i32.const 1
|
|
local.set 3
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 3
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 4
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
i32.const 1
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 3
|
|
local.get 4
|
|
i32.le_u
|
|
local.set 3
|
|
end
|
|
local.get 3)
|
|
(func $ammunition_le_integer (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32)
|
|
i32.const 0
|
|
local.set 3
|
|
local.get 2
|
|
i32.load8_s
|
|
local.set 4
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 1
|
|
i32.load8_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 4
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
i32.const 1
|
|
local.set 3
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
block ;; label = @3
|
|
loop ;; label = @4
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 3
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 0
|
|
i32.ne
|
|
br_if 1 (;@3;)
|
|
i32.const 1
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@4;)
|
|
br 3 (;@1;)
|
|
end
|
|
end
|
|
local.get 3
|
|
local.get 0
|
|
i32.le_u
|
|
return
|
|
end
|
|
i32.const 1
|
|
local.set 3
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 1
|
|
local.set 3
|
|
i32.const 1
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 1
|
|
i32.load8_u
|
|
local.tee 3
|
|
local.get 2
|
|
i32.load8_u
|
|
local.tee 0
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
i32.const 1
|
|
local.set 3
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.gt_s
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 3
|
|
local.get 0
|
|
i32.le_u
|
|
local.set 3
|
|
end
|
|
local.get 3)
|
|
(func $ammunition_change_unsigned_integer_size (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32)
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1196
|
|
block ;; label = @1
|
|
local.get 0
|
|
local.get 2
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 2
|
|
i32.add
|
|
local.get 0
|
|
i32.sub
|
|
local.get 1
|
|
local.get 0
|
|
call $ammunition_memmove
|
|
drop
|
|
local.get 3
|
|
i32.const 0
|
|
local.get 2
|
|
local.get 0
|
|
i32.sub
|
|
call $ammunition_memset
|
|
drop
|
|
return
|
|
end
|
|
i32.const 1
|
|
i32.const 2
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
local.get 2
|
|
i32.sub
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 1
|
|
local.set 5
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 5
|
|
i32.load8_u
|
|
br_if 1 (;@2;)
|
|
local.get 5
|
|
i32.const 1
|
|
i32.add
|
|
local.set 5
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
i32.eqz
|
|
br_if 2 (;@1;)
|
|
br 0 (;@3;)
|
|
end
|
|
end
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
local.get 0
|
|
i32.add
|
|
local.get 2
|
|
i32.sub
|
|
local.get 2
|
|
call $ammunition_memmove
|
|
drop)
|
|
(func $ammunition_change_integer_size (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32)
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1196
|
|
local.get 1
|
|
i32.load8_s
|
|
local.set 4
|
|
block ;; label = @1
|
|
local.get 0
|
|
local.get 2
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 2
|
|
i32.add
|
|
local.get 0
|
|
i32.sub
|
|
local.get 1
|
|
local.get 0
|
|
call $ammunition_memmove
|
|
drop
|
|
local.get 3
|
|
i32.const 0
|
|
i32.const 255
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
select
|
|
local.get 2
|
|
local.get 0
|
|
i32.sub
|
|
call $ammunition_memset
|
|
drop
|
|
return
|
|
end
|
|
i32.const 2
|
|
i32.const 2
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 0
|
|
local.get 2
|
|
i32.sub
|
|
local.tee 5
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
i32.const 255
|
|
local.get 4
|
|
i32.const -1
|
|
i32.gt_s
|
|
select
|
|
local.set 6
|
|
local.get 1
|
|
local.set 7
|
|
block ;; label = @2
|
|
loop ;; label = @3
|
|
local.get 6
|
|
local.get 7
|
|
i32.load8_u
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
local.get 7
|
|
i32.const 1
|
|
i32.add
|
|
local.set 7
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
i32.eqz
|
|
br_if 2 (;@1;)
|
|
br 0 (;@3;)
|
|
end
|
|
end
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
local.get 0
|
|
i32.add
|
|
local.get 2
|
|
i32.sub
|
|
local.get 2
|
|
call $ammunition_memmove
|
|
drop
|
|
block ;; label = @1
|
|
local.get 3
|
|
i32.load8_u
|
|
local.get 4
|
|
i32.xor
|
|
i32.extend8_s
|
|
i32.const -1
|
|
i32.gt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
i32.const 1
|
|
i32.store offset=1196
|
|
end)
|
|
(func $ammunition_unsigned_integer_to_based_string (type 7) (param i32 i32 i32 i32) (result i32)
|
|
(local i32 i64 i32 i64 i32 i64 i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 128
|
|
i32.sub
|
|
local.tee 4
|
|
global.set $__stack_pointer
|
|
local.get 4
|
|
local.get 1
|
|
local.get 0
|
|
call $ammunition_memcpy
|
|
drop
|
|
i32.const 1
|
|
local.set 1
|
|
i32.const 1
|
|
i32.const 10
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
i64.extend_i32_s
|
|
local.set 5
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @3
|
|
local.get 1
|
|
local.set 6
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
i64.const 0
|
|
local.set 7
|
|
local.get 4
|
|
local.set 1
|
|
local.get 0
|
|
local.set 8
|
|
i32.const 0
|
|
local.set 2
|
|
loop ;; label = @4
|
|
local.get 1
|
|
local.get 7
|
|
i64.const 8
|
|
i64.shl
|
|
local.get 1
|
|
i32.load8_u
|
|
i64.extend_i32_u
|
|
i64.const 255
|
|
i64.and
|
|
i64.or
|
|
local.tee 7
|
|
local.get 5
|
|
i64.div_u
|
|
local.tee 9
|
|
i64.store8
|
|
local.get 7
|
|
local.get 9
|
|
local.get 5
|
|
i64.mul
|
|
i64.sub
|
|
local.set 7
|
|
local.get 2
|
|
i32.const 1
|
|
local.get 9
|
|
i64.const 255
|
|
i64.and
|
|
i64.eqz
|
|
select
|
|
local.set 2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 8
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 8
|
|
br_if 0 (;@4;)
|
|
end
|
|
local.get 3
|
|
local.get 6
|
|
i32.add
|
|
local.get 7
|
|
i64.const 48
|
|
i64.or
|
|
local.get 7
|
|
i64.const 87
|
|
i64.add
|
|
local.get 7
|
|
i64.const 10
|
|
i64.lt_u
|
|
select
|
|
i64.store8
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
local.get 2
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
local.get 3
|
|
i32.const 48
|
|
i32.store8
|
|
i32.const 0
|
|
local.set 6
|
|
end
|
|
i32.const 0
|
|
local.set 2
|
|
local.get 3
|
|
local.get 1
|
|
i32.add
|
|
i32.const 0
|
|
i32.store8
|
|
i32.const 0
|
|
i32.const 5
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 1
|
|
i32.const 2
|
|
i32.lt_u
|
|
br_if 0 (;@1;)
|
|
block ;; label = @2
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@2;)
|
|
local.get 3
|
|
local.get 6
|
|
i32.add
|
|
local.set 10
|
|
i32.const 0
|
|
local.set 8
|
|
i32.const 0
|
|
local.get 1
|
|
i32.const 1
|
|
i32.shr_u
|
|
i32.const 2147483646
|
|
i32.and
|
|
i32.sub
|
|
local.set 11
|
|
local.get 3
|
|
local.set 2
|
|
loop ;; label = @3
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 12
|
|
local.get 2
|
|
local.get 10
|
|
local.get 8
|
|
i32.add
|
|
local.tee 0
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 0
|
|
local.get 12
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 12
|
|
i32.load8_u
|
|
local.set 13
|
|
local.get 12
|
|
local.get 0
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 0
|
|
local.get 13
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 2
|
|
i32.add
|
|
local.set 2
|
|
local.get 11
|
|
local.get 8
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 8
|
|
i32.ne
|
|
br_if 0 (;@3;)
|
|
end
|
|
i32.const 0
|
|
local.get 8
|
|
i32.sub
|
|
local.set 2
|
|
end
|
|
local.get 1
|
|
i32.const 2
|
|
i32.and
|
|
i32.eqz
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 2
|
|
i32.add
|
|
local.tee 1
|
|
i32.load8_u
|
|
local.set 8
|
|
local.get 1
|
|
local.get 3
|
|
local.get 6
|
|
local.get 2
|
|
i32.sub
|
|
i32.add
|
|
local.tee 2
|
|
i32.load8_u
|
|
i32.store8
|
|
local.get 2
|
|
local.get 8
|
|
i32.store8
|
|
end
|
|
local.get 4
|
|
i32.const 128
|
|
i32.add
|
|
global.set $__stack_pointer
|
|
local.get 3)
|
|
(func $ammunition_unsigned_integer_to_string (type 4) (param i32 i32 i32) (result i32)
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 10
|
|
local.get 2
|
|
call $ammunition_unsigned_integer_to_based_string)
|
|
(func $ammunition_integer_to_string (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32 i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 128
|
|
i32.sub
|
|
local.tee 3
|
|
global.set $__stack_pointer
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 1
|
|
i32.load8_s
|
|
i32.const 0
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 10
|
|
local.get 2
|
|
call $ammunition_unsigned_integer_to_based_string
|
|
drop
|
|
br 1 (;@1;)
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
local.get 0
|
|
call $ammunition_memcpy
|
|
drop
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 4
|
|
i32.const 0
|
|
local.set 1
|
|
local.get 0
|
|
local.set 5
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@3;)
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 6
|
|
i32.const 0
|
|
local.set 1
|
|
local.get 0
|
|
local.set 5
|
|
loop ;; label = @4
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
local.tee 7
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 8
|
|
local.get 1
|
|
local.get 8
|
|
i32.load8_u
|
|
local.tee 8
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 1
|
|
local.get 8
|
|
i32.ne
|
|
local.tee 1
|
|
select
|
|
i32.store8
|
|
local.get 7
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 7
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 1
|
|
select
|
|
local.tee 1
|
|
local.get 7
|
|
i32.load8_u
|
|
local.tee 7
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 1
|
|
local.get 7
|
|
i32.ne
|
|
local.tee 1
|
|
select
|
|
i32.store8
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 1
|
|
select
|
|
local.set 1
|
|
local.get 5
|
|
i32.const -2
|
|
i32.add
|
|
local.set 5
|
|
local.get 6
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 6
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
local.get 4
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 3
|
|
local.get 5
|
|
i32.add
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
i32.const 0
|
|
local.get 1
|
|
local.get 5
|
|
i32.load8_u
|
|
local.tee 5
|
|
i32.sub
|
|
local.get 1
|
|
local.get 5
|
|
i32.eq
|
|
select
|
|
i32.store8
|
|
end
|
|
local.get 2
|
|
i32.const 45
|
|
i32.store8
|
|
local.get 0
|
|
local.get 3
|
|
i32.const 10
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
call $ammunition_unsigned_integer_to_based_string
|
|
drop
|
|
end
|
|
local.get 3
|
|
i32.const 128
|
|
i32.add
|
|
global.set $__stack_pointer
|
|
local.get 2)
|
|
(func $ammunition_string_to_unsigned_integer_without_overflow_reaction (type 7) (param i32 i32 i32 i32) (result i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
|
|
local.get 2
|
|
i32.const 0
|
|
local.get 0
|
|
call $ammunition_memset
|
|
drop
|
|
i32.const 1
|
|
i32.const 10
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
local.get 1
|
|
i32.load8_u
|
|
call $ammunition_isdigit
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 1
|
|
i32.store
|
|
i32.const 0
|
|
return
|
|
end
|
|
i32.const 0
|
|
local.set 4
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 0
|
|
i32.gt_s
|
|
br_if 0 (;@2;)
|
|
loop ;; label = @3
|
|
i32.const 1
|
|
local.set 5
|
|
block ;; label = @4
|
|
local.get 4
|
|
br_if 0 (;@4;)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 1
|
|
i32.load8_u
|
|
local.set 5
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 5
|
|
i32.const 48
|
|
i32.ne
|
|
local.set 5
|
|
end
|
|
local.get 1
|
|
i32.load8_u offset=1
|
|
local.set 6
|
|
local.get 5
|
|
local.set 4
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 7
|
|
local.set 1
|
|
local.get 6
|
|
call $ammunition_isdigit
|
|
br_if 0 (;@3;)
|
|
br 2 (;@1;)
|
|
end
|
|
end
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.set 8
|
|
local.get 2
|
|
i32.const -4
|
|
i32.add
|
|
local.set 9
|
|
local.get 0
|
|
i32.const 3
|
|
i32.and
|
|
local.set 10
|
|
local.get 0
|
|
i32.const 2147483644
|
|
i32.and
|
|
local.set 11
|
|
i32.const 0
|
|
local.set 5
|
|
local.get 1
|
|
local.set 7
|
|
loop ;; label = @2
|
|
local.get 7
|
|
local.set 12
|
|
local.get 5
|
|
local.set 7
|
|
i32.const 1
|
|
local.set 5
|
|
block ;; label = @3
|
|
local.get 7
|
|
br_if 0 (;@3;)
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 1
|
|
local.get 0
|
|
local.set 4
|
|
block ;; label = @4
|
|
local.get 0
|
|
i32.const 4
|
|
i32.lt_u
|
|
local.tee 13
|
|
br_if 0 (;@4;)
|
|
i32.const 0
|
|
local.set 1
|
|
local.get 11
|
|
local.set 6
|
|
local.get 0
|
|
local.set 4
|
|
loop ;; label = @5
|
|
local.get 9
|
|
local.get 4
|
|
i32.add
|
|
local.tee 5
|
|
i32.const 3
|
|
i32.add
|
|
local.tee 7
|
|
local.get 7
|
|
i32.load8_u
|
|
i32.const 10
|
|
i32.mul
|
|
local.get 1
|
|
i32.add
|
|
local.tee 7
|
|
i32.store8
|
|
local.get 5
|
|
i32.const 2
|
|
i32.add
|
|
local.tee 1
|
|
local.get 1
|
|
i32.load8_u
|
|
i32.const 10
|
|
i32.mul
|
|
local.get 7
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 7
|
|
i32.store8
|
|
local.get 5
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
local.get 1
|
|
i32.load8_u
|
|
i32.const 10
|
|
i32.mul
|
|
local.get 7
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 7
|
|
i32.store8
|
|
local.get 5
|
|
local.get 5
|
|
i32.load8_u
|
|
i32.const 10
|
|
i32.mul
|
|
local.get 7
|
|
i32.const 8
|
|
i32.shr_u
|
|
i32.add
|
|
local.tee 7
|
|
i32.store8
|
|
local.get 7
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -4
|
|
i32.add
|
|
local.set 4
|
|
local.get 6
|
|
i32.const -4
|
|
i32.add
|
|
local.tee 6
|
|
br_if 0 (;@5;)
|
|
end
|
|
end
|
|
block ;; label = @4
|
|
local.get 10
|
|
i32.eqz
|
|
br_if 0 (;@4;)
|
|
local.get 8
|
|
local.get 4
|
|
i32.add
|
|
local.set 5
|
|
local.get 10
|
|
local.set 4
|
|
loop ;; label = @5
|
|
local.get 5
|
|
local.get 5
|
|
i32.load8_u
|
|
i32.const 10
|
|
i32.mul
|
|
local.get 1
|
|
i32.add
|
|
local.tee 7
|
|
i32.store8
|
|
local.get 5
|
|
i32.const -1
|
|
i32.add
|
|
local.set 5
|
|
local.get 7
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
br_if 0 (;@5;)
|
|
end
|
|
end
|
|
i32.const 1
|
|
local.set 5
|
|
local.get 7
|
|
i32.const 255
|
|
i32.gt_u
|
|
br_if 0 (;@3;)
|
|
local.get 12
|
|
i32.load8_s
|
|
local.set 5
|
|
i32.const 4
|
|
i32.const 4
|
|
call $__pragma_loopbound
|
|
local.get 5
|
|
i32.const -48
|
|
i32.add
|
|
local.set 7
|
|
block ;; label = @4
|
|
block ;; label = @5
|
|
local.get 10
|
|
br_if 0 (;@5;)
|
|
local.get 0
|
|
local.set 1
|
|
br 1 (;@4;)
|
|
end
|
|
local.get 10
|
|
local.set 4
|
|
local.get 0
|
|
local.set 1
|
|
loop ;; label = @5
|
|
local.get 8
|
|
local.get 1
|
|
i32.add
|
|
local.tee 5
|
|
local.get 7
|
|
local.get 5
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 5
|
|
i32.store8
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
local.get 5
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 7
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 4
|
|
br_if 0 (;@5;)
|
|
end
|
|
end
|
|
block ;; label = @4
|
|
local.get 13
|
|
br_if 0 (;@4;)
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 1
|
|
loop ;; label = @5
|
|
local.get 2
|
|
local.get 1
|
|
i32.add
|
|
local.tee 5
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 4
|
|
local.get 7
|
|
local.get 4
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 7
|
|
i32.store8
|
|
local.get 5
|
|
i32.const -3
|
|
i32.add
|
|
local.tee 4
|
|
local.get 7
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.get 4
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 7
|
|
i32.store8
|
|
local.get 5
|
|
i32.const -4
|
|
i32.add
|
|
local.tee 4
|
|
local.get 7
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.get 4
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 7
|
|
i32.store8
|
|
local.get 5
|
|
i32.const -5
|
|
i32.add
|
|
local.tee 5
|
|
local.get 7
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.get 5
|
|
i32.load8_u
|
|
i32.add
|
|
local.tee 5
|
|
i32.store8
|
|
local.get 5
|
|
i32.const 8
|
|
i32.shr_u
|
|
local.set 7
|
|
local.get 1
|
|
i32.const -4
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 1
|
|
i32.gt_u
|
|
br_if 0 (;@5;)
|
|
end
|
|
end
|
|
local.get 5
|
|
i32.const 255
|
|
i32.gt_u
|
|
local.set 5
|
|
end
|
|
local.get 12
|
|
i32.const 1
|
|
i32.add
|
|
local.set 7
|
|
local.get 12
|
|
i32.load8_u offset=1
|
|
call $ammunition_isdigit
|
|
br_if 0 (;@2;)
|
|
end
|
|
end
|
|
local.get 3
|
|
local.get 7
|
|
i32.store
|
|
local.get 5)
|
|
(func $ammunition_unsigned_integer_from_string (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32)
|
|
global.get $__stack_pointer
|
|
i32.const 16
|
|
i32.sub
|
|
local.tee 3
|
|
global.set $__stack_pointer
|
|
i32.const 0
|
|
i32.const 0
|
|
call $__pragma_loopbound
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.load8_s
|
|
call $ammunition_isspace
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
local.get 2
|
|
local.get 3
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_string_to_unsigned_integer_without_overflow_reaction
|
|
i32.store offset=1196
|
|
local.get 3
|
|
i32.load offset=12
|
|
local.set 1
|
|
local.get 3
|
|
i32.const 16
|
|
i32.add
|
|
global.set $__stack_pointer
|
|
local.get 1)
|
|
(func $ammunition_integer_from_string (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 16
|
|
i32.sub
|
|
local.tee 3
|
|
global.set $__stack_pointer
|
|
i32.const 0
|
|
i32.const 0
|
|
call $__pragma_loopbound
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
loop ;; label = @1
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 1
|
|
i32.load8_s
|
|
call $ammunition_isspace
|
|
br_if 0 (;@1;)
|
|
end
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.set 4
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 1
|
|
i32.load8_u
|
|
i32.const -43
|
|
i32.add
|
|
br_table 0 (;@4;) 1 (;@3;) 2 (;@2;) 1 (;@3;)
|
|
end
|
|
local.get 4
|
|
local.set 1
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
local.get 2
|
|
local.get 3
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_string_to_unsigned_integer_without_overflow_reaction
|
|
local.tee 0
|
|
i32.store offset=1196
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 5
|
|
i32.const 1
|
|
local.set 6
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.set 6
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 4
|
|
local.get 2
|
|
local.get 3
|
|
i32.const 12
|
|
i32.add
|
|
call $ammunition_string_to_unsigned_integer_without_overflow_reaction
|
|
i32.store offset=1196
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 5
|
|
i32.const 2
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
block ;; label = @2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@2;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.and
|
|
local.set 7
|
|
i32.const 0
|
|
local.set 1
|
|
block ;; label = @3
|
|
local.get 0
|
|
i32.const 1
|
|
i32.eq
|
|
br_if 0 (;@3;)
|
|
local.get 0
|
|
i32.const 2147483646
|
|
i32.and
|
|
local.set 4
|
|
i32.const 0
|
|
local.set 1
|
|
loop ;; label = @4
|
|
local.get 2
|
|
local.get 0
|
|
i32.add
|
|
local.tee 8
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 9
|
|
local.get 1
|
|
local.get 9
|
|
i32.load8_u
|
|
local.tee 9
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 1
|
|
local.get 9
|
|
i32.ne
|
|
local.tee 1
|
|
select
|
|
i32.store8
|
|
local.get 8
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 8
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 1
|
|
select
|
|
local.tee 1
|
|
local.get 8
|
|
i32.load8_u
|
|
local.tee 8
|
|
i32.sub
|
|
i32.const 0
|
|
local.get 1
|
|
local.get 8
|
|
i32.ne
|
|
local.tee 1
|
|
select
|
|
i32.store8
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 1
|
|
select
|
|
local.set 1
|
|
local.get 0
|
|
i32.const -2
|
|
i32.add
|
|
local.set 0
|
|
local.get 4
|
|
i32.const -2
|
|
i32.add
|
|
local.tee 4
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
local.get 7
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
local.get 0
|
|
i32.add
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 0
|
|
i32.const 0
|
|
local.get 1
|
|
local.get 0
|
|
i32.load8_u
|
|
local.tee 0
|
|
i32.sub
|
|
local.get 1
|
|
local.get 0
|
|
i32.eq
|
|
select
|
|
i32.store8
|
|
end
|
|
i32.const 0
|
|
i32.load offset=1196
|
|
local.set 0
|
|
end
|
|
i32.const 1
|
|
local.set 1
|
|
block ;; label = @1
|
|
local.get 0
|
|
br_if 0 (;@1;)
|
|
block ;; label = @2
|
|
local.get 5
|
|
i32.extend8_s
|
|
local.tee 1
|
|
i32.const -1
|
|
i32.gt_s
|
|
local.get 6
|
|
i32.or
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
i32.load8_s
|
|
i32.const -1
|
|
i32.gt_s
|
|
local.set 1
|
|
br 1 (;@1;)
|
|
end
|
|
local.get 1
|
|
i32.const 0
|
|
i32.lt_s
|
|
local.set 1
|
|
end
|
|
i32.const 0
|
|
local.get 1
|
|
i32.store offset=1196
|
|
local.get 3
|
|
i32.load offset=12
|
|
local.set 1
|
|
local.get 3
|
|
i32.const 16
|
|
i32.add
|
|
global.set $__stack_pointer
|
|
local.get 1)
|
|
(func $ammunition_is_zero_bit_string (type 4) (param i32 i32 i32) (result i32)
|
|
(local i32 i32)
|
|
i32.const 1
|
|
local.set 3
|
|
block ;; label = @1
|
|
local.get 2
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 3
|
|
i32.add
|
|
local.set 0
|
|
block ;; label = @2
|
|
local.get 2
|
|
i32.const 8
|
|
local.get 1
|
|
local.get 3
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.tee 1
|
|
i32.sub
|
|
local.tee 3
|
|
i32.ge_u
|
|
br_if 0 (;@2;)
|
|
i32.const 255
|
|
i32.const 8
|
|
local.get 2
|
|
i32.sub
|
|
i32.shl
|
|
local.get 0
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.shl
|
|
i32.and
|
|
i32.const 255
|
|
i32.and
|
|
i32.eqz
|
|
return
|
|
end
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 1
|
|
i32.eqz
|
|
br_if 0 (;@3;)
|
|
local.get 0
|
|
i32.load8_u
|
|
local.get 1
|
|
i32.shl
|
|
i32.const 255
|
|
i32.and
|
|
br_if 1 (;@2;)
|
|
local.get 2
|
|
local.get 3
|
|
i32.sub
|
|
local.set 2
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
end
|
|
i32.const 0
|
|
i32.const 7
|
|
call $__pragma_loopbound
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 2
|
|
i32.const 8
|
|
i32.ge_s
|
|
br_if 0 (;@4;)
|
|
local.get 2
|
|
local.set 4
|
|
br 1 (;@3;)
|
|
end
|
|
loop ;; label = @4
|
|
local.get 0
|
|
i32.load8_u
|
|
br_if 2 (;@2;)
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 2
|
|
i32.const 15
|
|
i32.gt_s
|
|
local.set 1
|
|
local.get 2
|
|
i32.const -8
|
|
i32.add
|
|
local.tee 4
|
|
local.set 2
|
|
local.get 1
|
|
br_if 0 (;@4;)
|
|
end
|
|
end
|
|
i32.const 1
|
|
local.set 3
|
|
local.get 4
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 1 (;@1;)
|
|
local.get 0
|
|
i32.load8_u
|
|
i32.const 8
|
|
local.get 4
|
|
i32.sub
|
|
i32.shr_u
|
|
i32.eqz
|
|
br_if 1 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.set 3
|
|
end
|
|
local.get 3)
|
|
(func $ammunition_bit_string_set (type 6) (param i32 i32 i32 i32)
|
|
(local i32 i32)
|
|
block ;; label = @1
|
|
local.get 3
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 2
|
|
select
|
|
local.set 4
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 5
|
|
i32.add
|
|
local.set 2
|
|
block ;; label = @2
|
|
local.get 1
|
|
local.get 5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.tee 1
|
|
i32.eqz
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
i32.const 255
|
|
local.get 1
|
|
local.get 3
|
|
i32.add
|
|
i32.shr_u
|
|
i32.const 0
|
|
local.get 3
|
|
i32.const 8
|
|
local.get 1
|
|
i32.sub
|
|
local.tee 1
|
|
i32.lt_u
|
|
select
|
|
i32.const 255
|
|
local.get 1
|
|
i32.shl
|
|
i32.or
|
|
local.tee 0
|
|
local.get 2
|
|
i32.load8_u
|
|
i32.and
|
|
local.get 0
|
|
i32.const -1
|
|
i32.xor
|
|
local.get 4
|
|
i32.and
|
|
i32.or
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
local.get 1
|
|
i32.sub
|
|
local.set 3
|
|
end
|
|
i32.const 0
|
|
i32.const 8
|
|
call $__pragma_loopbound
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 3
|
|
i32.const 8
|
|
i32.ge_s
|
|
br_if 0 (;@3;)
|
|
local.get 3
|
|
local.set 0
|
|
br 1 (;@2;)
|
|
end
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 3
|
|
i32.const -8
|
|
i32.add
|
|
local.tee 5
|
|
i32.const 3
|
|
i32.shr_u
|
|
i32.const 1
|
|
i32.add
|
|
i32.const 7
|
|
i32.and
|
|
local.tee 1
|
|
br_if 0 (;@4;)
|
|
br 1 (;@3;)
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.set 3
|
|
loop ;; label = @4
|
|
local.get 2
|
|
local.get 4
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 1
|
|
i32.add
|
|
local.set 2
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 1
|
|
br_if 0 (;@4;)
|
|
end
|
|
local.get 3
|
|
local.set 0
|
|
end
|
|
local.get 5
|
|
i32.const 56
|
|
i32.lt_u
|
|
br_if 0 (;@2;)
|
|
loop ;; label = @3
|
|
local.get 2
|
|
local.get 4
|
|
i32.store8 offset=7
|
|
local.get 2
|
|
local.get 4
|
|
i32.store8 offset=6
|
|
local.get 2
|
|
local.get 4
|
|
i32.store8 offset=5
|
|
local.get 2
|
|
local.get 4
|
|
i32.store8 offset=4
|
|
local.get 2
|
|
local.get 4
|
|
i32.store8 offset=3
|
|
local.get 2
|
|
local.get 4
|
|
i32.store8 offset=2
|
|
local.get 2
|
|
local.get 4
|
|
i32.store8 offset=1
|
|
local.get 2
|
|
local.get 4
|
|
i32.store8
|
|
local.get 2
|
|
i32.const 8
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
i32.const -72
|
|
i32.add
|
|
local.set 1
|
|
local.get 3
|
|
i32.const -64
|
|
i32.add
|
|
local.tee 0
|
|
local.set 3
|
|
local.get 1
|
|
i32.const -16
|
|
i32.lt_u
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 0
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 2
|
|
local.get 2
|
|
i32.load8_u
|
|
i32.const 255
|
|
i32.const 8
|
|
local.get 0
|
|
i32.sub
|
|
i32.shl
|
|
local.tee 3
|
|
i32.const -1
|
|
i32.xor
|
|
i32.and
|
|
local.get 3
|
|
local.get 4
|
|
i32.and
|
|
i32.or
|
|
i32.store8
|
|
end)
|
|
(func $ammunition_bit_string_copy (type 9) (param i32 i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32 i32)
|
|
block ;; label = @1
|
|
local.get 4
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
i32.const 7
|
|
call $__pragma_loopbound
|
|
local.get 2
|
|
local.get 3
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 5
|
|
i32.add
|
|
local.set 6
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 7
|
|
i32.add
|
|
local.set 0
|
|
i32.const 8
|
|
local.get 3
|
|
local.get 5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.tee 8
|
|
i32.sub
|
|
local.set 9
|
|
i32.const 255
|
|
i32.const 8
|
|
local.get 1
|
|
local.get 7
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.tee 7
|
|
i32.sub
|
|
local.tee 10
|
|
i32.shl
|
|
local.set 11
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 7
|
|
br_if 0 (;@4;)
|
|
local.get 8
|
|
i32.eqz
|
|
br_if 1 (;@3;)
|
|
loop ;; label = @5
|
|
local.get 6
|
|
i32.load8_u
|
|
local.get 8
|
|
i32.shl
|
|
i32.const 255
|
|
i32.and
|
|
local.set 1
|
|
i32.const 0
|
|
local.set 3
|
|
block ;; label = @6
|
|
local.get 4
|
|
local.get 9
|
|
i32.le_s
|
|
br_if 0 (;@6;)
|
|
local.get 6
|
|
i32.load8_u offset=1
|
|
local.get 9
|
|
i32.shr_u
|
|
local.set 3
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
i32.or
|
|
local.set 3
|
|
block ;; label = @6
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_s
|
|
br_if 0 (;@6;)
|
|
local.get 4
|
|
local.set 9
|
|
br 4 (;@2;)
|
|
end
|
|
local.get 0
|
|
local.get 3
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.set 4
|
|
br 0 (;@5;)
|
|
end
|
|
end
|
|
i32.const 255
|
|
local.get 7
|
|
i32.shr_u
|
|
local.set 12
|
|
block ;; label = @4
|
|
local.get 8
|
|
i32.eqz
|
|
br_if 0 (;@4;)
|
|
loop ;; label = @5
|
|
local.get 6
|
|
i32.load8_u
|
|
local.get 8
|
|
i32.shl
|
|
i32.const 255
|
|
i32.and
|
|
local.set 1
|
|
i32.const 0
|
|
local.set 3
|
|
block ;; label = @6
|
|
local.get 4
|
|
local.get 9
|
|
i32.le_s
|
|
br_if 0 (;@6;)
|
|
local.get 6
|
|
i32.load8_u offset=1
|
|
local.get 9
|
|
i32.shr_u
|
|
local.set 3
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
i32.or
|
|
local.set 3
|
|
block ;; label = @6
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_s
|
|
br_if 0 (;@6;)
|
|
local.get 4
|
|
local.set 9
|
|
br 4 (;@2;)
|
|
end
|
|
local.get 0
|
|
local.get 11
|
|
local.get 0
|
|
i32.load8_u
|
|
i32.and
|
|
local.get 3
|
|
local.get 7
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 0
|
|
local.get 12
|
|
local.get 0
|
|
i32.load8_u offset=1
|
|
i32.and
|
|
local.get 3
|
|
local.get 10
|
|
i32.shl
|
|
i32.or
|
|
i32.store8 offset=1
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.set 4
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
br 0 (;@5;)
|
|
end
|
|
end
|
|
local.get 6
|
|
i32.load8_u
|
|
local.set 3
|
|
block ;; label = @4
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_u
|
|
br_if 0 (;@4;)
|
|
local.get 4
|
|
local.set 9
|
|
br 2 (;@2;)
|
|
end
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 0
|
|
i32.load8_u
|
|
local.set 1
|
|
loop ;; label = @4
|
|
local.get 0
|
|
local.get 11
|
|
local.get 1
|
|
i32.and
|
|
local.get 3
|
|
local.get 7
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 0
|
|
local.get 12
|
|
local.get 0
|
|
i32.load8_u offset=1
|
|
i32.and
|
|
local.get 3
|
|
local.get 10
|
|
i32.shl
|
|
i32.or
|
|
local.tee 1
|
|
i32.store8 offset=1
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 4
|
|
i32.const 17
|
|
i32.lt_u
|
|
local.set 8
|
|
local.get 6
|
|
i32.load8_u
|
|
local.set 3
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.tee 9
|
|
local.set 4
|
|
local.get 8
|
|
i32.eqz
|
|
br_if 0 (;@4;)
|
|
br 2 (;@2;)
|
|
end
|
|
end
|
|
local.get 6
|
|
i32.load8_u
|
|
local.set 3
|
|
block ;; label = @3
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_u
|
|
br_if 0 (;@3;)
|
|
local.get 4
|
|
local.set 9
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
loop ;; label = @3
|
|
local.get 0
|
|
local.get 3
|
|
i32.store8
|
|
local.get 0
|
|
i32.const 1
|
|
i32.add
|
|
local.set 0
|
|
local.get 4
|
|
i32.const 17
|
|
i32.lt_u
|
|
local.set 1
|
|
local.get 6
|
|
i32.load8_u
|
|
local.set 3
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.tee 9
|
|
local.set 4
|
|
local.get 1
|
|
i32.eqz
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 0
|
|
i32.const 255
|
|
local.get 9
|
|
local.get 7
|
|
i32.add
|
|
i32.shr_u
|
|
local.get 11
|
|
i32.or
|
|
local.tee 4
|
|
local.get 0
|
|
i32.load8_u
|
|
i32.and
|
|
local.get 3
|
|
local.get 7
|
|
i32.shr_u
|
|
local.get 4
|
|
i32.const -1
|
|
i32.xor
|
|
i32.and
|
|
i32.or
|
|
i32.store8
|
|
local.get 9
|
|
local.get 10
|
|
i32.sub
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 0
|
|
i32.const 255
|
|
local.get 4
|
|
i32.shr_u
|
|
local.get 0
|
|
i32.load8_u offset=1
|
|
i32.and
|
|
local.get 3
|
|
local.get 10
|
|
i32.shl
|
|
i32.const 255
|
|
i32.const 8
|
|
local.get 4
|
|
i32.sub
|
|
i32.shl
|
|
i32.and
|
|
i32.or
|
|
i32.store8 offset=1
|
|
end)
|
|
(func $ammunition_reverse_bit_string_copy (type 9) (param i32 i32 i32 i32 i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32)
|
|
block ;; label = @1
|
|
local.get 4
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
i32.const 7
|
|
call $__pragma_loopbound
|
|
local.get 4
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 5
|
|
local.get 3
|
|
i32.add
|
|
local.tee 3
|
|
local.get 3
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 3
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.tee 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 7
|
|
i32.const 7
|
|
local.get 6
|
|
i32.sub
|
|
local.set 8
|
|
i32.const 7
|
|
local.get 5
|
|
local.get 1
|
|
i32.add
|
|
local.tee 1
|
|
local.get 1
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 9
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.tee 1
|
|
i32.sub
|
|
local.set 5
|
|
i32.const 255
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
local.tee 10
|
|
i32.shr_u
|
|
local.set 11
|
|
local.get 2
|
|
local.get 3
|
|
i32.add
|
|
local.set 2
|
|
local.get 0
|
|
local.get 9
|
|
i32.add
|
|
local.set 3
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 1
|
|
i32.const 7
|
|
i32.ne
|
|
br_if 0 (;@4;)
|
|
local.get 6
|
|
i32.const 7
|
|
i32.eq
|
|
br_if 1 (;@3;)
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
loop ;; label = @5
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 8
|
|
i32.shr_u
|
|
local.set 2
|
|
i32.const 0
|
|
local.set 6
|
|
block ;; label = @6
|
|
local.get 4
|
|
local.get 7
|
|
i32.le_s
|
|
br_if 0 (;@6;)
|
|
local.get 1
|
|
i32.load8_u
|
|
local.get 7
|
|
i32.shl
|
|
local.set 6
|
|
end
|
|
local.get 6
|
|
i32.const 255
|
|
i32.and
|
|
local.get 2
|
|
i32.or
|
|
local.set 6
|
|
block ;; label = @6
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_s
|
|
br_if 0 (;@6;)
|
|
local.get 4
|
|
local.set 7
|
|
br 4 (;@2;)
|
|
end
|
|
local.get 3
|
|
local.get 6
|
|
i32.store8
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.set 3
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.set 4
|
|
br 0 (;@5;)
|
|
end
|
|
end
|
|
i32.const 255
|
|
local.get 5
|
|
i32.shl
|
|
local.set 0
|
|
block ;; label = @4
|
|
local.get 6
|
|
i32.const 7
|
|
i32.eq
|
|
br_if 0 (;@4;)
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
loop ;; label = @5
|
|
local.get 1
|
|
i32.const 1
|
|
i32.add
|
|
i32.load8_u
|
|
local.get 8
|
|
i32.shr_u
|
|
local.set 2
|
|
i32.const 0
|
|
local.set 6
|
|
block ;; label = @6
|
|
local.get 4
|
|
local.get 7
|
|
i32.le_s
|
|
br_if 0 (;@6;)
|
|
local.get 1
|
|
i32.load8_u
|
|
local.get 7
|
|
i32.shl
|
|
local.set 6
|
|
end
|
|
local.get 6
|
|
i32.const 255
|
|
i32.and
|
|
local.get 2
|
|
i32.or
|
|
local.set 6
|
|
block ;; label = @6
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_s
|
|
br_if 0 (;@6;)
|
|
local.get 4
|
|
local.set 7
|
|
br 4 (;@2;)
|
|
end
|
|
local.get 3
|
|
local.get 11
|
|
local.get 3
|
|
i32.load8_u
|
|
i32.and
|
|
local.get 6
|
|
local.get 5
|
|
i32.shl
|
|
i32.or
|
|
i32.store8
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 3
|
|
local.get 0
|
|
local.get 3
|
|
i32.load8_u
|
|
i32.and
|
|
local.get 6
|
|
local.get 10
|
|
i32.shr_u
|
|
i32.or
|
|
i32.store8
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.set 4
|
|
br 0 (;@5;)
|
|
end
|
|
end
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 6
|
|
block ;; label = @4
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_u
|
|
br_if 0 (;@4;)
|
|
local.get 4
|
|
local.set 7
|
|
br 2 (;@2;)
|
|
end
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
local.get 3
|
|
i32.load8_u
|
|
local.set 8
|
|
loop ;; label = @4
|
|
local.get 3
|
|
local.get 11
|
|
local.get 8
|
|
i32.and
|
|
local.get 6
|
|
local.get 5
|
|
i32.shl
|
|
i32.or
|
|
i32.store8
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 3
|
|
local.get 0
|
|
local.get 3
|
|
i32.load8_u
|
|
i32.and
|
|
local.get 6
|
|
local.get 10
|
|
i32.shr_u
|
|
i32.or
|
|
local.tee 8
|
|
i32.store8
|
|
local.get 4
|
|
i32.const 17
|
|
i32.lt_u
|
|
local.set 2
|
|
local.get 1
|
|
i32.load8_u
|
|
local.set 6
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.tee 7
|
|
local.set 4
|
|
local.get 2
|
|
i32.eqz
|
|
br_if 0 (;@4;)
|
|
br 2 (;@2;)
|
|
end
|
|
end
|
|
local.get 2
|
|
i32.load8_u
|
|
local.set 6
|
|
block ;; label = @3
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_u
|
|
br_if 0 (;@3;)
|
|
local.get 4
|
|
local.set 7
|
|
br 1 (;@2;)
|
|
end
|
|
local.get 2
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 6
|
|
i32.store8
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.set 3
|
|
local.get 4
|
|
i32.const 17
|
|
i32.lt_u
|
|
local.set 8
|
|
local.get 1
|
|
i32.load8_u
|
|
local.set 6
|
|
local.get 1
|
|
i32.const -1
|
|
i32.add
|
|
local.set 1
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.tee 7
|
|
local.set 4
|
|
local.get 8
|
|
i32.eqz
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
local.get 3
|
|
i32.const 255
|
|
local.get 7
|
|
local.get 5
|
|
i32.add
|
|
i32.shl
|
|
local.get 11
|
|
i32.or
|
|
local.tee 4
|
|
local.get 3
|
|
i32.load8_u
|
|
i32.and
|
|
local.get 6
|
|
local.get 5
|
|
i32.shl
|
|
local.get 4
|
|
i32.const -1
|
|
i32.xor
|
|
i32.and
|
|
i32.or
|
|
i32.store8
|
|
local.get 7
|
|
local.get 10
|
|
i32.sub
|
|
local.tee 4
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 3
|
|
i32.const 255
|
|
local.get 4
|
|
i32.shl
|
|
local.get 3
|
|
i32.load8_u
|
|
i32.and
|
|
local.get 6
|
|
local.get 10
|
|
i32.shr_u
|
|
i32.const 255
|
|
i32.const 8
|
|
local.get 4
|
|
i32.sub
|
|
i32.shr_u
|
|
i32.and
|
|
i32.or
|
|
i32.store8
|
|
end)
|
|
(func $ammunition_bit_string_move (type 9) (param i32 i32 i32 i32 i32)
|
|
(local i32 i32)
|
|
block ;; label = @1
|
|
local.get 4
|
|
i32.const 1
|
|
i32.lt_s
|
|
br_if 0 (;@1;)
|
|
local.get 3
|
|
local.get 3
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.set 3
|
|
local.get 1
|
|
local.get 1
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 6
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.set 1
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
local.tee 2
|
|
local.get 0
|
|
local.get 6
|
|
i32.add
|
|
local.tee 0
|
|
i32.gt_u
|
|
br_if 0 (;@3;)
|
|
local.get 3
|
|
local.get 1
|
|
i32.le_s
|
|
br_if 1 (;@2;)
|
|
local.get 2
|
|
local.get 0
|
|
i32.ne
|
|
br_if 1 (;@2;)
|
|
end
|
|
local.get 0
|
|
local.get 1
|
|
local.get 2
|
|
local.get 3
|
|
local.get 4
|
|
call $ammunition_bit_string_copy
|
|
return
|
|
end
|
|
local.get 0
|
|
local.get 1
|
|
local.get 2
|
|
local.get 3
|
|
local.get 4
|
|
call $ammunition_reverse_bit_string_copy
|
|
end)
|
|
(func $ammunition_bit_string_comparison (type 10) (param i32 i32 i32 i32 i32) (result i32)
|
|
(local i32 i32 i32 i32 i32 i32 i32)
|
|
block ;; label = @1
|
|
local.get 4
|
|
i32.const 1
|
|
i32.ge_s
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
return
|
|
end
|
|
i32.const 0
|
|
i32.const 7
|
|
call $__pragma_loopbound
|
|
local.get 2
|
|
local.get 3
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 5
|
|
i32.add
|
|
local.set 6
|
|
local.get 0
|
|
local.get 1
|
|
i32.const 8
|
|
i32.div_s
|
|
local.tee 7
|
|
i32.add
|
|
local.set 8
|
|
i32.const 8
|
|
local.get 3
|
|
local.get 5
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.tee 9
|
|
i32.sub
|
|
local.set 10
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
block ;; label = @3
|
|
block ;; label = @4
|
|
local.get 1
|
|
local.get 7
|
|
i32.const 3
|
|
i32.shl
|
|
i32.sub
|
|
local.tee 11
|
|
br_if 0 (;@4;)
|
|
local.get 9
|
|
i32.eqz
|
|
br_if 1 (;@3;)
|
|
loop ;; label = @5
|
|
local.get 6
|
|
i32.load8_u
|
|
local.get 9
|
|
i32.shl
|
|
i32.const 255
|
|
i32.and
|
|
local.set 2
|
|
i32.const 0
|
|
local.set 1
|
|
block ;; label = @6
|
|
local.get 4
|
|
local.get 10
|
|
i32.le_s
|
|
br_if 0 (;@6;)
|
|
local.get 6
|
|
i32.load8_u offset=1
|
|
local.get 10
|
|
i32.shr_u
|
|
local.set 1
|
|
end
|
|
local.get 8
|
|
i32.load8_u
|
|
local.set 3
|
|
local.get 1
|
|
local.get 2
|
|
i32.or
|
|
local.set 1
|
|
block ;; label = @6
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_s
|
|
br_if 0 (;@6;)
|
|
local.get 4
|
|
local.set 10
|
|
br 4 (;@2;)
|
|
end
|
|
block ;; label = @6
|
|
local.get 1
|
|
local.get 3
|
|
i32.ge_u
|
|
br_if 0 (;@6;)
|
|
i32.const 1
|
|
return
|
|
end
|
|
block ;; label = @6
|
|
local.get 1
|
|
local.get 3
|
|
i32.le_u
|
|
br_if 0 (;@6;)
|
|
i32.const -1
|
|
return
|
|
end
|
|
local.get 8
|
|
i32.const 1
|
|
i32.add
|
|
local.set 8
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.set 4
|
|
br 0 (;@5;)
|
|
end
|
|
end
|
|
i32.const 8
|
|
local.get 11
|
|
i32.sub
|
|
local.set 2
|
|
block ;; label = @4
|
|
local.get 9
|
|
i32.eqz
|
|
br_if 0 (;@4;)
|
|
loop ;; label = @5
|
|
local.get 8
|
|
i32.load8_u
|
|
local.get 11
|
|
i32.shl
|
|
local.set 0
|
|
i32.const 0
|
|
local.set 1
|
|
i32.const 0
|
|
local.set 3
|
|
block ;; label = @6
|
|
local.get 4
|
|
local.get 2
|
|
i32.le_s
|
|
br_if 0 (;@6;)
|
|
local.get 8
|
|
i32.load8_u offset=1
|
|
local.get 2
|
|
i32.shr_u
|
|
local.set 3
|
|
end
|
|
local.get 0
|
|
i32.const 255
|
|
i32.and
|
|
local.set 0
|
|
local.get 6
|
|
i32.load8_u
|
|
local.get 9
|
|
i32.shl
|
|
i32.const 255
|
|
i32.and
|
|
local.set 5
|
|
block ;; label = @6
|
|
local.get 4
|
|
local.get 10
|
|
i32.le_s
|
|
br_if 0 (;@6;)
|
|
local.get 6
|
|
i32.load8_u offset=1
|
|
local.get 10
|
|
i32.shr_u
|
|
local.set 1
|
|
end
|
|
local.get 3
|
|
local.get 0
|
|
i32.or
|
|
local.set 3
|
|
local.get 1
|
|
local.get 5
|
|
i32.or
|
|
local.set 1
|
|
block ;; label = @6
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_s
|
|
br_if 0 (;@6;)
|
|
local.get 4
|
|
local.set 10
|
|
br 4 (;@2;)
|
|
end
|
|
block ;; label = @6
|
|
local.get 3
|
|
local.get 1
|
|
i32.le_u
|
|
br_if 0 (;@6;)
|
|
i32.const 1
|
|
return
|
|
end
|
|
block ;; label = @6
|
|
local.get 3
|
|
local.get 1
|
|
i32.ge_u
|
|
br_if 0 (;@6;)
|
|
i32.const -1
|
|
return
|
|
end
|
|
local.get 8
|
|
i32.const 1
|
|
i32.add
|
|
local.set 8
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.set 4
|
|
br 0 (;@5;)
|
|
end
|
|
end
|
|
loop ;; label = @4
|
|
local.get 8
|
|
i32.load8_u
|
|
local.get 11
|
|
i32.shl
|
|
i32.const 255
|
|
i32.and
|
|
local.set 1
|
|
i32.const 0
|
|
local.set 3
|
|
block ;; label = @5
|
|
local.get 4
|
|
local.get 2
|
|
i32.le_s
|
|
br_if 0 (;@5;)
|
|
local.get 8
|
|
i32.load8_u offset=1
|
|
local.get 2
|
|
i32.shr_u
|
|
local.set 3
|
|
end
|
|
local.get 3
|
|
local.get 1
|
|
i32.or
|
|
local.set 3
|
|
local.get 6
|
|
i32.load8_u
|
|
local.set 1
|
|
block ;; label = @5
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_s
|
|
br_if 0 (;@5;)
|
|
local.get 4
|
|
local.set 10
|
|
br 3 (;@2;)
|
|
end
|
|
block ;; label = @5
|
|
local.get 3
|
|
local.get 1
|
|
i32.le_u
|
|
br_if 0 (;@5;)
|
|
i32.const 1
|
|
return
|
|
end
|
|
block ;; label = @5
|
|
local.get 3
|
|
local.get 1
|
|
i32.ge_u
|
|
br_if 0 (;@5;)
|
|
i32.const -1
|
|
return
|
|
end
|
|
local.get 8
|
|
i32.const 1
|
|
i32.add
|
|
local.set 8
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.set 4
|
|
br 0 (;@4;)
|
|
end
|
|
end
|
|
local.get 6
|
|
i32.load8_u
|
|
local.set 1
|
|
local.get 8
|
|
i32.load8_u
|
|
local.set 3
|
|
block ;; label = @3
|
|
local.get 4
|
|
i32.const 9
|
|
i32.ge_u
|
|
br_if 0 (;@3;)
|
|
local.get 4
|
|
local.set 10
|
|
br 1 (;@2;)
|
|
end
|
|
i32.const 1
|
|
local.set 9
|
|
local.get 0
|
|
local.get 7
|
|
i32.add
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 2
|
|
local.get 5
|
|
i32.add
|
|
i32.const 1
|
|
i32.add
|
|
local.set 8
|
|
loop ;; label = @3
|
|
local.get 3
|
|
local.get 1
|
|
i32.gt_u
|
|
br_if 2 (;@1;)
|
|
block ;; label = @4
|
|
local.get 3
|
|
local.get 1
|
|
i32.ge_u
|
|
br_if 0 (;@4;)
|
|
i32.const -1
|
|
return
|
|
end
|
|
local.get 4
|
|
i32.const 17
|
|
i32.lt_s
|
|
local.set 2
|
|
local.get 8
|
|
i32.load8_u
|
|
local.set 1
|
|
local.get 6
|
|
i32.load8_u
|
|
local.set 3
|
|
local.get 6
|
|
i32.const 1
|
|
i32.add
|
|
local.set 6
|
|
local.get 8
|
|
i32.const 1
|
|
i32.add
|
|
local.set 8
|
|
local.get 4
|
|
i32.const -8
|
|
i32.add
|
|
local.tee 10
|
|
local.set 4
|
|
local.get 2
|
|
i32.eqz
|
|
br_if 0 (;@3;)
|
|
end
|
|
end
|
|
block ;; label = @2
|
|
local.get 3
|
|
i32.const 255
|
|
i32.const 8
|
|
local.get 10
|
|
i32.sub
|
|
i32.shl
|
|
local.tee 4
|
|
i32.and
|
|
local.tee 6
|
|
local.get 1
|
|
local.get 4
|
|
i32.and
|
|
local.tee 4
|
|
i32.le_u
|
|
br_if 0 (;@2;)
|
|
i32.const 1
|
|
return
|
|
end
|
|
i32.const -1
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 4
|
|
i32.lt_u
|
|
select
|
|
local.set 9
|
|
end
|
|
local.get 9)
|
|
(table (;0;) 1 1 funcref)
|
|
(memory (;0;) 1)
|
|
(global $__stack_pointer (mut i32) (i32.const 5296))
|
|
(global (;1;) i32 (i32.const 1200))
|
|
(global (;2;) i32 (i32.const 5296))
|
|
(export "memory" (memory 0))
|
|
(export "__wasm_apply_data_relocs" (func $__wasm_apply_data_relocs))
|
|
(export "entrypoint" (func $ammunition_main))
|
|
(export "main" (func $__original_main))
|
|
(export "__data_end" (global 1))
|
|
(export "__heap_base" (global 2))
|
|
(data $.rodata (i32.const 1024) "-2147483649\00-1349\00-345088\002147483648\00-1348\004294965947\00-17\004294967296\0016\00-6\004294967295\0064\002\00-1\00-134890\00-1105018880\001380\00-10\00-33000\0070000\0040000\00-11230000\00-30000\00-1000000\00"))
|