summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise3775
1 files changed, 1812 insertions, 1963 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 815fee11e..8ca2769d6 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -415,10 +415,9 @@
(set_local $0
(i32.const 5)
)
- (br $while-out$0)
)
+ (br $while-in$1)
)
- (br $while-in$1)
)
)
(if
@@ -450,55 +449,47 @@
(i32.const 5)
)
(loop $while-in$3
- (block $while-out$2
- (loop $while-in$5
- (block $while-out$4
- (set_local $0
- (i32.add
- (get_local $2)
- (i32.const 1)
- )
- )
- (if
- (i32.load8_s
- (get_local $2)
- )
- (set_local $2
- (get_local $0)
- )
- (block
- (set_local $1
- (get_local $0)
- )
- (br $while-out$4)
- )
- )
- (br $while-in$5)
+ (loop $while-in$5
+ (set_local $0
+ (i32.add
+ (get_local $2)
+ (i32.const 1)
)
)
(if
- (tee_local $0
- (i32.add
- (get_local $3)
- (i32.const -1)
- )
+ (i32.load8_s
+ (get_local $2)
)
(block
- (set_local $3
- (get_local $0)
- )
(set_local $2
- (get_local $1)
+ (get_local $0)
)
+ (br $while-in$5)
)
- (block
- (set_local $5
- (get_local $1)
- )
- (br $while-out$2)
+ (set_local $1
+ (get_local $0)
+ )
+ )
+ )
+ (if
+ (tee_local $0
+ (i32.add
+ (get_local $3)
+ (i32.const -1)
+ )
+ )
+ (block
+ (set_local $3
+ (get_local $0)
+ )
+ (set_local $2
+ (get_local $1)
)
+ (br $while-in$3)
+ )
+ (set_local $5
+ (get_local $1)
)
- (br $while-in$3)
)
)
)
@@ -783,63 +774,60 @@
(get_local $0)
)
(loop $while-in$3
- (block $while-out$2
- (set_local $0
- (if
- (i32.gt_s
- (i32.load offset=76
- (get_local $1)
- )
- (i32.const -1)
- )
- (call $___lockfile
+ (set_local $0
+ (if
+ (i32.gt_s
+ (i32.load offset=76
(get_local $1)
)
- (i32.const 0)
+ (i32.const -1)
+ )
+ (call $___lockfile
+ (get_local $1)
)
+ (i32.const 0)
)
- (set_local $2
- (if
- (i32.gt_u
- (i32.load offset=20
- (get_local $1)
- )
- (i32.load offset=28
- (get_local $1)
- )
+ )
+ (set_local $2
+ (if
+ (i32.gt_u
+ (i32.load offset=20
+ (get_local $1)
)
- (i32.or
- (call $___fflush_unlocked
- (get_local $1)
- )
- (get_local $2)
+ (i32.load offset=28
+ (get_local $1)
+ )
+ )
+ (i32.or
+ (call $___fflush_unlocked
+ (get_local $1)
)
(get_local $2)
)
+ (get_local $2)
)
- (if
- (get_local $0)
- (call $___unlockfile
+ )
+ (if
+ (get_local $0)
+ (call $___unlockfile
+ (get_local $1)
+ )
+ )
+ (if
+ (tee_local $0
+ (i32.load offset=56
(get_local $1)
)
)
- (if
- (tee_local $0
- (i32.load offset=56
- (get_local $1)
- )
- )
+ (block
(set_local $1
(get_local $0)
)
- (block
- (set_local $0
- (get_local $2)
- )
- (br $while-out$2)
- )
+ (br $while-in$3)
+ )
+ (set_local $0
+ (get_local $2)
)
- (br $while-in$3)
)
)
)
@@ -1090,115 +1078,116 @@
(set_local $1
(i32.const 8)
)
- (br $while-out$0)
)
- )
- (set_local $17
- (i32.sub
- (get_local $3)
- (get_local $5)
- )
- )
- (set_local $1
- (if
- (i32.gt_u
- (get_local $5)
- (tee_local $1
- (i32.load offset=4
- (get_local $4)
- )
- )
- )
- (block
- (i32.store
- (get_local $7)
- (tee_local $3
- (i32.load
- (get_local $13)
- )
- )
- )
- (i32.store
- (get_local $11)
+ (block
+ (set_local $17
+ (i32.sub
(get_local $3)
+ (get_local $5)
)
- (set_local $5
- (i32.sub
+ )
+ (set_local $1
+ (if
+ (i32.gt_u
(get_local $5)
- (get_local $1)
- )
- )
- (set_local $3
- (i32.add
- (get_local $4)
- (i32.const 8)
+ (tee_local $1
+ (i32.load offset=4
+ (get_local $4)
+ )
+ )
)
- )
- (set_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
+ (block
+ (i32.store
+ (get_local $7)
+ (tee_local $3
+ (i32.load
+ (get_local $13)
+ )
+ )
+ )
+ (i32.store
+ (get_local $11)
+ (get_local $3)
+ )
+ (set_local $5
+ (i32.sub
+ (get_local $5)
+ (get_local $1)
+ )
+ )
+ (set_local $3
+ (i32.add
+ (get_local $4)
+ (i32.const 8)
+ )
+ )
+ (set_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
+ )
+ )
+ (i32.load offset=12
+ (get_local $4)
+ )
)
- )
- (i32.load offset=12
- (get_local $4)
- )
- )
- (if
- (i32.eq
- (get_local $6)
- (i32.const 2)
- )
- (block
- (i32.store
- (get_local $7)
- (i32.add
- (i32.load
+ (if
+ (i32.eq
+ (get_local $6)
+ (i32.const 2)
+ )
+ (block
+ (i32.store
(get_local $7)
+ (i32.add
+ (i32.load
+ (get_local $7)
+ )
+ (get_local $5)
+ )
)
- (get_local $5)
+ (set_local $3
+ (get_local $4)
+ )
+ (set_local $6
+ (i32.const 2)
+ )
+ (get_local $1)
+ )
+ (block
+ (set_local $3
+ (get_local $4)
+ )
+ (get_local $1)
)
)
- (set_local $3
- (get_local $4)
- )
- (set_local $6
- (i32.const 2)
- )
- (get_local $1)
)
- (block
- (set_local $3
- (get_local $4)
+ )
+ (i32.store
+ (get_local $3)
+ (i32.add
+ (i32.load
+ (get_local $3)
)
+ (get_local $5)
+ )
+ )
+ (i32.store offset=4
+ (get_local $3)
+ (i32.sub
(get_local $1)
+ (get_local $5)
)
)
- )
- )
- (i32.store
- (get_local $3)
- (i32.add
- (i32.load
+ (set_local $4
(get_local $3)
)
- (get_local $5)
- )
- )
- (i32.store offset=4
- (get_local $3)
- (i32.sub
- (get_local $1)
- (get_local $5)
+ (set_local $3
+ (get_local $17)
+ )
+ (br $while-in$1)
)
)
- (set_local $4
- (get_local $3)
- )
- (set_local $3
- (get_local $17)
- )
- (br $while-in$1)
)
)
(if
@@ -1684,41 +1673,40 @@
(get_local $1)
)
(loop $while-in$3
- (block $while-out$2
- (if
- (i32.eqz
- (get_local $3)
+ (if
+ (i32.eqz
+ (get_local $3)
+ )
+ (block
+ (set_local $2
+ (i32.const 0)
)
- (block
- (set_local $2
- (i32.const 0)
- )
- (br $label$break$L10
- (get_local $4)
- )
+ (br $label$break$L10
+ (get_local $4)
)
)
- (if
- (i32.eq
- (i32.load8_s
- (i32.add
- (get_local $0)
- (tee_local $6
- (i32.add
- (get_local $3)
- (i32.const -1)
- )
+ )
+ (if
+ (i32.ne
+ (i32.load8_s
+ (i32.add
+ (get_local $0)
+ (tee_local $6
+ (i32.add
+ (get_local $3)
+ (i32.const -1)
)
)
)
- (i32.const 10)
)
- (br $while-out$2)
+ (i32.const 10)
+ )
+ (block
(set_local $3
(get_local $6)
)
+ (br $while-in$3)
)
- (br $while-in$3)
)
)
(if
@@ -2143,79 +2131,78 @@
(get_local $0)
)
(loop $while-in$2
- (block $while-out$1
- (if
- (i32.eq
- (i32.load8_s
- (get_local $2)
- )
- (i32.shr_s
- (i32.shl
- (get_local $5)
- (i32.const 24)
- )
+ (if
+ (i32.eq
+ (i32.load8_s
+ (get_local $2)
+ )
+ (i32.shr_s
+ (i32.shl
+ (get_local $5)
(i32.const 24)
)
+ (i32.const 24)
)
- (block
- (set_local $4
- (get_local $3)
- )
- (set_local $6
- (get_local $2)
- )
- (set_local $3
- (i32.const 6)
- )
- (br $label$break$L1)
+ )
+ (block
+ (set_local $4
+ (get_local $3)
+ )
+ (set_local $6
+ (get_local $2)
+ )
+ (set_local $3
+ (i32.const 6)
)
+ (br $label$break$L1)
)
- (if
- (i32.and
- (tee_local $3
- (i32.ne
- (tee_local $0
- (i32.add
- (get_local $3)
- (i32.const -1)
- )
+ )
+ (if
+ (i32.and
+ (tee_local $3
+ (i32.ne
+ (tee_local $0
+ (i32.add
+ (get_local $3)
+ (i32.const -1)
)
- (i32.const 0)
)
+ (i32.const 0)
)
- (i32.ne
- (i32.and
- (tee_local $2
- (i32.add
- (get_local $2)
- (i32.const 1)
- )
+ )
+ (i32.ne
+ (i32.and
+ (tee_local $2
+ (i32.add
+ (get_local $2)
+ (i32.const 1)
)
- (i32.const 3)
)
- (i32.const 0)
+ (i32.const 3)
)
+ (i32.const 0)
)
+ )
+ (block
(set_local $3
(get_local $0)
)
- (block
- (set_local $14
- (get_local $0)
- )
- (set_local $11
- (get_local $2)
- )
- (set_local $15
- (get_local $3)
- )
- (set_local $3
- (i32.const 5)
- )
- (br $while-out$1)
+ (br $while-in$2)
+ )
+ (block
+ (set_local $14
+ (get_local $0)
+ )
+ (set_local $11
+ (get_local $2)
+ )
+ (set_local $15
+ (get_local $3)
+ )
+ (set_local $3
+ (i32.const 5)
)
)
- (br $while-in$2)
)
)
)
@@ -2343,7 +2330,7 @@
)
)
(if
- (i32.le_u
+ (i32.gt_u
(tee_local $4
(i32.add
(get_local $4)
@@ -2352,6 +2339,7 @@
)
(i32.const 3)
)
+ (br $while-in$6)
(block
(set_local $12
(get_local $4)
@@ -2365,7 +2353,6 @@
(br $label$break$L11)
)
)
- (br $while-in$6)
)
)
(set_local $10
@@ -2415,62 +2402,59 @@
)
)
(loop $while-in$8
- (block $while-out$7
- (if
- (i32.eq
- (i32.load8_s
- (get_local $9)
- )
- (i32.shr_s
- (i32.shl
- (get_local $0)
- (i32.const 24)
- )
+ (if
+ (i32.eq
+ (i32.load8_s
+ (get_local $9)
+ )
+ (i32.shr_s
+ (i32.shl
+ (get_local $0)
(i32.const 24)
)
+ (i32.const 24)
)
- (block
- (set_local $7
- (get_local $10)
- )
- (set_local $8
- (get_local $9)
- )
- (br $label$break$L8)
+ )
+ (block
+ (set_local $7
+ (get_local $10)
+ )
+ (set_local $8
+ (get_local $9)
)
+ (br $label$break$L8)
)
- (set_local $2
+ )
+ (set_local $2
+ (i32.add
+ (get_local $9)
+ (i32.const 1)
+ )
+ )
+ (if
+ (tee_local $1
(i32.add
- (get_local $9)
- (i32.const 1)
+ (get_local $10)
+ (i32.const -1)
)
)
- (if
- (tee_local $1
- (i32.add
- (get_local $10)
- (i32.const -1)
- )
+ (block
+ (set_local $10
+ (get_local $1)
)
- (block
- (set_local $10
- (get_local $1)
- )
- (set_local $9
- (get_local $2)
- )
+ (set_local $9
+ (get_local $2)
)
- (block
- (set_local $7
- (i32.const 0)
- )
- (set_local $8
- (get_local $2)
- )
- (br $while-out$7)
+ (br $while-in$8)
+ )
+ (block
+ (set_local $7
+ (i32.const 0)
+ )
+ (set_local $8
+ (get_local $2)
)
)
- (br $while-in$8)
)
)
)
@@ -2995,64 +2979,61 @@
(i32.const 9)
)
(loop $while-in$8
- (block $while-out$7
- (set_local $11
- (i32.const 0)
- )
- (if
- (i32.ne
- (i32.load8_s offset=1
- (get_local $53)
- )
- (i32.const 37)
- )
- (block
- (set_local $39
- (get_local $53)
- )
- (set_local $54
- (get_local $64)
- )
- (br $label$break$L12)
+ (set_local $11
+ (i32.const 0)
+ )
+ (if
+ (i32.ne
+ (i32.load8_s offset=1
+ (get_local $53)
)
+ (i32.const 37)
)
- (set_local $5
- (i32.add
+ (block
+ (set_local $39
+ (get_local $53)
+ )
+ (set_local $54
(get_local $64)
- (i32.const 1)
)
+ (br $label$break$L12)
)
- (if
- (i32.eq
- (i32.load8_s
- (tee_local $1
- (i32.add
- (get_local $53)
- (i32.const 2)
- )
+ )
+ (set_local $5
+ (i32.add
+ (get_local $64)
+ (i32.const 1)
+ )
+ )
+ (if
+ (i32.eq
+ (i32.load8_s
+ (tee_local $1
+ (i32.add
+ (get_local $53)
+ (i32.const 2)
)
)
- (i32.const 37)
)
- (block
- (set_local $53
- (get_local $1)
- )
- (set_local $64
- (get_local $5)
- )
+ (i32.const 37)
+ )
+ (block
+ (set_local $53
+ (get_local $1)
)
- (block
- (set_local $39
- (get_local $1)
- )
- (set_local $54
- (get_local $5)
- )
- (br $while-out$7)
+ (set_local $64
+ (get_local $5)
+ )
+ (br $while-in$8)
+ )
+ (block
+ (set_local $39
+ (get_local $1)
+ )
+ (set_local $54
+ (get_local $5)
)
)
- (br $while-in$8)
)
)
)
@@ -3195,75 +3176,72 @@
(i32.const 0)
)
(loop $while-in$11
- (block $while-out$10
- (br_if $label$break$L25
- (i32.eqz
- (i32.and
- (i32.shl
- (i32.const 1)
- (i32.add
- (get_local $5)
- (i32.const -32)
- )
+ (br_if $label$break$L25
+ (i32.eqz
+ (i32.and
+ (i32.shl
+ (i32.const 1)
+ (i32.add
+ (get_local $5)
+ (i32.const -32)
)
- (i32.const 75913)
)
+ (i32.const 75913)
)
)
- (set_local $8
- (i32.or
- (i32.shl
- (i32.const 1)
- (i32.add
- (i32.shr_s
- (i32.shl
- (get_local $1)
- (i32.const 24)
- )
+ )
+ (set_local $8
+ (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 $8)
)
+ (get_local $8)
)
- (if
- (i32.eq
- (i32.and
- (tee_local $5
- (i32.shr_s
- (i32.shl
- (tee_local $1
- (i32.load8_s
- (tee_local $6
- (i32.add
- (get_local $10)
- (i32.const 1)
- )
+ )
+ (if
+ (i32.eq
+ (i32.and
+ (tee_local $5
+ (i32.shr_s
+ (i32.shl
+ (tee_local $1
+ (i32.load8_s
+ (tee_local $6
+ (i32.add
+ (get_local $10)
+ (i32.const 1)
)
)
)
- (i32.const 24)
)
(i32.const 24)
)
+ (i32.const 24)
)
- (i32.const -32)
)
- (i32.const 32)
+ (i32.const -32)
)
+ (i32.const 32)
+ )
+ (block
(set_local $10
(get_local $6)
)
- (block
- (set_local $10
- (get_local $6)
- )
- (br $while-out$10)
- )
+ (br $while-in$11)
+ )
+ (set_local $10
+ (get_local $6)
)
- (br $while-in$11)
)
)
)
@@ -3488,35 +3466,32 @@
(i32.const 0)
)
(loop $while-in$15
- (block $while-out$14
- (set_local $5
- (i32.add
- (i32.mul
- (get_local $5)
- (i32.const 10)
- )
- (get_local $6)
+ (set_local $5
+ (i32.add
+ (i32.mul
+ (get_local $5)
+ (i32.const 10)
)
+ (get_local $6)
)
- (br_if $while-out$14
- (i32.ge_u
- (tee_local $6
- (i32.add
- (i32.load8_s
- (tee_local $1
- (i32.add
- (get_local $1)
- (i32.const 1)
- )
+ )
+ (br_if $while-in$15
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (i32.load8_s
+ (tee_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 1)
)
)
- (i32.const -48)
)
+ (i32.const -48)
)
- (i32.const 10)
)
+ (i32.const 10)
)
- (br $while-in$15)
)
)
(if
@@ -3629,7 +3604,7 @@
)
)
(if
- (i32.ge_u
+ (i32.lt_u
(tee_local $6
(i32.add
(i32.load8_s
@@ -3645,6 +3620,7 @@
)
(i32.const 10)
)
+ (br $while-in$18)
(block
(set_local $9
(get_local $5)
@@ -3654,7 +3630,6 @@
)
)
)
- (br $while-in$18)
)
)
)
@@ -3781,74 +3756,69 @@
(i32.const 0)
)
(loop $while-in$20
- (block $while-out$19
- (if
- (i32.gt_u
- (tee_local $1
- (i32.add
- (i32.load8_s
- (get_local $13)
- )
- (i32.const -65)
+ (if
+ (i32.gt_u
+ (tee_local $1
+ (i32.add
+ (i32.load8_s
+ (get_local $13)
)
+ (i32.const -65)
)
- (i32.const 57)
- )
- (block
- (set_local $23
- (i32.const -1)
- )
- (br $label$break$L1)
)
+ (i32.const 57)
)
- (set_local $10
- (i32.add
- (get_local $13)
- (i32.const 1)
+ (block
+ (set_local $23
+ (i32.const -1)
)
+ (br $label$break$L1)
)
- (if
- (i32.lt_u
- (i32.add
- (tee_local $5
- (i32.and
- (tee_local $1
- (i32.load8_s
+ )
+ (set_local $10
+ (i32.add
+ (get_local $13)
+ (i32.const 1)
+ )
+ )
+ (if
+ (i32.lt_u
+ (i32.add
+ (tee_local $5
+ (i32.and
+ (tee_local $1
+ (i32.load8_s
+ (i32.add
(i32.add
- (i32.add
- (i32.const 3611)
- (i32.mul
- (get_local $14)
- (i32.const 58)
- )
+ (i32.const 3611)
+ (i32.mul
+ (get_local $14)
+ (i32.const 58)
)
- (get_local $1)
)
+ (get_local $1)
)
)
- (i32.const 255)
)
+ (i32.const 255)
)
- (i32.const -1)
)
- (i32.const 8)
+ (i32.const -1)
)
- (block
- (set_local $13
- (get_local $10)
- )
- (set_local $14
- (get_local $5)
- )
+ (i32.const 8)
+ )
+ (block
+ (set_local $13
+ (get_local $10)
)
- (block
- (set_local $6
- (get_local $5)
- )
- (br $while-out$19)
+ (set_local $14
+ (get_local $5)
)
+ (br $while-in$20)
+ )
+ (set_local $6
+ (get_local $5)
)
- (br $while-in$20)
)
)
(if
@@ -4297,26 +4267,26 @@
(get_local $26)
)
(loop $while-in$39
- (block $while-out$38
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
+ (i32.store8
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
)
- (i32.and
- (i32.or
- (i32.and
- (get_local $5)
- (i32.const 7)
- )
- (i32.const 48)
+ )
+ (i32.and
+ (i32.or
+ (i32.and
+ (get_local $5)
+ (i32.const 7)
)
- (i32.const 255)
+ (i32.const 48)
)
+ (i32.const 255)
)
- (br_if $while-out$38
+ )
+ (br_if $while-in$39
+ (i32.eqz
(i32.and
(i32.eqz
(tee_local $5
@@ -4334,7 +4304,6 @@
)
)
)
- (br $while-in$39)
)
)
)
@@ -4811,24 +4780,19 @@
(f64.const 8)
)
(loop $while-in$61
- (block $while-out$60
- (set_local $28
- (f64.mul
- (get_local $28)
- (f64.const 16)
- )
+ (set_local $28
+ (f64.mul
+ (get_local $28)
+ (f64.const 16)
)
- (br_if $while-out$60
- (i32.eqz
- (tee_local $1
- (i32.add
- (get_local $1)
- (i32.const -1)
- )
- )
+ )
+ (br_if $while-in$61
+ (tee_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const -1)
)
)
- (br $while-in$61)
)
)
(select
@@ -4958,95 +4922,90 @@
(get_local $27)
)
(loop $while-in$63
- (block $while-out$62
- (i32.store8
- (get_local $13)
- (i32.and
- (i32.or
- (i32.and
- (i32.load8_s
- (i32.add
- (tee_local $1
- (i32.trunc_s/f64
- (get_local $15)
- )
+ (i32.store8
+ (get_local $13)
+ (i32.and
+ (i32.or
+ (i32.and
+ (i32.load8_s
+ (i32.add
+ (tee_local $1
+ (i32.trunc_s/f64
+ (get_local $15)
)
- (i32.const 4075)
)
+ (i32.const 4075)
)
- (i32.const 255)
)
- (get_local $6)
+ (i32.const 255)
)
- (i32.const 255)
+ (get_local $6)
)
+ (i32.const 255)
)
- (set_local $15
- (f64.mul
- (f64.sub
- (get_local $15)
- (f64.convert_s/i32
- (get_local $1)
- )
+ )
+ (set_local $15
+ (f64.mul
+ (f64.sub
+ (get_local $15)
+ (f64.convert_s/i32
+ (get_local $1)
)
- (f64.const 16)
)
+ (f64.const 16)
)
- (set_local $13
- (block $do-once$64
- (if
- (i32.eq
- (i32.sub
- (tee_local $1
- (i32.add
- (get_local $13)
- (i32.const 1)
- )
+ )
+ (set_local $13
+ (block $do-once$64
+ (if
+ (i32.eq
+ (i32.sub
+ (tee_local $1
+ (i32.add
+ (get_local $13)
+ (i32.const 1)
)
- (get_local $63)
)
- (i32.const 1)
+ (get_local $63)
)
- (block
- (br_if $do-once$64
- (get_local $1)
+ (i32.const 1)
+ )
+ (block
+ (br_if $do-once$64
+ (get_local $1)
+ (i32.and
+ (get_local $14)
(i32.and
- (get_local $14)
- (i32.and
- (get_local $5)
- (f64.eq
- (get_local $15)
- (f64.const 0)
- )
+ (get_local $5)
+ (f64.eq
+ (get_local $15)
+ (f64.const 0)
)
)
)
- (i32.store8
- (get_local $1)
- (i32.const 46)
- )
- (i32.add
- (get_local $13)
- (i32.const 2)
- )
)
- (get_local $1)
+ (i32.store8
+ (get_local $1)
+ (i32.const 46)
+ )
+ (i32.add
+ (get_local $13)
+ (i32.const 2)
+ )
)
+ (get_local $1)
)
)
- (if
- (f64.eq
- (get_local $15)
- (f64.const 0)
- )
- (block
- (set_local $1
- (get_local $13)
- )
- (br $while-out$62)
- )
+ )
+ (if
+ (f64.ne
+ (get_local $15)
+ (f64.const 0)
)
(br $while-in$63)
+ (set_local $1
+ (get_local $13)
+ )
)
)
(call $_pad
@@ -5249,44 +5208,39 @@
(get_local $10)
)
(loop $while-in$67
- (block $while-out$66
- (i32.store
- (get_local $7)
- (tee_local $5
- (i32.trunc_s/f64
- (get_local $15)
- )
+ (i32.store
+ (get_local $7)
+ (tee_local $5
+ (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)
)
- (if
- (f64.eq
- (tee_local $15
- (f64.mul
- (f64.sub
- (get_local $15)
- (f64.convert_u/i32
- (get_local $5)
- )
+ )
+ (if
+ (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)
- )
- (block
- (set_local $6
- (get_local $7)
- )
- (br $while-out$66)
)
+ (f64.const 0)
)
(br $while-in$67)
+ (set_local $6
+ (get_local $7)
+ )
)
)
(if
@@ -5306,121 +5260,120 @@
(get_local $6)
)
(loop $while-in$69
- (block $while-out$68
- (set_local $13
- (select
- (i32.const 29)
+ (set_local $13
+ (select
+ (i32.const 29)
+ (get_local $5)
+ (i32.gt_s
(get_local $5)
- (i32.gt_s
- (get_local $5)
- (i32.const 29)
- )
+ (i32.const 29)
)
)
- (set_local $7
- (block $do-once$70
- (if
- (i32.lt_u
- (tee_local $7
- (i32.add
- (get_local $14)
- (i32.const -4)
- )
+ )
+ (set_local $7
+ (block $do-once$70
+ (if
+ (i32.lt_u
+ (tee_local $7
+ (i32.add
+ (get_local $14)
+ (i32.const -4)
)
- (get_local $8)
)
(get_local $8)
- (block
- (set_local $5
- (i32.const 0)
- )
- (set_local $9
- (get_local $7)
- )
- (loop $while-in$73
- (block $while-out$72
- (set_local $6
- (call $___uremdi3
- (tee_local $5
- (call $_i64Add
- (call $_bitshift64Shl
- (i32.load
- (get_local $9)
- )
- (i32.const 0)
- (get_local $13)
- )
- (get_global $tempRet0)
- (get_local $5)
- (i32.const 0)
+ )
+ (get_local $8)
+ (block
+ (set_local $5
+ (i32.const 0)
+ )
+ (set_local $9
+ (get_local $7)
+ )
+ (loop $while-in$73
+ (set_local $6
+ (call $___uremdi3
+ (tee_local $5
+ (call $_i64Add
+ (call $_bitshift64Shl
+ (i32.load
+ (get_local $9)
)
+ (i32.const 0)
+ (get_local $13)
)
- (tee_local $7
- (get_global $tempRet0)
- )
- (i32.const 1000000000)
- (i32.const 0)
- )
- )
- (i32.store
- (get_local $9)
- (get_local $6)
- )
- (set_local $5
- (call $___udivdi3
+ (get_global $tempRet0)
(get_local $5)
- (get_local $7)
- (i32.const 1000000000)
(i32.const 0)
)
)
- (if
- (i32.lt_u
- (tee_local $7
- (i32.add
- (get_local $9)
- (i32.const -4)
- )
- )
- (get_local $8)
- )
- (br $while-out$72)
- (set_local $9
- (get_local $7)
- )
+ (tee_local $7
+ (get_global $tempRet0)
)
- (br $while-in$73)
+ (i32.const 1000000000)
+ (i32.const 0)
)
)
- (br_if $do-once$70
- (get_local $8)
- (i32.eqz
+ (i32.store
+ (get_local $9)
+ (get_local $6)
+ )
+ (set_local $5
+ (call $___udivdi3
(get_local $5)
+ (get_local $7)
+ (i32.const 1000000000)
+ (i32.const 0)
)
)
- (i32.store
- (tee_local $7
- (i32.add
- (get_local $8)
- (i32.const -4)
+ (if
+ (i32.ge_u
+ (tee_local $7
+ (i32.add
+ (get_local $9)
+ (i32.const -4)
+ )
+ )
+ (get_local $8)
+ )
+ (block
+ (set_local $9
+ (get_local $7)
)
+ (br $while-in$73)
)
+ )
+ )
+ (br_if $do-once$70
+ (get_local $8)
+ (i32.eqz
(get_local $5)
)
- (get_local $7)
)
+ (i32.store
+ (tee_local $7
+ (i32.add
+ (get_local $8)
+ (i32.const -4)
+ )
+ )
+ (get_local $5)
+ )
+ (get_local $7)
)
)
)
- (loop $while-in$75
- (block $while-out$74
- (br_if $while-out$74
- (i32.le_u
- (get_local $14)
- (get_local $7)
- )
+ )
+ (loop $while-in$75
+ (block $while-out$74
+ (br_if $while-out$74
+ (i32.le_u
+ (get_local $14)
+ (get_local $7)
)
- (if
+ )
+ (if
+ (i32.eqz
(i32.load
(tee_local $5
(i32.add
@@ -5429,41 +5382,41 @@
)
)
)
- (br $while-out$74)
+ )
+ (block
(set_local $14
(get_local $5)
)
+ (br $while-in$75)
)
- (br $while-in$75)
)
)
- (i32.store
- (get_local $24)
- (tee_local $5
- (i32.sub
- (i32.load
- (get_local $24)
- )
- (get_local $13)
+ )
+ (i32.store
+ (get_local $24)
+ (tee_local $5
+ (i32.sub
+ (i32.load
+ (get_local $24)
)
+ (get_local $13)
)
)
- (if
- (i32.gt_s
- (get_local $5)
- (i32.const 0)
- )
+ )
+ (if
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ (block
(set_local $8
(get_local $7)
)
- (block
- (set_local $6
- (get_local $14)
- )
- (br $while-out$68)
- )
+ (br $while-in$69)
+ )
+ (set_local $6
+ (get_local $14)
)
- (br $while-in$69)
)
)
)
@@ -5502,187 +5455,181 @@
(get_local $6)
)
(loop $while-in$77
- (block $while-out$76
- (set_local $9
- (select
- (i32.const 9)
- (tee_local $5
- (i32.sub
- (i32.const 0)
- (get_local $5)
- )
- )
- (i32.gt_s
+ (set_local $9
+ (select
+ (i32.const 9)
+ (tee_local $5
+ (i32.sub
+ (i32.const 0)
(get_local $5)
- (i32.const 9)
)
)
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 9)
+ )
)
- (set_local $6
- (select
- (i32.add
- (tee_local $5
- (select
- (get_local $10)
- (tee_local $7
- (block $do-once$78
- (if
- (i32.lt_u
+ )
+ (set_local $6
+ (select
+ (i32.add
+ (tee_local $5
+ (select
+ (get_local $10)
+ (tee_local $7
+ (block $do-once$78
+ (if
+ (i32.lt_u
+ (get_local $7)
+ (get_local $19)
+ )
+ (block
+ (set_local $69
+ (i32.add
+ (i32.shl
+ (i32.const 1)
+ (get_local $9)
+ )
+ (i32.const -1)
+ )
+ )
+ (set_local $29
+ (i32.shr_u
+ (i32.const 1000000000)
+ (get_local $9)
+ )
+ )
+ (set_local $6
+ (i32.const 0)
+ )
+ (set_local $14
(get_local $7)
- (get_local $19)
)
- (block
- (set_local $69
+ (loop $while-in$81
+ (i32.store
+ (get_local $14)
(i32.add
- (i32.shl
- (i32.const 1)
+ (i32.shr_u
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
+ )
(get_local $9)
)
- (i32.const -1)
- )
- )
- (set_local $29
- (i32.shr_u
- (i32.const 1000000000)
- (get_local $9)
+ (get_local $6)
)
)
(set_local $6
- (i32.const 0)
- )
- (set_local $14
- (get_local $7)
+ (i32.mul
+ (i32.and
+ (get_local $5)
+ (get_local $69)
+ )
+ (get_local $29)
+ )
)
- (loop $while-in$81
- (block $while-out$80
- (i32.store
- (get_local $14)
+ (br_if $while-in$81
+ (i32.lt_u
+ (tee_local $14
(i32.add
- (i32.shr_u
- (tee_local $5
- (i32.load
- (get_local $14)
- )
- )
- (get_local $9)
- )
- (get_local $6)
- )
- )
- (set_local $6
- (i32.mul
- (i32.and
- (get_local $5)
- (get_local $69)
- )
- (get_local $29)
- )
- )
- (br_if $while-out$80
- (i32.ge_u
- (tee_local $14
- (i32.add
- (get_local $14)
- (i32.const 4)
- )
- )
- (get_local $19)
+ (get_local $14)
+ (i32.const 4)
)
)
- (br $while-in$81)
+ (get_local $19)
)
)
- (set_local $5
- (select
+ )
+ (set_local $5
+ (select
+ (get_local $7)
+ (i32.add
(get_local $7)
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
- (i32.load
- (get_local $7)
- )
+ (i32.const 4)
)
- )
- (br_if $do-once$78
- (get_local $5)
- (i32.eqz
- (get_local $6)
+ (i32.load
+ (get_local $7)
)
)
- (i32.store
- (get_local $19)
+ )
+ (br_if $do-once$78
+ (get_local $5)
+ (i32.eqz
(get_local $6)
)
- (set_local $19
- (i32.add
- (get_local $19)
- (i32.const 4)
- )
- )
- (get_local $5)
)
- (select
- (get_local $7)
+ (i32.store
+ (get_local $19)
+ (get_local $6)
+ )
+ (set_local $19
(i32.add
- (get_local $7)
+ (get_local $19)
(i32.const 4)
)
- (i32.load
- (get_local $7)
- )
+ )
+ (get_local $5)
+ )
+ (select
+ (get_local $7)
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
+ )
+ (i32.load
+ (get_local $7)
)
)
)
)
- (get_local $13)
)
- )
- (i32.shl
- (get_local $8)
- (i32.const 2)
+ (get_local $13)
)
)
- (get_local $19)
- (i32.gt_s
- (i32.shr_s
- (i32.sub
- (get_local $19)
- (get_local $5)
- )
- (i32.const 2)
- )
+ (i32.shl
(get_local $8)
+ (i32.const 2)
)
)
- )
- (i32.store
- (get_local $24)
- (tee_local $5
- (i32.add
- (i32.load
- (get_local $24)
+ (get_local $19)
+ (i32.gt_s
+ (i32.shr_s
+ (i32.sub
+ (get_local $19)
+ (get_local $5)
)
- (get_local $9)
+ (i32.const 2)
)
+ (get_local $8)
)
)
- (if
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ )
+ (i32.store
+ (get_local $24)
+ (tee_local $5
+ (i32.add
+ (i32.load
+ (get_local $24)
+ )
+ (get_local $9)
)
+ )
+ )
+ (if
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ (block
(set_local $19
(get_local $6)
)
- (block
- (set_local $19
- (get_local $6)
- )
- (br $while-out$76)
- )
+ (br $while-in$77)
+ )
+ (set_local $19
+ (get_local $6)
)
- (br $while-in$77)
)
)
)
@@ -5729,30 +5676,25 @@
)
)
(loop $while-in$85
- (block $while-out$84
- (set_local $6
- (i32.add
- (get_local $6)
- (i32.const 1)
- )
+ (set_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 1)
)
- (if
- (i32.lt_u
- (get_local $5)
- (tee_local $8
- (i32.mul
- (get_local $8)
- (i32.const 10)
- )
- )
- )
- (block
- (set_local $14
- (get_local $6)
+ )
+ (if
+ (i32.lt_u
+ (get_local $5)
+ (tee_local $8
+ (i32.mul
+ (get_local $8)
+ (i32.const 10)
)
- (br $while-out$84)
)
)
+ (set_local $14
+ (get_local $6)
+ )
(br $while-in$85)
)
)
@@ -5862,29 +5804,24 @@
(i32.const 10)
)
(loop $while-in$87
- (block $while-out$86
- (set_local $5
- (i32.mul
- (get_local $5)
- (i32.const 10)
- )
+ (set_local $5
+ (i32.mul
+ (get_local $5)
+ (i32.const 10)
)
- (if
- (i32.eq
- (tee_local $13
- (i32.add
- (get_local $13)
- (i32.const 1)
- )
- )
- (i32.const 9)
- )
- (block
- (set_local $12
- (get_local $5)
+ )
+ (if
+ (i32.eq
+ (tee_local $13
+ (i32.add
+ (get_local $13)
+ (i32.const 1)
)
- (br $while-out$86)
)
+ (i32.const 9)
+ )
+ (set_local $12
+ (get_local $5)
)
(br $while-in$87)
)
@@ -6029,55 +5966,52 @@
(i32.const 999999999)
)
(loop $while-in$93
- (block $while-out$92
- (i32.store
- (get_local $6)
- (i32.const 0)
- )
- (set_local $7
- (if
- (i32.lt_u
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -4)
- )
+ (i32.store
+ (get_local $6)
+ (i32.const 0)
+ )
+ (set_local $7
+ (if
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -4)
)
- (get_local $7)
)
- (block
- (i32.store
- (tee_local $5
- (i32.add
- (get_local $7)
- (i32.const -4)
- )
+ (get_local $7)
+ )
+ (block
+ (i32.store
+ (tee_local $5
+ (i32.add
+ (get_local $7)
+ (i32.const -4)
)
- (i32.const 0)
)
- (get_local $5)
+ (i32.const 0)
)
- (get_local $7)
+ (get_local $5)
)
+ (get_local $7)
)
- (i32.store
- (get_local $6)
- (tee_local $5
- (i32.add
- (i32.load
- (get_local $6)
- )
- (i32.const 1)
+ )
+ (i32.store
+ (get_local $6)
+ (tee_local $5
+ (i32.add
+ (i32.load
+ (get_local $6)
)
+ (i32.const 1)
)
)
- (br_if $while-out$92
- (i32.le_u
- (get_local $5)
- (i32.const 999999999)
- )
+ )
+ (br_if $while-in$93
+ (i32.gt_u
+ (get_local $5)
+ (i32.const 999999999)
)
- (br $while-in$93)
)
)
)
@@ -6113,30 +6047,25 @@
)
)
(loop $while-in$95
- (block $while-out$94
- (set_local $13
- (i32.add
- (get_local $13)
- (i32.const 1)
- )
+ (set_local $13
+ (i32.add
+ (get_local $13)
+ (i32.const 1)
)
- (if
- (i32.lt_u
- (get_local $5)
- (tee_local $9
- (i32.mul
- (get_local $9)
- (i32.const 10)
- )
- )
- )
- (block
- (set_local $14
- (get_local $13)
+ )
+ (if
+ (i32.lt_u
+ (get_local $5)
+ (tee_local $9
+ (i32.mul
+ (get_local $9)
+ (i32.const 10)
)
- (br $while-out$94)
)
)
+ (set_local $14
+ (get_local $13)
+ )
(br $while-in$95)
)
)
@@ -6207,13 +6136,14 @@
(set_local $19
(get_local $6)
)
- (br $while-out$96)
)
- (set_local $6
- (get_local $5)
+ (block
+ (set_local $6
+ (get_local $5)
+ )
+ (br $while-in$97)
)
)
- (br $while-in$97)
)
)
(set_local $8
@@ -6338,14 +6268,14 @@
)
)
(loop $while-in$103
- (block $while-out$102
- (set_local $6
- (i32.add
- (get_local $6)
- (i32.const 1)
- )
+ (set_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 1)
)
- (br_if $while-out$102
+ )
+ (br_if $while-in$103
+ (i32.eqz
(i32.and
(i32.rem_u
(get_local $1)
@@ -6359,7 +6289,6 @@
(i32.const -1)
)
)
- (br $while-in$103)
)
)
)
@@ -6540,26 +6469,23 @@
(i32.const 2)
)
(loop $while-in$105
- (block $while-out$104
- (i32.store8
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -1)
- )
+ (i32.store8
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
)
- (i32.const 48)
)
- (br_if $while-out$104
- (i32.ge_s
- (i32.sub
- (get_local $38)
- (get_local $5)
- )
- (i32.const 2)
+ (i32.const 48)
+ )
+ (br_if $while-in$105
+ (i32.lt_s
+ (i32.sub
+ (get_local $38)
+ (get_local $5)
)
+ (i32.const 2)
)
- (br $while-in$105)
)
)
)
@@ -6669,103 +6595,95 @@
)
)
(loop $while-in$109
- (block $while-out$108
- (set_local $5
- (call $_fmt_u
- (i32.load
- (get_local $7)
- )
- (i32.const 0)
- (get_local $43)
+ (set_local $5
+ (call $_fmt_u
+ (i32.load
+ (get_local $7)
)
+ (i32.const 0)
+ (get_local $43)
)
- (block $do-once$110
- (if
- (i32.eq
- (get_local $7)
- (get_local $8)
+ )
+ (block $do-once$110
+ (if
+ (i32.eq
+ (get_local $7)
+ (get_local $8)
+ )
+ (block
+ (br_if $do-once$110
+ (i32.ne
+ (get_local $5)
+ (get_local $43)
+ )
)
- (block
- (br_if $do-once$110
- (i32.ne
- (get_local $5)
- (get_local $43)
- )
+ (i32.store8
+ (get_local $52)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $52)
+ )
+ )
+ (block
+ (br_if $do-once$110
+ (i32.le_u
+ (get_local $5)
+ (get_local $27)
)
+ )
+ (loop $while-in$113
(i32.store8
- (get_local $52)
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
+ )
(i32.const 48)
)
- (set_local $5
- (get_local $52)
- )
- )
- (block
- (br_if $do-once$110
- (i32.le_u
+ (br_if $while-in$113
+ (i32.gt_u
(get_local $5)
(get_local $27)
)
)
- (loop $while-in$113
- (block $while-out$112
- (i32.store8
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-out$112
- (i32.le_u
- (get_local $5)
- (get_local $27)
- )
- )
- (br $while-in$113)
- )
- )
)
)
)
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (get_local $5)
- (i32.sub
- (get_local $74)
- (get_local $5)
- )
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
(get_local $0)
)
+ (i32.const 32)
)
)
- (if
- (i32.gt_u
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (i32.sub
+ (get_local $74)
+ (get_local $5)
)
- (get_local $10)
+ (get_local $0)
)
- (block
- (set_local $5
+ )
+ )
+ (if
+ (i32.gt_u
+ (tee_local $7
+ (i32.add
(get_local $7)
+ (i32.const 4)
)
- (br $while-out$108)
)
+ (get_local $10)
+ )
+ (set_local $5
+ (get_local $7)
)
(br $while-in$109)
)
@@ -6808,98 +6726,92 @@
)
)
(loop $while-in$117
- (block $while-out$116
- (if
- (i32.gt_u
- (tee_local $1
- (call $_fmt_u
- (i32.load
- (get_local $5)
- )
- (i32.const 0)
- (get_local $43)
+ (if
+ (i32.gt_u
+ (tee_local $1
+ (call $_fmt_u
+ (i32.load
+ (get_local $5)
)
+ (i32.const 0)
+ (get_local $43)
)
- (get_local $27)
)
- (loop $while-in$119
- (block $while-out$118
- (i32.store8
- (tee_local $1
- (i32.add
- (get_local $1)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-out$118
- (i32.le_u
- (get_local $1)
- (get_local $27)
- )
+ (get_local $27)
+ )
+ (loop $while-in$119
+ (i32.store8
+ (tee_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const -1)
)
- (br $while-in$119)
+ )
+ (i32.const 48)
+ )
+ (br_if $while-in$119
+ (i32.gt_u
+ (get_local $1)
+ (get_local $27)
)
)
)
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
)
+ (i32.const 32)
)
- (drop
- (call $___fwritex
- (get_local $1)
- (select
- (i32.const 9)
+ )
+ (drop
+ (call $___fwritex
+ (get_local $1)
+ (select
+ (i32.const 9)
+ (get_local $12)
+ (i32.gt_s
(get_local $12)
- (i32.gt_s
- (get_local $12)
- (i32.const 9)
- )
+ (i32.const 9)
)
- (get_local $0)
)
+ (get_local $0)
)
)
- (set_local $1
- (i32.add
+ )
+ (set_local $1
+ (i32.add
+ (get_local $12)
+ (i32.const -9)
+ )
+ )
+ (if
+ (i32.and
+ (i32.gt_s
(get_local $12)
- (i32.const -9)
+ (i32.const 9)
)
- )
- (if
- (i32.and
- (i32.gt_s
- (get_local $12)
- (i32.const 9)
- )
- (i32.lt_u
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const 4)
- )
+ (i32.lt_u
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 4)
)
- (get_local $19)
)
+ (get_local $19)
)
+ )
+ (block
(set_local $12
(get_local $1)
)
- (block
- (set_local $12
- (get_local $1)
- )
- (br $while-out$116)
- )
+ (br $while-in$117)
+ )
+ (set_local $12
+ (get_local $1)
)
- (br $while-in$117)
)
)
)
@@ -6940,71 +6852,45 @@
(get_local $7)
)
(loop $while-in$121
- (block $while-out$120
- (set_local $8
- (if
- (i32.eq
- (tee_local $1
- (call $_fmt_u
- (i32.load
- (get_local $5)
- )
- (i32.const 0)
- (get_local $43)
+ (set_local $8
+ (if
+ (i32.eq
+ (tee_local $1
+ (call $_fmt_u
+ (i32.load
+ (get_local $5)
)
+ (i32.const 0)
+ (get_local $43)
)
- (get_local $43)
)
- (block
- (i32.store8
- (get_local $52)
- (i32.const 48)
- )
+ (get_local $43)
+ )
+ (block
+ (i32.store8
(get_local $52)
+ (i32.const 48)
)
- (get_local $1)
+ (get_local $52)
)
+ (get_local $1)
)
- (block $do-once$122
- (if
- (i32.eq
- (get_local $5)
- (get_local $7)
- )
- (block
- (set_local $1
- (i32.add
- (get_local $8)
- (i32.const 1)
- )
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (get_local $8)
- (i32.const 1)
- (get_local $0)
- )
- )
- )
- (br_if $do-once$122
- (i32.and
- (get_local $10)
- (i32.lt_s
- (get_local $12)
- (i32.const 1)
- )
- )
+ )
+ (block $do-once$122
+ (if
+ (i32.eq
+ (get_local $5)
+ (get_local $7)
+ )
+ (block
+ (set_local $1
+ (i32.add
+ (get_local $8)
+ (i32.const 1)
)
- (br_if $do-once$122
+ )
+ (if
+ (i32.eqz
(i32.and
(i32.load
(get_local $0)
@@ -7014,106 +6900,124 @@
)
(drop
(call $___fwritex
- (i32.const 4143)
+ (get_local $8)
(i32.const 1)
(get_local $0)
)
)
)
- (block
- (if
- (i32.gt_u
- (get_local $8)
- (get_local $27)
+ (br_if $do-once$122
+ (i32.and
+ (get_local $10)
+ (i32.lt_s
+ (get_local $12)
+ (i32.const 1)
+ )
+ )
+ )
+ (br_if $do-once$122
+ (i32.and
+ (i32.load
+ (get_local $0)
)
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (i32.const 4143)
+ (i32.const 1)
+ (get_local $0)
+ )
+ )
+ )
+ (block
+ (if
+ (i32.gt_u
+ (get_local $8)
+ (get_local $27)
+ )
+ (set_local $1
+ (get_local $8)
+ )
+ (block
(set_local $1
(get_local $8)
)
- (block
- (set_local $1
- (get_local $8)
+ (br $do-once$122)
+ )
+ )
+ (loop $while-in$125
+ (i32.store8
+ (tee_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const -1)
)
- (br $do-once$122)
)
+ (i32.const 48)
)
- (loop $while-in$125
- (block $while-out$124
- (i32.store8
- (tee_local $1
- (i32.add
- (get_local $1)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-out$124
- (i32.le_u
- (get_local $1)
- (get_local $27)
- )
- )
- (br $while-in$125)
+ (br_if $while-in$125
+ (i32.gt_u
+ (get_local $1)
+ (get_local $27)
)
)
)
)
)
- (set_local $8
- (i32.sub
- (get_local $74)
- (get_local $1)
- )
+ )
+ (set_local $8
+ (i32.sub
+ (get_local $74)
+ (get_local $1)
)
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
)
+ (i32.const 32)
)
- (drop
- (call $___fwritex
- (get_local $1)
- (select
- (get_local $8)
+ )
+ (drop
+ (call $___fwritex
+ (get_local $1)
+ (select
+ (get_local $8)
+ (get_local $12)
+ (i32.gt_s
(get_local $12)
- (i32.gt_s
- (get_local $12)
- (get_local $8)
- )
+ (get_local $8)
)
- (get_local $0)
)
+ (get_local $0)
)
)
- (br_if $while-out$120
- (i32.eqz
- (i32.and
- (i32.lt_u
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const 4)
- )
- )
- (get_local $13)
+ )
+ (br_if $while-in$121
+ (i32.and
+ (i32.lt_u
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 4)
)
- (i32.gt_s
- (tee_local $12
- (i32.sub
- (get_local $12)
- (get_local $8)
- )
- )
- (i32.const -1)
+ )
+ (get_local $13)
+ )
+ (i32.gt_s
+ (tee_local $12
+ (i32.sub
+ (get_local $12)
+ (get_local $8)
)
)
+ (i32.const -1)
)
)
- (br $while-in$121)
)
)
)
@@ -7362,34 +7266,34 @@
(get_local $26)
)
(loop $while-in$130
- (block $while-out$129
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
+ (i32.store8
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
)
- (i32.and
- (i32.or
- (i32.and
- (i32.load8_s
- (i32.add
- (i32.and
- (get_local $5)
- (i32.const 15)
- )
- (i32.const 4075)
+ )
+ (i32.and
+ (i32.or
+ (i32.and
+ (i32.load8_s
+ (i32.add
+ (i32.and
+ (get_local $5)
+ (i32.const 15)
)
+ (i32.const 4075)
)
- (i32.const 255)
)
- (get_local $7)
+ (i32.const 255)
)
- (i32.const 255)
+ (get_local $7)
)
+ (i32.const 255)
)
- (br_if $while-out$129
+ )
+ (br_if $while-in$130
+ (i32.eqz
(i32.and
(i32.eqz
(tee_local $5
@@ -7407,7 +7311,6 @@
)
)
)
- (br $while-in$130)
)
)
(if
@@ -7629,17 +7532,16 @@
)
)
)
- (set_local $7
- (get_local $1)
- )
(block
(set_local $7
(get_local $1)
)
- (br $while-out$131)
+ (br $while-in$132)
+ )
+ (set_local $7
+ (get_local $1)
)
)
- (br $while-in$132)
)
)
(if
@@ -7673,92 +7575,91 @@
)
)
(loop $while-in$134
- (block $while-out$133
- (if
- (i32.eqz
- (tee_local $1
- (i32.load
- (get_local $8)
- )
- )
- )
- (block
- (set_local $36
- (get_local $7)
- )
- (set_local $11
- (i32.const 98)
+ (if
+ (i32.eqz
+ (tee_local $1
+ (i32.load
+ (get_local $8)
)
- (br $label$break$L308)
)
)
- (set_local $8
- (i32.add
- (get_local $8)
- (i32.const 4)
+ (block
+ (set_local $36
+ (get_local $7)
)
+ (set_local $11
+ (i32.const 98)
+ )
+ (br $label$break$L308)
)
- (if
- (i32.gt_s
- (tee_local $1
- (i32.add
- (tee_local $5
- (call $_wctomb
- (get_local $62)
- (get_local $1)
- )
+ )
+ (set_local $8
+ (i32.add
+ (get_local $8)
+ (i32.const 4)
+ )
+ )
+ (if
+ (i32.gt_s
+ (tee_local $1
+ (i32.add
+ (tee_local $5
+ (call $_wctomb
+ (get_local $62)
+ (get_local $1)
)
- (get_local $6)
)
+ (get_local $6)
)
+ )
+ (get_local $7)
+ )
+ (block
+ (set_local $36
(get_local $7)
)
- (block
- (set_local $36
- (get_local $7)
- )
- (set_local $11
- (i32.const 98)
- )
- (br $label$break$L308)
+ (set_local $11
+ (i32.const 98)
)
+ (br $label$break$L308)
)
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
- )
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (get_local $62)
- (get_local $5)
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
(get_local $0)
)
+ (i32.const 32)
)
)
- (if
- (i32.lt_u
- (get_local $1)
- (get_local $7)
+ (drop
+ (call $___fwritex
+ (get_local $62)
+ (get_local $5)
+ (get_local $0)
)
+ )
+ )
+ (if
+ (i32.lt_u
+ (get_local $1)
+ (get_local $7)
+ )
+ (block
(set_local $6
(get_local $1)
)
- (block
- (set_local $36
- (get_local $7)
- )
- (set_local $11
- (i32.const 98)
- )
- (br $while-out$133)
+ (br $while-in$134)
+ )
+ (block
+ (set_local $36
+ (get_local $7)
+ )
+ (set_local $11
+ (i32.const 98)
)
)
- (br $while-in$134)
)
)
)
@@ -8078,7 +7979,7 @@
(get_local $2)
)
(if
- (i32.ge_s
+ (i32.lt_s
(tee_local $1
(i32.add
(get_local $1)
@@ -8087,6 +7988,7 @@
)
(i32.const 10)
)
+ (br $while-in$137)
(block
(set_local $23
(i32.const 1)
@@ -8094,7 +7996,6 @@
(br $label$break$L343)
)
)
- (br $while-in$137)
)
)
(if
@@ -8103,46 +8004,43 @@
(i32.const 10)
)
(loop $while-in$139
- (block $while-out$138
- (set_local $0
- (i32.add
- (get_local $1)
- (i32.const 1)
- )
+ (set_local $0
+ (i32.add
+ (get_local $1)
+ (i32.const 1)
)
- (if
- (i32.load
- (i32.add
- (get_local $4)
- (i32.shl
- (get_local $1)
- (i32.const 2)
- )
- )
- )
- (block
- (set_local $23
- (i32.const -1)
+ )
+ (if
+ (i32.load
+ (i32.add
+ (get_local $4)
+ (i32.shl
+ (get_local $1)
+ (i32.const 2)
)
- (br $label$break$L343)
)
)
- (if
- (i32.lt_s
- (get_local $0)
- (i32.const 10)
+ (block
+ (set_local $23
+ (i32.const -1)
)
+ (br $label$break$L343)
+ )
+ )
+ (if
+ (i32.lt_s
+ (get_local $0)
+ (i32.const 10)
+ )
+ (block
(set_local $1
(get_local $0)
)
- (block
- (set_local $23
- (i32.const 1)
- )
- (br $while-out$138)
- )
+ (br $while-in$139)
+ )
+ (set_local $23
+ (i32.const 1)
)
- (br $while-in$139)
)
)
(set_local $23
@@ -8594,69 +8492,66 @@
(get_local $1)
)
(loop $while-in$1
- (block $while-out$0
- (set_local $0
- (call $___uremdi3
- (get_local $3)
- (get_local $4)
- (i32.const 10)
- (i32.const 0)
- )
+ (set_local $0
+ (call $___uremdi3
+ (get_local $3)
+ (get_local $4)
+ (i32.const 10)
+ (i32.const 0)
)
- (i32.store8
- (tee_local $2
- (i32.add
- (get_local $2)
- (i32.const -1)
- )
- )
- (i32.and
- (i32.or
- (get_local $0)
- (i32.const 48)
- )
- (i32.const 255)
+ )
+ (i32.store8
+ (tee_local $2
+ (i32.add
+ (get_local $2)
+ (i32.const -1)
)
)
- (set_local $0
- (call $___udivdi3
- (get_local $3)
- (get_local $4)
- (i32.const 10)
- (i32.const 0)
+ (i32.and
+ (i32.or
+ (get_local $0)
+ (i32.const 48)
)
+ (i32.const 255)
)
- (set_local $1
- (get_global $tempRet0)
+ )
+ (set_local $0
+ (call $___udivdi3
+ (get_local $3)
+ (get_local $4)
+ (i32.const 10)
+ (i32.const 0)
)
- (if
- (i32.or
- (i32.gt_u
+ )
+ (set_local $1
+ (get_global $tempRet0)
+ )
+ (if
+ (i32.or
+ (i32.gt_u
+ (get_local $4)
+ (i32.const 9)
+ )
+ (i32.and
+ (i32.eq
(get_local $4)
(i32.const 9)
)
- (i32.and
- (i32.eq
- (get_local $4)
- (i32.const 9)
- )
- (i32.gt_u
- (get_local $3)
- (i32.const -1)
- )
+ (i32.gt_u
+ (get_local $3)
+ (i32.const -1)
)
)
- (block
- (set_local $3
- (get_local $0)
- )
- (set_local $4
- (get_local $1)
- )
+ )
+ (block
+ (set_local $3
+ (get_local $0)
+ )
+ (set_local $4
+ (get_local $1)
)
- (br $while-out$0)
+ (br $while-in$1)
)
- (br $while-in$1)
)
)
(set_local $3
@@ -8679,53 +8574,50 @@
(get_local $0)
)
(loop $while-in$3
- (block $while-out$2
- (i32.store8
- (tee_local $1
- (i32.add
- (get_local $1)
- (i32.const -1)
- )
- )
- (i32.and
- (i32.or
- (i32.and
- (i32.rem_u
- (get_local $3)
- (i32.const 10)
- )
- (i32.const -1)
- )
- (i32.const 48)
- )
- (i32.const 255)
+ (i32.store8
+ (tee_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const -1)
)
)
- (set_local $0
- (i32.and
- (i32.div_u
- (get_local $3)
- (i32.const 10)
+ (i32.and
+ (i32.or
+ (i32.and
+ (i32.rem_u
+ (get_local $3)
+ (i32.const 10)
+ )
+ (i32.const -1)
)
- (i32.const -1)
+ (i32.const 48)
)
+ (i32.const 255)
)
- (if
- (i32.lt_u
+ )
+ (set_local $0
+ (i32.and
+ (i32.div_u
(get_local $3)
(i32.const 10)
)
- (block
- (set_local $0
- (get_local $1)
- )
- (br $while-out$2)
- )
+ (i32.const -1)
+ )
+ )
+ (if
+ (i32.lt_u
+ (get_local $3)
+ (i32.const 10)
+ )
+ (set_local $0
+ (get_local $1)
+ )
+ (block
(set_local $3
(get_local $0)
)
+ (br $while-in$3)
)
- (br $while-in$3)
)
)
)
@@ -8820,44 +8712,41 @@
(get_local $7)
)
(loop $while-in$3
- (block $while-out$2
- (set_local $4
- (i32.eqz
- (i32.and
- (tee_local $1
- (if
- (get_local $4)
- (block
- (drop
- (call $___fwritex
- (get_local $5)
- (i32.const 256)
- (get_local $0)
- )
- )
- (i32.load
+ (set_local $4
+ (i32.eqz
+ (i32.and
+ (tee_local $1
+ (if
+ (get_local $4)
+ (block
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (i32.const 256)
(get_local $0)
)
)
- (get_local $1)
+ (i32.load
+ (get_local $0)
+ )
)
+ (get_local $1)
)
- (i32.const 32)
)
+ (i32.const 32)
)
)
- (br_if $while-out$2
- (i32.le_u
- (tee_local $3
- (i32.add
- (get_local $3)
- (i32.const -256)
- )
+ )
+ (br_if $while-in$3
+ (i32.gt_u
+ (tee_local $3
+ (i32.add
+ (get_local $3)
+ (i32.const -256)
)
- (i32.const 255)
)
+ (i32.const 255)
)
- (br $while-in$3)
)
)
(set_local $1
@@ -9743,50 +9632,47 @@
)
)
(loop $while-in$11
- (block $while-out$10
- (if
- (tee_local $2
- (i32.load
- (tee_local $5
- (i32.add
- (get_local $4)
- (i32.const 20)
- )
+ (if
+ (tee_local $2
+ (i32.load
+ (tee_local $5
+ (i32.add
+ (get_local $4)
+ (i32.const 20)
)
)
)
- (block
- (set_local $4
- (get_local $2)
- )
- (set_local $7
- (get_local $5)
- )
- (br $while-in$11)
+ )
+ (block
+ (set_local $4
+ (get_local $2)
)
+ (set_local $7
+ (get_local $5)
+ )
+ (br $while-in$11)
)
- (if
- (tee_local $2
- (i32.load
- (tee_local $5
- (i32.add
- (get_local $4)
- (i32.const 16)
- )
+ )
+ (if
+ (tee_local $2
+ (i32.load
+ (tee_local $5
+ (i32.add
+ (get_local $4)
+ (i32.const 16)
)
)
)
- (block
- (set_local $4
- (get_local $2)
- )
- (set_local $7
- (get_local $5)
- )
+ )
+ (block
+ (set_local $4
+ (get_local $2)
)
- (br $while-out$10)
+ (set_local $7
+ (get_local $5)
+ )
+ (br $while-in$11)
)
- (br $while-in$11)
)
)
(if
@@ -10377,80 +10263,78 @@
(i32.const 0)
)
(loop $while-in$18
- (block $while-out$17
- (if
- (i32.lt_u
- (tee_local $16
- (i32.sub
- (tee_local $3
- (i32.and
- (i32.load offset=4
- (get_local $23)
- )
- (i32.const -8)
+ (if
+ (i32.lt_u
+ (tee_local $16
+ (i32.sub
+ (tee_local $3
+ (i32.and
+ (i32.load offset=4
+ (get_local $23)
)
+ (i32.const -8)
)
- (get_local $5)
)
+ (get_local $5)
)
- (get_local $8)
)
- (if
- (i32.eq
- (get_local $3)
- (get_local $5)
+ (get_local $8)
+ )
+ (if
+ (i32.eq
+ (get_local $3)
+ (get_local $5)
+ )
+ (block
+ (set_local $25
+ (get_local $16)
)
- (block
- (set_local $25
- (get_local $16)
- )
- (set_local $24
- (get_local $23)
- )
- (set_local $28
- (get_local $23)
- )
- (set_local $11
- (i32.const 90)
- )
- (br $label$break$L123)
+ (set_local $24
+ (get_local $23)
)
- (set_local $35
+ (set_local $28
(get_local $23)
)
+ (set_local $11
+ (i32.const 90)
+ )
+ (br $label$break$L123)
)
- (set_local $16
- (get_local $8)
+ (set_local $35
+ (get_local $23)
)
)
- (set_local $15
- (select
- (get_local $15)
- (tee_local $3
- (i32.load offset=20
- (get_local $23)
- )
+ (set_local $16
+ (get_local $8)
+ )
+ )
+ (set_local $15
+ (select
+ (get_local $15)
+ (tee_local $3
+ (i32.load offset=20
+ (get_local $23)
)
- (i32.or
- (i32.eqz
- (get_local $3)
- )
- (i32.eq
- (get_local $3)
- (tee_local $3
- (i32.load
+ )
+ (i32.or
+ (i32.eqz
+ (get_local $3)
+ )
+ (i32.eq
+ (get_local $3)
+ (tee_local $3
+ (i32.load
+ (i32.add
(i32.add
- (i32.add
- (get_local $23)
- (i32.const 16)
- )
- (i32.shl
- (i32.shr_u
- (get_local $11)
- (i32.const 31)
- )
- (i32.const 2)
+ (get_local $23)
+ (i32.const 16)
+ )
+ (i32.shl
+ (i32.shr_u
+ (get_local $11)
+ (i32.const 31)
)
+ (i32.const 2)
)
)
)
@@ -10458,49 +10342,48 @@
)
)
)
- (set_local $11
- (i32.shl
- (get_local $11)
- (i32.xor
- (i32.and
- (tee_local $8
- (i32.eqz
- (get_local $3)
- )
+ )
+ (set_local $11
+ (i32.shl
+ (get_local $11)
+ (i32.xor
+ (i32.and
+ (tee_local $8
+ (i32.eqz
+ (get_local $3)
)
- (i32.const 1)
)
(i32.const 1)
)
+ (i32.const 1)
)
)
- (if
- (get_local $8)
- (block
- (set_local $30
- (get_local $16)
- )
- (set_local $31
- (get_local $15)
- )
- (set_local $27
- (get_local $35)
- )
- (set_local $11
- (i32.const 86)
- )
- (br $while-out$17)
+ )
+ (if
+ (get_local $8)
+ (block
+ (set_local $30
+ (get_local $16)
)
- (block
- (set_local $8
- (get_local $16)
- )
- (set_local $23
- (get_local $3)
- )
+ (set_local $31
+ (get_local $15)
+ )
+ (set_local $27
+ (get_local $35)
)
+ (set_local $11
+ (i32.const 86)
+ )
+ )
+ (block
+ (set_local $8
+ (get_local $16)
+ )
+ (set_local $23
+ (get_local $3)
+ )
+ (br $while-in$18)
)
- (br $while-in$18)
)
)
)
@@ -10694,84 +10577,79 @@
(i32.const 90)
)
(loop $while-in$20
- (block $while-out$19
- (set_local $11
- (i32.const 0)
- )
- (set_local $0
- (i32.lt_u
- (tee_local $3
- (i32.sub
- (i32.and
- (i32.load offset=4
- (get_local $24)
- )
- (i32.const -8)
+ (set_local $11
+ (i32.const 0)
+ )
+ (set_local $0
+ (i32.lt_u
+ (tee_local $3
+ (i32.sub
+ (i32.and
+ (i32.load offset=4
+ (get_local $24)
)
- (get_local $5)
+ (i32.const -8)
)
+ (get_local $5)
)
- (get_local $25)
)
+ (get_local $25)
)
- (set_local $17
- (select
- (get_local $3)
- (get_local $25)
- (get_local $0)
- )
+ )
+ (set_local $17
+ (select
+ (get_local $3)
+ (get_local $25)
+ (get_local $0)
)
- (set_local $3
- (select
+ )
+ (set_local $3
+ (select
+ (get_local $24)
+ (get_local $28)
+ (get_local $0)
+ )
+ )
+ (if
+ (tee_local $0
+ (i32.load offset=16
(get_local $24)
- (get_local $28)
- (get_local $0)
)
)
- (if
- (tee_local $0
- (i32.load offset=16
- (get_local $24)
- )
+ (block
+ (set_local $25
+ (get_local $17)
)
- (block
- (set_local $25
- (get_local $17)
- )
- (set_local $24
- (get_local $0)
- )
- (set_local $28
- (get_local $3)
- )
- (br $while-in$20)
+ (set_local $24
+ (get_local $0)
+ )
+ (set_local $28
+ (get_local $3)
)
+ (br $while-in$20)
)
- (if
- (tee_local $0
- (i32.load offset=20
- (get_local $24)
- )
+ )
+ (if
+ (tee_local $0
+ (i32.load offset=20
+ (get_local $24)
)
- (block
- (set_local $25
- (get_local $17)
- )
- (set_local $24
- (get_local $0)
- )
- (set_local $28
- (get_local $3)
- )
+ )
+ (block
+ (set_local $25
+ (get_local $17)
)
- (block
- (set_local $13
- (get_local $3)
- )
- (br $while-out$19)
+ (set_local $24
+ (get_local $0)
+ )
+ (set_local $28
+ (get_local $3)
)
+ (br $while-in$20)
+ )
+ (set_local $13
+ (get_local $3)
)
- (br $while-in$20)
)
)
)
@@ -10864,50 +10742,47 @@
)
)
(loop $while-in$24
- (block $while-out$23
- (if
- (tee_local $2
- (i32.load
- (tee_local $8
- (i32.add
- (get_local $7)
- (i32.const 20)
- )
+ (if
+ (tee_local $2
+ (i32.load
+ (tee_local $8
+ (i32.add
+ (get_local $7)
+ (i32.const 20)
)
)
)
- (block
- (set_local $7
- (get_local $2)
- )
- (set_local $9
- (get_local $8)
- )
- (br $while-in$24)
+ )
+ (block
+ (set_local $7
+ (get_local $2)
+ )
+ (set_local $9
+ (get_local $8)
)
+ (br $while-in$24)
)
- (if
- (tee_local $2
- (i32.load
- (tee_local $8
- (i32.add
- (get_local $7)
- (i32.const 16)
- )
+ )
+ (if
+ (tee_local $2
+ (i32.load
+ (tee_local $8
+ (i32.add
+ (get_local $7)
+ (i32.const 16)
)
)
)
- (block
- (set_local $7
- (get_local $2)
- )
- (set_local $9
- (get_local $8)
- )
+ )
+ (block
+ (set_local $7
+ (get_local $2)
+ )
+ (set_local $9
+ (get_local $8)
)
- (br $while-out$23)
+ (br $while-in$24)
)
- (br $while-in$24)
)
)
(if
@@ -11546,6 +11421,7 @@
(set_local $2
(get_local $0)
)
+ (br $while-in$32)
)
(block
(set_local $41
@@ -11557,10 +11433,8 @@
(set_local $11
(i32.const 145)
)
- (br $while-out$31)
)
)
- (br $while-in$32)
)
)
(if
@@ -12031,8 +11905,11 @@
(get_local $16)
)
)
- (set_local $16
- (get_local $4)
+ (block
+ (set_local $16
+ (get_local $4)
+ )
+ (br $while-in$38)
)
(block
(set_local $11
@@ -12041,7 +11918,6 @@
(br $label$break$L259)
)
)
- (br $while-in$38)
)
)
(if
@@ -12497,12 +12373,13 @@
(get_local $8)
)
)
- (set_local $8
- (get_local $4)
+ (block
+ (set_local $8
+ (get_local $4)
+ )
+ (br $while-in$49)
)
- (br $while-out$48)
)
- (br $while-in$49)
)
)
(if
@@ -12660,21 +12537,16 @@
)
)
(if
- (i32.eqz
- (tee_local $1
- (i32.load offset=8
- (get_local $1)
- )
+ (tee_local $1
+ (i32.load offset=8
+ (get_local $1)
)
)
- (block
- (set_local $26
- (i32.const 624)
- )
- (br $while-out$50)
+ (br $while-in$51)
+ (set_local $26
+ (i32.const 624)
)
)
- (br $while-in$51)
)
)
(if
@@ -13066,50 +12938,47 @@
)
)
(loop $while-in$62
- (block $while-out$61
- (if
- (tee_local $1
- (i32.load
- (tee_local $20
- (i32.add
- (get_local $4)
- (i32.const 20)
- )
+ (if
+ (tee_local $1
+ (i32.load
+ (tee_local $20
+ (i32.add
+ (get_local $4)
+ (i32.const 20)
)
)
)
- (block
- (set_local $4
- (get_local $1)
- )
- (set_local $9
- (get_local $20)
- )
- (br $while-in$62)
+ )
+ (block
+ (set_local $4
+ (get_local $1)
+ )
+ (set_local $9
+ (get_local $20)
)
+ (br $while-in$62)
)
- (if
- (tee_local $1
- (i32.load
- (tee_local $20
- (i32.add
- (get_local $4)
- (i32.const 16)
- )
+ )
+ (if
+ (tee_local $1
+ (i32.load
+ (tee_local $20
+ (i32.add
+ (get_local $4)
+ (i32.const 16)
)
)
)
- (block
- (set_local $4
- (get_local $1)
- )
- (set_local $9
- (get_local $20)
- )
+ )
+ (block
+ (set_local $4
+ (get_local $1)
)
- (br $while-out$61)
+ (set_local $9
+ (get_local $20)
+ )
+ (br $while-in$62)
)
- (br $while-in$62)
)
)
(if
@@ -13750,6 +13619,7 @@
(set_local $2
(get_local $0)
)
+ (br $while-in$72)
)
(block
(set_local $45
@@ -13761,10 +13631,8 @@
(set_local $11
(i32.const 278)
)
- (br $while-out$71)
)
)
- (br $while-in$72)
)
)
(if
@@ -14071,26 +13939,23 @@
)
)
(loop $while-in$76
- (block $while-out$75
- (i32.store
- (tee_local $1
- (i32.add
- (get_local $1)
- (i32.const 4)
- )
+ (i32.store
+ (tee_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 4)
)
- (i32.const 7)
)
- (br_if $while-out$75
- (i32.ge_u
- (i32.add
- (get_local $1)
- (i32.const 4)
- )
- (get_local $2)
+ (i32.const 7)
+ )
+ (br_if $while-in$76
+ (i32.lt_u
+ (i32.add
+ (get_local $1)
+ (i32.const 4)
)
+ (get_local $2)
)
- (br $while-in$76)
)
)
(if
@@ -14465,6 +14330,7 @@
(set_local $4
(get_local $1)
)
+ (br $while-in$78)
)
(block
(set_local $46
@@ -14476,10 +14342,8 @@
(set_local $11
(i32.const 304)
)
- (br $while-out$77)
)
)
- (br $while-in$78)
)
)
(if
@@ -14618,38 +14482,35 @@
(i32.const 0)
)
(loop $while-in$47
- (block $while-out$46
- (i32.store offset=12
- (tee_local $0
- (i32.add
- (i32.const 216)
+ (i32.store offset=12
+ (tee_local $0
+ (i32.add
+ (i32.const 216)
+ (i32.shl
(i32.shl
- (i32.shl
- (get_local $1)
- (i32.const 1)
- )
- (i32.const 2)
+ (get_local $1)
+ (i32.const 1)
)
+ (i32.const 2)
)
)
- (get_local $0)
)
- (i32.store offset=8
- (get_local $0)
- (get_local $0)
- )
- (br_if $while-out$46
- (i32.eq
- (tee_local $1
- (i32.add
- (get_local $1)
- (i32.const 1)
- )
+ (get_local $0)
+ )
+ (i32.store offset=8
+ (get_local $0)
+ (get_local $0)
+ )
+ (br_if $while-in$47
+ (i32.ne
+ (tee_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 1)
)
- (i32.const 32)
)
+ (i32.const 32)
)
- (br $while-in$47)
)
)
(i32.store
@@ -15158,50 +15019,47 @@
)
)
(loop $while-in$5
- (block $while-out$4
- (if
- (tee_local $0
- (i32.load
- (tee_local $13
- (i32.add
- (get_local $2)
- (i32.const 20)
- )
+ (if
+ (tee_local $0
+ (i32.load
+ (tee_local $13
+ (i32.add
+ (get_local $2)
+ (i32.const 20)
)
)
)
- (block
- (set_local $2
- (get_local $0)
- )
- (set_local $6
- (get_local $13)
- )
- (br $while-in$5)
+ )
+ (block
+ (set_local $2
+ (get_local $0)
+ )
+ (set_local $6
+ (get_local $13)
)
+ (br $while-in$5)
)
- (if
- (tee_local $0
- (i32.load
- (tee_local $13
- (i32.add
- (get_local $2)
- (i32.const 16)
- )
+ )
+ (if
+ (tee_local $0
+ (i32.load
+ (tee_local $13
+ (i32.add
+ (get_local $2)
+ (i32.const 16)
)
)
)
- (block
- (set_local $2
- (get_local $0)
- )
- (set_local $6
- (get_local $13)
- )
+ )
+ (block
+ (set_local $2
+ (get_local $0)
+ )
+ (set_local $6
+ (get_local $13)
)
- (br $while-out$4)
+ (br $while-in$5)
)
- (br $while-in$5)
)
)
(if
@@ -15825,50 +15683,47 @@
)
)
(loop $while-in$13
- (block $while-out$12
- (if
- (tee_local $1
- (i32.load
- (tee_local $6
- (i32.add
- (get_local $2)
- (i32.const 20)
- )
+ (if
+ (tee_local $1
+ (i32.load
+ (tee_local $6
+ (i32.add
+ (get_local $2)
+ (i32.const 20)
)
)
)
- (block
- (set_local $2
- (get_local $1)
- )
- (set_local $8
- (get_local $6)
- )
- (br $while-in$13)
+ )
+ (block
+ (set_local $2
+ (get_local $1)
+ )
+ (set_local $8
+ (get_local $6)
)
+ (br $while-in$13)
)
- (if
- (tee_local $1
- (i32.load
- (tee_local $6
- (i32.add
- (get_local $2)
- (i32.const 16)
- )
+ )
+ (if
+ (tee_local $1
+ (i32.load
+ (tee_local $6
+ (i32.add
+ (get_local $2)
+ (i32.const 16)
)
)
)
- (block
- (set_local $2
- (get_local $1)
- )
- (set_local $8
- (get_local $6)
- )
+ )
+ (block
+ (set_local $2
+ (get_local $1)
+ )
+ (set_local $8
+ (get_local $6)
)
- (br $while-out$12)
+ (br $while-in$13)
)
- (br $while-in$13)
)
)
(if
@@ -16456,6 +16311,7 @@
(set_local $1
(get_local $0)
)
+ (br $while-in$19)
)
(block
(set_local $18
@@ -16467,10 +16323,8 @@
(set_local $0
(i32.const 127)
)
- (br $while-out$18)
)
)
- (br $while-in$19)
)
)
(if
@@ -16606,23 +16460,18 @@
)
)
(loop $while-in$21
- (block $while-out$20
- (set_local $0
- (i32.add
- (tee_local $7
- (i32.load
- (get_local $0)
- )
+ (set_local $0
+ (i32.add
+ (tee_local $7
+ (i32.load
+ (get_local $0)
)
- (i32.const 8)
- )
- )
- (br_if $while-out$20
- (i32.eqz
- (get_local $7)
)
+ (i32.const 8)
)
- (br $while-in$21)
+ )
+ (br_if $while-in$21
+ (get_local $7)
)
)
(i32.store
@@ -16738,70 +16587,70 @@
)
)
(loop $while-in$1
- (block $while-out$0
- (br_if $while-out$0
- (i32.ge_s
- (get_local $0)
- (get_local $3)
- )
- )
- (i32.store8
+ (if
+ (i32.lt_s
(get_local $0)
- (get_local $1)
+ (get_local $3)
)
- (set_local $0
- (i32.add
+ (block
+ (i32.store8
(get_local $0)
- (i32.const 1)
+ (get_local $1)
+ )
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
)
+ (br $while-in$1)
)
- (br $while-in$1)
)
)
)
)
(loop $while-in$3
- (block $while-out$2
- (br_if $while-out$2
- (i32.ge_s
- (get_local $0)
- (get_local $6)
- )
- )
- (i32.store
+ (if
+ (i32.lt_s
(get_local $0)
- (get_local $5)
+ (get_local $6)
)
- (set_local $0
- (i32.add
+ (block
+ (i32.store
(get_local $0)
- (i32.const 4)
+ (get_local $5)
+ )
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 4)
+ )
)
+ (br $while-in$3)
)
- (br $while-in$3)
)
)
)
)
(loop $while-in$5
- (block $while-out$4
- (br_if $while-out$4
- (i32.ge_s
- (get_local $0)
- (get_local $4)
- )
- )
- (i32.store8
+ (if
+ (i32.lt_s
(get_local $0)
- (get_local $1)
+ (get_local $4)
)
- (set_local $0
- (i32.add
+ (block
+ (i32.store8
(get_local $0)
- (i32.const 1)
+ (get_local $1)
+ )
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
)
+ (br $while-in$5)
)
- (br $while-in$5)
)
)
(i32.sub
@@ -16991,75 +16840,75 @@
)
)
(loop $while-in$3
- (block $while-out$2
- (br_if $while-out$2
- (i32.lt_s
- (get_local $2)
- (i32.const 4)
- )
- )
- (i32.store
- (get_local $0)
- (i32.load
- (get_local $1)
- )
+ (if
+ (i32.ge_s
+ (get_local $2)
+ (i32.const 4)
)
- (set_local $0
- (i32.add
+ (block
+ (i32.store
(get_local $0)
- (i32.const 4)
+ (i32.load
+ (get_local $1)
+ )
)
- )
- (set_local $1
- (i32.add
- (get_local $1)
- (i32.const 4)
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 4)
+ )
)
- )
- (set_local $2
- (i32.sub
- (get_local $2)
- (i32.const 4)
+ (set_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 4)
+ )
)
+ (set_local $2
+ (i32.sub
+ (get_local $2)
+ (i32.const 4)
+ )
+ )
+ (br $while-in$3)
)
- (br $while-in$3)
)
)
)
)
(loop $while-in$5
- (block $while-out$4
- (br_if $while-out$4
- (i32.le_s
- (get_local $2)
- (i32.const 0)
- )
- )
- (i32.store8
- (get_local $0)
- (i32.load8_s
- (get_local $1)
- )
+ (if
+ (i32.gt_s
+ (get_local $2)
+ (i32.const 0)
)
- (set_local $0
- (i32.add
+ (block
+ (i32.store8
(get_local $0)
- (i32.const 1)
+ (i32.load8_s
+ (get_local $1)
+ )
)
- )
- (set_local $1
- (i32.add
- (get_local $1)
- (i32.const 1)
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
)
- )
- (set_local $2
- (i32.sub
- (get_local $2)
- (i32.const 1)
+ (set_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 1)
+ )
+ )
+ (set_local $2
+ (i32.sub
+ (get_local $2)
+ (i32.const 1)
+ )
)
+ (br $while-in$5)
)
- (br $while-in$5)
)
)
(get_local $3)