diff options
Diffstat (limited to 'test/memorygrowth.fromasm.imprecise')
-rw-r--r-- | test/memorygrowth.fromasm.imprecise | 2352 |
1 files changed, 1205 insertions, 1147 deletions
diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise index 65be97cf1..2ae9ff495 100644 --- a/test/memorygrowth.fromasm.imprecise +++ b/test/memorygrowth.fromasm.imprecise @@ -783,70 +783,72 @@ (set_local $3 (get_local $25) ) - (loop $while-out$23 $while-in$24 - (if - (tee_local $25 - (i32.load offset=16 - (get_local $12) - ) - ) - (set_local $0 - (get_local $25) - ) + (loop $while-in$24 + (block $while-out$23 (if - (tee_local $16 - (i32.load offset=20 + (tee_local $25 + (i32.load offset=16 (get_local $12) ) ) (set_local $0 - (get_local $16) + (get_local $25) ) - (block - (set_local $32 - (get_local $2) + (if + (tee_local $16 + (i32.load offset=20 + (get_local $12) + ) ) - (set_local $26 - (get_local $3) + (set_local $0 + (get_local $16) + ) + (block + (set_local $32 + (get_local $2) + ) + (set_local $26 + (get_local $3) + ) + (br $while-out$23) ) - (br $while-out$23) ) ) - ) - (set_local $16 - (i32.lt_u - (tee_local $25 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $0) + (set_local $16 + (i32.lt_u + (tee_local $25 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $0) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $14) ) - (get_local $14) ) + (get_local $2) ) - (get_local $2) ) - ) - (set_local $2 - (select - (get_local $25) - (get_local $2) - (get_local $16) + (set_local $2 + (select + (get_local $25) + (get_local $2) + (get_local $16) + ) ) - ) - (set_local $12 - (get_local $0) - ) - (set_local $3 - (select + (set_local $12 (get_local $0) - (get_local $3) - (get_local $16) ) + (set_local $3 + (select + (get_local $0) + (get_local $3) + (get_local $16) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (if (i32.lt_u @@ -933,50 +935,52 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (if - (tee_local $7 - (i32.load - (tee_local $8 - (i32.add - (get_local $11) - (i32.const 20) + (loop $while-in$28 + (block $while-out$27 + (if + (tee_local $7 + (i32.load + (tee_local $8 + (i32.add + (get_local $11) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $7) - ) - (set_local $0 - (get_local $8) + (block + (set_local $11 + (get_local $7) + ) + (set_local $0 + (get_local $8) + ) + (br $while-in$28) ) - (br $while-in$28) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $8 - (i32.add - (get_local $11) - (i32.const 16) + (if + (tee_local $7 + (i32.load + (tee_local $8 + (i32.add + (get_local $11) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $7) - ) - (set_local $0 - (get_local $8) + (block + (set_local $11 + (get_local $7) + ) + (set_local $0 + (get_local $8) + ) ) + (br $while-out$27) ) - (br $while-out$27) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1578,90 +1582,92 @@ (set_local $5 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (if - (i32.lt_u - (tee_local $29 - (i32.sub - (tee_local $27 - (i32.and - (i32.load offset=4 - (get_local $19) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.lt_u + (tee_local $29 + (i32.sub + (tee_local $27 + (i32.and + (i32.load offset=4 + (get_local $19) + ) + (i32.const -8) ) - (i32.const -8) ) + (get_local $2) ) - (get_local $2) ) + (get_local $7) ) - (get_local $7) - ) - (if - (i32.eq - (get_local $27) - (get_local $2) - ) - (block - (set_local $36 - (get_local $29) - ) - (set_local $18 - (get_local $19) + (if + (i32.eq + (get_local $27) + (get_local $2) ) - (set_local $17 - (get_local $19) + (block + (set_local $36 + (get_local $29) + ) + (set_local $18 + (get_local $19) + ) + (set_local $17 + (get_local $19) + ) + (set_local $7 + (i32.const 90) + ) + (br $label$break$a) ) - (set_local $7 - (i32.const 90) + (block + (set_local $4 + (get_local $29) + ) + (set_local $0 + (get_local $19) + ) ) - (br $label$break$a) ) (block (set_local $4 - (get_local $29) + (get_local $7) ) (set_local $0 - (get_local $19) + (get_local $5) ) ) ) - (block - (set_local $4 - (get_local $7) - ) - (set_local $0 - (get_local $5) - ) - ) - ) - (set_local $27 - (select - (get_local $25) - (tee_local $29 - (i32.load offset=20 - (get_local $19) - ) - ) - (i32.or - (i32.eq - (get_local $29) - (i32.const 0) + (set_local $27 + (select + (get_local $25) + (tee_local $29 + (i32.load offset=20 + (get_local $19) + ) ) - (i32.eq - (get_local $29) - (tee_local $19 - (i32.load - (i32.add + (i32.or + (i32.eq + (get_local $29) + (i32.const 0) + ) + (i32.eq + (get_local $29) + (tee_local $19 + (i32.load (i32.add - (get_local $19) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $3) - (i32.const 31) + (i32.add + (get_local $19) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $3) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) @@ -1669,54 +1675,54 @@ ) ) ) - ) - (if - (tee_local $29 - (i32.eq - (get_local $19) - (i32.const 0) - ) - ) - (block - (set_local $40 - (get_local $4) - ) - (set_local $12 - (get_local $27) - ) - (set_local $38 - (get_local $0) - ) - (set_local $7 - (i32.const 86) - ) - (br $while-out$3) - ) - (block - (set_local $7 - (get_local $4) + (if + (tee_local $29 + (i32.eq + (get_local $19) + (i32.const 0) + ) ) - (set_local $25 - (get_local $27) + (block + (set_local $40 + (get_local $4) + ) + (set_local $12 + (get_local $27) + ) + (set_local $38 + (get_local $0) + ) + (set_local $7 + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $3 - (i32.shl - (get_local $3) - (i32.xor - (i32.and - (get_local $29) + (block + (set_local $7 + (get_local $4) + ) + (set_local $25 + (get_local $27) + ) + (set_local $3 + (i32.shl + (get_local $3) + (i32.xor + (i32.and + (get_local $29) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) ) ) - ) - (set_local $5 - (get_local $0) + (set_local $5 + (get_local $0) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) (block @@ -1913,84 +1919,86 @@ (get_local $7) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $7 - (i32.const 0) - ) - (set_local $3 - (i32.lt_u - (tee_local $5 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $18) + (loop $while-in$6 + (block $while-out$5 + (set_local $7 + (i32.const 0) + ) + (set_local $3 + (i32.lt_u + (tee_local $5 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $18) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $2) ) - (get_local $2) ) + (get_local $36) ) - (get_local $36) ) - ) - (set_local $12 - (select - (get_local $5) - (get_local $36) - (get_local $3) - ) - ) - (set_local $5 - (select - (get_local $18) - (get_local $17) - (get_local $3) - ) - ) - (if - (tee_local $3 - (i32.load offset=16 - (get_local $18) - ) - ) - (block - (set_local $36 - (get_local $12) - ) - (set_local $18 - (get_local $3) - ) - (set_local $17 + (set_local $12 + (select (get_local $5) + (get_local $36) + (get_local $3) ) - (br $while-in$6) ) - ) - (if - (tee_local $18 - (i32.load offset=20 + (set_local $5 + (select (get_local $18) + (get_local $17) + (get_local $3) ) ) - (block - (set_local $36 - (get_local $12) + (if + (tee_local $3 + (i32.load offset=16 + (get_local $18) + ) ) - (set_local $17 - (get_local $5) + (block + (set_local $36 + (get_local $12) + ) + (set_local $18 + (get_local $3) + ) + (set_local $17 + (get_local $5) + ) + (br $while-in$6) ) ) - (block - (set_local $22 - (get_local $12) + (if + (tee_local $18 + (i32.load offset=20 + (get_local $18) + ) ) - (set_local $9 - (get_local $5) + (block + (set_local $36 + (get_local $12) + ) + (set_local $17 + (get_local $5) + ) + ) + (block + (set_local $22 + (get_local $12) + ) + (set_local $9 + (get_local $5) + ) + (br $while-out$5) ) - (br $while-out$5) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2086,50 +2094,52 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (if - (tee_local $16 - (i32.load - (tee_local $14 - (i32.add - (get_local $11) - (i32.const 20) + (loop $while-in$10 + (block $while-out$9 + (if + (tee_local $16 + (i32.load + (tee_local $14 + (i32.add + (get_local $11) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $16) - ) - (set_local $0 - (get_local $14) + (block + (set_local $11 + (get_local $16) + ) + (set_local $0 + (get_local $14) + ) + (br $while-in$10) ) - (br $while-in$10) ) - ) - (if - (tee_local $16 - (i32.load - (tee_local $14 - (i32.add - (get_local $11) - (i32.const 16) + (if + (tee_local $16 + (i32.load + (tee_local $14 + (i32.add + (get_local $11) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $16) - ) - (set_local $0 - (get_local $14) + (block + (set_local $11 + (get_local $16) + ) + (set_local $0 + (get_local $14) + ) ) + (br $while-out$9) ) - (br $while-out$9) + (br $while-in$10) ) - (br $while-in$10) ) (if (i32.lt_u @@ -2712,72 +2722,74 @@ (get_local $0) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $14) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $14) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $22) - ) - (block - (set_local $21 - (get_local $14) + (get_local $22) ) - (set_local $7 - (i32.const 148) + (block + (set_local $21 + (get_local $14) + ) + (set_local $7 + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (if - (tee_local $3 - (i32.load - (tee_local $0 - (i32.add + (if + (tee_local $3 + (i32.load + (tee_local $0 (i32.add - (get_local $14) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $8) - (i32.const 31) + (i32.add + (get_local $14) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $8) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $8 - (i32.shl - (get_local $8) - (i32.const 1) + (block + (set_local $8 + (i32.shl + (get_local $8) + (i32.const 1) + ) + ) + (set_local $14 + (get_local $3) ) ) - (set_local $14 - (get_local $3) - ) - ) - (block - (set_local $6 - (get_local $0) - ) - (set_local $24 - (get_local $14) - ) - (set_local $7 - (i32.const 145) + (block + (set_local $6 + (get_local $0) + ) + (set_local $24 + (get_local $14) + ) + (set_local $7 + (i32.const 145) + ) + (br $while-out$17) ) - (br $while-out$17) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3218,58 +3230,60 @@ (set_local $13 (i32.const 1656) ) - (loop $while-out$35 $while-in$36 - (if - (i32.le_u - (tee_local $20 - (i32.load - (get_local $13) - ) - ) - (get_local $22) - ) + (loop $while-in$36 + (block $while-out$35 (if - (i32.gt_u - (i32.add - (get_local $20) + (i32.le_u + (tee_local $20 (i32.load - (tee_local $23 - (i32.add - (get_local $13) - (i32.const 4) - ) - ) + (get_local $13) ) ) (get_local $22) ) - (block - (set_local $0 - (get_local $13) + (if + (i32.gt_u + (i32.add + (get_local $20) + (i32.load + (tee_local $23 + (i32.add + (get_local $13) + (i32.const 4) + ) + ) + ) + ) + (get_local $22) ) - (set_local $17 - (get_local $23) + (block + (set_local $0 + (get_local $13) + ) + (set_local $17 + (get_local $23) + ) + (br $while-out$35) ) - (br $while-out$35) ) ) - ) - (if - (i32.eqz - (tee_local $13 - (i32.load offset=8 - (get_local $13) + (if + (i32.eqz + (tee_local $13 + (i32.load offset=8 + (get_local $13) + ) ) ) - ) - (block - (set_local $7 - (i32.const 171) + (block + (set_local $7 + (i32.const 171) + ) + (br $label$break$c) ) - (br $label$break$c) ) + (br $while-in$36) ) - (br $while-in$36) ) (if (i32.lt_u @@ -3686,55 +3700,57 @@ (set_local $1 (i32.const 1656) ) - (loop $do-out$44 $do-in$45 - (if - (i32.eq - (get_local $28) - (i32.add - (tee_local $4 - (i32.load - (get_local $1) + (loop $do-in$45 + (block $do-out$44 + (if + (i32.eq + (get_local $28) + (i32.add + (tee_local $4 + (i32.load + (get_local $1) + ) ) - ) - (tee_local $21 - (i32.load - (tee_local $15 - (i32.add - (get_local $1) - (i32.const 4) + (tee_local $21 + (i32.load + (tee_local $15 + (i32.add + (get_local $1) + (i32.const 4) + ) ) ) ) ) ) - ) - (block - (set_local $50 - (get_local $4) - ) - (set_local $51 - (get_local $15) - ) - (set_local $52 - (get_local $21) - ) - (set_local $35 - (get_local $1) - ) - (set_local $7 - (i32.const 201) + (block + (set_local $50 + (get_local $4) + ) + (set_local $51 + (get_local $15) + ) + (set_local $52 + (get_local $21) + ) + (set_local $35 + (get_local $1) + ) + (set_local $7 + (i32.const 201) + ) + (br $do-out$44) ) - (br $do-out$44) ) - ) - (br_if $do-in$45 - (i32.ne - (tee_local $1 - (i32.load offset=8 - (get_local $1) + (br_if $do-in$45 + (i32.ne + (tee_local $1 + (i32.load offset=8 + (get_local $1) + ) ) + (i32.const 0) ) - (i32.const 0) ) ) ) @@ -3873,43 +3889,45 @@ (set_local $1 (i32.const 1656) ) - (loop $while-out$46 $while-in$47 - (if - (i32.eq - (i32.load - (get_local $1) - ) - (get_local $15) - ) - (block - (set_local $53 - (get_local $1) - ) - (set_local $45 - (get_local $1) - ) - (set_local $7 - (i32.const 209) + (loop $while-in$47 + (block $while-out$46 + (if + (i32.eq + (i32.load + (get_local $1) + ) + (get_local $15) ) - (br $while-out$46) - ) - ) - (if - (i32.eqz - (tee_local $1 - (i32.load offset=8 + (block + (set_local $53 + (get_local $1) + ) + (set_local $45 (get_local $1) ) + (set_local $7 + (i32.const 209) + ) + (br $while-out$46) ) ) - (block - (set_local $37 - (i32.const 1656) + (if + (i32.eqz + (tee_local $1 + (i32.load offset=8 + (get_local $1) + ) + ) + ) + (block + (set_local $37 + (i32.const 1656) + ) + (br $while-out$46) ) - (br $while-out$46) ) + (br $while-in$47) ) - (br $while-in$47) ) (if (i32.eq @@ -4312,50 +4330,52 @@ ) ) ) - (loop $while-out$53 $while-in$54 - (if - (tee_local $20 - (i32.load - (tee_local $13 - (i32.add - (get_local $11) - (i32.const 20) + (loop $while-in$54 + (block $while-out$53 + (if + (tee_local $20 + (i32.load + (tee_local $13 + (i32.add + (get_local $11) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $20) - ) - (set_local $0 - (get_local $13) + (block + (set_local $11 + (get_local $20) + ) + (set_local $0 + (get_local $13) + ) + (br $while-in$54) ) - (br $while-in$54) ) - ) - (if - (tee_local $20 - (i32.load - (tee_local $13 - (i32.add - (get_local $11) - (i32.const 16) + (if + (tee_local $20 + (i32.load + (tee_local $13 + (i32.add + (get_local $11) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $11 - (get_local $20) - ) - (set_local $0 - (get_local $13) + (block + (set_local $11 + (get_local $20) + ) + (set_local $0 + (get_local $13) + ) ) + (br $while-out$53) ) - (br $while-out$53) + (br $while-in$54) ) - (br $while-in$54) ) (if (i32.lt_u @@ -4936,72 +4956,74 @@ (get_local $2) ) ) - (loop $while-out$67 $while-in$68 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $6) + (loop $while-in$68 + (block $while-out$67 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $6) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $11) - ) - (block - (set_local $42 - (get_local $6) + (get_local $11) ) - (set_local $7 - (i32.const 279) + (block + (set_local $42 + (get_local $6) + ) + (set_local $7 + (i32.const 279) + ) + (br $while-out$67) ) - (br $while-out$67) ) - ) - (if - (tee_local $17 - (i32.load - (tee_local $2 - (i32.add + (if + (tee_local $17 + (i32.load + (tee_local $2 (i32.add - (get_local $6) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $13) - (i32.const 31) + (i32.add + (get_local $6) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $13 - (i32.shl - (get_local $13) - (i32.const 1) + (block + (set_local $13 + (i32.shl + (get_local $13) + (i32.const 1) + ) + ) + (set_local $6 + (get_local $17) ) ) - (set_local $6 - (get_local $17) - ) - ) - (block - (set_local $48 - (get_local $2) - ) - (set_local $54 - (get_local $6) - ) - (set_local $7 - (i32.const 276) + (block + (set_local $48 + (get_local $2) + ) + (set_local $54 + (get_local $6) + ) + (set_local $7 + (i32.const 276) + ) + (br $while-out$67) ) - (br $while-out$67) ) + (br $while-in$68) ) - (br $while-in$68) ) (if (i32.eq @@ -5106,42 +5128,44 @@ ) ) ) - (loop $while-out$69 $while-in$70 - (if - (i32.le_u - (tee_local $1 - (i32.load - (get_local $37) - ) - ) - (get_local $10) - ) + (loop $while-in$70 + (block $while-out$69 (if - (i32.gt_u - (tee_local $24 - (i32.add - (get_local $1) - (i32.load offset=4 - (get_local $37) - ) + (i32.le_u + (tee_local $1 + (i32.load + (get_local $37) ) ) (get_local $10) ) - (block - (set_local $0 - (get_local $24) + (if + (i32.gt_u + (tee_local $24 + (i32.add + (get_local $1) + (i32.load offset=4 + (get_local $37) + ) + ) + ) + (get_local $10) + ) + (block + (set_local $0 + (get_local $24) + ) + (br $while-out$69) ) - (br $while-out$69) ) ) - ) - (set_local $37 - (i32.load offset=8 - (get_local $37) + (set_local $37 + (i32.load offset=8 + (get_local $37) + ) ) + (br $while-in$70) ) - (br $while-in$70) ) (set_local $24 (i32.add @@ -5651,72 +5675,74 @@ (get_local $2) ) ) - (loop $while-out$73 $while-in$74 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $17) + (loop $while-in$74 + (block $while-out$73 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $17) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $1) - ) - (block - (set_local $32 - (get_local $17) + (get_local $1) ) - (set_local $7 - (i32.const 305) + (block + (set_local $32 + (get_local $17) + ) + (set_local $7 + (i32.const 305) + ) + (br $while-out$73) ) - (br $while-out$73) ) - ) - (if - (tee_local $6 - (i32.load - (tee_local $2 - (i32.add + (if + (tee_local $6 + (i32.load + (tee_local $2 (i32.add - (get_local $17) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $4) - (i32.const 31) + (i32.add + (get_local $17) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $4) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $4 - (i32.shl - (get_local $4) - (i32.const 1) + (block + (set_local $4 + (i32.shl + (get_local $4) + (i32.const 1) + ) + ) + (set_local $17 + (get_local $6) ) ) - (set_local $17 - (get_local $6) - ) - ) - (block - (set_local $26 - (get_local $2) - ) - (set_local $11 - (get_local $17) - ) - (set_local $7 - (i32.const 302) + (block + (set_local $26 + (get_local $2) + ) + (set_local $11 + (get_local $17) + ) + (set_local $7 + (i32.const 302) + ) + (br $while-out$73) ) - (br $while-out$73) ) + (br $while-in$74) ) - (br $while-in$74) ) (if (i32.eq @@ -6402,58 +6428,60 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (if - (tee_local $11 - (i32.load - (tee_local $6 - (i32.add - (get_local $1) - (i32.const 20) + (loop $while-in$5 + (block $while-out$4 + (if + (tee_local $11 + (i32.load + (tee_local $6 + (i32.add + (get_local $1) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $4 - (get_local $6) + (block + (set_local $1 + (get_local $11) + ) + (set_local $4 + (get_local $6) + ) + (br $while-in$5) ) - (br $while-in$5) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $6 - (i32.add - (get_local $1) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $6 + (i32.add + (get_local $1) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $4 - (get_local $6) - ) - ) - (block - (set_local $6 - (get_local $1) + (block + (set_local $1 + (get_local $11) + ) + (set_local $4 + (get_local $6) + ) ) - (set_local $10 - (get_local $4) + (block + (set_local $6 + (get_local $1) + ) + (set_local $10 + (get_local $4) + ) + (br $while-out$4) ) - (br $while-out$4) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -7074,50 +7102,52 @@ ) ) ) - (loop $while-out$12 $while-in$13 - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 20) + (loop $while-in$13 + (block $while-out$12 + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $4 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $4 + (get_local $1) + ) + (br $while-in$13) ) - (br $while-in$13) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $4 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $4 + (get_local $1) + ) ) + (br $while-out$12) ) - (br $while-out$12) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -7652,72 +7682,74 @@ (get_local $3) ) ) - (loop $while-out$18 $while-in$19 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$19 + (block $while-out$18 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $0) - ) - (block - (set_local $16 - (get_local $1) + (get_local $0) ) - (set_local $0 - (i32.const 130) + (block + (set_local $16 + (get_local $1) + ) + (set_local $0 + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (if - (tee_local $12 - (i32.load - (tee_local $8 - (i32.add + (if + (tee_local $12 + (i32.load + (tee_local $8 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $13) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $13) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $13 - (i32.shl - (get_local $13) - (i32.const 1) + (block + (set_local $13 + (i32.shl + (get_local $13) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $12) ) ) - (set_local $1 - (get_local $12) - ) - ) - (block - (set_local $18 - (get_local $8) - ) - (set_local $19 - (get_local $1) - ) - (set_local $0 - (i32.const 127) + (block + (set_local $18 + (get_local $8) + ) + (set_local $19 + (get_local $1) + ) + (set_local $0 + (i32.const 127) + ) + (br $while-out$18) ) - (br $while-out$18) ) + (br $while-in$19) ) - (br $while-in$19) ) (if (i32.eq @@ -7851,22 +7883,24 @@ (i32.const 1664) ) ) - (loop $while-out$20 $while-in$21 - (if - (tee_local $2 - (i32.load - (get_local $0) + (loop $while-in$21 + (block $while-out$20 + (if + (tee_local $2 + (i32.load + (get_local $0) + ) ) - ) - (set_local $0 - (i32.add - (get_local $2) - (i32.const 8) + (set_local $0 + (i32.add + (get_local $2) + (i32.const 8) + ) ) + (br $while-out$20) ) - (br $while-out$20) + (br $while-in$21) ) - (br $while-in$21) ) (i32.store (i32.const 1240) @@ -7979,209 +8013,211 @@ (get_local $2) ) ) - (loop $while-out$0 $while-in$1 - (if - (i32.eq - (get_local $5) - (tee_local $6 - (if - (i32.load - (i32.const 1160) - ) - (block - (call_import $ra - (i32.const 1) - (get_local $0) + (loop $while-in$1 + (block $while-out$0 + (if + (i32.eq + (get_local $5) + (tee_local $6 + (if + (i32.load + (i32.const 1160) ) - (i32.store - (get_local $13) - (i32.load - (get_local $1) + (block + (call_import $ra + (i32.const 1) + (get_local $0) ) - ) - (i32.store offset=4 - (get_local $13) - (get_local $4) - ) - (i32.store offset=8 - (get_local $13) - (get_local $3) - ) - (set_local $10 - (call $Pa - (call_import $ya - (i32.const 146) - (get_local $13) + (i32.store + (get_local $13) + (i32.load + (get_local $1) ) ) - ) - (call_import $oa - (i32.const 0) - ) - (get_local $10) - ) - (block - (i32.store - (get_local $12) - (i32.load - (get_local $1) + (i32.store offset=4 + (get_local $13) + (get_local $4) ) + (i32.store offset=8 + (get_local $13) + (get_local $3) + ) + (set_local $10 + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $13) + ) + ) + ) + (call_import $oa + (i32.const 0) + ) + (get_local $10) ) - (i32.store offset=4 - (get_local $12) - (get_local $4) - ) - (i32.store offset=8 - (get_local $12) - (get_local $3) - ) - (call $Pa - (call_import $ya - (i32.const 146) + (block + (i32.store (get_local $12) + (i32.load + (get_local $1) + ) + ) + (i32.store offset=4 + (get_local $12) + (get_local $4) + ) + (i32.store offset=8 + (get_local $12) + (get_local $3) + ) + (call $Pa + (call_import $ya + (i32.const 146) + (get_local $12) + ) ) ) ) ) ) - ) - (block - (set_local $1 - (i32.const 6) - ) - (br $while-out$0) - ) - ) - (if - (i32.lt_s - (get_local $6) - (i32.const 0) - ) - (block - (set_local $17 - (get_local $4) - ) - (set_local $18 - (get_local $3) - ) - (set_local $1 - (i32.const 8) + (block + (set_local $1 + (i32.const 6) + ) + (br $while-out$0) ) - (br $while-out$0) ) - ) - (set_local $10 - (i32.sub - (get_local $5) - (get_local $6) - ) - ) - (set_local $3 (if - (i32.gt_u + (i32.lt_s (get_local $6) - (tee_local $5 - (i32.load offset=4 - (get_local $4) - ) - ) + (i32.const 0) ) (block - (i32.store - (get_local $9) - (tee_local $7 - (i32.load - (get_local $8) - ) - ) - ) - (i32.store - (get_local $14) - (get_local $7) - ) - (set_local $6 - (i32.sub - (get_local $6) - (get_local $5) - ) - ) - (set_local $7 - (i32.add - (get_local $4) - (i32.const 8) - ) + (set_local $17 + (get_local $4) ) - (set_local $15 - (i32.add - (get_local $3) - (i32.const -1) - ) + (set_local $18 + (get_local $3) ) - (i32.load offset=12 - (get_local $4) + (set_local $1 + (i32.const 8) ) + (br $while-out$0) ) + ) + (set_local $10 + (i32.sub + (get_local $5) + (get_local $6) + ) + ) + (set_local $3 (if - (i32.eq - (get_local $3) - (i32.const 2) + (i32.gt_u + (get_local $6) + (tee_local $5 + (i32.load offset=4 + (get_local $4) + ) + ) ) (block (i32.store (get_local $9) - (i32.add + (tee_local $7 (i32.load - (get_local $9) + (get_local $8) ) + ) + ) + (i32.store + (get_local $14) + (get_local $7) + ) + (set_local $6 + (i32.sub (get_local $6) + (get_local $5) ) ) (set_local $7 - (get_local $4) + (i32.add + (get_local $4) + (i32.const 8) + ) ) (set_local $15 - (i32.const 2) + (i32.add + (get_local $3) + (i32.const -1) + ) ) - (get_local $5) - ) - (block - (set_local $7 + (i32.load offset=12 (get_local $4) ) - (set_local $15 + ) + (if + (i32.eq (get_local $3) + (i32.const 2) + ) + (block + (i32.store + (get_local $9) + (i32.add + (i32.load + (get_local $9) + ) + (get_local $6) + ) + ) + (set_local $7 + (get_local $4) + ) + (set_local $15 + (i32.const 2) + ) + (get_local $5) + ) + (block + (set_local $7 + (get_local $4) + ) + (set_local $15 + (get_local $3) + ) + (get_local $5) ) - (get_local $5) ) ) ) - ) - (i32.store - (get_local $7) - (i32.add - (i32.load - (get_local $7) + (i32.store + (get_local $7) + (i32.add + (i32.load + (get_local $7) + ) + (get_local $6) ) - (get_local $6) ) - ) - (i32.store offset=4 - (get_local $7) - (i32.sub - (get_local $3) - (get_local $6) + (i32.store offset=4 + (get_local $7) + (i32.sub + (get_local $3) + (get_local $6) + ) ) + (set_local $4 + (get_local $7) + ) + (set_local $3 + (get_local $15) + ) + (set_local $5 + (get_local $10) + ) + (br $while-in$1) ) - (set_local $4 - (get_local $7) - ) - (set_local $3 - (get_local $15) - ) - (set_local $5 - (get_local $10) - ) - (br $while-in$1) ) (if (i32.eq @@ -8371,49 +8407,51 @@ (set_local $3 (get_local $1) ) - (loop $while-out$2 $while-in$3 - (if - (i32.eqz - (get_local $3) - ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $3 - (i32.const 0) + (loop $while-in$3 + (block $while-out$2 + (if + (i32.eqz + (get_local $3) ) - (br $label$break$b - (get_local $1) + (block + (set_local $2 + (get_local $0) + ) + (set_local $3 + (i32.const 0) + ) + (br $label$break$b + (get_local $1) + ) ) ) - ) - (if - (i32.eq - (i32.load8_s - (i32.add - (get_local $0) - (tee_local $7 - (i32.add - (get_local $3) - (i32.const -1) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $0) + (tee_local $7 + (i32.add + (get_local $3) + (i32.const -1) + ) ) ) ) + (i32.const 10) ) - (i32.const 10) - ) - (block - (set_local $4 - (get_local $3) + (block + (set_local $4 + (get_local $3) + ) + (br $while-out$2) + ) + (set_local $3 + (get_local $7) ) - (br $while-out$2) - ) - (set_local $3 - (get_local $7) ) + (br $while-in$3) ) - (br $while-in$3) ) (if (i32.lt_u @@ -8511,45 +8549,47 @@ (set_local $4 (get_local $3) ) - (loop $while-out$1 $while-in$2 - (if - (i32.eqz - (i32.load8_s - (get_local $0) + (loop $while-in$2 + (block $while-out$1 + (if + (i32.eqz + (i32.load8_s + (get_local $0) + ) ) - ) - (block - (set_local $5 - (get_local $4) + (block + (set_local $5 + (get_local $4) + ) + (br $label$break$a) ) - (br $label$break$a) ) - ) - (if - (i32.eqz - (i32.and - (tee_local $4 - (tee_local $0 - (i32.add - (get_local $0) - (i32.const 1) + (if + (i32.eqz + (i32.and + (tee_local $4 + (tee_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) ) + (i32.const 3) ) - (i32.const 3) ) - ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $1 - (i32.const 4) + (block + (set_local $2 + (get_local $0) + ) + (set_local $1 + (i32.const 4) + ) + (br $while-out$1) ) - (br $while-out$1) ) + (br $while-in$2) ) - (br $while-in$2) ) ) (block @@ -8571,34 +8611,36 @@ (set_local $1 (get_local $2) ) - (loop $while-out$3 $while-in$4 - (if - (i32.and - (i32.xor - (i32.and - (tee_local $2 - (i32.load - (get_local $1) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.and + (i32.xor + (i32.and + (tee_local $2 + (i32.load + (get_local $1) + ) ) + (i32.const -2139062144) ) (i32.const -2139062144) ) - (i32.const -2139062144) - ) - (i32.add - (get_local $2) - (i32.const -16843009) + (i32.add + (get_local $2) + (i32.const -16843009) + ) ) - ) - (br $while-out$3) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (br $while-out$3) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) (if (i32.shr_s @@ -8615,22 +8657,24 @@ (set_local $2 (get_local $1) ) - (loop $while-out$5 $while-in$6 - (if - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $2) - (i32.const 1) + (loop $while-in$6 + (block $while-out$5 + (if + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $2) + (i32.const 1) + ) ) ) + (set_local $2 + (get_local $1) + ) + (br $while-out$5) ) - (set_local $2 - (get_local $1) - ) - (br $while-out$5) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -8718,62 +8762,64 @@ (set_local $2 (get_local $0) ) - (loop $while-out$2 $while-in$3 - (set_local $0 - (if - (i32.gt_s - (i32.load offset=76 + (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 $Ya (get_local $1) ) - (i32.const -1) - ) - (call $Ya - (get_local $1) + (i32.const 0) ) - (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.load offset=28 + (get_local $1) + ) ) - ) - (i32.or - (call $$a - (get_local $1) + (i32.or + (call $$a + (get_local $1) + ) + (get_local $2) ) (get_local $2) ) - (get_local $2) ) - ) - (if - (get_local $0) - (call $Ta - (get_local $1) + (if + (get_local $0) + (call $Ta + (get_local $1) + ) ) - ) - (if - (i32.eqz - (tee_local $1 - (i32.load offset=56 - (get_local $1) + (if + (i32.eqz + (tee_local $1 + (i32.load offset=56 + (get_local $1) + ) ) ) - ) - (block - (set_local $0 - (get_local $2) + (block + (set_local $0 + (get_local $2) + ) + (br $while-out$2) ) - (br $while-out$2) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) @@ -9103,116 +9149,122 @@ ) ) (block - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.eqz - (i32.and - (get_local $0) - (i32.const 3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.eqz + (i32.and + (get_local $0) + (i32.const 3) + ) ) ) - ) - (if - (i32.eqz - (get_local $2) - ) - (return - (get_local $3) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) + (if + (i32.eqz + (get_local $2) + ) + (return + (get_local $3) + ) ) - ) - (set_local $0 - (i32.add + (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) + ) ) - ) - (br $while-in$1) - ) - (loop $while-out$2 $while-in$3 - (br_if $while-out$2 - (i32.lt_s - (get_local $2) - (i32.const 4) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) ) + (br $while-in$1) ) - (i32.store - (get_local $0) - (i32.load - (get_local $1) + ) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.lt_s + (get_local $2) + (i32.const 4) + ) ) - ) - (set_local $0 - (i32.add + (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-out$4 $while-in$5 - (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) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.le_s + (get_local $2) + (i32.const 0) + ) ) - ) - (set_local $0 - (i32.add + (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) ) @@ -9285,66 +9337,72 @@ (get_local $3) ) ) - (loop $while-out$0 $while-in$1 - (br_if $while-out$0 - (i32.ge_s - (get_local $0) - (get_local $3) + (loop $while-in$1 + (block $while-out$0 + (br_if $while-out$0 + (i32.ge_s + (get_local $0) + (get_local $3) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (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-out$2 $while-in$3 - (br_if $while-out$2 - (i32.ge_s - (get_local $0) - (get_local $6) + (loop $while-in$3 + (block $while-out$2 + (br_if $while-out$2 + (i32.ge_s + (get_local $0) + (get_local $6) + ) ) - ) - (i32.store - (get_local $0) - (get_local $5) - ) - (set_local $0 - (i32.add + (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-out$4 $while-in$5 - (br_if $while-out$4 - (i32.ge_s - (get_local $0) - (get_local $4) + (loop $while-in$5 + (block $while-out$4 + (br_if $while-out$4 + (i32.ge_s + (get_local $0) + (get_local $4) + ) ) - ) - (i32.store8 - (get_local $0) - (get_local $1) - ) - (set_local $0 - (i32.add + (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 (get_local $0) |