summaryrefslogtreecommitdiff
path: root/test/passes/inlining-optimizing_optimize-level=3.txt
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-11-15 13:43:49 -0800
committerGitHub <noreply@github.com>2018-11-15 13:43:49 -0800
commit991bd336973702b4996237fc4610ad52af6718a1 (patch)
tree0105d52f5149042aad59415bddc2ae765f698536 /test/passes/inlining-optimizing_optimize-level=3.txt
parentec16a4d076d290f892fc00f598777631cdda5f09 (diff)
downloadbinaryen-991bd336973702b4996237fc4610ad52af6718a1.tar.gz
binaryen-991bd336973702b4996237fc4610ad52af6718a1.tar.bz2
binaryen-991bd336973702b4996237fc4610ad52af6718a1.zip
Optimize an if exit block into an if arm (#1749)
If an if is enclosed in a block which is only used to exit one arm, move it into that arm, so it can be better optimized. Similar to what we did for loops in #1736.
Diffstat (limited to 'test/passes/inlining-optimizing_optimize-level=3.txt')
-rw-r--r--test/passes/inlining-optimizing_optimize-level=3.txt4626
1 files changed, 2297 insertions, 2329 deletions
diff --git a/test/passes/inlining-optimizing_optimize-level=3.txt b/test/passes/inlining-optimizing_optimize-level=3.txt
index 12675acef..a8a8a24f9 100644
--- a/test/passes/inlining-optimizing_optimize-level=3.txt
+++ b/test/passes/inlining-optimizing_optimize-level=3.txt
@@ -554,94 +554,92 @@
(func $_fflush (; 32 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
- (block $do-once
- (if
- (get_local $0)
- (block
- (if
- (i32.le_s
- (i32.load offset=76
- (get_local $0)
- )
- (i32.const -1)
- )
- (block
- (set_local $0
- (call $___fflush_unlocked
- (get_local $0)
- )
- )
- (br $do-once)
+ (if
+ (get_local $0)
+ (block $do-once
+ (if
+ (i32.le_s
+ (i32.load offset=76
+ (get_local $0)
)
+ (i32.const -1)
)
- (set_local $1
- (call $___fflush_unlocked
- (get_local $0)
+ (block
+ (set_local $0
+ (call $___fflush_unlocked
+ (get_local $0)
+ )
)
+ (br $do-once)
)
- (set_local $0
- (get_local $1)
+ )
+ (set_local $1
+ (call $___fflush_unlocked
+ (get_local $0)
)
)
- (block
- (set_local $0
- (if (result i32)
+ (set_local $0
+ (get_local $1)
+ )
+ )
+ (block
+ (set_local $0
+ (if (result i32)
+ (i32.load
+ (i32.const 12)
+ )
+ (call $_fflush
(i32.load
(i32.const 12)
)
- (call $_fflush
- (i32.load
- (i32.const 12)
- )
- )
- (i32.const 0)
)
+ (i32.const 0)
)
- (call $___lock
- (i32.const 44)
+ )
+ (call $___lock
+ (i32.const 44)
+ )
+ (if
+ (tee_local $1
+ (i32.load
+ (i32.const 40)
+ )
)
- (if
- (tee_local $1
- (i32.load
- (i32.const 40)
+ (loop $while-in
+ (drop
+ (i32.load offset=76
+ (get_local $1)
)
)
- (loop $while-in
- (drop
- (i32.load offset=76
+ (if
+ (i32.gt_u
+ (i32.load offset=20
+ (get_local $1)
+ )
+ (i32.load offset=28
(get_local $1)
)
)
- (if
- (i32.gt_u
- (i32.load offset=20
- (get_local $1)
- )
- (i32.load offset=28
+ (set_local $0
+ (i32.or
+ (call $___fflush_unlocked
(get_local $1)
)
- )
- (set_local $0
- (i32.or
- (call $___fflush_unlocked
- (get_local $1)
- )
- (get_local $0)
- )
+ (get_local $0)
)
)
- (br_if $while-in
- (tee_local $1
- (i32.load offset=56
- (get_local $1)
- )
+ )
+ (br_if $while-in
+ (tee_local $1
+ (i32.load offset=56
+ (get_local $1)
)
)
)
)
- (call $___unlock
- (i32.const 44)
- )
+ )
+ (call $___unlock
+ (i32.const 44)
)
)
)
@@ -2544,574 +2542,568 @@
)
)
)
- (block $label$break$L25
- (if
- (i32.eq
- (i32.and
- (tee_local $12
- (i32.shr_s
- (i32.shl
- (get_local $6)
- (i32.const 24)
- )
+ (if
+ (i32.eq
+ (i32.and
+ (tee_local $12
+ (i32.shr_s
+ (i32.shl
+ (get_local $6)
(i32.const 24)
)
+ (i32.const 24)
)
- (i32.const -32)
)
- (i32.const 32)
+ (i32.const -32)
)
- (block
- (set_local $1
- (get_local $6)
- )
- (set_local $6
- (get_local $12)
- )
- (set_local $12
- (i32.const 0)
- )
- (loop $while-in4
- (if
- (i32.eqz
- (i32.and
- (i32.shl
- (i32.const 1)
- (i32.add
- (get_local $6)
- (i32.const -32)
- )
+ (i32.const 32)
+ )
+ (block $label$break$L25
+ (set_local $1
+ (get_local $6)
+ )
+ (set_local $6
+ (get_local $12)
+ )
+ (set_local $12
+ (i32.const 0)
+ )
+ (loop $while-in4
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.shl
+ (i32.const 1)
+ (i32.add
+ (get_local $6)
+ (i32.const -32)
)
- (i32.const 75913)
)
+ (i32.const 75913)
)
- (block
- (set_local $6
- (get_local $1)
- )
- (set_local $1
- (get_local $12)
- )
- (br $label$break$L25)
+ )
+ (block
+ (set_local $6
+ (get_local $1)
)
+ (set_local $1
+ (get_local $12)
+ )
+ (br $label$break$L25)
)
- (set_local $12
- (i32.or
- (i32.shl
- (i32.const 1)
- (i32.add
- (i32.shr_s
- (i32.shl
- (get_local $1)
- (i32.const 24)
- )
+ )
+ (set_local $12
+ (i32.or
+ (i32.shl
+ (i32.const 1)
+ (i32.add
+ (i32.shr_s
+ (i32.shl
+ (get_local $1)
(i32.const 24)
)
- (i32.const -32)
+ (i32.const 24)
)
+ (i32.const -32)
)
- (get_local $12)
)
+ (get_local $12)
)
- (br_if $while-in4
- (i32.eq
- (i32.and
- (tee_local $6
- (tee_local $1
- (i32.load8_s
- (tee_local $10
- (i32.add
- (get_local $10)
- (i32.const 1)
- )
+ )
+ (br_if $while-in4
+ (i32.eq
+ (i32.and
+ (tee_local $6
+ (tee_local $1
+ (i32.load8_s
+ (tee_local $10
+ (i32.add
+ (get_local $10)
+ (i32.const 1)
)
)
)
)
- (i32.const -32)
)
- (i32.const 32)
+ (i32.const -32)
)
+ (i32.const 32)
)
)
- (set_local $6
- (get_local $1)
- )
- (set_local $1
- (get_local $12)
- )
+ )
+ (set_local $6
+ (get_local $1)
)
(set_local $1
- (i32.const 0)
+ (get_local $12)
)
)
+ (set_local $1
+ (i32.const 0)
+ )
)
(set_local $1
- (block $do-once5 (result i32)
- (if (result i32)
- (i32.eq
- (i32.and
- (get_local $6)
- (i32.const 255)
- )
- (i32.const 42)
+ (if (result i32)
+ (i32.eq
+ (i32.and
+ (get_local $6)
+ (i32.const 255)
)
- (block (result i32)
- (set_local $10
- (block $__rjto$0 (result i32)
- (block $__rjti$0
- (br_if $__rjti$0
- (i32.ge_u
- (tee_local $12
- (i32.add
- (i32.load8_s
- (tee_local $6
- (i32.add
- (get_local $10)
- (i32.const 1)
- )
+ (i32.const 42)
+ )
+ (block $do-once5 (result i32)
+ (set_local $10
+ (block $__rjto$0 (result i32)
+ (block $__rjti$0
+ (br_if $__rjti$0
+ (i32.ge_u
+ (tee_local $12
+ (i32.add
+ (i32.load8_s
+ (tee_local $6
+ (i32.add
+ (get_local $10)
+ (i32.const 1)
)
)
- (i32.const -48)
)
+ (i32.const -48)
)
- (i32.const 10)
)
+ (i32.const 10)
)
- (br_if $__rjti$0
- (i32.ne
- (i32.load8_s offset=2
- (get_local $10)
- )
- (i32.const 36)
+ )
+ (br_if $__rjti$0
+ (i32.ne
+ (i32.load8_s offset=2
+ (get_local $10)
)
+ (i32.const 36)
)
- (i32.store
- (i32.add
- (get_local $4)
- (i32.shl
- (get_local $12)
- (i32.const 2)
- )
+ )
+ (i32.store
+ (i32.add
+ (get_local $4)
+ (i32.shl
+ (get_local $12)
+ (i32.const 2)
)
- (i32.const 10)
)
- (drop
- (i32.load offset=4
- (tee_local $6
- (i32.add
- (get_local $3)
- (i32.shl
- (i32.add
- (i32.load8_s
- (get_local $6)
- )
- (i32.const -48)
+ (i32.const 10)
+ )
+ (drop
+ (i32.load offset=4
+ (tee_local $6
+ (i32.add
+ (get_local $3)
+ (i32.shl
+ (i32.add
+ (i32.load8_s
+ (get_local $6)
)
- (i32.const 3)
+ (i32.const -48)
)
+ (i32.const 3)
)
)
)
)
- (set_local $8
- (i32.const 1)
- )
- (set_local $16
- (i32.load
- (get_local $6)
- )
- )
- (br $__rjto$0
- (i32.add
- (get_local $10)
- (i32.const 3)
- )
- )
- )
- (if
- (get_local $8)
- (block
- (set_local $17
- (i32.const -1)
- )
- (br $label$break$L1)
- )
)
- (if
- (i32.eqz
- (get_local $28)
- )
- (block
- (set_local $12
- (get_local $1)
- )
- (set_local $10
- (get_local $6)
- )
- (set_local $16
- (i32.const 0)
- )
- (br $do-once5
- (i32.const 0)
- )
- )
+ (set_local $8
+ (i32.const 1)
)
(set_local $16
(i32.load
- (tee_local $10
- (i32.and
- (i32.add
- (i32.load
- (get_local $2)
- )
- (i32.const 3)
- )
- (i32.const -4)
- )
- )
+ (get_local $6)
)
)
- (i32.store
- (get_local $2)
+ (br $__rjto$0
(i32.add
(get_local $10)
- (i32.const 4)
+ (i32.const 3)
)
)
- (set_local $8
- (i32.const 0)
+ )
+ (if
+ (get_local $8)
+ (block
+ (set_local $17
+ (i32.const -1)
+ )
+ (br $label$break$L1)
)
- (get_local $6)
)
- )
- (set_local $12
- (if (result i32)
- (i32.lt_s
- (get_local $16)
- (i32.const 0)
+ (if
+ (i32.eqz
+ (get_local $28)
)
- (block (result i32)
+ (block
+ (set_local $12
+ (get_local $1)
+ )
+ (set_local $10
+ (get_local $6)
+ )
(set_local $16
- (i32.sub
- (i32.const 0)
- (get_local $16)
- )
+ (i32.const 0)
)
- (i32.or
- (get_local $1)
- (i32.const 8192)
+ (br $do-once5
+ (i32.const 0)
)
)
- (get_local $1)
)
- )
- (get_local $8)
- )
- (if (result i32)
- (i32.lt_u
- (tee_local $6
- (i32.add
- (i32.shr_s
- (i32.shl
- (get_local $6)
- (i32.const 24)
+ (set_local $16
+ (i32.load
+ (tee_local $10
+ (i32.and
+ (i32.add
+ (i32.load
+ (get_local $2)
+ )
+ (i32.const 3)
+ )
+ (i32.const -4)
)
- (i32.const 24)
)
- (i32.const -48)
)
)
- (i32.const 10)
+ (i32.store
+ (get_local $2)
+ (i32.add
+ (get_local $10)
+ (i32.const 4)
+ )
+ )
+ (set_local $8
+ (i32.const 0)
+ )
+ (get_local $6)
)
- (block (result i32)
- (set_local $12
+ )
+ (set_local $12
+ (if (result i32)
+ (i32.lt_s
+ (get_local $16)
(i32.const 0)
)
- (loop $while-in8
- (set_local $6
- (i32.add
- (i32.mul
- (get_local $12)
- (i32.const 10)
- )
+ (block (result i32)
+ (set_local $16
+ (i32.sub
+ (i32.const 0)
+ (get_local $16)
+ )
+ )
+ (i32.or
+ (get_local $1)
+ (i32.const 8192)
+ )
+ )
+ (get_local $1)
+ )
+ )
+ (get_local $8)
+ )
+ (if (result i32)
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (i32.shr_s
+ (i32.shl
(get_local $6)
+ (i32.const 24)
)
+ (i32.const 24)
)
- (if
- (i32.lt_u
- (tee_local $9
- (i32.add
- (i32.load8_s
- (tee_local $10
- (i32.add
- (get_local $10)
- (i32.const 1)
- )
+ (i32.const -48)
+ )
+ )
+ (i32.const 10)
+ )
+ (block (result i32)
+ (set_local $12
+ (i32.const 0)
+ )
+ (loop $while-in8
+ (set_local $6
+ (i32.add
+ (i32.mul
+ (get_local $12)
+ (i32.const 10)
+ )
+ (get_local $6)
+ )
+ )
+ (if
+ (i32.lt_u
+ (tee_local $9
+ (i32.add
+ (i32.load8_s
+ (tee_local $10
+ (i32.add
+ (get_local $10)
+ (i32.const 1)
)
)
- (i32.const -48)
)
+ (i32.const -48)
)
- (i32.const 10)
)
- (block
- (set_local $12
- (get_local $6)
- )
- (set_local $6
- (get_local $9)
- )
- (br $while-in8)
- )
- )
- )
- (if (result i32)
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
+ (i32.const 10)
)
(block
- (set_local $17
- (i32.const -1)
- )
- (br $label$break$L1)
- )
- (block (result i32)
(set_local $12
- (get_local $1)
- )
- (set_local $16
(get_local $6)
)
- (get_local $8)
+ (set_local $6
+ (get_local $9)
+ )
+ (br $while-in8)
)
)
)
- (block (result i32)
- (set_local $12
- (get_local $1)
- )
- (set_local $16
+ (if (result i32)
+ (i32.lt_s
+ (get_local $6)
(i32.const 0)
)
- (get_local $8)
+ (block
+ (set_local $17
+ (i32.const -1)
+ )
+ (br $label$break$L1)
+ )
+ (block (result i32)
+ (set_local $12
+ (get_local $1)
+ )
+ (set_local $16
+ (get_local $6)
+ )
+ (get_local $8)
+ )
+ )
+ )
+ (block (result i32)
+ (set_local $12
+ (get_local $1)
+ )
+ (set_local $16
+ (i32.const 0)
)
+ (get_local $8)
)
)
)
)
(set_local $6
- (block $label$break$L46 (result i32)
- (if (result i32)
- (i32.eq
- (i32.load8_s
- (get_local $10)
- )
- (i32.const 46)
+ (if (result i32)
+ (i32.eq
+ (i32.load8_s
+ (get_local $10)
)
- (block (result i32)
- (if
- (i32.ne
- (tee_local $8
- (i32.load8_s
- (tee_local $6
- (i32.add
- (get_local $10)
- (i32.const 1)
- )
+ (i32.const 46)
+ )
+ (block $label$break$L46 (result i32)
+ (if
+ (i32.ne
+ (tee_local $8
+ (i32.load8_s
+ (tee_local $6
+ (i32.add
+ (get_local $10)
+ (i32.const 1)
)
)
)
- (i32.const 42)
)
- (block
- (set_local $6
- (if (result i32)
- (i32.lt_u
- (tee_local $9
- (i32.add
- (get_local $8)
- (i32.const -48)
- )
+ (i32.const 42)
+ )
+ (block
+ (set_local $6
+ (if (result i32)
+ (i32.lt_u
+ (tee_local $9
+ (i32.add
+ (get_local $8)
+ (i32.const -48)
)
- (i32.const 10)
)
- (block (result i32)
- (set_local $10
- (get_local $6)
- )
- (set_local $8
- (i32.const 0)
- )
- (get_local $9)
+ (i32.const 10)
+ )
+ (block (result i32)
+ (set_local $10
+ (get_local $6)
)
- (block
- (set_local $10
- (get_local $6)
- )
- (br $label$break$L46
- (i32.const 0)
- )
+ (set_local $8
+ (i32.const 0)
+ )
+ (get_local $9)
+ )
+ (block
+ (set_local $10
+ (get_local $6)
+ )
+ (br $label$break$L46
+ (i32.const 0)
)
)
)
- (loop $while-in11
- (drop
- (br_if $label$break$L46
- (tee_local $6
- (i32.add
- (i32.mul
- (get_local $8)
- (i32.const 10)
- )
- (get_local $6)
+ )
+ (loop $while-in11
+ (drop
+ (br_if $label$break$L46
+ (tee_local $6
+ (i32.add
+ (i32.mul
+ (get_local $8)
+ (i32.const 10)
)
+ (get_local $6)
)
- (i32.ge_u
- (tee_local $9
- (i32.add
- (i32.load8_s
- (tee_local $10
- (i32.add
- (get_local $10)
- (i32.const 1)
- )
+ )
+ (i32.ge_u
+ (tee_local $9
+ (i32.add
+ (i32.load8_s
+ (tee_local $10
+ (i32.add
+ (get_local $10)
+ (i32.const 1)
)
)
- (i32.const -48)
)
+ (i32.const -48)
)
- (i32.const 10)
)
+ (i32.const 10)
)
)
- (set_local $8
- (get_local $6)
- )
- (set_local $6
- (get_local $9)
- )
- (br $while-in11)
)
+ (set_local $8
+ (get_local $6)
+ )
+ (set_local $6
+ (get_local $9)
+ )
+ (br $while-in11)
)
)
- (if
- (i32.lt_u
- (tee_local $8
- (i32.add
- (i32.load8_s
- (tee_local $6
- (i32.add
- (get_local $10)
- (i32.const 2)
- )
+ )
+ (if
+ (i32.lt_u
+ (tee_local $8
+ (i32.add
+ (i32.load8_s
+ (tee_local $6
+ (i32.add
+ (get_local $10)
+ (i32.const 2)
)
)
- (i32.const -48)
)
+ (i32.const -48)
)
- (i32.const 10)
)
- (if
- (i32.eq
- (i32.load8_s offset=3
- (get_local $10)
- )
- (i32.const 36)
+ (i32.const 10)
+ )
+ (if
+ (i32.eq
+ (i32.load8_s offset=3
+ (get_local $10)
)
- (block
- (i32.store
- (i32.add
- (get_local $4)
- (i32.shl
- (get_local $8)
- (i32.const 2)
- )
+ (i32.const 36)
+ )
+ (block
+ (i32.store
+ (i32.add
+ (get_local $4)
+ (i32.shl
+ (get_local $8)
+ (i32.const 2)
)
- (i32.const 10)
)
- (drop
- (i32.load offset=4
- (tee_local $6
- (i32.add
- (get_local $3)
- (i32.shl
- (i32.add
- (i32.load8_s
- (get_local $6)
- )
- (i32.const -48)
+ (i32.const 10)
+ )
+ (drop
+ (i32.load offset=4
+ (tee_local $6
+ (i32.add
+ (get_local $3)
+ (i32.shl
+ (i32.add
+ (i32.load8_s
+ (get_local $6)
)
- (i32.const 3)
+ (i32.const -48)
)
+ (i32.const 3)
)
)
)
)
- (set_local $10
- (i32.add
- (get_local $10)
- (i32.const 4)
- )
+ )
+ (set_local $10
+ (i32.add
+ (get_local $10)
+ (i32.const 4)
)
- (br $label$break$L46
- (i32.load
- (get_local $6)
- )
+ )
+ (br $label$break$L46
+ (i32.load
+ (get_local $6)
)
)
)
)
- (if
- (get_local $1)
- (block
- (set_local $17
- (i32.const -1)
- )
- (br $label$break$L1)
+ )
+ (if
+ (get_local $1)
+ (block
+ (set_local $17
+ (i32.const -1)
)
+ (br $label$break$L1)
)
- (if (result i32)
- (get_local $28)
- (block (result i32)
- (set_local $8
- (i32.load
- (tee_local $10
- (i32.and
- (i32.add
- (i32.load
- (get_local $2)
- )
- (i32.const 3)
+ )
+ (if (result i32)
+ (get_local $28)
+ (block (result i32)
+ (set_local $8
+ (i32.load
+ (tee_local $10
+ (i32.and
+ (i32.add
+ (i32.load
+ (get_local $2)
)
- (i32.const -4)
+ (i32.const 3)
)
+ (i32.const -4)
)
)
)
- (i32.store
- (get_local $2)
- (i32.add
- (get_local $10)
- (i32.const 4)
- )
- )
- (set_local $10
- (get_local $6)
- )
- (get_local $8)
)
- (block (result i32)
- (set_local $10
- (get_local $6)
+ (i32.store
+ (get_local $2)
+ (i32.add
+ (get_local $10)
+ (i32.const 4)
)
- (i32.const 0)
)
+ (set_local $10
+ (get_local $6)
+ )
+ (get_local $8)
+ )
+ (block (result i32)
+ (set_local $10
+ (get_local $6)
+ )
+ (i32.const 0)
)
)
- (i32.const -1)
)
+ (i32.const -1)
)
)
(set_local $8
@@ -3920,2250 +3912,2178 @@
)
)
(set_local $7
- (block $do-once49 (result i32)
- (if (result i32)
- (i32.lt_u
- (i32.and
- (i32.load offset=4
- (get_global $tempDoublePtr)
- )
- (i32.const 2146435072)
+ (if (result i32)
+ (i32.lt_u
+ (i32.and
+ (i32.load offset=4
+ (get_global $tempDoublePtr)
)
(i32.const 2146435072)
)
- (block (result i32)
- (if
- (tee_local $5
- (f64.ne
- (tee_local $23
- (f64.mul
- (call $_frexp
- (get_local $15)
- (get_local $21)
- )
- (f64.const 2)
+ (i32.const 2146435072)
+ )
+ (block $do-once49 (result i32)
+ (if
+ (tee_local $5
+ (f64.ne
+ (tee_local $23
+ (f64.mul
+ (call $_frexp
+ (get_local $15)
+ (get_local $21)
)
+ (f64.const 2)
)
- (f64.const 0)
)
+ (f64.const 0)
)
- (i32.store
- (get_local $21)
- (i32.add
- (i32.load
- (get_local $21)
- )
- (i32.const -1)
+ )
+ (i32.store
+ (get_local $21)
+ (i32.add
+ (i32.load
+ (get_local $21)
)
+ (i32.const -1)
)
)
- (if
- (i32.eq
- (tee_local $24
- (i32.or
- (get_local $19)
- (i32.const 32)
- )
+ )
+ (if
+ (i32.eq
+ (tee_local $24
+ (i32.or
+ (get_local $19)
+ (i32.const 32)
)
- (i32.const 97)
)
- (block
- (set_local $9
- (select
- (i32.add
- (get_local $30)
- (i32.const 9)
- )
+ (i32.const 97)
+ )
+ (block
+ (set_local $9
+ (select
+ (i32.add
(get_local $30)
- (tee_local $13
- (i32.and
- (get_local $19)
- (i32.const 32)
- )
+ (i32.const 9)
+ )
+ (get_local $30)
+ (tee_local $13
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
)
)
)
- (set_local $15
- (if (result f64)
- (i32.or
- (i32.gt_u
- (get_local $6)
- (i32.const 11)
- )
- (i32.eqz
- (tee_local $5
- (i32.sub
- (i32.const 12)
- (get_local $6)
- )
+ )
+ (set_local $15
+ (if (result f64)
+ (i32.or
+ (i32.gt_u
+ (get_local $6)
+ (i32.const 11)
+ )
+ (i32.eqz
+ (tee_local $5
+ (i32.sub
+ (i32.const 12)
+ (get_local $6)
)
)
)
- (get_local $23)
- (block (result f64)
+ )
+ (get_local $23)
+ (block (result f64)
+ (set_local $15
+ (f64.const 8)
+ )
+ (loop $while-in54
(set_local $15
- (f64.const 8)
- )
- (loop $while-in54
- (set_local $15
- (f64.mul
- (get_local $15)
- (f64.const 16)
- )
+ (f64.mul
+ (get_local $15)
+ (f64.const 16)
)
- (br_if $while-in54
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -1)
- )
+ )
+ (br_if $while-in54
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
)
)
)
- (if (result f64)
- (i32.eq
- (i32.load8_s
- (get_local $9)
- )
- (i32.const 45)
+ )
+ (if (result f64)
+ (i32.eq
+ (i32.load8_s
+ (get_local $9)
)
- (f64.neg
- (f64.add
- (get_local $15)
- (f64.sub
- (f64.neg
- (get_local $23)
- )
- (get_local $15)
+ (i32.const 45)
+ )
+ (f64.neg
+ (f64.add
+ (get_local $15)
+ (f64.sub
+ (f64.neg
+ (get_local $23)
)
- )
- )
- (f64.sub
- (f64.add
- (get_local $23)
(get_local $15)
)
+ )
+ )
+ (f64.sub
+ (f64.add
+ (get_local $23)
(get_local $15)
)
+ (get_local $15)
)
)
)
)
- (if
- (i32.eq
- (tee_local $5
- (call $_fmt_u
- (tee_local $5
- (select
- (i32.sub
- (i32.const 0)
- (tee_local $7
- (i32.load
- (get_local $21)
- )
+ )
+ (if
+ (i32.eq
+ (tee_local $5
+ (call $_fmt_u
+ (tee_local $5
+ (select
+ (i32.sub
+ (i32.const 0)
+ (tee_local $7
+ (i32.load
+ (get_local $21)
)
)
+ )
+ (get_local $7)
+ (i32.lt_s
(get_local $7)
- (i32.lt_s
- (get_local $7)
- (i32.const 0)
- )
+ (i32.const 0)
)
)
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
- )
- (i32.const 31)
+ )
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
)
(i32.const 31)
)
- (get_local $26)
+ (i32.const 31)
)
+ (get_local $26)
)
- (get_local $26)
)
- (block
- (i32.store8
- (get_local $42)
- (i32.const 48)
- )
- (set_local $5
- (get_local $42)
- )
+ (get_local $26)
+ )
+ (block
+ (i32.store8
+ (get_local $42)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $42)
)
)
- (set_local $11
- (i32.or
- (get_local $27)
+ )
+ (set_local $11
+ (i32.or
+ (get_local $27)
+ (i32.const 2)
+ )
+ )
+ (i32.store8
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
+ (i32.add
+ (i32.and
+ (i32.shr_s
+ (get_local $7)
+ (i32.const 31)
+ )
(i32.const 2)
)
+ (i32.const 43)
)
- (i32.store8
+ )
+ (i32.store8
+ (tee_local $8
(i32.add
(get_local $5)
- (i32.const -1)
- )
- (i32.add
- (i32.and
- (i32.shr_s
- (get_local $7)
- (i32.const 31)
- )
- (i32.const 2)
- )
- (i32.const 43)
+ (i32.const -2)
)
)
- (i32.store8
- (tee_local $8
- (i32.add
- (get_local $5)
- (i32.const -2)
- )
- )
- (i32.add
- (get_local $19)
- (i32.const 15)
- )
+ (i32.add
+ (get_local $19)
+ (i32.const 15)
)
- (set_local $19
- (i32.lt_s
- (get_local $6)
- (i32.const 1)
- )
+ )
+ (set_local $19
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 1)
)
- (set_local $18
- (i32.eqz
- (i32.and
- (get_local $12)
- (i32.const 8)
- )
+ )
+ (set_local $18
+ (i32.eqz
+ (i32.and
+ (get_local $12)
+ (i32.const 8)
)
)
- (set_local $5
- (get_local $22)
- )
- (loop $while-in56
- (i32.store8
- (get_local $5)
- (i32.or
- (i32.load8_u
- (i32.add
- (tee_local $7
+ )
+ (set_local $5
+ (get_local $22)
+ )
+ (loop $while-in56
+ (i32.store8
+ (get_local $5)
+ (i32.or
+ (i32.load8_u
+ (i32.add
+ (tee_local $7
+ (if (result i32)
+ (f64.ne
+ (get_local $15)
+ (get_local $15)
+ )
+ (i32.const -2147483648)
(if (result i32)
- (f64.ne
- (get_local $15)
+ (f64.ge
(get_local $15)
+ (f64.const 2147483648)
)
(i32.const -2147483648)
(if (result i32)
- (f64.ge
+ (f64.le
(get_local $15)
- (f64.const 2147483648)
+ (f64.const -2147483649)
)
(i32.const -2147483648)
- (if (result i32)
- (f64.le
- (get_local $15)
- (f64.const -2147483649)
- )
- (i32.const -2147483648)
- (i32.trunc_s/f64
- (get_local $15)
- )
+ (i32.trunc_s/f64
+ (get_local $15)
)
)
)
)
- (i32.const 4075)
)
+ (i32.const 4075)
)
- (get_local $13)
)
+ (get_local $13)
)
- (set_local $15
- (f64.mul
- (f64.sub
- (get_local $15)
- (f64.convert_s/i32
- (get_local $7)
- )
+ )
+ (set_local $15
+ (f64.mul
+ (f64.sub
+ (get_local $15)
+ (f64.convert_s/i32
+ (get_local $7)
)
- (f64.const 16)
)
+ (f64.const 16)
)
- (set_local $5
- (block $do-once57 (result i32)
- (if (result i32)
- (i32.eq
- (i32.sub
- (tee_local $7
- (i32.add
- (get_local $5)
- (i32.const 1)
- )
- )
- (get_local $36)
- )
- (i32.const 1)
- )
- (block (result i32)
- (drop
- (br_if $do-once57
- (get_local $7)
- (i32.and
- (get_local $18)
- (i32.and
- (get_local $19)
- (f64.eq
- (get_local $15)
- (f64.const 0)
- )
- )
- )
- )
- )
- (i32.store8
- (get_local $7)
- (i32.const 46)
- )
+ )
+ (set_local $5
+ (if (result i32)
+ (i32.eq
+ (i32.sub
+ (tee_local $7
(i32.add
(get_local $5)
- (i32.const 2)
+ (i32.const 1)
)
)
- (get_local $7)
+ (get_local $36)
)
+ (i32.const 1)
)
- )
- (br_if $while-in56
- (f64.ne
- (get_local $15)
- (f64.const 0)
+ (if (result i32)
+ (i32.and
+ (get_local $18)
+ (i32.and
+ (get_local $19)
+ (f64.eq
+ (get_local $15)
+ (f64.const 0)
+ )
+ )
+ )
+ (get_local $7)
+ (block (result i32)
+ (i32.store8
+ (get_local $7)
+ (i32.const 46)
+ )
+ (i32.add
+ (get_local $5)
+ (i32.const 2)
+ )
+ )
)
+ (get_local $7)
)
)
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $16)
- (tee_local $7
- (i32.add
- (tee_local $6
- (select
+ (br_if $while-in56
+ (f64.ne
+ (get_local $15)
+ (f64.const 0)
+ )
+ )
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $16)
+ (tee_local $7
+ (i32.add
+ (tee_local $6
+ (select
+ (i32.sub
+ (i32.add
+ (get_local $47)
+ (get_local $6)
+ )
+ (get_local $8)
+ )
+ (i32.add
(i32.sub
- (i32.add
- (get_local $47)
- (get_local $6)
- )
+ (get_local $45)
(get_local $8)
)
- (i32.add
- (i32.sub
- (get_local $45)
- (get_local $8)
- )
- (get_local $5)
+ (get_local $5)
+ )
+ (i32.and
+ (i32.ne
+ (get_local $6)
+ (i32.const 0)
)
- (i32.and
- (i32.ne
- (get_local $6)
- (i32.const 0)
- )
- (i32.lt_s
- (i32.add
- (get_local $46)
- (get_local $5)
- )
- (get_local $6)
+ (i32.lt_s
+ (i32.add
+ (get_local $46)
+ (get_local $5)
)
+ (get_local $6)
)
)
)
- (get_local $11)
)
+ (get_local $11)
)
- (get_local $12)
)
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (get_local $9)
- (get_local $11)
+ (get_local $12)
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
(get_local $0)
)
+ (i32.const 32)
)
)
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (get_local $16)
- (get_local $7)
- (i32.xor
- (get_local $12)
- (i32.const 65536)
+ (drop
+ (call $___fwritex
+ (get_local $9)
+ (get_local $11)
+ (get_local $0)
)
)
- (set_local $5
- (i32.sub
- (get_local $5)
- (get_local $36)
- )
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (get_local $16)
+ (get_local $7)
+ (i32.xor
+ (get_local $12)
+ (i32.const 65536)
)
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (get_local $22)
- (get_local $5)
+ )
+ (set_local $5
+ (i32.sub
+ (get_local $5)
+ (get_local $36)
+ )
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
(get_local $0)
)
+ (i32.const 32)
)
)
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.sub
- (get_local $6)
- (i32.add
- (get_local $5)
- (tee_local $5
- (i32.sub
- (get_local $26)
- (get_local $8)
- )
- )
- )
+ (drop
+ (call $___fwritex
+ (get_local $22)
+ (get_local $5)
+ (get_local $0)
)
- (i32.const 0)
- (i32.const 0)
)
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (i32.sub
+ (get_local $6)
+ (i32.add
+ (get_local $5)
+ (tee_local $5
+ (i32.sub
+ (get_local $26)
+ (get_local $8)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $8)
- (get_local $5)
+ )
+ (i32.const 0)
+ (i32.const 0)
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
(get_local $0)
)
+ (i32.const 32)
)
)
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $16)
- (get_local $7)
- (i32.xor
- (get_local $12)
- (i32.const 8192)
+ (drop
+ (call $___fwritex
+ (get_local $8)
+ (get_local $5)
+ (get_local $0)
)
)
- (br $do-once49
- (select
- (get_local $16)
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $16)
+ (get_local $7)
+ (i32.xor
+ (get_local $12)
+ (i32.const 8192)
+ )
+ )
+ (br $do-once49
+ (select
+ (get_local $16)
+ (get_local $7)
+ (i32.lt_s
(get_local $7)
- (i32.lt_s
- (get_local $7)
- (get_local $16)
- )
+ (get_local $16)
)
)
)
)
- (set_local $15
- (if (result f64)
- (get_local $5)
- (block (result f64)
- (i32.store
- (get_local $21)
- (tee_local $5
- (i32.add
- (i32.load
- (get_local $21)
- )
- (i32.const -28)
+ )
+ (set_local $15
+ (if (result f64)
+ (get_local $5)
+ (block (result f64)
+ (i32.store
+ (get_local $21)
+ (tee_local $5
+ (i32.add
+ (i32.load
+ (get_local $21)
)
+ (i32.const -28)
)
)
- (f64.mul
- (get_local $23)
- (f64.const 268435456)
- )
)
- (block (result f64)
- (set_local $5
- (i32.load
- (get_local $21)
- )
- )
+ (f64.mul
(get_local $23)
+ (f64.const 268435456)
)
)
- )
- (set_local $7
- (tee_local $8
- (select
- (get_local $48)
- (get_local $49)
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (block (result f64)
+ (set_local $5
+ (i32.load
+ (get_local $21)
)
)
+ (get_local $23)
)
)
- (loop $while-in60
- (i32.store
- (get_local $7)
- (tee_local $5
+ )
+ (set_local $7
+ (tee_local $8
+ (select
+ (get_local $48)
+ (get_local $49)
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ )
+ )
+ )
+ (loop $while-in60
+ (i32.store
+ (get_local $7)
+ (tee_local $5
+ (if (result i32)
+ (f64.ne
+ (get_local $15)
+ (get_local $15)
+ )
+ (i32.const -2147483648)
(if (result i32)
- (f64.ne
- (get_local $15)
+ (f64.ge
(get_local $15)
+ (f64.const 2147483648)
)
(i32.const -2147483648)
(if (result i32)
- (f64.ge
+ (f64.le
(get_local $15)
- (f64.const 2147483648)
+ (f64.const -2147483649)
)
(i32.const -2147483648)
- (if (result i32)
- (f64.le
- (get_local $15)
- (f64.const -2147483649)
- )
- (i32.const -2147483648)
- (i32.trunc_s/f64
- (get_local $15)
- )
+ (i32.trunc_s/f64
+ (get_local $15)
)
)
)
)
)
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
+ )
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
)
- (br_if $while-in60
- (f64.ne
- (tee_local $15
- (f64.mul
- (f64.sub
- (get_local $15)
- (f64.convert_u/i32
- (get_local $5)
- )
+ )
+ (br_if $while-in60
+ (f64.ne
+ (tee_local $15
+ (f64.mul
+ (f64.sub
+ (get_local $15)
+ (f64.convert_u/i32
+ (get_local $5)
)
- (f64.const 1e9)
)
+ (f64.const 1e9)
)
- (f64.const 0)
)
+ (f64.const 0)
)
)
- (if
- (i32.gt_s
- (tee_local $9
- (i32.load
- (get_local $21)
- )
+ )
+ (if
+ (i32.gt_s
+ (tee_local $9
+ (i32.load
+ (get_local $21)
)
- (i32.const 0)
)
- (block
- (set_local $5
- (get_local $8)
- )
- (loop $while-in62
- (set_local $13
- (select
- (i32.const 29)
+ (i32.const 0)
+ )
+ (block
+ (set_local $5
+ (get_local $8)
+ )
+ (loop $while-in62
+ (set_local $13
+ (select
+ (i32.const 29)
+ (get_local $9)
+ (i32.gt_s
(get_local $9)
- (i32.gt_s
- (get_local $9)
- (i32.const 29)
+ (i32.const 29)
+ )
+ )
+ )
+ (if
+ (i32.ge_u
+ (tee_local $9
+ (i32.add
+ (get_local $7)
+ (i32.const -4)
)
)
+ (get_local $5)
)
(block $do-once63
- (if
- (i32.ge_u
- (tee_local $9
- (i32.add
- (get_local $7)
- (i32.const -4)
- )
- )
- (get_local $5)
- )
- (block
- (set_local $11
- (i32.const 0)
- )
- (loop $while-in66
- (i32.store
- (get_local $9)
- (call $___uremdi3
- (block (result i32)
- (set_local $20
- (call $_bitshift64Shl
- (i32.load
- (get_local $9)
- )
- (i32.const 0)
- (get_local $13)
- )
+ (set_local $11
+ (i32.const 0)
+ )
+ (loop $while-in66
+ (i32.store
+ (get_local $9)
+ (call $___uremdi3
+ (block (result i32)
+ (set_local $20
+ (call $_bitshift64Shl
+ (i32.load
+ (get_local $9)
)
- (set_global $tempRet0
- (i32.add
- (get_global $tempRet0)
- (i32.lt_u
- (tee_local $11
- (i32.add
- (get_local $20)
- (get_local $11)
- )
- )
+ (i32.const 0)
+ (get_local $13)
+ )
+ )
+ (set_global $tempRet0
+ (i32.add
+ (get_global $tempRet0)
+ (i32.lt_u
+ (tee_local $11
+ (i32.add
(get_local $20)
+ (get_local $11)
)
)
+ (get_local $20)
)
- (get_local $11)
)
- (tee_local $18
- (get_global $tempRet0)
- )
- (i32.const 1000000000)
- (i32.const 0)
)
+ (get_local $11)
)
- (set_local $11
- (call $___udivdi3
- (get_local $11)
- (get_local $18)
- (i32.const 1000000000)
- (i32.const 0)
- )
- )
- (br_if $while-in66
- (i32.ge_u
- (tee_local $9
- (i32.add
- (get_local $9)
- (i32.const -4)
- )
- )
- (get_local $5)
- )
+ (tee_local $18
+ (get_global $tempRet0)
)
+ (i32.const 1000000000)
+ (i32.const 0)
)
- (br_if $do-once63
- (i32.eqz
- (get_local $11)
- )
+ )
+ (set_local $11
+ (call $___udivdi3
+ (get_local $11)
+ (get_local $18)
+ (i32.const 1000000000)
+ (i32.const 0)
)
- (i32.store
- (tee_local $5
+ )
+ (br_if $while-in66
+ (i32.ge_u
+ (tee_local $9
(i32.add
- (get_local $5)
+ (get_local $9)
(i32.const -4)
)
)
- (get_local $11)
+ (get_local $5)
)
)
)
+ (br_if $do-once63
+ (i32.eqz
+ (get_local $11)
+ )
+ )
+ (i32.store
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
+ )
+ )
+ (get_local $11)
+ )
)
- (loop $while-in68
+ )
+ (loop $while-in68
+ (if
+ (i32.gt_u
+ (get_local $7)
+ (get_local $5)
+ )
(if
- (i32.gt_u
- (get_local $7)
- (get_local $5)
- )
- (if
- (i32.eqz
- (i32.load
- (tee_local $9
- (i32.add
- (get_local $7)
- (i32.const -4)
- )
+ (i32.eqz
+ (i32.load
+ (tee_local $9
+ (i32.add
+ (get_local $7)
+ (i32.const -4)
)
)
)
- (block
- (set_local $7
- (get_local $9)
- )
- (br $while-in68)
+ )
+ (block
+ (set_local $7
+ (get_local $9)
)
+ (br $while-in68)
)
)
)
- (i32.store
- (get_local $21)
- (tee_local $9
- (i32.sub
- (i32.load
- (get_local $21)
- )
- (get_local $13)
+ )
+ (i32.store
+ (get_local $21)
+ (tee_local $9
+ (i32.sub
+ (i32.load
+ (get_local $21)
)
+ (get_local $13)
)
)
- (br_if $while-in62
- (i32.gt_s
- (get_local $9)
- (i32.const 0)
- )
+ )
+ (br_if $while-in62
+ (i32.gt_s
+ (get_local $9)
+ (i32.const 0)
)
)
)
- (set_local $5
- (get_local $8)
- )
)
- (set_local $18
- (select
- (i32.const 6)
- (get_local $6)
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
- )
- )
+ (set_local $5
+ (get_local $8)
)
- (if
+ )
+ (set_local $18
+ (select
+ (i32.const 6)
+ (get_local $6)
(i32.lt_s
- (get_local $9)
+ (get_local $6)
(i32.const 0)
)
- (block
- (set_local $20
- (i32.add
- (i32.div_s
- (tee_local $6
- (i32.add
- (get_local $18)
- (i32.const 25)
- )
+ )
+ )
+ (if
+ (i32.lt_s
+ (get_local $9)
+ (i32.const 0)
+ )
+ (block
+ (set_local $20
+ (i32.add
+ (i32.div_s
+ (tee_local $6
+ (i32.add
+ (get_local $18)
+ (i32.const 25)
)
- (i32.const 9)
)
- (i32.const 1)
- )
- )
- (set_local $31
- (i32.eq
- (get_local $24)
- (i32.const 102)
+ (i32.const 9)
)
+ (i32.const 1)
)
- (set_local $6
- (get_local $5)
- )
- (set_local $5
- (get_local $7)
+ )
+ (set_local $31
+ (i32.eq
+ (get_local $24)
+ (i32.const 102)
)
- (loop $while-in70
- (set_local $13
- (select
- (i32.const 9)
- (tee_local $7
- (i32.sub
- (i32.const 0)
- (get_local $9)
- )
- )
- (i32.gt_s
- (get_local $7)
- (i32.const 9)
+ )
+ (set_local $6
+ (get_local $5)
+ )
+ (set_local $5
+ (get_local $7)
+ )
+ (loop $while-in70
+ (set_local $13
+ (select
+ (i32.const 9)
+ (tee_local $7
+ (i32.sub
+ (i32.const 0)
+ (get_local $9)
)
)
+ (i32.gt_s
+ (get_local $7)
+ (i32.const 9)
+ )
+ )
+ )
+ (if
+ (i32.lt_u
+ (get_local $6)
+ (get_local $5)
)
(block $do-once71
- (if
- (i32.lt_u
- (get_local $6)
- (get_local $5)
- )
- (block
- (set_local $11
- (i32.add
- (i32.shl
- (i32.const 1)
- (get_local $13)
- )
- (i32.const -1)
- )
+ (set_local $11
+ (i32.add
+ (i32.shl
+ (i32.const 1)
+ (get_local $13)
)
- (set_local $37
+ (i32.const -1)
+ )
+ )
+ (set_local $37
+ (i32.shr_u
+ (i32.const 1000000000)
+ (get_local $13)
+ )
+ )
+ (set_local $9
+ (i32.const 0)
+ )
+ (set_local $7
+ (get_local $6)
+ )
+ (loop $while-in74
+ (i32.store
+ (get_local $7)
+ (i32.add
(i32.shr_u
- (i32.const 1000000000)
- (get_local $13)
- )
- )
- (set_local $9
- (i32.const 0)
- )
- (set_local $7
- (get_local $6)
- )
- (loop $while-in74
- (i32.store
- (get_local $7)
- (i32.add
- (i32.shr_u
- (tee_local $32
- (i32.load
- (get_local $7)
- )
- )
- (get_local $13)
- )
- (get_local $9)
- )
- )
- (set_local $9
- (i32.mul
- (i32.and
- (get_local $32)
- (get_local $11)
+ (tee_local $32
+ (i32.load
+ (get_local $7)
)
- (get_local $37)
)
+ (get_local $13)
)
- (br_if $while-in74
- (i32.lt_u
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
- )
- (get_local $5)
- )
+ (get_local $9)
+ )
+ )
+ (set_local $9
+ (i32.mul
+ (i32.and
+ (get_local $32)
+ (get_local $11)
)
+ (get_local $37)
)
- (set_local $7
- (select
- (get_local $6)
+ )
+ (br_if $while-in74
+ (i32.lt_u
+ (tee_local $7
(i32.add
- (get_local $6)
+ (get_local $7)
(i32.const 4)
)
- (i32.load
- (get_local $6)
- )
)
- )
- (br_if $do-once71
- (i32.eqz
- (get_local $9)
- )
- )
- (i32.store
(get_local $5)
- (get_local $9)
- )
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 4)
- )
)
)
- (set_local $7
- (select
+ )
+ (set_local $7
+ (select
+ (get_local $6)
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ (i32.load
(get_local $6)
- (i32.add
- (get_local $6)
- (i32.const 4)
- )
- (i32.load
- (get_local $6)
- )
)
)
)
- )
- (set_local $11
- (select
- (i32.add
- (tee_local $6
- (select
- (get_local $8)
- (get_local $7)
- (get_local $31)
- )
- )
- (i32.shl
- (get_local $20)
- (i32.const 2)
- )
+ (br_if $do-once71
+ (i32.eqz
+ (get_local $9)
)
+ )
+ (i32.store
(get_local $5)
- (i32.gt_s
- (i32.shr_s
- (i32.sub
- (get_local $5)
- (get_local $6)
- )
- (i32.const 2)
- )
- (get_local $20)
+ (get_local $9)
+ )
+ (set_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 4)
)
)
)
- (i32.store
- (get_local $21)
- (tee_local $9
+ (set_local $7
+ (select
+ (get_local $6)
(i32.add
- (i32.load
- (get_local $21)
- )
- (get_local $13)
+ (get_local $6)
+ (i32.const 4)
+ )
+ (i32.load
+ (get_local $6)
)
)
)
- (set_local $5
- (if (result i32)
- (i32.lt_s
- (get_local $9)
- (i32.const 0)
- )
- (block
- (set_local $6
+ )
+ (set_local $11
+ (select
+ (i32.add
+ (tee_local $6
+ (select
+ (get_local $8)
(get_local $7)
+ (get_local $31)
)
- (set_local $5
- (get_local $11)
- )
- (br $while-in70)
)
- (block (result i32)
- (set_local $9
- (get_local $11)
- )
- (get_local $7)
+ (i32.shl
+ (get_local $20)
+ (i32.const 2)
)
)
- )
- )
- )
- (set_local $9
- (get_local $7)
- )
- )
- (set_local $20
- (get_local $8)
- )
- (block $do-once75
- (if
- (i32.lt_u
- (get_local $5)
- (get_local $9)
- )
- (block
- (set_local $7
- (i32.mul
+ (get_local $5)
+ (i32.gt_s
(i32.shr_s
(i32.sub
- (get_local $20)
(get_local $5)
+ (get_local $6)
)
(i32.const 2)
)
- (i32.const 9)
+ (get_local $20)
)
)
- (br_if $do-once75
- (i32.lt_u
- (tee_local $11
- (i32.load
- (get_local $5)
- )
+ )
+ (i32.store
+ (get_local $21)
+ (tee_local $9
+ (i32.add
+ (i32.load
+ (get_local $21)
)
- (i32.const 10)
+ (get_local $13)
)
)
- (set_local $6
- (i32.const 10)
- )
- (loop $while-in78
- (set_local $7
- (i32.add
+ )
+ (set_local $5
+ (if (result i32)
+ (i32.lt_s
+ (get_local $9)
+ (i32.const 0)
+ )
+ (block
+ (set_local $6
(get_local $7)
- (i32.const 1)
)
+ (set_local $5
+ (get_local $11)
+ )
+ (br $while-in70)
)
- (br_if $while-in78
- (i32.ge_u
+ (block (result i32)
+ (set_local $9
(get_local $11)
- (tee_local $6
- (i32.mul
- (get_local $6)
- (i32.const 10)
- )
- )
)
+ (get_local $7)
+ )
+ )
+ )
+ )
+ )
+ (set_local $9
+ (get_local $7)
+ )
+ )
+ (set_local $20
+ (get_local $8)
+ )
+ (if
+ (i32.lt_u
+ (get_local $5)
+ (get_local $9)
+ )
+ (block $do-once75
+ (set_local $7
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $20)
+ (get_local $5)
)
+ (i32.const 2)
)
+ (i32.const 9)
)
+ )
+ (br_if $do-once75
+ (i32.lt_u
+ (tee_local $11
+ (i32.load
+ (get_local $5)
+ )
+ )
+ (i32.const 10)
+ )
+ )
+ (set_local $6
+ (i32.const 10)
+ )
+ (loop $while-in78
(set_local $7
- (i32.const 0)
+ (i32.add
+ (get_local $7)
+ (i32.const 1)
+ )
+ )
+ (br_if $while-in78
+ (i32.ge_u
+ (get_local $11)
+ (tee_local $6
+ (i32.mul
+ (get_local $6)
+ (i32.const 10)
+ )
+ )
+ )
)
)
)
- (set_local $5
- (if (result i32)
- (i32.lt_s
- (tee_local $6
- (i32.add
- (i32.sub
- (get_local $18)
- (select
- (get_local $7)
- (i32.const 0)
- (i32.ne
- (get_local $24)
- (i32.const 102)
- )
+ (set_local $7
+ (i32.const 0)
+ )
+ )
+ (set_local $5
+ (if (result i32)
+ (i32.lt_s
+ (tee_local $6
+ (i32.add
+ (i32.sub
+ (get_local $18)
+ (select
+ (get_local $7)
+ (i32.const 0)
+ (i32.ne
+ (get_local $24)
+ (i32.const 102)
)
)
- (i32.shr_s
- (i32.shl
- (i32.and
- (tee_local $31
- (i32.ne
- (get_local $18)
- (i32.const 0)
- )
+ )
+ (i32.shr_s
+ (i32.shl
+ (i32.and
+ (tee_local $31
+ (i32.ne
+ (get_local $18)
+ (i32.const 0)
)
- (tee_local $37
- (i32.eq
- (get_local $24)
- (i32.const 103)
- )
+ )
+ (tee_local $37
+ (i32.eq
+ (get_local $24)
+ (i32.const 103)
)
)
- (i32.const 31)
)
(i32.const 31)
)
+ (i32.const 31)
)
)
- (i32.add
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $9)
- (get_local $20)
- )
- (i32.const 2)
+ )
+ (i32.add
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $9)
+ (get_local $20)
)
- (i32.const 9)
+ (i32.const 2)
)
- (i32.const -9)
+ (i32.const 9)
)
+ (i32.const -9)
)
- (block (result i32)
- (set_local $13
- (i32.div_s
- (tee_local $11
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 9216)
- )
+ )
+ (block (result i32)
+ (set_local $13
+ (i32.div_s
+ (tee_local $11
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 9216)
)
)
- (i32.const 9)
)
+ (i32.const 9)
)
- (if
- (i32.lt_s
- (tee_local $6
- (i32.add
- (i32.rem_s
- (get_local $6)
- (i32.const 9)
- )
- (i32.const 1)
+ )
+ (if
+ (i32.lt_s
+ (tee_local $6
+ (i32.add
+ (i32.rem_s
+ (get_local $6)
+ (i32.const 9)
)
+ (i32.const 1)
)
- (i32.const 9)
)
- (block
+ (i32.const 9)
+ )
+ (block
+ (set_local $11
+ (i32.const 10)
+ )
+ (loop $while-in80
(set_local $11
- (i32.const 10)
- )
- (loop $while-in80
- (set_local $11
- (i32.mul
- (get_local $11)
- (i32.const 10)
- )
+ (i32.mul
+ (get_local $11)
+ (i32.const 10)
)
- (br_if $while-in80
- (i32.ne
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 1)
- )
+ )
+ (br_if $while-in80
+ (i32.ne
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 1)
)
- (i32.const 9)
)
+ (i32.const 9)
)
)
)
- (set_local $11
- (i32.const 10)
- )
)
- (set_local $13
- (tee_local $24
- (i32.load
- (tee_local $6
+ (set_local $11
+ (i32.const 10)
+ )
+ )
+ (set_local $13
+ (tee_local $24
+ (i32.load
+ (tee_local $6
+ (i32.add
(i32.add
- (i32.add
- (get_local $8)
- (i32.shl
- (get_local $13)
- (i32.const 2)
- )
+ (get_local $8)
+ (i32.shl
+ (get_local $13)
+ (i32.const 2)
)
- (i32.const -4092)
)
+ (i32.const -4092)
)
)
)
)
- (set_local $13
- (if (result i32)
+ )
+ (set_local $13
+ (if (result i32)
+ (get_local $11)
+ (i32.rem_u
+ (get_local $13)
(get_local $11)
- (i32.rem_u
+ )
+ (i32.const 0)
+ )
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $32
+ (i32.eq
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ (get_local $9)
+ )
+ )
+ (i32.eqz
(get_local $13)
- (get_local $11)
)
- (i32.const 0)
)
)
(block $do-once81
- (if
- (i32.eqz
- (i32.and
- (tee_local $32
- (i32.eq
- (i32.add
- (get_local $6)
- (i32.const 4)
- )
- (get_local $9)
- )
- )
- (i32.eqz
- (get_local $13)
- )
+ (set_local $50
+ (if (result i32)
+ (get_local $11)
+ (i32.div_u
+ (get_local $24)
+ (get_local $11)
)
+ (i32.const 0)
)
- (block
- (set_local $50
- (if (result i32)
- (get_local $11)
- (i32.div_u
- (get_local $24)
+ )
+ (set_local $15
+ (if (result f64)
+ (i32.lt_u
+ (get_local $13)
+ (tee_local $38
+ (i32.div_s
(get_local $11)
+ (i32.const 2)
)
- (i32.const 0)
)
)
- (set_local $15
- (if (result f64)
- (i32.lt_u
+ (f64.const 0.5)
+ (select
+ (f64.const 1)
+ (f64.const 1.5)
+ (i32.and
+ (get_local $32)
+ (i32.eq
(get_local $13)
- (tee_local $38
- (i32.div_s
- (get_local $11)
- (i32.const 2)
- )
- )
- )
- (f64.const 0.5)
- (select
- (f64.const 1)
- (f64.const 1.5)
- (i32.and
- (get_local $32)
- (i32.eq
- (get_local $13)
- (get_local $38)
- )
- )
+ (get_local $38)
)
)
)
- (set_local $23
- (select
- (f64.const 9007199254740994)
- (f64.const 9007199254740992)
- (i32.and
- (get_local $50)
- (i32.const 1)
- )
+ )
+ )
+ (set_local $23
+ (select
+ (f64.const 9007199254740994)
+ (f64.const 9007199254740992)
+ (i32.and
+ (get_local $50)
+ (i32.const 1)
+ )
+ )
+ )
+ (if
+ (get_local $27)
+ (if
+ (i32.eq
+ (i32.load8_s
+ (get_local $30)
)
+ (i32.const 45)
)
- (block $do-once83
- (if
- (get_local $27)
- (block
- (br_if $do-once83
- (i32.ne
- (i32.load8_s
- (get_local $30)
- )
- (i32.const 45)
- )
- )
- (set_local $23
- (f64.neg
- (get_local $23)
- )
- )
- (set_local $15
- (f64.neg
- (get_local $15)
- )
- )
+ (block
+ (set_local $23
+ (f64.neg
+ (get_local $23)
)
)
+ (set_local $15
+ (f64.neg
+ (get_local $15)
+ )
+ )
+ )
+ )
+ )
+ (i32.store
+ (get_local $6)
+ (tee_local $13
+ (i32.sub
+ (get_local $24)
+ (get_local $13)
)
+ )
+ )
+ (br_if $do-once81
+ (f64.eq
+ (f64.add
+ (get_local $23)
+ (get_local $15)
+ )
+ (get_local $23)
+ )
+ )
+ (i32.store
+ (get_local $6)
+ (tee_local $7
+ (i32.add
+ (get_local $13)
+ (get_local $11)
+ )
+ )
+ )
+ (if
+ (i32.gt_u
+ (get_local $7)
+ (i32.const 999999999)
+ )
+ (loop $while-in86
(i32.store
(get_local $6)
- (tee_local $13
- (i32.sub
- (get_local $24)
- (get_local $13)
+ (i32.const 0)
+ )
+ (if
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -4)
+ )
)
+ (get_local $5)
)
- )
- (br_if $do-once81
- (f64.eq
- (f64.add
- (get_local $23)
- (get_local $15)
+ (i32.store
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
+ )
)
- (get_local $23)
+ (i32.const 0)
)
)
(i32.store
(get_local $6)
(tee_local $7
(i32.add
- (get_local $13)
- (get_local $11)
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 1)
)
)
)
- (if
+ (br_if $while-in86
(i32.gt_u
(get_local $7)
(i32.const 999999999)
)
- (loop $while-in86
- (i32.store
- (get_local $6)
- (i32.const 0)
- )
- (if
- (i32.lt_u
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -4)
- )
- )
- (get_local $5)
- )
- (i32.store
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -4)
- )
- )
- (i32.const 0)
- )
- )
- (i32.store
- (get_local $6)
- (tee_local $7
- (i32.add
- (i32.load
- (get_local $6)
- )
- (i32.const 1)
- )
- )
- )
- (br_if $while-in86
- (i32.gt_u
- (get_local $7)
- (i32.const 999999999)
- )
- )
- )
)
- (set_local $7
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $20)
- (get_local $5)
- )
- (i32.const 2)
- )
- (i32.const 9)
+ )
+ )
+ (set_local $7
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $20)
+ (get_local $5)
)
+ (i32.const 2)
)
- (br_if $do-once81
- (i32.lt_u
- (tee_local $13
- (i32.load
- (get_local $5)
- )
- )
- (i32.const 10)
+ (i32.const 9)
+ )
+ )
+ (br_if $do-once81
+ (i32.lt_u
+ (tee_local $13
+ (i32.load
+ (get_local $5)
)
)
- (set_local $11
- (i32.const 10)
+ (i32.const 10)
+ )
+ )
+ (set_local $11
+ (i32.const 10)
+ )
+ (loop $while-in88
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 1)
)
- (loop $while-in88
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 1)
- )
- )
- (br_if $while-in88
- (i32.ge_u
- (get_local $13)
- (tee_local $11
- (i32.mul
- (get_local $11)
- (i32.const 10)
- )
- )
+ )
+ (br_if $while-in88
+ (i32.ge_u
+ (get_local $13)
+ (tee_local $11
+ (i32.mul
+ (get_local $11)
+ (i32.const 10)
)
)
)
)
)
)
- (set_local $11
- (get_local $5)
- )
- (set_local $13
- (get_local $7)
- )
- (select
- (tee_local $5
- (i32.add
- (get_local $6)
- (i32.const 4)
- )
- )
- (get_local $9)
- (i32.gt_u
- (get_local $9)
- (get_local $5)
+ )
+ (set_local $11
+ (get_local $5)
+ )
+ (set_local $13
+ (get_local $7)
+ )
+ (select
+ (tee_local $5
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
)
)
- )
- (block (result i32)
- (set_local $11
+ (get_local $9)
+ (i32.gt_u
+ (get_local $9)
(get_local $5)
)
- (set_local $13
- (get_local $7)
- )
- (get_local $9)
)
)
- )
- (set_local $32
- (i32.sub
- (i32.const 0)
- (get_local $13)
+ (block (result i32)
+ (set_local $11
+ (get_local $5)
+ )
+ (set_local $13
+ (get_local $7)
+ )
+ (get_local $9)
)
)
- (set_local $9
- (loop $while-in90 (result i32)
- (block $while-out89 (result i32)
- (if
- (i32.le_u
+ )
+ (set_local $32
+ (i32.sub
+ (i32.const 0)
+ (get_local $13)
+ )
+ )
+ (set_local $9
+ (loop $while-in90 (result i32)
+ (block $while-out89 (result i32)
+ (if
+ (i32.le_u
+ (get_local $5)
+ (get_local $11)
+ )
+ (block
+ (set_local $24
+ (i32.const 0)
+ )
+ (br $while-out89
(get_local $5)
- (get_local $11)
)
- (block
- (set_local $24
- (i32.const 0)
- )
- (br $while-out89
+ )
+ )
+ (if (result i32)
+ (i32.load
+ (tee_local $7
+ (i32.add
(get_local $5)
+ (i32.const -4)
)
)
)
- (if (result i32)
- (i32.load
- (tee_local $7
- (i32.add
- (get_local $5)
- (i32.const -4)
- )
- )
- )
- (block (result i32)
- (set_local $24
- (i32.const 1)
- )
- (get_local $5)
+ (block (result i32)
+ (set_local $24
+ (i32.const 1)
)
- (block
- (set_local $5
- (get_local $7)
- )
- (br $while-in90)
+ (get_local $5)
+ )
+ (block
+ (set_local $5
+ (get_local $7)
)
+ (br $while-in90)
)
)
)
)
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $16)
- (tee_local $13
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $16)
+ (tee_local $13
+ (i32.add
(i32.add
(i32.add
(i32.add
- (i32.add
- (get_local $27)
- (i32.const 1)
- )
- (tee_local $5
+ (get_local $27)
+ (i32.const 1)
+ )
+ (tee_local $5
+ (if (result i32)
+ (get_local $37)
(block $do-once91 (result i32)
- (if (result i32)
- (get_local $37)
- (block (result i32)
- (set_local $7
- (if (result i32)
- (i32.and
- (i32.gt_s
- (tee_local $5
- (i32.add
- (i32.xor
- (get_local $31)
- (i32.const 1)
- )
- (get_local $18)
- )
+ (set_local $7
+ (if (result i32)
+ (i32.and
+ (i32.gt_s
+ (tee_local $5
+ (i32.add
+ (i32.xor
+ (get_local $31)
+ (i32.const 1)
)
- (get_local $13)
- )
- (i32.gt_s
- (get_local $13)
- (i32.const -5)
+ (get_local $18)
)
)
- (block (result i32)
- (set_local $18
- (i32.sub
- (i32.add
- (get_local $5)
- (i32.const -1)
- )
- (get_local $13)
- )
- )
+ (get_local $13)
+ )
+ (i32.gt_s
+ (get_local $13)
+ (i32.const -5)
+ )
+ )
+ (block (result i32)
+ (set_local $18
+ (i32.sub
(i32.add
- (get_local $19)
+ (get_local $5)
(i32.const -1)
)
+ (get_local $13)
)
- (block (result i32)
- (set_local $18
- (i32.add
- (get_local $5)
- (i32.const -1)
- )
- )
- (i32.add
- (get_local $19)
- (i32.const -2)
- )
+ )
+ (i32.add
+ (get_local $19)
+ (i32.const -1)
+ )
+ )
+ (block (result i32)
+ (set_local $18
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
)
)
+ (i32.add
+ (get_local $19)
+ (i32.const -2)
+ )
+ )
+ )
+ )
+ (if
+ (tee_local $5
+ (i32.and
+ (get_local $12)
+ (i32.const 8)
)
+ )
+ (block
+ (set_local $20
+ (get_local $5)
+ )
+ (br $do-once91
+ (get_local $18)
+ )
+ )
+ )
+ (if
+ (get_local $24)
+ (block $do-once93
(if
- (tee_local $5
- (i32.and
- (get_local $12)
- (i32.const 8)
+ (i32.eqz
+ (tee_local $19
+ (i32.load
+ (i32.add
+ (get_local $9)
+ (i32.const -4)
+ )
+ )
)
)
(block
- (set_local $20
- (get_local $5)
- )
- (br $do-once91
- (get_local $18)
+ (set_local $5
+ (i32.const 9)
)
+ (br $do-once93)
)
)
- (block $do-once93
- (if
- (get_local $24)
+ (set_local $5
+ (if (result i32)
+ (i32.rem_u
+ (get_local $19)
+ (i32.const 10)
+ )
(block
- (if
- (i32.eqz
- (tee_local $19
- (i32.load
- (i32.add
- (get_local $9)
- (i32.const -4)
- )
- )
- )
- )
- (block
- (set_local $5
- (i32.const 9)
- )
- (br $do-once93)
- )
- )
(set_local $5
- (if (result i32)
- (i32.rem_u
- (get_local $19)
- (i32.const 10)
- )
- (block
- (set_local $5
- (i32.const 0)
- )
- (br $do-once93)
- )
- (block (result i32)
- (set_local $6
- (i32.const 10)
- )
- (i32.const 0)
- )
- )
- )
- (loop $while-in96
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 1)
- )
- )
- (br_if $while-in96
- (i32.eqz
- (if (result i32)
- (tee_local $38
- (tee_local $6
- (i32.mul
- (get_local $6)
- (i32.const 10)
- )
- )
- )
- (i32.rem_u
- (get_local $19)
- (get_local $38)
- )
- (i32.const 0)
- )
- )
- )
+ (i32.const 0)
)
+ (br $do-once93)
)
- (set_local $5
- (i32.const 9)
+ (block (result i32)
+ (set_local $6
+ (i32.const 10)
+ )
+ (i32.const 0)
)
)
)
- (set_local $6
- (i32.add
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $9)
- (get_local $20)
+ (loop $while-in96
+ (set_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
+ )
+ (br_if $while-in96
+ (i32.eqz
+ (if (result i32)
+ (tee_local $38
+ (tee_local $6
+ (i32.mul
+ (get_local $6)
+ (i32.const 10)
+ )
+ )
)
- (i32.const 2)
+ (i32.rem_u
+ (get_local $19)
+ (get_local $38)
+ )
+ (i32.const 0)
)
- (i32.const 9)
)
- (i32.const -9)
)
)
- (if (result i32)
- (i32.eq
- (i32.or
- (get_local $7)
- (i32.const 32)
+ )
+ (set_local $5
+ (i32.const 9)
+ )
+ )
+ (set_local $6
+ (i32.add
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $9)
+ (get_local $20)
)
- (i32.const 102)
+ (i32.const 2)
)
- (block (result i32)
- (set_local $20
- (i32.const 0)
- )
+ (i32.const 9)
+ )
+ (i32.const -9)
+ )
+ )
+ (if (result i32)
+ (i32.eq
+ (i32.or
+ (get_local $7)
+ (i32.const 32)
+ )
+ (i32.const 102)
+ )
+ (block (result i32)
+ (set_local $20
+ (i32.const 0)
+ )
+ (select
+ (get_local $18)
+ (tee_local $5
(select
- (get_local $18)
+ (i32.const 0)
(tee_local $5
- (select
- (i32.const 0)
- (tee_local $5
- (i32.sub
- (get_local $6)
- (get_local $5)
- )
- )
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
- )
+ (i32.sub
+ (get_local $6)
+ (get_local $5)
)
)
(i32.lt_s
- (get_local $18)
(get_local $5)
+ (i32.const 0)
)
)
)
- (block (result i32)
- (set_local $20
- (i32.const 0)
- )
+ (i32.lt_s
+ (get_local $18)
+ (get_local $5)
+ )
+ )
+ )
+ (block (result i32)
+ (set_local $20
+ (i32.const 0)
+ )
+ (select
+ (get_local $18)
+ (tee_local $5
(select
- (get_local $18)
+ (i32.const 0)
(tee_local $5
- (select
- (i32.const 0)
- (tee_local $5
- (i32.sub
- (i32.add
- (get_local $6)
- (get_local $13)
- )
- (get_local $5)
- )
- )
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (i32.sub
+ (i32.add
+ (get_local $6)
+ (get_local $13)
)
+ (get_local $5)
)
)
(i32.lt_s
- (get_local $18)
(get_local $5)
+ (i32.const 0)
)
)
)
- )
- )
- (block (result i32)
- (set_local $20
- (i32.and
- (get_local $12)
- (i32.const 8)
+ (i32.lt_s
+ (get_local $18)
+ (get_local $5)
)
)
- (set_local $7
- (get_local $19)
- )
- (get_local $18)
)
)
)
- )
- )
- (i32.ne
- (tee_local $31
- (i32.or
- (get_local $5)
- (get_local $20)
+ (block (result i32)
+ (set_local $20
+ (i32.and
+ (get_local $12)
+ (i32.const 8)
+ )
+ )
+ (set_local $7
+ (get_local $19)
+ )
+ (get_local $18)
)
)
- (i32.const 0)
)
)
- (if (result i32)
- (tee_local $18
- (i32.eq
- (i32.or
- (get_local $7)
- (i32.const 32)
- )
- (i32.const 102)
+ (i32.ne
+ (tee_local $31
+ (i32.or
+ (get_local $5)
+ (get_local $20)
)
)
- (block (result i32)
- (set_local $19
- (i32.const 0)
+ (i32.const 0)
+ )
+ )
+ (if (result i32)
+ (tee_local $18
+ (i32.eq
+ (i32.or
+ (get_local $7)
+ (i32.const 32)
)
- (select
+ (i32.const 102)
+ )
+ )
+ (block (result i32)
+ (set_local $19
+ (i32.const 0)
+ )
+ (select
+ (get_local $13)
+ (i32.const 0)
+ (i32.gt_s
(get_local $13)
(i32.const 0)
- (i32.gt_s
- (get_local $13)
- (i32.const 0)
- )
)
)
- (block (result i32)
- (if
- (i32.lt_s
- (i32.sub
- (get_local $26)
- (tee_local $6
- (call $_fmt_u
- (tee_local $6
- (select
- (get_local $32)
+ )
+ (block (result i32)
+ (if
+ (i32.lt_s
+ (i32.sub
+ (get_local $26)
+ (tee_local $6
+ (call $_fmt_u
+ (tee_local $6
+ (select
+ (get_local $32)
+ (get_local $13)
+ (i32.lt_s
(get_local $13)
- (i32.lt_s
- (get_local $13)
- (i32.const 0)
- )
+ (i32.const 0)
)
)
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
- )
- (i32.const 31)
+ )
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 0)
)
(i32.const 31)
)
- (get_local $26)
+ (i32.const 31)
)
+ (get_local $26)
)
)
- (i32.const 2)
)
- (loop $while-in98
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-in98
- (i32.lt_s
- (i32.sub
- (get_local $26)
- (get_local $6)
- )
- (i32.const 2)
+ (i32.const 2)
+ )
+ (loop $while-in98
+ (i32.store8
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
)
)
+ (i32.const 48)
)
- )
- (i32.store8
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
- (i32.add
- (i32.and
- (i32.shr_s
- (get_local $13)
- (i32.const 31)
+ (br_if $while-in98
+ (i32.lt_s
+ (i32.sub
+ (get_local $26)
+ (get_local $6)
)
(i32.const 2)
)
- (i32.const 43)
)
)
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -2)
+ )
+ (i32.store8
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
+ )
+ (i32.add
+ (i32.and
+ (i32.shr_s
+ (get_local $13)
+ (i32.const 31)
)
+ (i32.const 2)
)
- (get_local $7)
+ (i32.const 43)
)
- (i32.sub
- (get_local $26)
- (tee_local $19
+ )
+ (i32.store8
+ (tee_local $6
+ (i32.add
(get_local $6)
+ (i32.const -2)
)
)
+ (get_local $7)
+ )
+ (i32.sub
+ (get_local $26)
+ (tee_local $19
+ (get_local $6)
+ )
)
)
)
)
- (get_local $12)
)
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $27)
+ (get_local $12)
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
(get_local $0)
)
+ (i32.const 32)
)
)
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (get_local $16)
- (get_local $13)
- (i32.xor
- (get_local $12)
- (i32.const 65536)
+ (drop
+ (call $___fwritex
+ (get_local $30)
+ (get_local $27)
+ (get_local $0)
)
)
- (block $do-once99
- (if
- (get_local $18)
- (block
- (set_local $6
- (tee_local $11
- (select
- (get_local $8)
- (get_local $11)
- (i32.gt_u
- (get_local $11)
- (get_local $8)
- )
- )
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (get_local $16)
+ (get_local $13)
+ (i32.xor
+ (get_local $12)
+ (i32.const 65536)
+ )
+ )
+ (if
+ (get_local $18)
+ (block
+ (set_local $6
+ (tee_local $11
+ (select
+ (get_local $8)
+ (get_local $11)
+ (i32.gt_u
+ (get_local $11)
+ (get_local $8)
)
)
- (loop $while-in102
- (set_local $7
- (call $_fmt_u
- (i32.load
- (get_local $6)
+ )
+ )
+ (loop $while-in102
+ (set_local $7
+ (call $_fmt_u
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 0)
+ (get_local $29)
+ )
+ )
+ (block $do-once103
+ (if
+ (i32.eq
+ (get_local $6)
+ (get_local $11)
+ )
+ (block
+ (br_if $do-once103
+ (i32.ne
+ (get_local $7)
+ (get_local $29)
)
- (i32.const 0)
- (get_local $29)
+ )
+ (i32.store8
+ (get_local $33)
+ (i32.const 48)
+ )
+ (set_local $7
+ (get_local $33)
)
)
- (block $do-once103
- (if
- (i32.eq
- (get_local $6)
- (get_local $11)
+ (block
+ (br_if $do-once103
+ (i32.le_u
+ (get_local $7)
+ (get_local $22)
)
- (block
- (br_if $do-once103
- (i32.ne
+ )
+ (loop $while-in106
+ (i32.store8
+ (tee_local $7
+ (i32.add
(get_local $7)
- (get_local $29)
+ (i32.const -1)
)
)
- (i32.store8
- (get_local $33)
- (i32.const 48)
- )
- (set_local $7
- (get_local $33)
- )
+ (i32.const 48)
)
- (block
- (br_if $do-once103
- (i32.le_u
- (get_local $7)
- (get_local $22)
- )
- )
- (loop $while-in106
- (i32.store8
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-in106
- (i32.gt_u
- (get_local $7)
- (get_local $22)
- )
- )
+ (br_if $while-in106
+ (i32.gt_u
+ (get_local $7)
+ (get_local $22)
)
)
)
)
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
+ )
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
)
- (drop
- (call $___fwritex
- (get_local $7)
- (i32.sub
- (get_local $43)
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $7)
+ (i32.sub
+ (get_local $43)
+ (get_local $7)
+ )
+ (get_local $0)
+ )
+ )
+ )
+ (if
+ (i32.le_u
+ (tee_local $7
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ )
+ (get_local $8)
+ )
+ (block
+ (set_local $6
+ (get_local $7)
+ )
+ (br $while-in102)
+ )
+ )
+ )
+ (if
+ (get_local $31)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (i32.const 4143)
+ (i32.const 1)
+ (get_local $0)
+ )
+ )
+ )
+ )
+ (if
+ (i32.and
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ (i32.lt_u
+ (get_local $7)
+ (get_local $9)
+ )
+ )
+ (loop $while-in110
+ (if
+ (i32.gt_u
+ (tee_local $6
+ (call $_fmt_u
+ (i32.load
(get_local $7)
)
- (get_local $0)
+ (i32.const 0)
+ (get_local $29)
)
)
+ (get_local $22)
)
- (if
- (i32.le_u
- (tee_local $7
+ (loop $while-in112
+ (i32.store8
+ (tee_local $6
(i32.add
(get_local $6)
- (i32.const 4)
+ (i32.const -1)
)
)
- (get_local $8)
+ (i32.const 48)
)
- (block
- (set_local $6
- (get_local $7)
+ (br_if $while-in112
+ (i32.gt_u
+ (get_local $6)
+ (get_local $22)
)
- (br $while-in102)
)
)
)
- (block $do-once107
- (if
- (get_local $31)
- (block
- (br_if $do-once107
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
)
- (drop
- (call $___fwritex
- (i32.const 4143)
- (i32.const 1)
- (get_local $0)
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $6)
+ (select
+ (i32.const 9)
+ (get_local $5)
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 9)
)
)
+ (get_local $0)
)
)
)
- (if
- (i32.and
- (i32.gt_s
- (get_local $5)
- (i32.const 0)
- )
- (i32.lt_u
- (get_local $7)
- (get_local $9)
- )
+ (set_local $6
+ (i32.add
+ (get_local $5)
+ (i32.const -9)
)
- (loop $while-in110
- (if
- (i32.gt_u
- (tee_local $6
- (call $_fmt_u
- (i32.load
- (get_local $7)
- )
- (i32.const 0)
- (get_local $29)
- )
- )
- (get_local $22)
- )
- (loop $while-in112
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-in112
- (i32.gt_u
- (get_local $6)
- (get_local $22)
- )
- )
- )
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
+ )
+ (set_local $5
+ (if (result i32)
+ (i32.and
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 9)
)
- (drop
- (call $___fwritex
- (get_local $6)
- (select
- (i32.const 9)
- (get_local $5)
- (i32.gt_s
- (get_local $5)
- (i32.const 9)
- )
+ (i32.lt_u
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
)
- (get_local $0)
)
+ (get_local $9)
)
)
- (set_local $6
- (i32.add
- (get_local $5)
- (i32.const -9)
- )
- )
- (set_local $5
- (if (result i32)
- (i32.and
- (i32.gt_s
- (get_local $5)
- (i32.const 9)
- )
- (i32.lt_u
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
- )
- (get_local $9)
- )
- )
- (block
- (set_local $5
- (get_local $6)
- )
- (br $while-in110)
- )
+ (block
+ (set_local $5
(get_local $6)
)
+ (br $while-in110)
)
+ (get_local $6)
)
)
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.add
- (get_local $5)
- (i32.const 9)
- )
- (i32.const 9)
- (i32.const 0)
+ )
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (i32.add
+ (get_local $5)
+ (i32.const 9)
+ )
+ (i32.const 9)
+ (i32.const 0)
+ )
+ )
+ (block $do-once99
+ (set_local $9
+ (select
+ (get_local $9)
+ (i32.add
+ (get_local $11)
+ (i32.const 4)
)
+ (get_local $24)
+ )
+ )
+ (if
+ (i32.gt_s
+ (get_local $5)
+ (i32.const -1)
)
(block
- (set_local $9
- (select
- (get_local $9)
- (i32.add
- (get_local $11)
- (i32.const 4)
- )
- (get_local $24)
+ (set_local $18
+ (i32.eqz
+ (get_local $20)
)
)
- (if
- (i32.gt_s
- (get_local $5)
- (i32.const -1)
- )
- (block
- (set_local $18
- (i32.eqz
- (get_local $20)
- )
- )
- (set_local $6
- (get_local $11)
- )
- (set_local $7
- (get_local $5)
- )
- (loop $while-in114
- (if
- (i32.eq
- (tee_local $5
- (call $_fmt_u
- (i32.load
- (get_local $6)
- )
- (i32.const 0)
- (get_local $29)
- )
+ (set_local $6
+ (get_local $11)
+ )
+ (set_local $7
+ (get_local $5)
+ )
+ (loop $while-in114
+ (if
+ (i32.eq
+ (tee_local $5
+ (call $_fmt_u
+ (i32.load
+ (get_local $6)
)
+ (i32.const 0)
(get_local $29)
)
- (block
- (i32.store8
- (get_local $33)
- (i32.const 48)
- )
- (set_local $5
- (get_local $33)
- )
- )
)
- (block $do-once115
+ (get_local $29)
+ )
+ (block
+ (i32.store8
+ (get_local $33)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $33)
+ )
+ )
+ )
+ (block $do-once115
+ (if
+ (i32.eq
+ (get_local $6)
+ (get_local $11)
+ )
+ (block
(if
- (i32.eq
- (get_local $6)
- (get_local $11)
- )
- (block
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (get_local $5)
- (i32.const 1)
- (get_local $0)
- )
- )
- )
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 1)
- )
- )
- (br_if $do-once115
- (i32.and
- (get_local $18)
- (i32.lt_s
- (get_local $7)
- (i32.const 1)
- )
- )
- )
- (br_if $do-once115
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (i32.const 4143)
- (i32.const 1)
+ (i32.eqz
+ (i32.and
+ (i32.load
(get_local $0)
)
+ (i32.const 32)
)
)
- (block
- (br_if $do-once115
- (i32.le_u
- (get_local $5)
- (get_local $22)
- )
- )
- (loop $while-in118
- (i32.store8
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-in118
- (i32.gt_u
- (get_local $5)
- (get_local $22)
- )
- )
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (i32.const 1)
+ (get_local $0)
)
)
)
- )
- (set_local $8
- (i32.sub
- (get_local $43)
- (get_local $5)
+ (set_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
)
- )
- (if
- (i32.eqz
+ (br_if $do-once115
+ (i32.and
+ (get_local $18)
+ (i32.lt_s
+ (get_local $7)
+ (i32.const 1)
+ )
+ )
+ )
+ (br_if $do-once115
(i32.and
(i32.load
(get_local $0)
@@ -6173,202 +6093,250 @@
)
(drop
(call $___fwritex
- (get_local $5)
- (select
- (get_local $8)
- (get_local $7)
- (i32.gt_s
- (get_local $7)
- (get_local $8)
- )
- )
+ (i32.const 4143)
+ (i32.const 1)
(get_local $0)
)
)
)
- (br_if $while-in114
- (i32.and
- (i32.lt_u
- (tee_local $6
+ (block
+ (br_if $do-once115
+ (i32.le_u
+ (get_local $5)
+ (get_local $22)
+ )
+ )
+ (loop $while-in118
+ (i32.store8
+ (tee_local $5
(i32.add
- (get_local $6)
- (i32.const 4)
+ (get_local $5)
+ (i32.const -1)
)
)
- (get_local $9)
+ (i32.const 48)
)
- (i32.gt_s
- (tee_local $7
- (i32.sub
- (get_local $7)
- (get_local $8)
- )
+ (br_if $while-in118
+ (i32.gt_u
+ (get_local $5)
+ (get_local $22)
)
- (i32.const -1)
)
)
)
)
- (set_local $5
- (get_local $7)
- )
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.add
- (get_local $5)
- (i32.const 18)
+ (set_local $8
+ (i32.sub
+ (get_local $43)
+ (get_local $5)
+ )
)
- (i32.const 18)
- (i32.const 0)
- )
- (br_if $do-once99
- (i32.and
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (select
+ (get_local $8)
+ (get_local $7)
+ (i32.gt_s
+ (get_local $7)
+ (get_local $8)
+ )
+ )
+ (get_local $0)
+ )
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $19)
- (i32.sub
- (get_local $26)
- (get_local $19)
+ (br_if $while-in114
+ (i32.and
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ )
+ (get_local $9)
+ )
+ (i32.gt_s
+ (tee_local $7
+ (i32.sub
+ (get_local $7)
+ (get_local $8)
+ )
+ )
+ (i32.const -1)
+ )
)
- (get_local $0)
)
)
+ (set_local $5
+ (get_local $7)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $16)
- (get_local $13)
- (i32.xor
- (get_local $12)
- (i32.const 8192)
- )
- )
- (select
- (get_local $16)
- (get_local $13)
- (i32.lt_s
- (get_local $13)
- (get_local $16)
- )
- )
- )
- (block (result i32)
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $16)
- (tee_local $7
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
(i32.add
- (tee_local $9
- (select
- (i32.const 0)
- (get_local $27)
- (tee_local $6
- (f64.ne
- (get_local $15)
- (get_local $15)
- )
- )
- )
- )
- (i32.const 3)
+ (get_local $5)
+ (i32.const 18)
)
+ (i32.const 18)
+ (i32.const 0)
)
- (get_local $8)
- )
- (if
- (i32.eqz
+ (br_if $do-once99
(i32.and
- (tee_local $5
- (i32.load
- (get_local $0)
- )
+ (i32.load
+ (get_local $0)
)
(i32.const 32)
)
)
- (block
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $9)
- (get_local $0)
- )
- )
- (set_local $5
- (i32.load
- (get_local $0)
+ (drop
+ (call $___fwritex
+ (get_local $19)
+ (i32.sub
+ (get_local $26)
+ (get_local $19)
)
+ (get_local $0)
)
)
)
- (set_local $6
- (select
- (select
- (i32.const 4135)
- (i32.const 4139)
- (tee_local $8
- (i32.ne
- (i32.and
- (get_local $19)
- (i32.const 32)
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $16)
+ (get_local $13)
+ (i32.xor
+ (get_local $12)
+ (i32.const 8192)
+ )
+ )
+ (select
+ (get_local $16)
+ (get_local $13)
+ (i32.lt_s
+ (get_local $13)
+ (get_local $16)
+ )
+ )
+ )
+ (block (result i32)
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $16)
+ (tee_local $7
+ (i32.add
+ (tee_local $9
+ (select
+ (i32.const 0)
+ (get_local $27)
+ (tee_local $6
+ (f64.ne
+ (get_local $15)
+ (get_local $15)
)
- (i32.const 0)
)
)
)
- (select
- (i32.const 4127)
- (i32.const 4131)
- (get_local $8)
- )
- (get_local $6)
+ (i32.const 3)
)
)
- (if
- (i32.eqz
- (i32.and
- (get_local $5)
- (i32.const 32)
+ (get_local $8)
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $5
+ (i32.load
+ (get_local $0)
+ )
)
+ (i32.const 32)
)
+ )
+ (block
(drop
(call $___fwritex
- (get_local $6)
- (i32.const 3)
+ (get_local $30)
+ (get_local $9)
(get_local $0)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $16)
- (get_local $7)
- (i32.xor
- (get_local $12)
- (i32.const 8192)
+ (set_local $5
+ (i32.load
+ (get_local $0)
+ )
)
)
+ )
+ (set_local $6
(select
- (get_local $16)
- (get_local $7)
- (i32.lt_s
- (get_local $7)
- (get_local $16)
+ (select
+ (i32.const 4135)
+ (i32.const 4139)
+ (tee_local $8
+ (i32.ne
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
+ )
+ (i32.const 0)
+ )
+ )
+ )
+ (select
+ (i32.const 4127)
+ (i32.const 4131)
+ (get_local $8)
)
+ (get_local $6)
+ )
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (get_local $5)
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $6)
+ (i32.const 3)
+ (get_local $0)
+ )
+ )
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $16)
+ (get_local $7)
+ (i32.xor
+ (get_local $12)
+ (i32.const 8192)
+ )
+ )
+ (select
+ (get_local $16)
+ (get_local $7)
+ (i32.lt_s
+ (get_local $7)
+ (get_local $16)
)
)
)