diff options
Diffstat (limited to 'test/emcc_O2_hello_world.fromasm.imprecise')
-rw-r--r-- | test/emcc_O2_hello_world.fromasm.imprecise | 2340 |
1 files changed, 1199 insertions, 1141 deletions
diff --git a/test/emcc_O2_hello_world.fromasm.imprecise b/test/emcc_O2_hello_world.fromasm.imprecise index a79d63e05..0b3963290 100644 --- a/test/emcc_O2_hello_world.fromasm.imprecise +++ b/test/emcc_O2_hello_world.fromasm.imprecise @@ -756,70 +756,72 @@ (set_local $1 (get_local $8) ) - (loop $while-out$23 $while-in$24 - (if - (tee_local $8 - (i32.load offset=16 - (get_local $5) - ) - ) - (set_local $7 - (get_local $8) - ) + (loop $while-in$24 + (block $while-out$23 (if - (tee_local $10 - (i32.load offset=20 + (tee_local $8 + (i32.load offset=16 (get_local $5) ) ) (set_local $7 - (get_local $10) + (get_local $8) ) - (block + (if + (tee_local $10 + (i32.load offset=20 + (get_local $5) + ) + ) (set_local $7 - (get_local $2) + (get_local $10) ) - (set_local $4 - (get_local $1) + (block + (set_local $7 + (get_local $2) + ) + (set_local $4 + (get_local $1) + ) + (br $while-out$23) ) - (br $while-out$23) ) ) - ) - (set_local $10 - (i32.lt_u - (tee_local $8 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $7) + (set_local $10 + (i32.lt_u + (tee_local $8 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $7) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $0) ) - (get_local $0) ) + (get_local $2) ) - (get_local $2) ) - ) - (set_local $2 - (select - (get_local $8) - (get_local $2) - (get_local $10) + (set_local $2 + (select + (get_local $8) + (get_local $2) + (get_local $10) + ) ) - ) - (set_local $5 - (get_local $7) - ) - (set_local $1 - (select + (set_local $5 (get_local $7) - (get_local $1) - (get_local $10) ) + (set_local $1 + (select + (get_local $7) + (get_local $1) + (get_local $10) + ) + ) + (br $while-in$24) ) - (br $while-in$24) ) (if (i32.lt_u @@ -900,50 +902,52 @@ ) ) ) - (loop $while-out$27 $while-in$28 - (if - (tee_local $19 - (i32.load - (tee_local $16 - (i32.add - (get_local $8) - (i32.const 20) + (loop $while-in$28 + (block $while-out$27 + (if + (tee_local $19 + (i32.load + (tee_local $16 + (i32.add + (get_local $8) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $19) - ) - (set_local $10 - (get_local $16) + (block + (set_local $8 + (get_local $19) + ) + (set_local $10 + (get_local $16) + ) + (br $while-in$28) ) - (br $while-in$28) ) - ) - (if - (tee_local $19 - (i32.load - (tee_local $16 - (i32.add - (get_local $8) - (i32.const 16) + (if + (tee_local $19 + (i32.load + (tee_local $16 + (i32.add + (get_local $8) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $19) - ) - (set_local $10 - (get_local $16) + (block + (set_local $8 + (get_local $19) + ) + (set_local $10 + (get_local $16) + ) ) + (br $while-out$27) ) - (br $while-out$27) + (br $while-in$28) ) - (br $while-in$28) ) (if (i32.lt_u @@ -1529,82 +1533,84 @@ (set_local $4 (i32.const 0) ) - (loop $while-out$3 $while-in$4 - (if - (i32.lt_u - (tee_local $5 - (i32.sub - (tee_local $18 - (i32.and - (i32.load offset=4 - (get_local $19) + (loop $while-in$4 + (block $while-out$3 + (if + (i32.lt_u + (tee_local $5 + (i32.sub + (tee_local $18 + (i32.and + (i32.load offset=4 + (get_local $19) + ) + (i32.const -8) ) - (i32.const -8) ) + (get_local $2) ) - (get_local $2) ) + (get_local $9) ) - (get_local $9) - ) - (if - (i32.eq - (get_local $18) - (get_local $2) - ) - (block - (set_local $27 - (get_local $5) - ) - (set_local $25 - (get_local $19) - ) - (set_local $29 - (get_local $19) - ) - (set_local $9 - (i32.const 90) + (if + (i32.eq + (get_local $18) + (get_local $2) ) - (br $label$break$L123) - ) - (block - (set_local $9 - (get_local $5) + (block + (set_local $27 + (get_local $5) + ) + (set_local $25 + (get_local $19) + ) + (set_local $29 + (get_local $19) + ) + (set_local $9 + (i32.const 90) + ) + (br $label$break$L123) ) - (set_local $4 - (get_local $19) + (block + (set_local $9 + (get_local $5) + ) + (set_local $4 + (get_local $19) + ) ) ) ) - ) - (set_local $18 - (select - (get_local $8) - (tee_local $5 - (i32.load offset=20 - (get_local $19) - ) - ) - (i32.or - (i32.eq - (get_local $5) - (i32.const 0) + (set_local $18 + (select + (get_local $8) + (tee_local $5 + (i32.load offset=20 + (get_local $19) + ) ) - (i32.eq - (get_local $5) - (tee_local $19 - (i32.load - (i32.add + (i32.or + (i32.eq + (get_local $5) + (i32.const 0) + ) + (i32.eq + (get_local $5) + (tee_local $19 + (i32.load (i32.add - (get_local $19) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) + (i32.add + (get_local $19) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) @@ -1612,48 +1618,48 @@ ) ) ) - ) - (if - (tee_local $5 - (i32.eq - (get_local $19) - (i32.const 0) - ) - ) - (block - (set_local $33 - (get_local $9) - ) - (set_local $34 - (get_local $18) - ) - (set_local $30 - (get_local $4) - ) - (set_local $9 - (i32.const 86) + (if + (tee_local $5 + (i32.eq + (get_local $19) + (i32.const 0) + ) ) - (br $while-out$3) - ) - (block - (set_local $8 - (get_local $18) + (block + (set_local $33 + (get_local $9) + ) + (set_local $34 + (get_local $18) + ) + (set_local $30 + (get_local $4) + ) + (set_local $9 + (i32.const 86) + ) + (br $while-out$3) ) - (set_local $1 - (i32.shl - (get_local $1) - (i32.xor - (i32.and - (get_local $5) + (block + (set_local $8 + (get_local $18) + ) + (set_local $1 + (i32.shl + (get_local $1) + (i32.xor + (i32.and + (get_local $5) + (i32.const 1) + ) (i32.const 1) ) - (i32.const 1) ) ) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) (block @@ -1847,84 +1853,86 @@ (get_local $9) (i32.const 90) ) - (loop $while-out$5 $while-in$6 - (set_local $9 - (i32.const 0) - ) - (set_local $1 - (i32.lt_u - (tee_local $4 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $25) + (loop $while-in$6 + (block $while-out$5 + (set_local $9 + (i32.const 0) + ) + (set_local $1 + (i32.lt_u + (tee_local $4 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $25) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $2) ) - (get_local $2) ) + (get_local $27) ) - (get_local $27) ) - ) - (set_local $5 - (select - (get_local $4) - (get_local $27) - (get_local $1) - ) - ) - (set_local $4 - (select - (get_local $25) - (get_local $29) - (get_local $1) - ) - ) - (if - (tee_local $1 - (i32.load offset=16 - (get_local $25) - ) - ) - (block - (set_local $27 - (get_local $5) - ) - (set_local $25 - (get_local $1) - ) - (set_local $29 + (set_local $5 + (select (get_local $4) + (get_local $27) + (get_local $1) ) - (br $while-in$6) ) - ) - (if - (tee_local $25 - (i32.load offset=20 + (set_local $4 + (select (get_local $25) + (get_local $29) + (get_local $1) ) ) - (block - (set_local $27 - (get_local $5) + (if + (tee_local $1 + (i32.load offset=16 + (get_local $25) + ) ) - (set_local $29 - (get_local $4) + (block + (set_local $27 + (get_local $5) + ) + (set_local $25 + (get_local $1) + ) + (set_local $29 + (get_local $4) + ) + (br $while-in$6) ) ) - (block - (set_local $6 - (get_local $5) + (if + (tee_local $25 + (i32.load offset=20 + (get_local $25) + ) ) - (set_local $12 - (get_local $4) + (block + (set_local $27 + (get_local $5) + ) + (set_local $29 + (get_local $4) + ) + ) + (block + (set_local $6 + (get_local $5) + ) + (set_local $12 + (get_local $4) + ) + (br $while-out$5) ) - (br $while-out$5) ) + (br $while-in$6) ) - (br $while-in$6) ) ) (if @@ -2024,50 +2032,52 @@ ) ) ) - (loop $while-out$9 $while-in$10 - (if - (tee_local $16 - (i32.load - (tee_local $0 - (i32.add - (get_local $8) - (i32.const 20) + (loop $while-in$10 + (block $while-out$9 + (if + (tee_local $16 + (i32.load + (tee_local $0 + (i32.add + (get_local $8) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $16) - ) - (set_local $7 - (get_local $0) + (block + (set_local $8 + (get_local $16) + ) + (set_local $7 + (get_local $0) + ) + (br $while-in$10) ) - (br $while-in$10) ) - ) - (if - (tee_local $16 - (i32.load - (tee_local $0 - (i32.add - (get_local $8) - (i32.const 16) + (if + (tee_local $16 + (i32.load + (tee_local $0 + (i32.add + (get_local $8) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $8 - (get_local $16) - ) - (set_local $7 - (get_local $0) + (block + (set_local $8 + (get_local $16) + ) + (set_local $7 + (get_local $0) + ) ) + (br $while-out$9) ) - (br $while-out$9) + (br $while-in$10) ) - (br $while-in$10) ) (if (i32.lt_u @@ -2619,72 +2629,74 @@ (get_local $5) ) ) - (loop $while-out$17 $while-in$18 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$18 + (block $while-out$17 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $6) - ) - (block - (set_local $15 - (get_local $1) + (get_local $6) ) - (set_local $9 - (i32.const 148) + (block + (set_local $15 + (get_local $1) + ) + (set_local $9 + (i32.const 148) + ) + (br $while-out$17) ) - (br $while-out$17) ) - ) - (if - (tee_local $0 - (i32.load - (tee_local $5 - (i32.add + (if + (tee_local $0 + (i32.load + (tee_local $5 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $7) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $7) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $7 - (i32.shl - (get_local $7) - (i32.const 1) + (block + (set_local $7 + (i32.shl + (get_local $7) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $0) ) ) - (set_local $1 - (get_local $0) - ) - ) - (block - (set_local $23 - (get_local $5) - ) - (set_local $21 - (get_local $1) - ) - (set_local $9 - (i32.const 145) + (block + (set_local $23 + (get_local $5) + ) + (set_local $21 + (get_local $1) + ) + (set_local $9 + (i32.const 145) + ) + (br $while-out$17) ) - (br $while-out$17) ) + (br $while-in$18) ) - (br $while-in$18) ) (if (i32.eq @@ -3153,59 +3165,61 @@ (set_local $14 (i32.const 624) ) - (loop $while-out$37 $while-in$38 - (if + (loop $while-in$38 + (block $while-out$37 (if - (i32.le_u - (tee_local $26 - (i32.load - (get_local $14) + (if + (i32.le_u + (tee_local $26 + (i32.load + (get_local $14) + ) ) + (get_local $8) ) - (get_local $8) - ) - (i32.gt_u - (i32.add - (get_local $26) - (i32.load - (tee_local $11 - (i32.add - (get_local $14) - (i32.const 4) + (i32.gt_u + (i32.add + (get_local $26) + (i32.load + (tee_local $11 + (i32.add + (get_local $14) + (i32.const 4) + ) ) ) ) + (get_local $8) ) - (get_local $8) - ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $14) - ) - (set_local $7 - (get_local $11) + (i32.const 0) ) - (br $while-out$37) - ) - ) - (if - (i32.eqz - (tee_local $14 - (i32.load offset=8 + (block + (set_local $5 (get_local $14) ) + (set_local $7 + (get_local $11) + ) + (br $while-out$37) ) ) - (block - (set_local $9 - (i32.const 173) + (if + (i32.eqz + (tee_local $14 + (i32.load offset=8 + (get_local $14) + ) + ) + ) + (block + (set_local $9 + (i32.const 173) + ) + (br $label$break$L259) ) - (br $label$break$L259) ) + (br $while-in$38) ) - (br $while-in$38) ) (if (i32.lt_u @@ -3620,55 +3634,57 @@ (set_local $3 (i32.const 624) ) - (loop $do-out$48 $do-in$49 - (if - (i32.eq - (get_local $20) - (i32.add - (tee_local $6 - (i32.load - (get_local $3) + (loop $do-in$49 + (block $do-out$48 + (if + (i32.eq + (get_local $20) + (i32.add + (tee_local $6 + (i32.load + (get_local $3) + ) ) - ) - (tee_local $12 - (i32.load - (tee_local $17 - (i32.add - (get_local $3) - (i32.const 4) + (tee_local $12 + (i32.load + (tee_local $17 + (i32.add + (get_local $3) + (i32.const 4) + ) ) ) ) ) ) - ) - (block - (set_local $47 - (get_local $6) - ) - (set_local $48 - (get_local $17) - ) - (set_local $49 - (get_local $12) - ) - (set_local $50 - (get_local $3) - ) - (set_local $9 - (i32.const 203) + (block + (set_local $47 + (get_local $6) + ) + (set_local $48 + (get_local $17) + ) + (set_local $49 + (get_local $12) + ) + (set_local $50 + (get_local $3) + ) + (set_local $9 + (i32.const 203) + ) + (br $do-out$48) ) - (br $do-out$48) ) - ) - (br_if $do-in$49 - (i32.ne - (tee_local $3 - (i32.load offset=8 - (get_local $3) + (br_if $do-in$49 + (i32.ne + (tee_local $3 + (i32.load offset=8 + (get_local $3) + ) ) + (i32.const 0) ) - (i32.const 0) ) ) ) @@ -3810,43 +3826,45 @@ (set_local $3 (i32.const 624) ) - (loop $while-out$50 $while-in$51 - (if - (i32.eq - (i32.load - (get_local $3) - ) - (get_local $17) - ) - (block - (set_local $51 - (get_local $3) - ) - (set_local $41 - (get_local $3) - ) - (set_local $9 - (i32.const 211) + (loop $while-in$51 + (block $while-out$50 + (if + (i32.eq + (i32.load + (get_local $3) + ) + (get_local $17) ) - (br $while-out$50) - ) - ) - (if - (i32.eqz - (tee_local $3 - (i32.load offset=8 + (block + (set_local $51 (get_local $3) ) + (set_local $41 + (get_local $3) + ) + (set_local $9 + (i32.const 211) + ) + (br $while-out$50) ) ) - (block - (set_local $28 - (i32.const 624) + (if + (i32.eqz + (tee_local $3 + (i32.load offset=8 + (get_local $3) + ) + ) + ) + (block + (set_local $28 + (i32.const 624) + ) + (br $while-out$50) ) - (br $while-out$50) ) + (br $while-in$51) ) - (br $while-in$51) ) (if (i32.eq @@ -4096,50 +4114,52 @@ ) ) ) - (loop $while-out$61 $while-in$62 - (if - (tee_local $8 - (i32.load - (tee_local $2 - (i32.add - (get_local $14) - (i32.const 20) + (loop $while-in$62 + (block $while-out$61 + (if + (tee_local $8 + (i32.load + (tee_local $2 + (i32.add + (get_local $14) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $14 - (get_local $8) - ) - (set_local $11 - (get_local $2) + (block + (set_local $14 + (get_local $8) + ) + (set_local $11 + (get_local $2) + ) + (br $while-in$62) ) - (br $while-in$62) ) - ) - (if - (tee_local $8 - (i32.load - (tee_local $2 - (i32.add - (get_local $14) - (i32.const 16) + (if + (tee_local $8 + (i32.load + (tee_local $2 + (i32.add + (get_local $14) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $14 - (get_local $8) - ) - (set_local $11 - (get_local $2) + (block + (set_local $14 + (get_local $8) + ) + (set_local $11 + (get_local $2) + ) ) + (br $while-out$61) ) - (br $while-out$61) + (br $while-in$62) ) - (br $while-in$62) ) (if (i32.lt_u @@ -4838,72 +4858,74 @@ (get_local $2) ) ) - (loop $while-out$71 $while-in$72 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$72 + (block $while-out$71 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) + (get_local $15) ) - (get_local $15) - ) - (block - (set_local $36 - (get_local $1) - ) - (set_local $9 - (i32.const 281) + (block + (set_local $36 + (get_local $1) + ) + (set_local $9 + (i32.const 281) + ) + (br $while-out$71) ) - (br $while-out$71) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $2 - (i32.add + (if + (tee_local $7 + (i32.load + (tee_local $2 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $14) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $14) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $14 - (i32.shl - (get_local $14) - (i32.const 1) + (block + (set_local $14 + (i32.shl + (get_local $14) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $7) ) ) - (set_local $1 - (get_local $7) - ) - ) - (block - (set_local $44 - (get_local $2) - ) - (set_local $52 - (get_local $1) - ) - (set_local $9 - (i32.const 278) + (block + (set_local $44 + (get_local $2) + ) + (set_local $52 + (get_local $1) + ) + (set_local $9 + (i32.const 278) + ) + (br $while-out$71) ) - (br $while-out$71) ) + (br $while-in$72) ) - (br $while-in$72) ) (if (i32.eq @@ -5028,43 +5050,45 @@ ) ) ) - (loop $while-out$73 $while-in$74 - (if + (loop $while-in$74 + (block $while-out$73 (if - (i32.le_u - (tee_local $3 - (i32.load - (get_local $28) + (if + (i32.le_u + (tee_local $3 + (i32.load + (get_local $28) + ) ) + (get_local $13) ) - (get_local $13) - ) - (i32.gt_u - (tee_local $15 - (i32.add - (get_local $3) - (i32.load offset=4 - (get_local $28) + (i32.gt_u + (tee_local $15 + (i32.add + (get_local $3) + (i32.load offset=4 + (get_local $28) + ) ) ) + (get_local $13) ) - (get_local $13) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $15) + (block + (set_local $5 + (get_local $15) + ) + (br $while-out$73) ) - (br $while-out$73) ) - ) - (set_local $28 - (i32.load offset=8 - (get_local $28) + (set_local $28 + (i32.load offset=8 + (get_local $28) + ) ) + (br $while-in$74) ) - (br $while-in$74) ) (set_local $15 (i32.add @@ -5574,72 +5598,74 @@ (get_local $6) ) ) - (loop $while-out$77 $while-in$78 - (if - (i32.eq - (i32.and - (i32.load offset=4 - (get_local $1) + (loop $while-in$78 + (block $while-out$77 + (if + (i32.eq + (i32.and + (i32.load offset=4 + (get_local $1) + ) + (i32.const -8) ) - (i32.const -8) - ) - (get_local $3) - ) - (block - (set_local $38 - (get_local $1) + (get_local $3) ) - (set_local $9 - (i32.const 307) + (block + (set_local $38 + (get_local $1) + ) + (set_local $9 + (i32.const 307) + ) + (br $while-out$77) ) - (br $while-out$77) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $6 - (i32.add + (if + (tee_local $7 + (i32.load + (tee_local $6 (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $2) - (i32.const 31) + (i32.add + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $2) + (i32.const 31) + ) + (i32.const 2) ) - (i32.const 2) ) ) ) ) - ) - (block - (set_local $2 - (i32.shl - (get_local $2) - (i32.const 1) + (block + (set_local $2 + (i32.shl + (get_local $2) + (i32.const 1) + ) + ) + (set_local $1 + (get_local $7) ) ) - (set_local $1 - (get_local $7) - ) - ) - (block - (set_local $46 - (get_local $6) - ) - (set_local $53 - (get_local $1) - ) - (set_local $9 - (i32.const 304) + (block + (set_local $46 + (get_local $6) + ) + (set_local $53 + (get_local $1) + ) + (set_local $9 + (i32.const 304) + ) + (br $while-out$77) ) - (br $while-out$77) ) + (br $while-in$78) ) - (br $while-in$78) ) (if (i32.eq @@ -6317,58 +6343,60 @@ ) ) ) - (loop $while-out$4 $while-in$5 - (if - (tee_local $11 - (i32.load - (tee_local $5 - (i32.add - (get_local $1) - (i32.const 20) + (loop $while-in$5 + (block $while-out$4 + (if + (tee_local $11 + (i32.load + (tee_local $5 + (i32.add + (get_local $1) + (i32.const 20) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $6 - (get_local $5) + (block + (set_local $1 + (get_local $11) + ) + (set_local $6 + (get_local $5) + ) + (br $while-in$5) ) - (br $while-in$5) ) - ) - (if - (tee_local $11 - (i32.load - (tee_local $5 - (i32.add - (get_local $1) - (i32.const 16) + (if + (tee_local $11 + (i32.load + (tee_local $5 + (i32.add + (get_local $1) + (i32.const 16) + ) ) ) ) - ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $6 - (get_local $5) - ) - ) - (block - (set_local $5 - (get_local $1) + (block + (set_local $1 + (get_local $11) + ) + (set_local $6 + (get_local $5) + ) ) - (set_local $10 - (get_local $6) + (block + (set_local $5 + (get_local $1) + ) + (set_local $10 + (get_local $6) + ) + (br $while-out$4) ) - (br $while-out$4) ) + (br $while-in$5) ) - (br $while-in$5) ) (if (i32.lt_u @@ -6869,50 +6897,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 $6 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $6 + (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 $6 - (get_local $1) + (block + (set_local $0 + (get_local $11) + ) + (set_local $6 + (get_local $1) + ) ) + (br $while-out$12) ) - (br $while-out$12) + (br $while-in$13) ) - (br $while-in$13) ) (if (i32.lt_u @@ -7567,72 +7597,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 $17 - (get_local $1) + (get_local $0) ) - (set_local $0 - (i32.const 130) + (block + (set_local $17 + (get_local $1) + ) + (set_local $0 + (i32.const 130) + ) + (br $while-out$18) ) - (br $while-out$18) ) - ) - (if - (tee_local $7 - (i32.load - (tee_local $16 - (i32.add + (if + (tee_local $7 + (i32.load + (tee_local $16 (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 $7) ) ) - (set_local $1 - (get_local $7) - ) - ) - (block - (set_local $18 - (get_local $16) - ) - (set_local $19 - (get_local $1) - ) - (set_local $0 - (i32.const 127) + (block + (set_local $18 + (get_local $16) + ) + (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 @@ -7766,22 +7798,24 @@ (i32.const 632) ) ) - (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 208) @@ -7894,209 +7928,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 8) - ) - (block - (call_import $_pthread_cleanup_push - (i32.const 4) - (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 8) ) - (i32.store - (get_local $13) - (i32.load - (get_local $1) + (block + (call_import $_pthread_cleanup_push + (i32.const 4) + (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 $___syscall_ret - (call_import $___syscall146 - (i32.const 146) - (get_local $13) + (i32.store + (get_local $13) + (i32.load + (get_local $1) ) ) - ) - (call_import $_pthread_cleanup_pop - (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 $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $13) + ) + ) + ) + (call_import $_pthread_cleanup_pop + (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 $___syscall_ret - (call_import $___syscall146 - (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 $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $12) + ) ) ) ) ) ) - ) - (block - (set_local $1 - (i32.const 6) + (block + (set_local $1 + (i32.const 6) + ) + (br $while-out$0) ) - (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) + (if + (i32.lt_s + (get_local $6) + (i32.const 0) ) - (set_local $1 - (i32.const 8) + (block + (set_local $17 + (get_local $4) + ) + (set_local $18 + (get_local $3) + ) + (set_local $1 + (i32.const 8) + ) + (br $while-out$0) ) - (br $while-out$0) - ) - ) - (set_local $10 - (i32.sub - (get_local $5) - (get_local $6) ) - ) - (set_local $3 - (if - (i32.le_u + (set_local $10 + (i32.sub + (get_local $5) (get_local $6) - (tee_local $5 - (i32.load offset=4 - (get_local $4) - ) - ) ) + ) + (set_local $3 (if - (i32.eq - (get_local $3) - (i32.const 2) + (i32.le_u + (get_local $6) + (tee_local $5 + (i32.load offset=4 + (get_local $4) + ) + ) + ) + (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) + ) ) (block (i32.store (get_local $9) - (i32.add + (tee_local $7 (i32.load - (get_local $9) + (get_local $8) ) - (get_local $6) ) ) - (set_local $7 - (get_local $4) + (i32.store + (get_local $14) + (get_local $7) ) - (set_local $15 - (i32.const 2) + (set_local $6 + (i32.sub + (get_local $6) + (get_local $5) + ) ) - (get_local $5) - ) - (block (set_local $7 - (get_local $4) + (i32.add + (get_local $4) + (i32.const 8) + ) ) (set_local $15 - (get_local $3) - ) - (get_local $5) - ) - ) - (block - (i32.store - (get_local $9) - (tee_local $7 - (i32.load - (get_local $8) + (i32.add + (get_local $3) + (i32.const -1) ) ) - ) - (i32.store - (get_local $14) - (get_local $7) - ) - (set_local $6 - (i32.sub - (get_local $6) - (get_local $5) - ) - ) - (set_local $7 - (i32.add + (i32.load offset=12 (get_local $4) - (i32.const 8) - ) - ) - (set_local $15 - (i32.add - (get_local $3) - (i32.const -1) ) ) - (i32.load offset=12 - (get_local $4) + ) + ) + (i32.store + (get_local $7) + (i32.add + (i32.load + (get_local $7) ) + (get_local $6) ) ) - ) - (i32.store - (get_local $7) - (i32.add - (i32.load - (get_local $7) + (i32.store offset=4 + (get_local $7) + (i32.sub + (get_local $3) + (get_local $6) ) - (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 @@ -8286,49 +8322,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$L10 - (get_local $1) + (block + (set_local $2 + (get_local $0) + ) + (set_local $3 + (i32.const 0) + ) + (br $label$break$L10 + (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 @@ -8482,62 +8520,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 $___lockfile (get_local $1) ) - (i32.const -1) - ) - (call $___lockfile - (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 $___fflush_unlocked - (get_local $1) + (i32.or + (call $___fflush_unlocked + (get_local $1) + ) + (get_local $2) ) (get_local $2) ) - (get_local $2) ) - ) - (if - (get_local $0) - (call $___unlockfile - (get_local $1) + (if + (get_local $0) + (call $___unlockfile + (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) ) ) ) @@ -8567,45 +8607,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$L1) ) - (br $label$break$L1) ) - ) - (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 @@ -8627,34 +8669,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 @@ -8671,22 +8715,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) ) ) ) @@ -9010,116 +9056,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) ) @@ -9192,66 +9244,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) |