diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-05-19 15:40:23 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-05-19 15:46:18 -0700 |
commit | fe1bda7da797e5586d39122aec931a8a84df4ac7 (patch) | |
tree | ee056db222a948610839ae204e0311b0854c36fe | |
parent | 322e89791721ce5130242c87eb1c01163f0ad21d (diff) | |
download | binaryen-fe1bda7da797e5586d39122aec931a8a84df4ac7.tar.gz binaryen-fe1bda7da797e5586d39122aec931a8a84df4ac7.tar.bz2 binaryen-fe1bda7da797e5586d39122aec931a8a84df4ac7.zip |
vacuum after passes that create garbage; this makes the total time better
-rw-r--r-- | src/passes/pass.cpp | 4 | ||||
-rw-r--r-- | test/emcc_O2_hello_world.fromasm | 162 | ||||
-rw-r--r-- | test/emcc_O2_hello_world.fromasm.imprecise | 162 | ||||
-rw-r--r-- | test/emcc_hello_world.fromasm | 1194 | ||||
-rw-r--r-- | test/emcc_hello_world.fromasm.imprecise | 1194 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 8 | ||||
-rw-r--r-- | test/memorygrowth.fromasm | 54 | ||||
-rw-r--r-- | test/memorygrowth.fromasm.imprecise | 54 | ||||
-rw-r--r-- | test/unit.fromasm | 7 | ||||
-rw-r--r-- | test/unit.fromasm.imprecise | 12 |
10 files changed, 1410 insertions, 1441 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp index c4d16347c..1ff277902 100644 --- a/src/passes/pass.cpp +++ b/src/passes/pass.cpp @@ -62,11 +62,13 @@ void PassRunner::addDefaultOptimizationPasses() { add("remove-unused-names"); add("optimize-instructions"); add("simplify-locals"); + add("vacuum"); // previous pass creates garbage add("coalesce-locals"); + add("vacuum"); // previous pass creates garbage add("reorder-locals"); - add("vacuum"); add("merge-blocks"); add("optimize-instructions"); + add("vacuum"); // should not be needed, last few passes do not create garbage, but just to be safe } void PassRunner::run() { diff --git a/test/emcc_O2_hello_world.fromasm b/test/emcc_O2_hello_world.fromasm index 838184cf4..cc15d0c8e 100644 --- a/test/emcc_O2_hello_world.fromasm +++ b/test/emcc_O2_hello_world.fromasm @@ -579,7 +579,7 @@ (set_local $39 (get_local $18) ) - (set_local $31 + (set_local $30 (get_local $9) ) ) @@ -598,7 +598,7 @@ (i32.const 8) ) ) - (set_local $31 + (set_local $30 (get_local $10) ) ) @@ -608,12 +608,12 @@ (get_local $1) ) (i32.store offset=12 - (get_local $31) + (get_local $30) (get_local $1) ) (i32.store offset=8 (get_local $1) - (get_local $31) + (get_local $30) ) (i32.store offset=12 (get_local $1) @@ -1298,7 +1298,7 @@ (set_local $40 (get_local $8) ) - (set_local $32 + (set_local $31 (get_local $19) ) ) @@ -1317,7 +1317,7 @@ (i32.const 8) ) ) - (set_local $32 + (set_local $31 (get_local $1) ) ) @@ -1327,12 +1327,12 @@ (get_local $2) ) (i32.store offset=12 - (get_local $32) + (get_local $31) (get_local $2) ) (i32.store offset=8 (get_local $2) - (get_local $32) + (get_local $31) ) (i32.store offset=12 (get_local $2) @@ -1555,13 +1555,13 @@ (get_local $2) ) (block - (set_local $27 + (set_local $26 (get_local $4) ) (set_local $25 (get_local $19) ) - (set_local $30 + (set_local $29 (get_local $19) ) (set_local $8 @@ -1626,13 +1626,13 @@ ) ) (block - (set_local $33 + (set_local $32 (get_local $5) ) - (set_local $34 + (set_local $33 (get_local $18) ) - (set_local $29 + (set_local $28 (get_local $6) ) (set_local $8 @@ -1665,13 +1665,13 @@ ) ) (block - (set_local $33 + (set_local $32 (get_local $15) ) - (set_local $34 + (set_local $33 (i32.const 0) ) - (set_local $29 + (set_local $28 (i32.const 0) ) (set_local $8 @@ -1690,11 +1690,11 @@ (if (i32.and (i32.eq - (get_local $34) + (get_local $33) (i32.const 0) ) (i32.eq - (get_local $29) + (get_local $28) (i32.const 0) ) ) @@ -1823,18 +1823,18 @@ ) ) ) - (get_local $34) + (get_local $33) ) ) (block - (set_local $27 - (get_local $33) + (set_local $26 + (get_local $32) ) (set_local $25 (get_local $0) ) - (set_local $30 - (get_local $29) + (set_local $29 + (get_local $28) ) (set_local $8 (i32.const 90) @@ -1842,10 +1842,10 @@ ) (block (set_local $7 - (get_local $33) + (get_local $32) ) (set_local $12 - (get_local $29) + (get_local $28) ) ) ) @@ -1872,20 +1872,20 @@ (get_local $2) ) ) - (get_local $27) + (get_local $26) ) ) (set_local $4 (select (get_local $6) - (get_local $27) + (get_local $26) (get_local $1) ) ) (set_local $6 (select (get_local $25) - (get_local $30) + (get_local $29) (get_local $1) ) ) @@ -1896,13 +1896,13 @@ ) ) (block - (set_local $27 + (set_local $26 (get_local $4) ) (set_local $25 (get_local $1) ) - (set_local $30 + (set_local $29 (get_local $6) ) (br $while-in$20) @@ -1915,10 +1915,10 @@ ) ) (block - (set_local $27 + (set_local $26 (get_local $4) ) - (set_local $30 + (set_local $29 (get_local $6) ) ) @@ -2401,7 +2401,7 @@ (set_local $14 (get_local $4) ) - (set_local $26 + (set_local $34 (get_local $5) ) ) @@ -2420,7 +2420,7 @@ (i32.const 8) ) ) - (set_local $26 + (set_local $34 (get_local $10) ) ) @@ -2430,12 +2430,12 @@ (get_local $6) ) (i32.store offset=12 - (get_local $26) + (get_local $34) (get_local $6) ) (i32.store offset=8 (get_local $6) - (get_local $26) + (get_local $34) ) (i32.store offset=12 (get_local $6) @@ -3103,22 +3103,16 @@ (if (if (i32.ne - (set_local $9 - (i32.load - (i32.const 616) - ) + (i32.load + (i32.const 616) ) (i32.const 0) ) - (set_local $14 - (i32.add - (set_local $26 - (i32.load - (i32.const 608) - ) - ) - (get_local $7) + (i32.add + (i32.load + (i32.const 608) ) + (get_local $7) ) (i32.const 0) ) @@ -3152,10 +3146,8 @@ (if (if (i32.le_u - (set_local $26 - (i32.load - (get_local $14) - ) + (i32.load + (get_local $14) ) (get_local $9) ) @@ -3829,7 +3821,7 @@ ) ) (block - (set_local $28 + (set_local $27 (i32.const 624) ) (br $while-out$48) @@ -3849,7 +3841,7 @@ ) (i32.const 8) ) - (set_local $28 + (set_local $27 (i32.const 624) ) (block @@ -5036,7 +5028,7 @@ (i32.le_u (set_local $3 (i32.load - (get_local $28) + (get_local $27) ) ) (get_local $13) @@ -5045,7 +5037,7 @@ (i32.add (get_local $3) (i32.load offset=4 - (get_local $28) + (get_local $27) ) ) ) @@ -5058,9 +5050,9 @@ (br $while-out$71) ) ) - (set_local $28 + (set_local $27 (i32.load offset=8 - (get_local $28) + (get_local $27) ) ) (br $while-in$72) @@ -7887,20 +7879,20 @@ (i32.const 44) ) ) - (set_local $5 + (set_local $4 (get_local $3) ) (set_local $3 (i32.const 2) ) - (set_local $6 + (set_local $5 (i32.add (get_local $10) (get_local $2) ) ) (loop $while-out$0 $while-in$1 - (set_local $4 + (set_local $6 (if (i32.load (i32.const 8) @@ -7918,7 +7910,7 @@ ) (i32.store offset=4 (get_local $13) - (get_local $5) + (get_local $4) ) (i32.store offset=8 (get_local $13) @@ -7946,7 +7938,7 @@ ) (i32.store offset=4 (get_local $12) - (get_local $5) + (get_local $4) ) (i32.store offset=8 (get_local $12) @@ -7963,8 +7955,8 @@ ) (if (i32.eq + (get_local $5) (get_local $6) - (get_local $4) ) (block (set_local $1 @@ -7975,12 +7967,12 @@ ) (if (i32.lt_s - (get_local $4) + (get_local $6) (i32.const 0) ) (block (set_local $17 - (get_local $5) + (get_local $4) ) (set_local $18 (get_local $3) @@ -7993,17 +7985,17 @@ ) (set_local $10 (i32.sub + (get_local $5) (get_local $6) - (get_local $4) ) ) (set_local $3 (if (i32.le_u - (get_local $4) - (set_local $6 + (get_local $6) + (set_local $5 (i32.load offset=4 - (get_local $5) + (get_local $4) ) ) ) @@ -8019,25 +8011,25 @@ (i32.load (get_local $9) ) - (get_local $4) + (get_local $6) ) ) (set_local $7 - (get_local $5) + (get_local $4) ) (set_local $15 (i32.const 2) ) - (get_local $6) + (get_local $5) ) (block (set_local $7 - (get_local $5) + (get_local $4) ) (set_local $15 (get_local $3) ) - (get_local $6) + (get_local $5) ) ) (block @@ -8053,15 +8045,15 @@ (get_local $14) (get_local $7) ) - (set_local $4 + (set_local $6 (i32.sub - (get_local $4) (get_local $6) + (get_local $5) ) ) (set_local $7 (i32.add - (get_local $5) + (get_local $4) (i32.const 8) ) ) @@ -8072,7 +8064,7 @@ ) ) (i32.load offset=12 - (get_local $5) + (get_local $4) ) ) ) @@ -8083,23 +8075,23 @@ (i32.load (get_local $7) ) - (get_local $4) + (get_local $6) ) ) (i32.store offset=4 (get_local $7) (i32.sub (get_local $3) - (get_local $4) + (get_local $6) ) ) - (set_local $5 + (set_local $4 (get_local $7) ) (set_local $3 (get_local $15) ) - (set_local $6 + (set_local $5 (get_local $10) ) (br $while-in$1) @@ -8113,7 +8105,7 @@ (i32.store offset=16 (get_local $0) (i32.add - (set_local $6 + (set_local $5 (i32.load (get_local $8) ) @@ -8126,7 +8118,7 @@ (i32.store (get_local $9) (set_local $8 - (get_local $6) + (get_local $5) ) ) (i32.store diff --git a/test/emcc_O2_hello_world.fromasm.imprecise b/test/emcc_O2_hello_world.fromasm.imprecise index 838184cf4..cc15d0c8e 100644 --- a/test/emcc_O2_hello_world.fromasm.imprecise +++ b/test/emcc_O2_hello_world.fromasm.imprecise @@ -579,7 +579,7 @@ (set_local $39 (get_local $18) ) - (set_local $31 + (set_local $30 (get_local $9) ) ) @@ -598,7 +598,7 @@ (i32.const 8) ) ) - (set_local $31 + (set_local $30 (get_local $10) ) ) @@ -608,12 +608,12 @@ (get_local $1) ) (i32.store offset=12 - (get_local $31) + (get_local $30) (get_local $1) ) (i32.store offset=8 (get_local $1) - (get_local $31) + (get_local $30) ) (i32.store offset=12 (get_local $1) @@ -1298,7 +1298,7 @@ (set_local $40 (get_local $8) ) - (set_local $32 + (set_local $31 (get_local $19) ) ) @@ -1317,7 +1317,7 @@ (i32.const 8) ) ) - (set_local $32 + (set_local $31 (get_local $1) ) ) @@ -1327,12 +1327,12 @@ (get_local $2) ) (i32.store offset=12 - (get_local $32) + (get_local $31) (get_local $2) ) (i32.store offset=8 (get_local $2) - (get_local $32) + (get_local $31) ) (i32.store offset=12 (get_local $2) @@ -1555,13 +1555,13 @@ (get_local $2) ) (block - (set_local $27 + (set_local $26 (get_local $4) ) (set_local $25 (get_local $19) ) - (set_local $30 + (set_local $29 (get_local $19) ) (set_local $8 @@ -1626,13 +1626,13 @@ ) ) (block - (set_local $33 + (set_local $32 (get_local $5) ) - (set_local $34 + (set_local $33 (get_local $18) ) - (set_local $29 + (set_local $28 (get_local $6) ) (set_local $8 @@ -1665,13 +1665,13 @@ ) ) (block - (set_local $33 + (set_local $32 (get_local $15) ) - (set_local $34 + (set_local $33 (i32.const 0) ) - (set_local $29 + (set_local $28 (i32.const 0) ) (set_local $8 @@ -1690,11 +1690,11 @@ (if (i32.and (i32.eq - (get_local $34) + (get_local $33) (i32.const 0) ) (i32.eq - (get_local $29) + (get_local $28) (i32.const 0) ) ) @@ -1823,18 +1823,18 @@ ) ) ) - (get_local $34) + (get_local $33) ) ) (block - (set_local $27 - (get_local $33) + (set_local $26 + (get_local $32) ) (set_local $25 (get_local $0) ) - (set_local $30 - (get_local $29) + (set_local $29 + (get_local $28) ) (set_local $8 (i32.const 90) @@ -1842,10 +1842,10 @@ ) (block (set_local $7 - (get_local $33) + (get_local $32) ) (set_local $12 - (get_local $29) + (get_local $28) ) ) ) @@ -1872,20 +1872,20 @@ (get_local $2) ) ) - (get_local $27) + (get_local $26) ) ) (set_local $4 (select (get_local $6) - (get_local $27) + (get_local $26) (get_local $1) ) ) (set_local $6 (select (get_local $25) - (get_local $30) + (get_local $29) (get_local $1) ) ) @@ -1896,13 +1896,13 @@ ) ) (block - (set_local $27 + (set_local $26 (get_local $4) ) (set_local $25 (get_local $1) ) - (set_local $30 + (set_local $29 (get_local $6) ) (br $while-in$20) @@ -1915,10 +1915,10 @@ ) ) (block - (set_local $27 + (set_local $26 (get_local $4) ) - (set_local $30 + (set_local $29 (get_local $6) ) ) @@ -2401,7 +2401,7 @@ (set_local $14 (get_local $4) ) - (set_local $26 + (set_local $34 (get_local $5) ) ) @@ -2420,7 +2420,7 @@ (i32.const 8) ) ) - (set_local $26 + (set_local $34 (get_local $10) ) ) @@ -2430,12 +2430,12 @@ (get_local $6) ) (i32.store offset=12 - (get_local $26) + (get_local $34) (get_local $6) ) (i32.store offset=8 (get_local $6) - (get_local $26) + (get_local $34) ) (i32.store offset=12 (get_local $6) @@ -3103,22 +3103,16 @@ (if (if (i32.ne - (set_local $9 - (i32.load - (i32.const 616) - ) + (i32.load + (i32.const 616) ) (i32.const 0) ) - (set_local $14 - (i32.add - (set_local $26 - (i32.load - (i32.const 608) - ) - ) - (get_local $7) + (i32.add + (i32.load + (i32.const 608) ) + (get_local $7) ) (i32.const 0) ) @@ -3152,10 +3146,8 @@ (if (if (i32.le_u - (set_local $26 - (i32.load - (get_local $14) - ) + (i32.load + (get_local $14) ) (get_local $9) ) @@ -3829,7 +3821,7 @@ ) ) (block - (set_local $28 + (set_local $27 (i32.const 624) ) (br $while-out$48) @@ -3849,7 +3841,7 @@ ) (i32.const 8) ) - (set_local $28 + (set_local $27 (i32.const 624) ) (block @@ -5036,7 +5028,7 @@ (i32.le_u (set_local $3 (i32.load - (get_local $28) + (get_local $27) ) ) (get_local $13) @@ -5045,7 +5037,7 @@ (i32.add (get_local $3) (i32.load offset=4 - (get_local $28) + (get_local $27) ) ) ) @@ -5058,9 +5050,9 @@ (br $while-out$71) ) ) - (set_local $28 + (set_local $27 (i32.load offset=8 - (get_local $28) + (get_local $27) ) ) (br $while-in$72) @@ -7887,20 +7879,20 @@ (i32.const 44) ) ) - (set_local $5 + (set_local $4 (get_local $3) ) (set_local $3 (i32.const 2) ) - (set_local $6 + (set_local $5 (i32.add (get_local $10) (get_local $2) ) ) (loop $while-out$0 $while-in$1 - (set_local $4 + (set_local $6 (if (i32.load (i32.const 8) @@ -7918,7 +7910,7 @@ ) (i32.store offset=4 (get_local $13) - (get_local $5) + (get_local $4) ) (i32.store offset=8 (get_local $13) @@ -7946,7 +7938,7 @@ ) (i32.store offset=4 (get_local $12) - (get_local $5) + (get_local $4) ) (i32.store offset=8 (get_local $12) @@ -7963,8 +7955,8 @@ ) (if (i32.eq + (get_local $5) (get_local $6) - (get_local $4) ) (block (set_local $1 @@ -7975,12 +7967,12 @@ ) (if (i32.lt_s - (get_local $4) + (get_local $6) (i32.const 0) ) (block (set_local $17 - (get_local $5) + (get_local $4) ) (set_local $18 (get_local $3) @@ -7993,17 +7985,17 @@ ) (set_local $10 (i32.sub + (get_local $5) (get_local $6) - (get_local $4) ) ) (set_local $3 (if (i32.le_u - (get_local $4) - (set_local $6 + (get_local $6) + (set_local $5 (i32.load offset=4 - (get_local $5) + (get_local $4) ) ) ) @@ -8019,25 +8011,25 @@ (i32.load (get_local $9) ) - (get_local $4) + (get_local $6) ) ) (set_local $7 - (get_local $5) + (get_local $4) ) (set_local $15 (i32.const 2) ) - (get_local $6) + (get_local $5) ) (block (set_local $7 - (get_local $5) + (get_local $4) ) (set_local $15 (get_local $3) ) - (get_local $6) + (get_local $5) ) ) (block @@ -8053,15 +8045,15 @@ (get_local $14) (get_local $7) ) - (set_local $4 + (set_local $6 (i32.sub - (get_local $4) (get_local $6) + (get_local $5) ) ) (set_local $7 (i32.add - (get_local $5) + (get_local $4) (i32.const 8) ) ) @@ -8072,7 +8064,7 @@ ) ) (i32.load offset=12 - (get_local $5) + (get_local $4) ) ) ) @@ -8083,23 +8075,23 @@ (i32.load (get_local $7) ) - (get_local $4) + (get_local $6) ) ) (i32.store offset=4 (get_local $7) (i32.sub (get_local $3) - (get_local $4) + (get_local $6) ) ) - (set_local $5 + (set_local $4 (get_local $7) ) (set_local $3 (get_local $15) ) - (set_local $6 + (set_local $5 (get_local $10) ) (br $while-in$1) @@ -8113,7 +8105,7 @@ (i32.store offset=16 (get_local $0) (i32.add - (set_local $6 + (set_local $5 (i32.load (get_local $8) ) @@ -8126,7 +8118,7 @@ (i32.store (get_local $9) (set_local $8 - (get_local $6) + (get_local $5) ) ) (i32.store diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm index 8cdbf91fd..b4236e072 100644 --- a/test/emcc_hello_world.fromasm +++ b/test/emcc_hello_world.fromasm @@ -2951,22 +2951,22 @@ (local $11 i32) (local $12 i32) (local $13 i32) - (local $14 f64) - (local $15 i32) + (local $14 i32) + (local $15 f64) (local $16 i32) (local $17 i32) (local $18 i32) (local $19 i32) (local $20 i32) (local $21 i32) - (local $22 f64) + (local $22 i32) (local $23 i32) (local $24 i32) (local $25 i32) (local $26 i32) (local $27 i32) (local $28 i32) - (local $29 i32) + (local $29 f64) (local $30 i32) (local $31 i32) (local $32 i32) @@ -3046,7 +3046,7 @@ ) (call_import $abort) ) - (set_local $25 + (set_local $24 (i32.add (get_local $32) (i32.const 16) @@ -3068,7 +3068,7 @@ ) ) (set_local $73 - (set_local $28 + (set_local $27 (i32.add (set_local $5 (i32.add @@ -3120,7 +3120,7 @@ (get_local $55) ) (set_local $67 - (set_local $29 + (set_local $28 (i32.add (get_local $32) (i32.const 588) @@ -3155,14 +3155,14 @@ (set_local $74 (set_local $48 (i32.add - (get_local $29) + (get_local $28) (i32.const 9) ) ) ) (set_local $57 (i32.add - (get_local $29) + (get_local $28) (i32.const 8) ) ) @@ -3370,7 +3370,7 @@ ) ) ) - (set_local $15 + (set_local $14 (i32.sub (get_local $62) (get_local $12) @@ -3390,7 +3390,7 @@ ) (call $___fwritex (get_local $12) - (get_local $15) + (get_local $14) (get_local $0) ) ) @@ -3408,15 +3408,15 @@ (get_local $41) ) (set_local $1 - (get_local $15) + (get_local $14) ) (br $label$continue$L1) ) ) - (set_local $7 + (set_local $6 (if (i32.lt_u - (set_local $6 + (set_local $7 (i32.add (i32.shr_s (i32.shl @@ -3449,7 +3449,7 @@ (i32.const 3) ) (get_local $5) - (set_local $7 + (set_local $6 (i32.eq (i32.shr_s (i32.shl @@ -3471,16 +3471,16 @@ (select (i32.const 1) (get_local $8) - (get_local $7) + (get_local $6) ) ) (set_local $10 (get_local $5) ) (select - (get_local $6) - (i32.const -1) (get_local $7) + (i32.const -1) + (get_local $6) ) ) (block @@ -3512,7 +3512,7 @@ (i32.const 32) ) (block - (set_local $6 + (set_local $7 (i32.const 0) ) (loop $while-out$10 $while-in$11 @@ -3532,12 +3532,12 @@ ) (block (set_local $8 - (get_local $6) + (get_local $7) ) (br $label$break$L25) ) ) - (set_local $6 + (set_local $7 (i32.or (i32.shl (i32.const 1) @@ -3552,7 +3552,7 @@ (i32.const -32) ) ) - (get_local $6) + (get_local $7) ) ) (if @@ -3582,7 +3582,7 @@ ) (block (set_local $8 - (get_local $6) + (get_local $7) ) (br $while-out$10) ) @@ -3615,7 +3615,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (set_local $6 + (set_local $7 (i32.add (get_local $10) (i32.const 1) @@ -3665,7 +3665,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (get_local $6) + (get_local $7) ) (i32.const 24) ) @@ -3718,7 +3718,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -3730,7 +3730,7 @@ ) (block (set_local $10 - (get_local $6) + (get_local $7) ) (set_local $20 (i32.const 0) @@ -3782,7 +3782,7 @@ (i32.const 0) ) (set_local $66 - (get_local $6) + (get_local $7) ) (set_local $61 (get_local $5) @@ -3830,7 +3830,7 @@ ) (if (i32.lt_u - (set_local $6 + (set_local $7 (i32.add (i32.shr_s (i32.shl @@ -3858,7 +3858,7 @@ (get_local $5) (i32.const 10) ) - (get_local $6) + (get_local $7) ) ) (if @@ -3868,7 +3868,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (set_local $6 + (set_local $7 (i32.add (get_local $1) (i32.const 1) @@ -3886,9 +3886,9 @@ ) (block (set_local $1 - (get_local $6) + (get_local $7) ) - (set_local $6 + (set_local $7 (get_local $10) ) ) @@ -3897,7 +3897,7 @@ (get_local $5) ) (set_local $5 - (get_local $6) + (get_local $7) ) (br $while-out$14) ) @@ -3910,7 +3910,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -3978,7 +3978,7 @@ (block (if (i32.lt_u - (set_local $6 + (set_local $7 (i32.add (i32.shr_s (i32.shl @@ -4016,12 +4016,12 @@ (get_local $5) (i32.const 10) ) - (get_local $6) + (get_local $7) ) ) (if (i32.ge_u - (set_local $6 + (set_local $7 (i32.add (i32.shr_s (i32.shl @@ -4062,7 +4062,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (set_local $6 + (set_local $7 (i32.add (get_local $10) (i32.const 2) @@ -4112,7 +4112,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (get_local $6) + (get_local $7) ) (i32.const 24) ) @@ -4147,7 +4147,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -4196,13 +4196,13 @@ (set_local $9 (get_local $5) ) - (get_local $6) + (get_local $7) ) (block (set_local $9 (i32.const 0) ) - (get_local $6) + (get_local $7) ) ) ) @@ -4238,7 +4238,7 @@ (i32.const 57) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -4285,10 +4285,10 @@ ) ) (block - (set_local $6 + (set_local $7 (get_local $5) ) - (set_local $26 + (set_local $25 (get_local $10) ) (set_local $10 @@ -4314,7 +4314,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -4322,7 +4322,7 @@ ) (set_local $5 (i32.gt_s - (get_local $7) + (get_local $6) (i32.const -1) ) ) @@ -4341,7 +4341,7 @@ (if (get_local $5) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -4358,11 +4358,11 @@ (i32.add (get_local $4) (i32.shl - (get_local $7) + (get_local $6) (i32.const 2) ) ) - (get_local $6) + (get_local $7) ) (set_local $5 (i32.load @@ -4370,7 +4370,7 @@ (i32.add (get_local $3) (i32.shl - (get_local $7) + (get_local $6) (i32.const 3) ) ) @@ -4383,13 +4383,13 @@ ) ) (i32.store - (set_local $7 + (set_local $6 (get_local $18) ) (get_local $5) ) (i32.store offset=4 - (get_local $7) + (get_local $6) (get_local $1) ) (set_local $13 @@ -4403,7 +4403,7 @@ (get_local $52) ) (block - (set_local $23 + (set_local $22 (i32.const 0) ) (br $label$break$L1) @@ -4411,7 +4411,7 @@ ) (call $_pop_arg_336 (get_local $18) - (get_local $6) + (get_local $7) (get_local $2) ) ) @@ -4435,10 +4435,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4476,7 +4476,7 @@ (set_local $17 (select (get_local $8) - (set_local $6 + (set_local $7 (i32.and (get_local $8) (i32.const -65537) @@ -4559,10 +4559,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4579,10 +4579,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4614,10 +4614,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4637,10 +4637,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4660,10 +4660,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4680,10 +4680,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4715,10 +4715,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4729,10 +4729,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4802,18 +4802,18 @@ (i32.const 0) ) ) - (set_local $7 - (get_local $28) + (set_local $6 + (get_local $27) ) (block - (set_local $7 - (get_local $28) + (set_local $6 + (get_local $27) ) (loop $while-out$38 $while-in$39 (i32.store8 (set_local $34 (i32.add - (get_local $7) + (get_local $6) (i32.const -1) ) ) @@ -4841,7 +4841,7 @@ (i32.const 0) ) (i32.eq - (set_local $7 + (set_local $6 (i32.load (i32.const 168) ) @@ -4850,7 +4850,7 @@ ) ) (block - (set_local $7 + (set_local $6 (get_local $34) ) (br $while-out$38) @@ -4860,9 +4860,9 @@ (get_local $1) ) (set_local $1 - (get_local $7) + (get_local $6) ) - (set_local $7 + (set_local $6 (get_local $34) ) ) @@ -4896,7 +4896,7 @@ (set_local $13 (i32.const 77) ) - (get_local $7) + (get_local $6) ) (block (set_local $5 @@ -4906,7 +4906,7 @@ (i32.add (i32.sub (get_local $73) - (get_local $7) + (get_local $6) ) (i32.const 1) ) @@ -4932,7 +4932,7 @@ (set_local $13 (i32.const 77) ) - (get_local $7) + (get_local $6) ) ) ) @@ -4948,7 +4948,7 @@ ) (if (i32.lt_s - (set_local $7 + (set_local $6 (i32.load offset=4 (get_local $1) ) @@ -4961,7 +4961,7 @@ (i32.const 0) (i32.const 0) (get_local $5) - (get_local $7) + (get_local $6) ) ) (set_local $5 @@ -4970,13 +4970,13 @@ ) ) (i32.store - (set_local $7 + (set_local $6 (get_local $18) ) (get_local $1) ) (i32.store offset=4 - (get_local $7) + (get_local $6) (get_local $5) ) (set_local $45 @@ -5023,7 +5023,7 @@ ) ) (set_local $54 - (get_local $7) + (get_local $6) ) (set_local $59 (get_local $45) @@ -5038,7 +5038,7 @@ ) (block (set_local $54 - (get_local $7) + (get_local $6) ) (set_local $59 (i32.const 1) @@ -5099,7 +5099,7 @@ (get_local $71) ) (set_local $36 - (get_local $6) + (get_local $7) ) (set_local $42 (i32.const 1) @@ -5111,7 +5111,7 @@ (i32.const 4091) ) (set_local $53 - (get_local $28) + (get_local $27) ) (br $switch$24) ) @@ -5215,20 +5215,20 @@ ) ) ) - (set_local $14 + (set_local $15 (f64.load (get_local $18) ) ) (i32.store - (get_local $25) + (get_local $24) (i32.const 0) ) (f64.store (i32.load (i32.const 24) ) - (get_local $14) + (get_local $15) ) (i32.load (i32.load @@ -5249,9 +5249,9 @@ (set_local $39 (i32.const 4108) ) - (set_local $14 + (set_local $15 (f64.neg - (get_local $14) + (get_local $15) ) ) (i32.const 1) @@ -5295,7 +5295,7 @@ (i32.load (i32.const 24) ) - (get_local $14) + (get_local $15) ) (i32.load (i32.load @@ -5334,11 +5334,11 @@ (if (set_local $5 (f64.ne - (set_local $14 + (set_local $15 (f64.mul (call $_frexpl - (get_local $14) - (get_local $25) + (get_local $15) + (get_local $24) ) (f64.const 2) ) @@ -5347,10 +5347,10 @@ ) ) (i32.store - (get_local $25) + (get_local $24) (i32.add (i32.load - (get_local $25) + (get_local $24) ) (i32.const -1) ) @@ -5358,7 +5358,7 @@ ) (if (i32.eq - (set_local $15 + (set_local $14 (i32.or (get_local $33) (i32.const 32) @@ -5375,7 +5375,7 @@ (i32.const 9) ) (i32.eq - (set_local $6 + (set_local $7 (i32.and (get_local $33) (i32.const 32) @@ -5385,13 +5385,13 @@ ) ) ) - (set_local $7 + (set_local $6 (i32.or (get_local $50) (i32.const 2) ) ) - (set_local $14 + (set_local $15 (if (i32.or (i32.gt_u @@ -5408,15 +5408,15 @@ (i32.const 0) ) ) - (get_local $14) + (get_local $15) (block - (set_local $22 + (set_local $29 (f64.const 8) ) (loop $while-out$60 $while-in$61 - (set_local $22 + (set_local $29 (f64.mul - (get_local $22) + (get_local $29) (f64.const 16) ) ) @@ -5449,21 +5449,21 @@ ) (f64.neg (f64.add - (get_local $22) + (get_local $29) (f64.sub (f64.neg - (get_local $14) + (get_local $15) ) - (get_local $22) + (get_local $29) ) ) ) (f64.sub (f64.add - (get_local $14) - (get_local $22) + (get_local $15) + (get_local $29) ) - (get_local $22) + (get_local $29) ) ) ) @@ -5473,7 +5473,7 @@ (i32.lt_s (set_local $1 (i32.load - (get_local $25) + (get_local $24) ) ) (i32.const 0) @@ -5571,7 +5571,7 @@ ) ) (set_local $11 - (get_local $29) + (get_local $28) ) (loop $while-out$62 $while-in$63 (i32.store8 @@ -5583,7 +5583,7 @@ (i32.add (set_local $1 (call_import $f64-to-int - (get_local $14) + (get_local $15) ) ) (i32.const 4075) @@ -5591,15 +5591,15 @@ ) (i32.const 255) ) - (get_local $6) + (get_local $7) ) (i32.const 255) ) ) - (set_local $14 + (set_local $15 (f64.mul (f64.sub - (get_local $14) + (get_local $15) (f64.convert_s/i32 (get_local $1) ) @@ -5629,7 +5629,7 @@ (i32.and (get_local $5) (f64.eq - (get_local $14) + (get_local $15) (f64.const 0) ) ) @@ -5653,7 +5653,7 @@ ) (if (f64.ne - (get_local $14) + (get_local $15) (f64.const 0) ) (set_local $11 @@ -5684,7 +5684,7 @@ (get_local $16) (set_local $5 (i32.add - (set_local $6 + (set_local $7 (select (i32.sub (i32.add @@ -5703,7 +5703,7 @@ (get_local $5) ) ) - (get_local $7) + (get_local $6) ) ) (get_local $17) @@ -5720,7 +5720,7 @@ ) (call $___fwritex (get_local $10) - (get_local $7) + (get_local $6) (get_local $0) ) ) @@ -5751,7 +5751,7 @@ (i32.const 0) ) (call $___fwritex - (get_local $29) + (get_local $28) (get_local $1) (get_local $0) ) @@ -5760,7 +5760,7 @@ (get_local $0) (i32.const 48) (i32.sub - (get_local $6) + (get_local $7) (i32.add (get_local $1) (set_local $1 @@ -5827,26 +5827,26 @@ (get_local $5) (block (i32.store - (get_local $25) + (get_local $24) (set_local $5 (i32.add (i32.load - (get_local $25) + (get_local $24) ) (i32.const -28) ) ) ) - (set_local $14 + (set_local $15 (f64.mul - (get_local $14) + (get_local $15) (f64.const 268435456) ) ) (get_local $5) ) (i32.load - (get_local $25) + (get_local $24) ) ) ) @@ -5862,30 +5862,30 @@ ) ) ) - (set_local $7 + (set_local $6 (get_local $10) ) (loop $while-out$66 $while-in$67 (i32.store - (get_local $7) + (get_local $6) (set_local $5 (call_import $f64-to-int - (get_local $14) + (get_local $15) ) ) ) - (set_local $7 + (set_local $6 (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) ) (if (f64.eq - (set_local $14 + (set_local $15 (f64.mul (f64.sub - (get_local $14) + (get_local $15) (f64.convert_u/i32 (get_local $5) ) @@ -5896,8 +5896,8 @@ (f64.const 0) ) (block - (set_local $6 - (get_local $7) + (set_local $7 + (get_local $6) ) (br $while-out$66) ) @@ -5908,7 +5908,7 @@ (i32.gt_s (set_local $5 (i32.load - (get_local $25) + (get_local $24) ) ) (i32.const 0) @@ -5918,7 +5918,7 @@ (get_local $10) ) (set_local $9 - (get_local $6) + (get_local $7) ) (loop $while-out$68 $while-in$69 (set_local $11 @@ -5931,11 +5931,11 @@ ) ) ) - (set_local $7 + (set_local $6 (block $do-once$70 (if (i32.lt_u - (set_local $7 + (set_local $6 (i32.add (get_local $9) (i32.const -4) @@ -5949,10 +5949,10 @@ (i32.const 0) ) (set_local $12 - (get_local $7) + (get_local $6) ) (loop $while-out$72 $while-in$73 - (set_local $6 + (set_local $7 (call $___uremdi3 (set_local $5 (call $_i64Add @@ -5970,7 +5970,7 @@ (i32.const 0) ) ) - (set_local $7 + (set_local $6 (i32.load (i32.const 168) ) @@ -5984,12 +5984,12 @@ ) (i32.store (get_local $12) - (get_local $6) + (get_local $7) ) (set_local $5 (call $___udivdi3 (get_local $5) - (get_local $7) + (get_local $6) (i32.const 1000000000) (i32.const 0) ) @@ -5999,7 +5999,7 @@ ) (if (i32.lt_u - (set_local $7 + (set_local $6 (i32.add (get_local $12) (i32.const -4) @@ -6009,7 +6009,7 @@ ) (br $while-out$72) (set_local $12 - (get_local $7) + (get_local $6) ) ) (br $while-in$73) @@ -6024,7 +6024,7 @@ ) ) (i32.store - (set_local $7 + (set_local $6 (i32.add (get_local $8) (i32.const -4) @@ -6032,19 +6032,19 @@ ) (get_local $5) ) - (get_local $7) + (get_local $6) ) ) ) ) - (set_local $6 + (set_local $7 (get_local $9) ) (loop $while-out$74 $while-in$75 (if (i32.le_u - (get_local $6) (get_local $7) + (get_local $6) ) (br $while-out$74) ) @@ -6053,14 +6053,14 @@ (i32.load (set_local $5 (i32.add - (get_local $6) + (get_local $7) (i32.const -4) ) ) ) (i32.const 0) ) - (set_local $6 + (set_local $7 (get_local $5) ) (br $while-out$74) @@ -6068,11 +6068,11 @@ (br $while-in$75) ) (i32.store - (get_local $25) + (get_local $24) (set_local $5 (i32.sub (i32.load - (get_local $25) + (get_local $24) ) (get_local $11) ) @@ -6085,10 +6085,10 @@ ) (block (set_local $8 - (get_local $7) + (get_local $6) ) (set_local $9 - (get_local $6) + (get_local $7) ) ) (br $while-out$68) @@ -6096,7 +6096,7 @@ (br $while-in$69) ) ) - (set_local $7 + (set_local $6 (get_local $10) ) ) @@ -6123,17 +6123,17 @@ ) (set_local $12 (i32.eq - (get_local $15) + (get_local $14) (i32.const 102) ) ) - (set_local $24 - (get_local $6) + (set_local $23 + (get_local $7) ) (loop $while-out$76 $while-in$77 (set_local $5 (i32.gt_s - (set_local $6 + (set_local $7 (i32.sub (i32.const 0) (get_local $5) @@ -6145,7 +6145,7 @@ (set_local $9 (select (i32.const 9) - (get_local $6) + (get_local $7) (get_local $5) ) ) @@ -6153,8 +6153,8 @@ (block $do-once$78 (if (i32.lt_u - (get_local $7) - (get_local $24) + (get_local $6) + (get_local $23) ) (block (set_local $68 @@ -6166,7 +6166,7 @@ (i32.const -1) ) ) - (set_local $27 + (set_local $26 (i32.shr_u (i32.const 1000000000) (get_local $9) @@ -6176,10 +6176,10 @@ (i32.const 0) ) (set_local $21 - (get_local $7) + (get_local $6) ) (loop $while-out$80 $while-in$81 - (set_local $6 + (set_local $7 (i32.and (set_local $5 (i32.load @@ -6199,10 +6199,10 @@ (get_local $11) ) ) - (set_local $6 + (set_local $7 (i32.mul - (get_local $6) - (get_local $27) + (get_local $7) + (get_local $26) ) ) (if @@ -6213,11 +6213,11 @@ (i32.const 4) ) ) - (get_local $24) + (get_local $23) ) (block (set_local $11 - (get_local $6) + (get_local $7) ) (set_local $21 (get_local $5) @@ -6230,13 +6230,13 @@ (set_local $5 (select (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) - (get_local $7) + (get_local $6) (i32.eq (i32.load - (get_local $7) + (get_local $6) ) (i32.const 0) ) @@ -6244,12 +6244,12 @@ ) (if (i32.eq - (get_local $6) + (get_local $7) (i32.const 0) ) (block - (set_local $6 - (get_local $24) + (set_local $7 + (get_local $23) ) (br $do-once$78 (get_local $5) @@ -6257,30 +6257,30 @@ ) ) (i32.store - (get_local $24) - (get_local $6) + (get_local $23) + (get_local $7) ) - (set_local $6 + (set_local $7 (i32.add - (get_local $24) + (get_local $23) (i32.const 4) ) ) (get_local $5) ) (block - (set_local $6 - (get_local $24) + (set_local $7 + (get_local $23) ) (select (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) - (get_local $7) + (get_local $6) (i32.eq (i32.load - (get_local $7) + (get_local $6) ) (i32.const 0) ) @@ -6293,8 +6293,8 @@ (i32.gt_s (i32.shr_s (i32.sub - (get_local $6) - (set_local $7 + (get_local $7) + (set_local $6 (select (get_local $10) (get_local $11) @@ -6307,25 +6307,25 @@ (get_local $8) ) ) - (set_local $6 + (set_local $7 (select (i32.add - (get_local $7) + (get_local $6) (i32.shl (get_local $8) (i32.const 2) ) ) - (get_local $6) + (get_local $7) (get_local $5) ) ) (i32.store - (get_local $25) + (get_local $24) (set_local $5 (i32.add (i32.load - (get_local $25) + (get_local $24) ) (get_local $9) ) @@ -6337,19 +6337,19 @@ (i32.const 0) ) (block - (set_local $7 + (set_local $6 (get_local $11) ) - (set_local $24 - (get_local $6) + (set_local $23 + (get_local $7) ) ) (block - (set_local $7 + (set_local $6 (get_local $11) ) - (set_local $27 - (get_local $6) + (set_local $26 + (get_local $7) ) (br $while-out$76) ) @@ -6357,23 +6357,23 @@ (br $while-in$77) ) ) - (set_local $27 - (get_local $6) + (set_local $26 + (get_local $7) ) ) (block $do-once$82 (if (i32.lt_u - (get_local $7) - (get_local $27) + (get_local $6) + (get_local $26) ) (block - (set_local $6 + (set_local $7 (i32.mul (i32.shr_s (i32.sub (get_local $30) - (get_local $7) + (get_local $6) ) (i32.const 2) ) @@ -6384,14 +6384,14 @@ (i32.lt_u (set_local $5 (i32.load - (get_local $7) + (get_local $6) ) ) (i32.const 10) ) (block (set_local $9 - (get_local $6) + (get_local $7) ) (br $do-once$82) ) @@ -6400,9 +6400,9 @@ ) ) (loop $while-out$84 $while-in$85 - (set_local $6 + (set_local $7 (i32.add - (get_local $6) + (get_local $7) (i32.const 1) ) ) @@ -6418,7 +6418,7 @@ ) (block (set_local $9 - (get_local $6) + (get_local $7) ) (br $while-out$84) ) @@ -6431,7 +6431,7 @@ ) ) ) - (set_local $7 + (set_local $6 (if (i32.lt_s (set_local $5 @@ -6442,7 +6442,7 @@ (get_local $9) (i32.const 0) (i32.ne - (get_local $15) + (get_local $14) (i32.const 102) ) ) @@ -6458,7 +6458,7 @@ ) (set_local $8 (i32.eq - (get_local $15) + (get_local $14) (i32.const 103) ) ) @@ -6473,7 +6473,7 @@ (i32.mul (i32.shr_s (i32.sub - (get_local $27) + (get_local $26) (get_local $30) ) (i32.const 2) @@ -6484,7 +6484,7 @@ ) ) (block - (set_local $6 + (set_local $7 (i32.add (i32.add (get_local $10) @@ -6567,19 +6567,19 @@ (set_local $11 (i32.eq (i32.add - (get_local $6) + (get_local $7) (i32.const 4) ) - (get_local $27) + (get_local $26) ) ) (i32.eq - (set_local $15 + (set_local $14 (i32.and (i32.rem_u (set_local $5 (i32.load - (get_local $6) + (get_local $7) ) ) (get_local $21) @@ -6592,17 +6592,17 @@ ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (set_local $11 (get_local $9) ) ) (block - (set_local $14 + (set_local $15 (select (f64.const 9007199254740992) (f64.const 9007199254740994) @@ -6621,10 +6621,10 @@ ) ) ) - (set_local $22 + (set_local $29 (if (i32.lt_u - (get_local $15) + (get_local $14) (set_local $12 (i32.and (i32.div_s @@ -6642,21 +6642,21 @@ (i32.and (get_local $11) (i32.eq - (get_local $15) + (get_local $14) (get_local $12) ) ) ) ) ) - (set_local $14 + (set_local $15 (block $do-once$90 (if (i32.eq (get_local $50) (i32.const 0) ) - (get_local $14) + (get_local $15) (block (if (i32.ne @@ -6672,45 +6672,45 @@ (i32.const 45) ) (br $do-once$90 - (get_local $14) + (get_local $15) ) ) - (set_local $22 + (set_local $29 (f64.neg - (get_local $22) + (get_local $29) ) ) (f64.neg - (get_local $14) + (get_local $15) ) ) ) ) ) (i32.store - (get_local $6) + (get_local $7) (set_local $5 (i32.sub (get_local $5) - (get_local $15) + (get_local $14) ) ) ) (if (f64.eq (f64.add - (get_local $14) - (get_local $22) + (get_local $15) + (get_local $29) ) - (get_local $14) + (get_local $15) ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (set_local $11 (get_local $9) ) @@ -6718,7 +6718,7 @@ ) ) (i32.store - (get_local $6) + (get_local $7) (set_local $5 (i32.add (get_local $5) @@ -6733,22 +6733,22 @@ ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (loop $while-out$92 $while-in$93 (i32.store - (get_local $7) + (get_local $6) (i32.const 0) ) (set_local $5 (if (i32.lt_u - (set_local $6 + (set_local $7 (i32.add - (get_local $7) + (get_local $6) (i32.const -4) ) ) @@ -6770,11 +6770,11 @@ ) ) (i32.store - (get_local $6) - (set_local $7 + (get_local $7) + (set_local $6 (i32.add (i32.load - (get_local $6) + (get_local $7) ) (i32.const 1) ) @@ -6782,14 +6782,14 @@ ) (if (i32.gt_u - (get_local $7) + (get_local $6) (i32.const 999999999) ) - (set_local $7 - (get_local $6) + (set_local $6 + (get_local $7) ) (block - (set_local $7 + (set_local $6 (get_local $5) ) (br $while-out$92) @@ -6804,7 +6804,7 @@ (i32.shr_s (i32.sub (get_local $30) - (get_local $7) + (get_local $6) ) (i32.const 2) ) @@ -6815,18 +6815,18 @@ (i32.lt_u (set_local $5 (i32.load - (get_local $7) + (get_local $6) ) ) (i32.const 10) ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (br $do-once$88) ) (set_local $12 @@ -6852,11 +6852,11 @@ ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (br $while-out$94) ) ) @@ -6865,12 +6865,12 @@ ) ) ) - (set_local $6 + (set_local $7 (i32.gt_u - (get_local $27) - (set_local $7 + (get_local $26) + (set_local $6 (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) ) @@ -6879,24 +6879,24 @@ (set_local $9 (get_local $11) ) - (set_local $6 + (set_local $7 (select - (get_local $7) - (get_local $27) (get_local $6) + (get_local $26) + (get_local $7) ) ) (get_local $5) ) (block - (set_local $6 - (get_local $27) + (set_local $7 + (get_local $26) ) - (get_local $7) + (get_local $6) ) ) ) - (set_local $27 + (set_local $26 (i32.sub (i32.const 0) (get_local $9) @@ -6905,15 +6905,15 @@ (loop $while-out$96 $while-in$97 (if (i32.le_u - (get_local $6) (get_local $7) + (get_local $6) ) (block (set_local $11 (i32.const 0) ) - (set_local $24 - (get_local $6) + (set_local $23 + (get_local $7) ) (br $while-out$96) ) @@ -6923,22 +6923,22 @@ (i32.load (set_local $5 (i32.add - (get_local $6) + (get_local $7) (i32.const -4) ) ) ) (i32.const 0) ) - (set_local $6 + (set_local $7 (get_local $5) ) (block (set_local $11 (i32.const 1) ) - (set_local $24 - (get_local $6) + (set_local $23 + (get_local $7) ) (br $while-out$96) ) @@ -7013,7 +7013,7 @@ (i32.const 0) ) (block - (set_local $15 + (set_local $14 (get_local $8) ) (set_local $30 @@ -7033,7 +7033,7 @@ (set_local $1 (i32.load (i32.add - (get_local $24) + (get_local $23) (i32.const -4) ) ) @@ -7062,7 +7062,7 @@ (set_local $5 (i32.const 10) ) - (set_local $6 + (set_local $7 (i32.const 0) ) ) @@ -7074,9 +7074,9 @@ ) ) (loop $while-out$102 $while-in$103 - (set_local $6 + (set_local $7 (i32.add - (get_local $6) + (get_local $7) (i32.const 1) ) ) @@ -7098,7 +7098,7 @@ ) (block (set_local $1 - (get_local $6) + (get_local $7) ) (br $while-out$102) ) @@ -7116,7 +7116,7 @@ (i32.mul (i32.shr_s (i32.sub - (get_local $24) + (get_local $23) (get_local $30) ) (i32.const 2) @@ -7158,7 +7158,7 @@ ) ) ) - (set_local $15 + (set_local $14 (select (get_local $8) (get_local $1) @@ -7197,7 +7197,7 @@ ) ) ) - (set_local $15 + (set_local $14 (select (get_local $8) (get_local $1) @@ -7212,7 +7212,7 @@ ) ) (block - (set_local $15 + (set_local $14 (get_local $1) ) (set_local $30 @@ -7231,7 +7231,7 @@ (i32.ne (set_local $1 (i32.or - (get_local $15) + (get_local $14) (get_local $8) ) ) @@ -7252,7 +7252,7 @@ ) ) (block - (set_local $6 + (set_local $7 (select (get_local $9) (i32.const 0) @@ -7269,9 +7269,9 @@ (i32.shr_s (i32.shl (i32.lt_s - (set_local $6 + (set_local $7 (select - (get_local $27) + (get_local $26) (get_local $9) (i32.lt_s (get_local $9) @@ -7292,7 +7292,7 @@ (get_local $44) (set_local $5 (call $_fmt_u - (get_local $6) + (get_local $7) (get_local $5) (get_local $55) ) @@ -7356,7 +7356,7 @@ (i32.const 255) ) ) - (set_local $6 + (set_local $7 (i32.sub (get_local $44) (get_local $5) @@ -7370,7 +7370,7 @@ (get_local $0) (i32.const 32) (get_local $16) - (set_local $6 + (set_local $7 (i32.add (i32.add (i32.add @@ -7378,11 +7378,11 @@ (get_local $50) (i32.const 1) ) - (get_local $15) + (get_local $14) ) (get_local $21) ) - (get_local $6) + (get_local $7) ) ) (get_local $17) @@ -7407,7 +7407,7 @@ (get_local $0) (i32.const 48) (get_local $16) - (get_local $6) + (get_local $7) (i32.xor (get_local $17) (i32.const 65536) @@ -7417,13 +7417,13 @@ (if (get_local $12) (block - (set_local $7 + (set_local $6 (set_local $8 (select (get_local $10) - (get_local $7) + (get_local $6) (i32.gt_u - (get_local $7) + (get_local $6) (get_local $10) ) ) @@ -7433,7 +7433,7 @@ (set_local $5 (call $_fmt_u (i32.load - (get_local $7) + (get_local $6) ) (i32.const 0) (get_local $48) @@ -7442,7 +7442,7 @@ (block $do-once$110 (if (i32.eq - (get_local $7) + (get_local $6) (get_local $8) ) (block @@ -7465,7 +7465,7 @@ (if (i32.gt_u (get_local $5) - (get_local $29) + (get_local $28) ) (get_local $5) (br $do-once$110) @@ -7483,7 +7483,7 @@ (if (i32.gt_u (get_local $5) - (get_local $29) + (get_local $28) ) (get_local $5) (br $while-out$112) @@ -7516,14 +7516,14 @@ (i32.gt_u (set_local $5 (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) ) (get_local $10) ) (br $while-out$108) - (set_local $7 + (set_local $6 (get_local $5) ) ) @@ -7558,17 +7558,17 @@ (if (i32.and (i32.gt_s - (get_local $15) + (get_local $14) (i32.const 0) ) (i32.lt_u (get_local $5) - (get_local $24) + (get_local $23) ) ) (block - (set_local $7 - (get_local $15) + (set_local $6 + (get_local $14) ) (loop $while-out$116 $while-in$117 (if @@ -7582,7 +7582,7 @@ (get_local $48) ) ) - (get_local $29) + (get_local $28) ) (loop $while-out$118 $while-in$119 (i32.store8 @@ -7597,7 +7597,7 @@ (if (i32.gt_u (get_local $1) - (get_local $29) + (get_local $28) ) (get_local $1) (br $while-out$118) @@ -7620,9 +7620,9 @@ (get_local $1) (select (i32.const 9) - (get_local $7) + (get_local $6) (i32.gt_s - (get_local $7) + (get_local $6) (i32.const 9) ) ) @@ -7631,14 +7631,14 @@ ) (set_local $8 (i32.add - (get_local $7) + (get_local $6) (i32.const -9) ) ) (if (i32.and (i32.gt_s - (get_local $7) + (get_local $6) (i32.const 9) ) (i32.lt_u @@ -7648,14 +7648,14 @@ (i32.const 4) ) ) - (get_local $24) + (get_local $23) ) ) (block (set_local $5 (get_local $1) ) - (set_local $7 + (set_local $6 (get_local $8) ) ) @@ -7670,7 +7670,7 @@ ) ) (set_local $1 - (get_local $15) + (get_local $14) ) ) (call $_pad @@ -7687,9 +7687,9 @@ (block (set_local $12 (select - (get_local $24) + (get_local $23) (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) (get_local $11) @@ -7697,7 +7697,7 @@ ) (if (i32.gt_s - (get_local $15) + (get_local $14) (i32.const -1) ) (block @@ -7708,10 +7708,10 @@ ) ) (set_local $5 - (get_local $7) + (get_local $6) ) (set_local $8 - (get_local $15) + (get_local $14) ) (loop $while-out$120 $while-in$121 (set_local $10 @@ -7742,7 +7742,7 @@ (if (i32.eq (get_local $5) - (get_local $7) + (get_local $6) ) (block (set_local $1 @@ -7799,7 +7799,7 @@ (if (i32.gt_u (get_local $10) - (get_local $29) + (get_local $28) ) (set_local $1 (get_local $10) @@ -7824,7 +7824,7 @@ (if (i32.gt_u (get_local $1) - (get_local $29) + (get_local $28) ) (get_local $1) (br $while-out$124) @@ -7898,7 +7898,7 @@ ) ) (set_local $1 - (get_local $15) + (get_local $14) ) ) (call $_pad @@ -7937,7 +7937,7 @@ (get_local $0) (i32.const 32) (get_local $16) - (get_local $6) + (get_local $7) (i32.xor (get_local $17) (i32.const 8192) @@ -7945,9 +7945,9 @@ ) (select (get_local $16) - (get_local $6) + (get_local $7) (i32.lt_s - (get_local $6) + (get_local $7) (get_local $16) ) ) @@ -7968,15 +7968,15 @@ ) ) ) - (set_local $7 + (set_local $6 (select (i32.const 0) (get_local $50) (set_local $1 (i32.or (f64.ne - (get_local $14) - (get_local $14) + (get_local $15) + (get_local $15) ) (f64.ne (f64.const 0) @@ -8003,11 +8003,11 @@ (get_local $16) (set_local $5 (i32.add - (get_local $7) + (get_local $6) (i32.const 3) ) ) - (get_local $6) + (get_local $7) ) (if (i32.eq @@ -8027,7 +8027,7 @@ (block (call $___fwritex (get_local $39) - (get_local $7) + (get_local $6) (get_local $0) ) (i32.load @@ -8072,7 +8072,7 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $8 (get_local $20) @@ -8095,7 +8095,7 @@ (i32.const 4091) ) (set_local $53 - (get_local $28) + (get_local $27) ) ) ) @@ -8107,7 +8107,7 @@ (i32.const 64) ) (block - (set_local $7 + (set_local $6 (i32.and (get_local $69) (i32.const 32) @@ -8151,17 +8151,17 @@ (set_local $13 (i32.const 77) ) - (get_local $28) + (get_local $27) ) (block - (set_local $6 - (get_local $28) + (set_local $7 + (get_local $27) ) (loop $while-out$129 $while-in$130 (i32.store8 - (set_local $6 + (set_local $7 (i32.add - (get_local $6) + (get_local $7) (i32.const -1) ) ) @@ -8179,7 +8179,7 @@ ) (i32.const 255) ) - (get_local $7) + (get_local $6) ) (i32.const 255) ) @@ -8207,7 +8207,7 @@ ) (block (set_local $5 - (get_local $6) + (get_local $7) ) (br $while-out$129) ) @@ -8297,7 +8297,7 @@ (call $_fmt_u (get_local $45) (get_local $54) - (get_local $28) + (get_local $27) ) ) (set_local $35 @@ -8341,7 +8341,7 @@ (get_local $46) ) (set_local $36 - (get_local $6) + (get_local $7) ) (set_local $42 (select @@ -8379,13 +8379,13 @@ (set_local $13 (i32.const 0) ) - (set_local $7 + (set_local $6 (i32.const 0) ) (set_local $5 (i32.const 0) ) - (set_local $6 + (set_local $7 (i32.load (get_local $18) ) @@ -8395,7 +8395,7 @@ (i32.eq (set_local $1 (i32.load - (get_local $6) + (get_local $7) ) ) (i32.const 0) @@ -8422,7 +8422,7 @@ (get_local $5) (i32.sub (get_local $65) - (get_local $7) + (get_local $6) ) ) ) @@ -8433,9 +8433,9 @@ (br $while-out$131) ) ) - (set_local $6 + (set_local $7 (i32.add - (get_local $6) + (get_local $7) (i32.const 4) ) ) @@ -8445,15 +8445,15 @@ (set_local $1 (i32.add (get_local $5) - (get_local $7) + (get_local $6) ) ) ) - (set_local $7 + (set_local $6 (get_local $1) ) (block - (set_local $7 + (set_local $6 (get_local $1) ) (set_local $1 @@ -8470,7 +8470,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -8480,12 +8480,12 @@ (get_local $0) (i32.const 32) (get_local $16) - (get_local $7) + (get_local $6) (get_local $17) ) (if (i32.eq - (get_local $7) + (get_local $6) (i32.const 0) ) (block @@ -8497,7 +8497,7 @@ ) ) (block - (set_local $6 + (set_local $7 (i32.const 0) ) (set_local $5 @@ -8517,7 +8517,7 @@ ) (block (set_local $37 - (get_local $7) + (get_local $6) ) (set_local $13 (i32.const 98) @@ -8541,14 +8541,14 @@ (get_local $1) ) ) - (get_local $6) + (get_local $7) ) ) - (get_local $7) + (get_local $6) ) (block (set_local $37 - (get_local $7) + (get_local $6) ) (set_local $13 (i32.const 98) @@ -8575,10 +8575,10 @@ (if (i32.lt_u (get_local $1) - (get_local $7) + (get_local $6) ) (block - (set_local $6 + (set_local $7 (get_local $1) ) (set_local $5 @@ -8587,7 +8587,7 @@ ) (block (set_local $37 - (get_local $7) + (get_local $6) ) (set_local $13 (i32.const 98) @@ -8628,7 +8628,7 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 (select @@ -8695,7 +8695,7 @@ ) ) (block - (set_local $7 + (set_local $6 (i32.gt_s (get_local $31) (set_local $1 @@ -8722,7 +8722,7 @@ (select (get_local $31) (get_local $1) - (get_local $7) + (get_local $6) ) ) (set_local $43 @@ -8732,7 +8732,7 @@ (get_local $40) ) (set_local $53 - (get_local $28) + (get_local $27) ) (get_local $34) ) @@ -8750,9 +8750,9 @@ (get_local $40) ) (set_local $53 - (get_local $28) + (get_local $27) ) - (get_local $28) + (get_local $27) ) ) ) @@ -8761,7 +8761,7 @@ (set_local $1 (i32.lt_s (get_local $42) - (set_local $7 + (set_local $6 (i32.sub (get_local $53) (get_local $47) @@ -8775,9 +8775,9 @@ (set_local $1 (i32.add (get_local $43) - (set_local $6 + (set_local $7 (select - (get_local $7) + (get_local $6) (get_local $42) (get_local $1) ) @@ -8828,8 +8828,8 @@ (call $_pad (get_local $0) (i32.const 48) - (get_local $6) (get_local $7) + (get_local $6) (i32.const 0) ) (if @@ -8844,7 +8844,7 @@ ) (call $___fwritex (get_local $47) - (get_local $7) + (get_local $6) (get_local $0) ) ) @@ -8862,7 +8862,7 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 (get_local $8) @@ -8888,7 +8888,7 @@ (get_local $80) (i32.const 0) ) - (set_local $23 + (set_local $22 (i32.const 0) ) (block @@ -8943,7 +8943,7 @@ (get_local $0) ) (block - (set_local $23 + (set_local $22 (i32.const 1) ) (br $label$break$L343) @@ -8977,7 +8977,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L343) @@ -8992,7 +8992,7 @@ (get_local $1) ) (block - (set_local $23 + (set_local $22 (i32.const 1) ) (br $while-out$138) @@ -9000,13 +9000,13 @@ ) (br $while-in$139) ) - (set_local $23 + (set_local $22 (i32.const 1) ) ) ) ) - (set_local $23 + (set_local $22 (get_local $79) ) ) @@ -9016,7 +9016,7 @@ (i32.const 8) (get_local $32) ) - (get_local $23) + (get_local $22) ) (func $_pop_arg_336 (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) @@ -10041,7 +10041,7 @@ (i32.load (set_local $0 (i32.add - (set_local $8 + (set_local $9 (i32.add (i32.const 216) (i32.shl @@ -10076,7 +10076,7 @@ ) (if (i32.eq - (get_local $8) + (get_local $9) (get_local $2) ) (i32.store @@ -10117,7 +10117,7 @@ (block (i32.store (get_local $4) - (get_local $8) + (get_local $9) ) (i32.store (get_local $0) @@ -10168,7 +10168,7 @@ (if (i32.gt_u (get_local $12) - (set_local $11 + (set_local $10 (i32.load (i32.const 184) ) @@ -10234,7 +10234,7 @@ (i32.load (set_local $1 (i32.add - (set_local $8 + (set_local $9 (i32.add (i32.const 216) (i32.shl @@ -10330,7 +10330,7 @@ ) (if (i32.eq - (get_local $8) + (get_local $9) (get_local $0) ) (block @@ -10348,7 +10348,7 @@ ) ) (set_local $6 - (get_local $11) + (get_local $10) ) ) (block @@ -10376,7 +10376,7 @@ (block (i32.store (get_local $4) - (get_local $8) + (get_local $9) ) (i32.store (get_local $1) @@ -10407,7 +10407,7 @@ ) ) (i32.or - (set_local $8 + (set_local $9 (i32.sub (i32.shl (get_local $7) @@ -10422,9 +10422,9 @@ (i32.store (i32.add (get_local $4) - (get_local $8) + (get_local $9) ) - (get_local $8) + (get_local $9) ) (if (i32.ne @@ -10485,7 +10485,7 @@ (i32.const 8) ) ) - (set_local $9 + (set_local $8 (get_local $7) ) ) @@ -10510,7 +10510,7 @@ (set_local $5 (get_local $1) ) - (set_local $9 + (set_local $8 (get_local $2) ) ) @@ -10521,12 +10521,12 @@ (get_local $0) ) (i32.store offset=12 - (get_local $9) + (get_local $8) (get_local $0) ) (i32.store offset=8 (get_local $0) - (get_local $9) + (get_local $8) ) (i32.store offset=12 (get_local $0) @@ -10536,7 +10536,7 @@ ) (i32.store (i32.const 184) - (get_local $8) + (get_local $9) ) (i32.store (i32.const 196) @@ -10556,7 +10556,7 @@ ) (i32.const 0) ) - (set_local $9 + (set_local $8 (get_local $12) ) (block @@ -10697,7 +10697,7 @@ (set_local $6 (get_local $2) ) - (set_local $11 + (set_local $10 (get_local $7) ) (br $while-out$6) @@ -10747,7 +10747,7 @@ ) (if (i32.lt_u - (get_local $11) + (get_local $10) (set_local $0 (i32.load (i32.const 192) @@ -10758,10 +10758,10 @@ ) (if (i32.ge_u - (get_local $11) - (set_local $8 + (get_local $10) + (set_local $9 (i32.add - (get_local $11) + (get_local $10) (get_local $12) ) ) @@ -10770,7 +10770,7 @@ ) (set_local $1 (i32.load offset=24 - (get_local $11) + (get_local $10) ) ) (block $do-once$8 @@ -10778,10 +10778,10 @@ (i32.eq (set_local $2 (i32.load offset=12 - (get_local $11) + (get_local $10) ) ) - (get_local $11) + (get_local $10) ) (block (if @@ -10790,7 +10790,7 @@ (i32.load (set_local $7 (i32.add - (get_local $11) + (get_local $10) (i32.const 20) ) ) @@ -10804,7 +10804,7 @@ (i32.load (set_local $7 (i32.add - (get_local $11) + (get_local $10) (i32.const 16) ) ) @@ -10907,7 +10907,7 @@ (i32.lt_u (set_local $4 (i32.load offset=8 - (get_local $11) + (get_local $10) ) ) (get_local $0) @@ -10924,7 +10924,7 @@ ) ) ) - (get_local $11) + (get_local $10) ) (call_import $_abort) ) @@ -10938,7 +10938,7 @@ ) ) ) - (get_local $11) + (get_local $10) ) (block (i32.store @@ -10967,7 +10967,7 @@ (block (if (i32.eq - (get_local $11) + (get_local $10) (i32.load (set_local $2 (i32.add @@ -10975,7 +10975,7 @@ (i32.shl (set_local $0 (i32.load offset=28 - (get_local $11) + (get_local $10) ) ) (i32.const 2) @@ -11034,7 +11034,7 @@ ) ) ) - (get_local $11) + (get_local $10) ) (i32.store (get_local $0) @@ -11072,7 +11072,7 @@ (i32.ne (set_local $1 (i32.load offset=16 - (get_local $11) + (get_local $10) ) ) (i32.const 0) @@ -11099,7 +11099,7 @@ (i32.ne (set_local $0 (i32.load offset=20 - (get_local $11) + (get_local $10) ) ) (i32.const 0) @@ -11134,7 +11134,7 @@ ) (block (i32.store offset=4 - (get_local $11) + (get_local $10) (i32.or (set_local $0 (i32.add @@ -11151,7 +11151,7 @@ (set_local $0 (i32.add (i32.add - (get_local $11) + (get_local $10) (get_local $0) ) (i32.const 4) @@ -11168,14 +11168,14 @@ ) (block (i32.store offset=4 - (get_local $11) + (get_local $10) (i32.or (get_local $12) (i32.const 3) ) ) (i32.store offset=4 - (get_local $8) + (get_local $9) (i32.or (get_local $6) (i32.const 1) @@ -11183,7 +11183,7 @@ ) (i32.store (i32.add - (get_local $8) + (get_local $9) (get_local $6) ) (get_local $6) @@ -11306,20 +11306,20 @@ ) (i32.store (i32.const 196) - (get_local $8) + (get_local $9) ) ) ) (return (i32.add - (get_local $11) + (get_local $10) (i32.const 8) ) ) ) ) ) - (set_local $9 + (set_local $8 (get_local $12) ) ) @@ -11329,7 +11329,7 @@ (get_local $0) (i32.const -65) ) - (set_local $9 + (set_local $8 (i32.const -1) ) (block @@ -11353,7 +11353,7 @@ ) (i32.const 0) ) - (set_local $9 + (set_local $8 (get_local $5) ) (block @@ -11369,7 +11369,7 @@ (set_local $3 (i32.load offset=480 (i32.shl - (set_local $9 + (set_local $8 (if (i32.eq (set_local $3 @@ -11400,7 +11400,7 @@ (i32.and (i32.shr_u (i32.add - (set_local $9 + (set_local $8 (i32.shl (get_local $3) (set_local $3 @@ -11432,7 +11432,7 @@ (i32.add (set_local $6 (i32.shl - (get_local $9) + (get_local $8) (get_local $6) ) ) @@ -11481,16 +11481,16 @@ (i32.const 0) ) (block - (set_local $35 + (set_local $34 (get_local $13) ) - (set_local $36 + (set_local $35 (i32.const 0) ) - (set_local $30 + (set_local $29 (i32.const 0) ) - (set_local $10 + (set_local $11 (i32.const 86) ) ) @@ -11501,7 +11501,7 @@ (set_local $14 (i32.const 0) ) - (set_local $10 + (set_local $11 (i32.shl (get_local $5) (select @@ -11509,12 +11509,12 @@ (i32.sub (i32.const 25) (i32.shr_u - (get_local $9) + (get_local $8) (i32.const 1) ) ) (i32.eq - (get_local $9) + (get_local $8) (i32.const 31) ) ) @@ -11523,7 +11523,7 @@ (set_local $23 (get_local $3) ) - (set_local $29 + (set_local $41 (i32.const 0) ) (loop $while-out$17 $while-in$18 @@ -11556,15 +11556,15 @@ (set_local $24 (get_local $23) ) - (set_local $31 + (set_local $30 (get_local $23) ) - (set_local $10 + (set_local $11 (i32.const 90) ) (br $label$break$L123) ) - (set_local $29 + (set_local $41 (get_local $23) ) ) @@ -11599,7 +11599,7 @@ ) (i32.shl (i32.shr_u - (get_local $10) + (get_local $11) (i32.const 31) ) (i32.const 2) @@ -11611,9 +11611,9 @@ ) ) ) - (set_local $10 + (set_local $11 (i32.shl - (get_local $10) + (get_local $11) (i32.xor (i32.and (set_local $6 @@ -11631,16 +11631,16 @@ (if (get_local $6) (block - (set_local $35 + (set_local $34 (get_local $13) ) - (set_local $36 + (set_local $35 (get_local $14) ) - (set_local $30 - (get_local $29) + (set_local $29 + (get_local $41) ) - (set_local $10 + (set_local $11 (i32.const 86) ) (br $while-out$17) @@ -11661,7 +11661,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 86) ) (if @@ -11670,11 +11670,11 @@ (if (i32.and (i32.eq - (get_local $36) + (get_local $35) (i32.const 0) ) (i32.eq - (get_local $30) + (get_local $29) (i32.const 0) ) ) @@ -11685,7 +11685,7 @@ (set_local $3 (i32.shl (i32.const 2) - (get_local $9) + (get_local $8) ) ) ) @@ -11704,7 +11704,7 @@ (i32.const 0) ) (block - (set_local $9 + (set_local $8 (get_local $5) ) (br $do-once$0) @@ -11807,30 +11807,30 @@ ) ) ) - (get_local $36) + (get_local $35) ) ) (i32.const 0) ) (block (set_local $17 - (get_local $35) + (get_local $34) ) (set_local $15 - (get_local $30) + (get_local $29) ) ) (block (set_local $26 - (get_local $35) + (get_local $34) ) (set_local $24 (get_local $0) ) - (set_local $31 - (get_local $30) + (set_local $30 + (get_local $29) ) - (set_local $10 + (set_local $11 (i32.const 90) ) ) @@ -11838,11 +11838,11 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 90) ) (loop $while-out$19 $while-in$20 - (set_local $10 + (set_local $11 (i32.const 0) ) (set_local $0 @@ -11871,7 +11871,7 @@ (set_local $6 (select (get_local $24) - (get_local $31) + (get_local $30) (get_local $0) ) ) @@ -11891,7 +11891,7 @@ (set_local $24 (get_local $0) ) - (set_local $31 + (set_local $30 (get_local $6) ) (br $while-in$20) @@ -11922,7 +11922,7 @@ (set_local $24 (get_local $0) ) - (set_local $31 + (set_local $30 (get_local $6) ) ) @@ -11935,7 +11935,7 @@ (get_local $15) (i32.const 0) ) - (set_local $9 + (set_local $8 (get_local $5) ) (if @@ -11992,7 +11992,7 @@ (i32.eq (set_local $2 (i32.load - (set_local $8 + (set_local $9 (i32.add (get_local $15) (i32.const 20) @@ -12006,7 +12006,7 @@ (i32.eq (set_local $2 (i32.load - (set_local $8 + (set_local $9 (i32.add (get_local $15) (i32.const 16) @@ -12049,7 +12049,7 @@ (set_local $7 (get_local $2) ) - (set_local $8 + (set_local $9 (get_local $6) ) (br $while-in$24) @@ -12074,7 +12074,7 @@ (get_local $7) ) (set_local $7 - (get_local $8) + (get_local $9) ) (br $while-out$23) ) @@ -12082,7 +12082,7 @@ (set_local $7 (get_local $2) ) - (set_local $8 + (set_local $9 (get_local $6) ) ) @@ -12135,7 +12135,7 @@ (if (i32.eq (i32.load - (set_local $8 + (set_local $9 (i32.add (get_local $2) (i32.const 8) @@ -12150,7 +12150,7 @@ (get_local $2) ) (i32.store - (get_local $8) + (get_local $9) (get_local $7) ) (set_local $12 @@ -12448,7 +12448,7 @@ (i32.const 8) ) ) - (set_local $11 + (set_local $10 (get_local $2) ) ) @@ -12473,7 +12473,7 @@ (set_local $4 (get_local $0) ) - (set_local $11 + (set_local $10 (get_local $1) ) ) @@ -12484,12 +12484,12 @@ (get_local $3) ) (i32.store offset=12 - (get_local $11) + (get_local $10) (get_local $3) ) (i32.store offset=8 (get_local $3) - (get_local $11) + (get_local $10) ) (i32.store offset=12 (get_local $3) @@ -12711,7 +12711,7 @@ (set_local $22 (get_local $2) ) - (set_local $10 + (set_local $11 (i32.const 148) ) (br $while-out$31) @@ -12750,10 +12750,10 @@ (set_local $25 (get_local $2) ) - (set_local $39 + (set_local $38 (get_local $1) ) - (set_local $10 + (set_local $11 (i32.const 145) ) (br $while-out$31) @@ -12771,12 +12771,12 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 145) ) (if (i32.lt_u - (get_local $39) + (get_local $38) (i32.load (i32.const 192) ) @@ -12784,7 +12784,7 @@ (call_import $_abort) (block (i32.store - (get_local $39) + (get_local $38) (get_local $3) ) (i32.store offset=24 @@ -12803,7 +12803,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 148) ) (if @@ -12866,7 +12866,7 @@ ) ) ) - (set_local $9 + (set_local $8 (get_local $5) ) ) @@ -12884,7 +12884,7 @@ (i32.const 184) ) ) - (get_local $9) + (get_local $8) ) (block (set_local $1 @@ -12897,7 +12897,7 @@ (set_local $2 (i32.sub (get_local $0) - (get_local $9) + (get_local $8) ) ) (i32.const 15) @@ -12908,7 +12908,7 @@ (set_local $0 (i32.add (get_local $1) - (get_local $9) + (get_local $8) ) ) ) @@ -12933,7 +12933,7 @@ (i32.store offset=4 (get_local $1) (i32.or - (get_local $9) + (get_local $8) (i32.const 3) ) ) @@ -12991,7 +12991,7 @@ (i32.const 188) ) ) - (get_local $9) + (get_local $8) ) (block (i32.store @@ -12999,7 +12999,7 @@ (set_local $2 (i32.sub (get_local $0) - (get_local $9) + (get_local $8) ) ) ) @@ -13012,7 +13012,7 @@ (i32.const 200) ) ) - (get_local $9) + (get_local $8) ) ) ) @@ -13026,7 +13026,7 @@ (i32.store offset=4 (get_local $0) (i32.or - (get_local $9) + (get_local $8) (i32.const 3) ) ) @@ -13103,13 +13103,13 @@ ) (set_local $3 (i32.add - (get_local $9) + (get_local $8) (i32.const 48) ) ) (if (i32.le_u - (set_local $11 + (set_local $10 (i32.and (set_local $6 (i32.add @@ -13120,7 +13120,7 @@ ) (set_local $12 (i32.add - (get_local $9) + (get_local $8) (i32.const 47) ) ) @@ -13134,7 +13134,7 @@ ) ) ) - (get_local $9) + (get_local $8) ) (return (i32.const 0) @@ -13159,7 +13159,7 @@ (i32.const 608) ) ) - (get_local $11) + (get_local $10) ) ) (get_local $4) @@ -13176,7 +13176,7 @@ ) (if (i32.eq - (set_local $10 + (set_local $11 (block $label$break$L257 (if (i32.eq @@ -13199,7 +13199,7 @@ ) (i32.const 0) ) - (set_local $10 + (set_local $11 (i32.const 173) ) (block @@ -13252,7 +13252,7 @@ (i32.const 0) ) (block - (set_local $10 + (set_local $11 (i32.const 173) ) (br $label$break$L259) @@ -13318,7 +13318,7 @@ (set_local $21 (get_local $0) ) - (set_local $10 + (set_local $11 (i32.const 183) ) ) @@ -13330,7 +13330,7 @@ (block $do-once$39 (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 173) ) (if @@ -13363,10 +13363,10 @@ ) (i32.const 0) ) - (get_local $11) + (get_local $10) (i32.add (i32.sub - (get_local $11) + (get_local $10) (get_local $0) ) (i32.and @@ -13396,7 +13396,7 @@ (i32.and (i32.gt_u (get_local $13) - (get_local $9) + (get_local $8) ) (i32.lt_u (get_local $13) @@ -13453,7 +13453,7 @@ (set_local $21 (get_local $13) ) - (set_local $10 + (set_local $11 (i32.const 183) ) ) @@ -13467,7 +13467,7 @@ (block $label$break$L279 (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 183) ) (block @@ -13584,7 +13584,7 @@ ) (if (i32.lt_u - (get_local $11) + (get_local $10) (i32.const 2147483647) ) (block @@ -13593,7 +13593,7 @@ (i32.ne (set_local $0 (call_import $_sbrk - (get_local $11) + (get_local $10) ) ) (i32.const -1) @@ -13625,7 +13625,7 @@ ) ) (i32.add - (get_local $9) + (get_local $8) (i32.const 40) ) ) @@ -13636,7 +13636,7 @@ (set_local $19 (get_local $4) ) - (set_local $10 + (set_local $11 (i32.const 193) ) ) @@ -13647,7 +13647,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 193) ) (block @@ -13874,7 +13874,7 @@ (set_local $46 (get_local $6) ) - (set_local $10 + (set_local $11 (i32.const 203) ) (br $while-out$48) @@ -13898,7 +13898,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 203) ) (if @@ -14047,10 +14047,10 @@ (set_local $44 (get_local $1) ) - (set_local $41 + (set_local $40 (get_local $1) ) - (set_local $10 + (set_local $11 (i32.const 211) ) (br $while-out$50) @@ -14077,14 +14077,14 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 211) ) (if (i32.eq (i32.and (i32.load offset=12 - (get_local $41) + (get_local $40) ) (i32.const 8) ) @@ -14100,7 +14100,7 @@ (i32.load (set_local $2 (i32.add - (get_local $41) + (get_local $40) (i32.const 4) ) ) @@ -14112,7 +14112,7 @@ (get_local $2) (get_local $1) ) - (set_local $8 + (set_local $9 (i32.eq (i32.and (set_local $1 @@ -14170,7 +14170,7 @@ ) (i32.const 7) ) - (get_local $8) + (get_local $9) ) ) ) @@ -14179,19 +14179,19 @@ (set_local $5 (i32.add (get_local $6) - (get_local $9) + (get_local $8) ) ) (set_local $13 (i32.sub (get_local $1) - (get_local $9) + (get_local $8) ) ) (i32.store offset=4 (get_local $6) (i32.or - (get_local $9) + (get_local $8) (i32.const 3) ) ) @@ -14284,13 +14284,13 @@ (i32.const 1) ) (block - (set_local $11 + (set_local $10 (i32.and (get_local $0) (i32.const -8) ) ) - (set_local $8 + (set_local $9 (i32.shr_u (get_local $0) (i32.const 3) @@ -14321,7 +14321,7 @@ (i32.const 216) (i32.shl (i32.shl - (get_local $8) + (get_local $9) (i32.const 1) ) (i32.const 2) @@ -14364,7 +14364,7 @@ (i32.xor (i32.shl (i32.const 1) - (get_local $8) + (get_local $9) ) (i32.const -1) ) @@ -14379,7 +14379,7 @@ (get_local $1) (get_local $2) ) - (set_local $40 + (set_local $39 (i32.add (get_local $1) (i32.const 8) @@ -14406,7 +14406,7 @@ (get_local $3) ) (block - (set_local $40 + (set_local $39 (get_local $2) ) (br $do-once$57) @@ -14421,7 +14421,7 @@ (get_local $1) ) (i32.store - (get_local $40) + (get_local $39) (get_local $0) ) ) @@ -14446,7 +14446,7 @@ (i32.eq (set_local $1 (i32.load - (set_local $8 + (set_local $9 (i32.add (set_local $20 (i32.add @@ -14480,7 +14480,7 @@ (set_local $2 (get_local $1) ) - (set_local $8 + (set_local $9 (get_local $20) ) ) @@ -14508,7 +14508,7 @@ (set_local $2 (get_local $1) ) - (set_local $8 + (set_local $9 (get_local $20) ) (br $while-in$62) @@ -14533,7 +14533,7 @@ (get_local $2) ) (set_local $2 - (get_local $8) + (get_local $9) ) (br $while-out$61) ) @@ -14541,7 +14541,7 @@ (set_local $2 (get_local $1) ) - (set_local $8 + (set_local $9 (get_local $20) ) ) @@ -14594,7 +14594,7 @@ (if (i32.eq (i32.load - (set_local $8 + (set_local $9 (i32.add (get_local $1) (i32.const 8) @@ -14609,7 +14609,7 @@ (get_local $1) ) (i32.store - (get_local $8) + (get_local $9) (get_local $2) ) (set_local $18 @@ -14796,13 +14796,13 @@ ) (set_local $4 (i32.add - (get_local $11) + (get_local $10) (get_local $13) ) ) (i32.add (get_local $3) - (get_local $11) + (get_local $10) ) ) (block @@ -14893,7 +14893,7 @@ (i32.const 8) ) ) - (set_local $32 + (set_local $31 (get_local $2) ) ) @@ -14918,7 +14918,7 @@ (set_local $7 (get_local $0) ) - (set_local $32 + (set_local $31 (get_local $1) ) (br $do-once$67) @@ -14933,12 +14933,12 @@ (get_local $5) ) (i32.store offset=12 - (get_local $32) + (get_local $31) (get_local $5) ) (i32.store offset=8 (get_local $5) - (get_local $32) + (get_local $31) ) (i32.store offset=12 (get_local $5) @@ -15161,10 +15161,10 @@ (get_local $4) ) (block - (set_local $33 + (set_local $32 (get_local $2) ) - (set_local $10 + (set_local $11 (i32.const 281) ) (br $while-out$71) @@ -15203,10 +15203,10 @@ (set_local $42 (get_local $2) ) - (set_local $38 + (set_local $37 (get_local $1) ) - (set_local $10 + (set_local $11 (i32.const 278) ) (br $while-out$71) @@ -15224,12 +15224,12 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 278) ) (if (i32.lt_u - (get_local $38) + (get_local $37) (i32.load (i32.const 192) ) @@ -15237,7 +15237,7 @@ (call_import $_abort) (block (i32.store - (get_local $38) + (get_local $37) (get_local $5) ) (i32.store offset=24 @@ -15256,7 +15256,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 281) ) (if @@ -15266,7 +15266,7 @@ (i32.load (set_local $2 (i32.add - (get_local $33) + (get_local $32) (i32.const 8) ) ) @@ -15279,7 +15279,7 @@ ) ) (i32.ge_u - (get_local $33) + (get_local $32) (get_local $1) ) ) @@ -15298,7 +15298,7 @@ ) (i32.store offset=12 (get_local $5) - (get_local $33) + (get_local $32) ) (i32.store offset=24 (get_local $5) @@ -15643,7 +15643,7 @@ (get_local $2) ) ) - (set_local $8 + (set_local $9 (i32.add (get_local $4) (i32.const 8) @@ -15671,7 +15671,7 @@ ) (call_import $_abort) (block - (set_local $8 + (set_local $9 (get_local $1) ) (set_local $20 @@ -15681,7 +15681,7 @@ ) ) (i32.store - (get_local $8) + (get_local $9) (get_local $0) ) (i32.store offset=12 @@ -15904,10 +15904,10 @@ (get_local $3) ) (block - (set_local $34 + (set_local $33 (get_local $4) ) - (set_local $10 + (set_local $11 (i32.const 307) ) (br $while-out$77) @@ -15946,10 +15946,10 @@ (set_local $43 (get_local $4) ) - (set_local $37 + (set_local $36 (get_local $2) ) - (set_local $10 + (set_local $11 (i32.const 304) ) (br $while-out$77) @@ -15967,12 +15967,12 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 304) ) (if (i32.lt_u - (get_local $37) + (get_local $36) (i32.load (i32.const 192) ) @@ -15980,7 +15980,7 @@ (call_import $_abort) (block (i32.store - (get_local $37) + (get_local $36) (get_local $0) ) (i32.store offset=24 @@ -15999,7 +15999,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 307) ) (if @@ -16009,7 +16009,7 @@ (i32.load (set_local $4 (i32.add - (get_local $34) + (get_local $33) (i32.const 8) ) ) @@ -16022,7 +16022,7 @@ ) ) (i32.ge_u - (get_local $34) + (get_local $33) (get_local $2) ) ) @@ -16041,7 +16041,7 @@ ) (i32.store offset=12 (get_local $0) - (get_local $34) + (get_local $33) ) (i32.store offset=24 (get_local $0) @@ -16064,7 +16064,7 @@ (i32.const 188) ) ) - (get_local $9) + (get_local $8) ) (block (i32.store @@ -16072,7 +16072,7 @@ (set_local $2 (i32.sub (get_local $0) - (get_local $9) + (get_local $8) ) ) ) @@ -16085,7 +16085,7 @@ (i32.const 200) ) ) - (get_local $9) + (get_local $8) ) ) ) @@ -16099,7 +16099,7 @@ (i32.store offset=4 (get_local $0) (i32.or - (get_local $9) + (get_local $8) (i32.const 3) ) ) diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index ef9e9bba0..405b262ef 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -2949,22 +2949,22 @@ (local $11 i32) (local $12 i32) (local $13 i32) - (local $14 f64) - (local $15 i32) + (local $14 i32) + (local $15 f64) (local $16 i32) (local $17 i32) (local $18 i32) (local $19 i32) (local $20 i32) (local $21 i32) - (local $22 f64) + (local $22 i32) (local $23 i32) (local $24 i32) (local $25 i32) (local $26 i32) (local $27 i32) (local $28 i32) - (local $29 i32) + (local $29 f64) (local $30 i32) (local $31 i32) (local $32 i32) @@ -3044,7 +3044,7 @@ ) (call_import $abort) ) - (set_local $25 + (set_local $24 (i32.add (get_local $32) (i32.const 16) @@ -3066,7 +3066,7 @@ ) ) (set_local $73 - (set_local $28 + (set_local $27 (i32.add (set_local $5 (i32.add @@ -3118,7 +3118,7 @@ (get_local $55) ) (set_local $67 - (set_local $29 + (set_local $28 (i32.add (get_local $32) (i32.const 588) @@ -3153,14 +3153,14 @@ (set_local $74 (set_local $48 (i32.add - (get_local $29) + (get_local $28) (i32.const 9) ) ) ) (set_local $57 (i32.add - (get_local $29) + (get_local $28) (i32.const 8) ) ) @@ -3368,7 +3368,7 @@ ) ) ) - (set_local $15 + (set_local $14 (i32.sub (get_local $62) (get_local $12) @@ -3388,7 +3388,7 @@ ) (call $___fwritex (get_local $12) - (get_local $15) + (get_local $14) (get_local $0) ) ) @@ -3406,15 +3406,15 @@ (get_local $41) ) (set_local $1 - (get_local $15) + (get_local $14) ) (br $label$continue$L1) ) ) - (set_local $7 + (set_local $6 (if (i32.lt_u - (set_local $6 + (set_local $7 (i32.add (i32.shr_s (i32.shl @@ -3447,7 +3447,7 @@ (i32.const 3) ) (get_local $5) - (set_local $7 + (set_local $6 (i32.eq (i32.shr_s (i32.shl @@ -3469,16 +3469,16 @@ (select (i32.const 1) (get_local $8) - (get_local $7) + (get_local $6) ) ) (set_local $10 (get_local $5) ) (select - (get_local $6) - (i32.const -1) (get_local $7) + (i32.const -1) + (get_local $6) ) ) (block @@ -3510,7 +3510,7 @@ (i32.const 32) ) (block - (set_local $6 + (set_local $7 (i32.const 0) ) (loop $while-out$10 $while-in$11 @@ -3530,12 +3530,12 @@ ) (block (set_local $8 - (get_local $6) + (get_local $7) ) (br $label$break$L25) ) ) - (set_local $6 + (set_local $7 (i32.or (i32.shl (i32.const 1) @@ -3550,7 +3550,7 @@ (i32.const -32) ) ) - (get_local $6) + (get_local $7) ) ) (if @@ -3580,7 +3580,7 @@ ) (block (set_local $8 - (get_local $6) + (get_local $7) ) (br $while-out$10) ) @@ -3613,7 +3613,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (set_local $6 + (set_local $7 (i32.add (get_local $10) (i32.const 1) @@ -3663,7 +3663,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (get_local $6) + (get_local $7) ) (i32.const 24) ) @@ -3716,7 +3716,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -3728,7 +3728,7 @@ ) (block (set_local $10 - (get_local $6) + (get_local $7) ) (set_local $20 (i32.const 0) @@ -3780,7 +3780,7 @@ (i32.const 0) ) (set_local $66 - (get_local $6) + (get_local $7) ) (set_local $61 (get_local $5) @@ -3828,7 +3828,7 @@ ) (if (i32.lt_u - (set_local $6 + (set_local $7 (i32.add (i32.shr_s (i32.shl @@ -3856,7 +3856,7 @@ (get_local $5) (i32.const 10) ) - (get_local $6) + (get_local $7) ) ) (if @@ -3866,7 +3866,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (set_local $6 + (set_local $7 (i32.add (get_local $1) (i32.const 1) @@ -3884,9 +3884,9 @@ ) (block (set_local $1 - (get_local $6) + (get_local $7) ) - (set_local $6 + (set_local $7 (get_local $10) ) ) @@ -3895,7 +3895,7 @@ (get_local $5) ) (set_local $5 - (get_local $6) + (get_local $7) ) (br $while-out$14) ) @@ -3908,7 +3908,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -3976,7 +3976,7 @@ (block (if (i32.lt_u - (set_local $6 + (set_local $7 (i32.add (i32.shr_s (i32.shl @@ -4014,12 +4014,12 @@ (get_local $5) (i32.const 10) ) - (get_local $6) + (get_local $7) ) ) (if (i32.ge_u - (set_local $6 + (set_local $7 (i32.add (i32.shr_s (i32.shl @@ -4060,7 +4060,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (set_local $6 + (set_local $7 (i32.add (get_local $10) (i32.const 2) @@ -4110,7 +4110,7 @@ (i32.shr_s (i32.shl (i32.load8_s - (get_local $6) + (get_local $7) ) (i32.const 24) ) @@ -4145,7 +4145,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -4194,13 +4194,13 @@ (set_local $9 (get_local $5) ) - (get_local $6) + (get_local $7) ) (block (set_local $9 (i32.const 0) ) - (get_local $6) + (get_local $7) ) ) ) @@ -4236,7 +4236,7 @@ (i32.const 57) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -4283,10 +4283,10 @@ ) ) (block - (set_local $6 + (set_local $7 (get_local $5) ) - (set_local $26 + (set_local $25 (get_local $10) ) (set_local $10 @@ -4312,7 +4312,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -4320,7 +4320,7 @@ ) (set_local $5 (i32.gt_s - (get_local $7) + (get_local $6) (i32.const -1) ) ) @@ -4339,7 +4339,7 @@ (if (get_local $5) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -4356,11 +4356,11 @@ (i32.add (get_local $4) (i32.shl - (get_local $7) + (get_local $6) (i32.const 2) ) ) - (get_local $6) + (get_local $7) ) (set_local $5 (i32.load @@ -4368,7 +4368,7 @@ (i32.add (get_local $3) (i32.shl - (get_local $7) + (get_local $6) (i32.const 3) ) ) @@ -4381,13 +4381,13 @@ ) ) (i32.store - (set_local $7 + (set_local $6 (get_local $18) ) (get_local $5) ) (i32.store offset=4 - (get_local $7) + (get_local $6) (get_local $1) ) (set_local $13 @@ -4401,7 +4401,7 @@ (get_local $52) ) (block - (set_local $23 + (set_local $22 (i32.const 0) ) (br $label$break$L1) @@ -4409,7 +4409,7 @@ ) (call $_pop_arg_336 (get_local $18) - (get_local $6) + (get_local $7) (get_local $2) ) ) @@ -4433,10 +4433,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4474,7 +4474,7 @@ (set_local $17 (select (get_local $8) - (set_local $6 + (set_local $7 (i32.and (get_local $8) (i32.const -65537) @@ -4557,10 +4557,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4577,10 +4577,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4612,10 +4612,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4635,10 +4635,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4658,10 +4658,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4678,10 +4678,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4713,10 +4713,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4727,10 +4727,10 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 - (get_local $15) + (get_local $14) ) (set_local $8 (get_local $20) @@ -4800,18 +4800,18 @@ (i32.const 0) ) ) - (set_local $7 - (get_local $28) + (set_local $6 + (get_local $27) ) (block - (set_local $7 - (get_local $28) + (set_local $6 + (get_local $27) ) (loop $while-out$38 $while-in$39 (i32.store8 (set_local $34 (i32.add - (get_local $7) + (get_local $6) (i32.const -1) ) ) @@ -4839,7 +4839,7 @@ (i32.const 0) ) (i32.eq - (set_local $7 + (set_local $6 (i32.load (i32.const 168) ) @@ -4848,7 +4848,7 @@ ) ) (block - (set_local $7 + (set_local $6 (get_local $34) ) (br $while-out$38) @@ -4858,9 +4858,9 @@ (get_local $1) ) (set_local $1 - (get_local $7) + (get_local $6) ) - (set_local $7 + (set_local $6 (get_local $34) ) ) @@ -4894,7 +4894,7 @@ (set_local $13 (i32.const 77) ) - (get_local $7) + (get_local $6) ) (block (set_local $5 @@ -4904,7 +4904,7 @@ (i32.add (i32.sub (get_local $73) - (get_local $7) + (get_local $6) ) (i32.const 1) ) @@ -4930,7 +4930,7 @@ (set_local $13 (i32.const 77) ) - (get_local $7) + (get_local $6) ) ) ) @@ -4946,7 +4946,7 @@ ) (if (i32.lt_s - (set_local $7 + (set_local $6 (i32.load offset=4 (get_local $1) ) @@ -4959,7 +4959,7 @@ (i32.const 0) (i32.const 0) (get_local $5) - (get_local $7) + (get_local $6) ) ) (set_local $5 @@ -4968,13 +4968,13 @@ ) ) (i32.store - (set_local $7 + (set_local $6 (get_local $18) ) (get_local $1) ) (i32.store offset=4 - (get_local $7) + (get_local $6) (get_local $5) ) (set_local $45 @@ -5021,7 +5021,7 @@ ) ) (set_local $54 - (get_local $7) + (get_local $6) ) (set_local $59 (get_local $45) @@ -5036,7 +5036,7 @@ ) (block (set_local $54 - (get_local $7) + (get_local $6) ) (set_local $59 (i32.const 1) @@ -5097,7 +5097,7 @@ (get_local $71) ) (set_local $36 - (get_local $6) + (get_local $7) ) (set_local $42 (i32.const 1) @@ -5109,7 +5109,7 @@ (i32.const 4091) ) (set_local $53 - (get_local $28) + (get_local $27) ) (br $switch$24) ) @@ -5213,20 +5213,20 @@ ) ) ) - (set_local $14 + (set_local $15 (f64.load (get_local $18) ) ) (i32.store - (get_local $25) + (get_local $24) (i32.const 0) ) (f64.store (i32.load (i32.const 24) ) - (get_local $14) + (get_local $15) ) (i32.load (i32.load @@ -5247,9 +5247,9 @@ (set_local $39 (i32.const 4108) ) - (set_local $14 + (set_local $15 (f64.neg - (get_local $14) + (get_local $15) ) ) (i32.const 1) @@ -5293,7 +5293,7 @@ (i32.load (i32.const 24) ) - (get_local $14) + (get_local $15) ) (i32.load (i32.load @@ -5332,11 +5332,11 @@ (if (set_local $5 (f64.ne - (set_local $14 + (set_local $15 (f64.mul (call $_frexpl - (get_local $14) - (get_local $25) + (get_local $15) + (get_local $24) ) (f64.const 2) ) @@ -5345,10 +5345,10 @@ ) ) (i32.store - (get_local $25) + (get_local $24) (i32.add (i32.load - (get_local $25) + (get_local $24) ) (i32.const -1) ) @@ -5356,7 +5356,7 @@ ) (if (i32.eq - (set_local $15 + (set_local $14 (i32.or (get_local $33) (i32.const 32) @@ -5373,7 +5373,7 @@ (i32.const 9) ) (i32.eq - (set_local $6 + (set_local $7 (i32.and (get_local $33) (i32.const 32) @@ -5383,13 +5383,13 @@ ) ) ) - (set_local $7 + (set_local $6 (i32.or (get_local $50) (i32.const 2) ) ) - (set_local $14 + (set_local $15 (if (i32.or (i32.gt_u @@ -5406,15 +5406,15 @@ (i32.const 0) ) ) - (get_local $14) + (get_local $15) (block - (set_local $22 + (set_local $29 (f64.const 8) ) (loop $while-out$60 $while-in$61 - (set_local $22 + (set_local $29 (f64.mul - (get_local $22) + (get_local $29) (f64.const 16) ) ) @@ -5447,21 +5447,21 @@ ) (f64.neg (f64.add - (get_local $22) + (get_local $29) (f64.sub (f64.neg - (get_local $14) + (get_local $15) ) - (get_local $22) + (get_local $29) ) ) ) (f64.sub (f64.add - (get_local $14) - (get_local $22) + (get_local $15) + (get_local $29) ) - (get_local $22) + (get_local $29) ) ) ) @@ -5471,7 +5471,7 @@ (i32.lt_s (set_local $1 (i32.load - (get_local $25) + (get_local $24) ) ) (i32.const 0) @@ -5569,7 +5569,7 @@ ) ) (set_local $11 - (get_local $29) + (get_local $28) ) (loop $while-out$62 $while-in$63 (i32.store8 @@ -5581,7 +5581,7 @@ (i32.add (set_local $1 (i32.trunc_s/f64 - (get_local $14) + (get_local $15) ) ) (i32.const 4075) @@ -5589,15 +5589,15 @@ ) (i32.const 255) ) - (get_local $6) + (get_local $7) ) (i32.const 255) ) ) - (set_local $14 + (set_local $15 (f64.mul (f64.sub - (get_local $14) + (get_local $15) (f64.convert_s/i32 (get_local $1) ) @@ -5627,7 +5627,7 @@ (i32.and (get_local $5) (f64.eq - (get_local $14) + (get_local $15) (f64.const 0) ) ) @@ -5651,7 +5651,7 @@ ) (if (f64.ne - (get_local $14) + (get_local $15) (f64.const 0) ) (set_local $11 @@ -5682,7 +5682,7 @@ (get_local $16) (set_local $5 (i32.add - (set_local $6 + (set_local $7 (select (i32.sub (i32.add @@ -5701,7 +5701,7 @@ (get_local $5) ) ) - (get_local $7) + (get_local $6) ) ) (get_local $17) @@ -5718,7 +5718,7 @@ ) (call $___fwritex (get_local $10) - (get_local $7) + (get_local $6) (get_local $0) ) ) @@ -5749,7 +5749,7 @@ (i32.const 0) ) (call $___fwritex - (get_local $29) + (get_local $28) (get_local $1) (get_local $0) ) @@ -5758,7 +5758,7 @@ (get_local $0) (i32.const 48) (i32.sub - (get_local $6) + (get_local $7) (i32.add (get_local $1) (set_local $1 @@ -5825,26 +5825,26 @@ (get_local $5) (block (i32.store - (get_local $25) + (get_local $24) (set_local $5 (i32.add (i32.load - (get_local $25) + (get_local $24) ) (i32.const -28) ) ) ) - (set_local $14 + (set_local $15 (f64.mul - (get_local $14) + (get_local $15) (f64.const 268435456) ) ) (get_local $5) ) (i32.load - (get_local $25) + (get_local $24) ) ) ) @@ -5860,30 +5860,30 @@ ) ) ) - (set_local $7 + (set_local $6 (get_local $10) ) (loop $while-out$66 $while-in$67 (i32.store - (get_local $7) + (get_local $6) (set_local $5 (i32.trunc_s/f64 - (get_local $14) + (get_local $15) ) ) ) - (set_local $7 + (set_local $6 (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) ) (if (f64.eq - (set_local $14 + (set_local $15 (f64.mul (f64.sub - (get_local $14) + (get_local $15) (f64.convert_u/i32 (get_local $5) ) @@ -5894,8 +5894,8 @@ (f64.const 0) ) (block - (set_local $6 - (get_local $7) + (set_local $7 + (get_local $6) ) (br $while-out$66) ) @@ -5906,7 +5906,7 @@ (i32.gt_s (set_local $5 (i32.load - (get_local $25) + (get_local $24) ) ) (i32.const 0) @@ -5916,7 +5916,7 @@ (get_local $10) ) (set_local $9 - (get_local $6) + (get_local $7) ) (loop $while-out$68 $while-in$69 (set_local $11 @@ -5929,11 +5929,11 @@ ) ) ) - (set_local $7 + (set_local $6 (block $do-once$70 (if (i32.lt_u - (set_local $7 + (set_local $6 (i32.add (get_local $9) (i32.const -4) @@ -5947,10 +5947,10 @@ (i32.const 0) ) (set_local $12 - (get_local $7) + (get_local $6) ) (loop $while-out$72 $while-in$73 - (set_local $6 + (set_local $7 (call $___uremdi3 (set_local $5 (call $_i64Add @@ -5968,7 +5968,7 @@ (i32.const 0) ) ) - (set_local $7 + (set_local $6 (i32.load (i32.const 168) ) @@ -5982,12 +5982,12 @@ ) (i32.store (get_local $12) - (get_local $6) + (get_local $7) ) (set_local $5 (call $___udivdi3 (get_local $5) - (get_local $7) + (get_local $6) (i32.const 1000000000) (i32.const 0) ) @@ -5997,7 +5997,7 @@ ) (if (i32.lt_u - (set_local $7 + (set_local $6 (i32.add (get_local $12) (i32.const -4) @@ -6007,7 +6007,7 @@ ) (br $while-out$72) (set_local $12 - (get_local $7) + (get_local $6) ) ) (br $while-in$73) @@ -6022,7 +6022,7 @@ ) ) (i32.store - (set_local $7 + (set_local $6 (i32.add (get_local $8) (i32.const -4) @@ -6030,19 +6030,19 @@ ) (get_local $5) ) - (get_local $7) + (get_local $6) ) ) ) ) - (set_local $6 + (set_local $7 (get_local $9) ) (loop $while-out$74 $while-in$75 (if (i32.le_u - (get_local $6) (get_local $7) + (get_local $6) ) (br $while-out$74) ) @@ -6051,14 +6051,14 @@ (i32.load (set_local $5 (i32.add - (get_local $6) + (get_local $7) (i32.const -4) ) ) ) (i32.const 0) ) - (set_local $6 + (set_local $7 (get_local $5) ) (br $while-out$74) @@ -6066,11 +6066,11 @@ (br $while-in$75) ) (i32.store - (get_local $25) + (get_local $24) (set_local $5 (i32.sub (i32.load - (get_local $25) + (get_local $24) ) (get_local $11) ) @@ -6083,10 +6083,10 @@ ) (block (set_local $8 - (get_local $7) + (get_local $6) ) (set_local $9 - (get_local $6) + (get_local $7) ) ) (br $while-out$68) @@ -6094,7 +6094,7 @@ (br $while-in$69) ) ) - (set_local $7 + (set_local $6 (get_local $10) ) ) @@ -6121,17 +6121,17 @@ ) (set_local $12 (i32.eq - (get_local $15) + (get_local $14) (i32.const 102) ) ) - (set_local $24 - (get_local $6) + (set_local $23 + (get_local $7) ) (loop $while-out$76 $while-in$77 (set_local $5 (i32.gt_s - (set_local $6 + (set_local $7 (i32.sub (i32.const 0) (get_local $5) @@ -6143,7 +6143,7 @@ (set_local $9 (select (i32.const 9) - (get_local $6) + (get_local $7) (get_local $5) ) ) @@ -6151,8 +6151,8 @@ (block $do-once$78 (if (i32.lt_u - (get_local $7) - (get_local $24) + (get_local $6) + (get_local $23) ) (block (set_local $68 @@ -6164,7 +6164,7 @@ (i32.const -1) ) ) - (set_local $27 + (set_local $26 (i32.shr_u (i32.const 1000000000) (get_local $9) @@ -6174,10 +6174,10 @@ (i32.const 0) ) (set_local $21 - (get_local $7) + (get_local $6) ) (loop $while-out$80 $while-in$81 - (set_local $6 + (set_local $7 (i32.and (set_local $5 (i32.load @@ -6197,10 +6197,10 @@ (get_local $11) ) ) - (set_local $6 + (set_local $7 (i32.mul - (get_local $6) - (get_local $27) + (get_local $7) + (get_local $26) ) ) (if @@ -6211,11 +6211,11 @@ (i32.const 4) ) ) - (get_local $24) + (get_local $23) ) (block (set_local $11 - (get_local $6) + (get_local $7) ) (set_local $21 (get_local $5) @@ -6228,13 +6228,13 @@ (set_local $5 (select (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) - (get_local $7) + (get_local $6) (i32.eq (i32.load - (get_local $7) + (get_local $6) ) (i32.const 0) ) @@ -6242,12 +6242,12 @@ ) (if (i32.eq - (get_local $6) + (get_local $7) (i32.const 0) ) (block - (set_local $6 - (get_local $24) + (set_local $7 + (get_local $23) ) (br $do-once$78 (get_local $5) @@ -6255,30 +6255,30 @@ ) ) (i32.store - (get_local $24) - (get_local $6) + (get_local $23) + (get_local $7) ) - (set_local $6 + (set_local $7 (i32.add - (get_local $24) + (get_local $23) (i32.const 4) ) ) (get_local $5) ) (block - (set_local $6 - (get_local $24) + (set_local $7 + (get_local $23) ) (select (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) - (get_local $7) + (get_local $6) (i32.eq (i32.load - (get_local $7) + (get_local $6) ) (i32.const 0) ) @@ -6291,8 +6291,8 @@ (i32.gt_s (i32.shr_s (i32.sub - (get_local $6) - (set_local $7 + (get_local $7) + (set_local $6 (select (get_local $10) (get_local $11) @@ -6305,25 +6305,25 @@ (get_local $8) ) ) - (set_local $6 + (set_local $7 (select (i32.add - (get_local $7) + (get_local $6) (i32.shl (get_local $8) (i32.const 2) ) ) - (get_local $6) + (get_local $7) (get_local $5) ) ) (i32.store - (get_local $25) + (get_local $24) (set_local $5 (i32.add (i32.load - (get_local $25) + (get_local $24) ) (get_local $9) ) @@ -6335,19 +6335,19 @@ (i32.const 0) ) (block - (set_local $7 + (set_local $6 (get_local $11) ) - (set_local $24 - (get_local $6) + (set_local $23 + (get_local $7) ) ) (block - (set_local $7 + (set_local $6 (get_local $11) ) - (set_local $27 - (get_local $6) + (set_local $26 + (get_local $7) ) (br $while-out$76) ) @@ -6355,23 +6355,23 @@ (br $while-in$77) ) ) - (set_local $27 - (get_local $6) + (set_local $26 + (get_local $7) ) ) (block $do-once$82 (if (i32.lt_u - (get_local $7) - (get_local $27) + (get_local $6) + (get_local $26) ) (block - (set_local $6 + (set_local $7 (i32.mul (i32.shr_s (i32.sub (get_local $30) - (get_local $7) + (get_local $6) ) (i32.const 2) ) @@ -6382,14 +6382,14 @@ (i32.lt_u (set_local $5 (i32.load - (get_local $7) + (get_local $6) ) ) (i32.const 10) ) (block (set_local $9 - (get_local $6) + (get_local $7) ) (br $do-once$82) ) @@ -6398,9 +6398,9 @@ ) ) (loop $while-out$84 $while-in$85 - (set_local $6 + (set_local $7 (i32.add - (get_local $6) + (get_local $7) (i32.const 1) ) ) @@ -6416,7 +6416,7 @@ ) (block (set_local $9 - (get_local $6) + (get_local $7) ) (br $while-out$84) ) @@ -6429,7 +6429,7 @@ ) ) ) - (set_local $7 + (set_local $6 (if (i32.lt_s (set_local $5 @@ -6440,7 +6440,7 @@ (get_local $9) (i32.const 0) (i32.ne - (get_local $15) + (get_local $14) (i32.const 102) ) ) @@ -6456,7 +6456,7 @@ ) (set_local $8 (i32.eq - (get_local $15) + (get_local $14) (i32.const 103) ) ) @@ -6471,7 +6471,7 @@ (i32.mul (i32.shr_s (i32.sub - (get_local $27) + (get_local $26) (get_local $30) ) (i32.const 2) @@ -6482,7 +6482,7 @@ ) ) (block - (set_local $6 + (set_local $7 (i32.add (i32.add (get_local $10) @@ -6565,19 +6565,19 @@ (set_local $11 (i32.eq (i32.add - (get_local $6) + (get_local $7) (i32.const 4) ) - (get_local $27) + (get_local $26) ) ) (i32.eq - (set_local $15 + (set_local $14 (i32.and (i32.rem_u (set_local $5 (i32.load - (get_local $6) + (get_local $7) ) ) (get_local $21) @@ -6590,17 +6590,17 @@ ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (set_local $11 (get_local $9) ) ) (block - (set_local $14 + (set_local $15 (select (f64.const 9007199254740992) (f64.const 9007199254740994) @@ -6619,10 +6619,10 @@ ) ) ) - (set_local $22 + (set_local $29 (if (i32.lt_u - (get_local $15) + (get_local $14) (set_local $12 (i32.and (i32.div_s @@ -6640,21 +6640,21 @@ (i32.and (get_local $11) (i32.eq - (get_local $15) + (get_local $14) (get_local $12) ) ) ) ) ) - (set_local $14 + (set_local $15 (block $do-once$90 (if (i32.eq (get_local $50) (i32.const 0) ) - (get_local $14) + (get_local $15) (block (if (i32.ne @@ -6670,45 +6670,45 @@ (i32.const 45) ) (br $do-once$90 - (get_local $14) + (get_local $15) ) ) - (set_local $22 + (set_local $29 (f64.neg - (get_local $22) + (get_local $29) ) ) (f64.neg - (get_local $14) + (get_local $15) ) ) ) ) ) (i32.store - (get_local $6) + (get_local $7) (set_local $5 (i32.sub (get_local $5) - (get_local $15) + (get_local $14) ) ) ) (if (f64.eq (f64.add - (get_local $14) - (get_local $22) + (get_local $15) + (get_local $29) ) - (get_local $14) + (get_local $15) ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (set_local $11 (get_local $9) ) @@ -6716,7 +6716,7 @@ ) ) (i32.store - (get_local $6) + (get_local $7) (set_local $5 (i32.add (get_local $5) @@ -6731,22 +6731,22 @@ ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (loop $while-out$92 $while-in$93 (i32.store - (get_local $7) + (get_local $6) (i32.const 0) ) (set_local $5 (if (i32.lt_u - (set_local $6 + (set_local $7 (i32.add - (get_local $7) + (get_local $6) (i32.const -4) ) ) @@ -6768,11 +6768,11 @@ ) ) (i32.store - (get_local $6) - (set_local $7 + (get_local $7) + (set_local $6 (i32.add (i32.load - (get_local $6) + (get_local $7) ) (i32.const 1) ) @@ -6780,14 +6780,14 @@ ) (if (i32.gt_u - (get_local $7) + (get_local $6) (i32.const 999999999) ) - (set_local $7 - (get_local $6) + (set_local $6 + (get_local $7) ) (block - (set_local $7 + (set_local $6 (get_local $5) ) (br $while-out$92) @@ -6802,7 +6802,7 @@ (i32.shr_s (i32.sub (get_local $30) - (get_local $7) + (get_local $6) ) (i32.const 2) ) @@ -6813,18 +6813,18 @@ (i32.lt_u (set_local $5 (i32.load - (get_local $7) + (get_local $6) ) ) (i32.const 10) ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (br $do-once$88) ) (set_local $12 @@ -6850,11 +6850,11 @@ ) (block (set_local $5 - (get_local $7) - ) - (set_local $7 (get_local $6) ) + (set_local $6 + (get_local $7) + ) (br $while-out$94) ) ) @@ -6863,12 +6863,12 @@ ) ) ) - (set_local $6 + (set_local $7 (i32.gt_u - (get_local $27) - (set_local $7 + (get_local $26) + (set_local $6 (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) ) @@ -6877,24 +6877,24 @@ (set_local $9 (get_local $11) ) - (set_local $6 + (set_local $7 (select - (get_local $7) - (get_local $27) (get_local $6) + (get_local $26) + (get_local $7) ) ) (get_local $5) ) (block - (set_local $6 - (get_local $27) + (set_local $7 + (get_local $26) ) - (get_local $7) + (get_local $6) ) ) ) - (set_local $27 + (set_local $26 (i32.sub (i32.const 0) (get_local $9) @@ -6903,15 +6903,15 @@ (loop $while-out$96 $while-in$97 (if (i32.le_u - (get_local $6) (get_local $7) + (get_local $6) ) (block (set_local $11 (i32.const 0) ) - (set_local $24 - (get_local $6) + (set_local $23 + (get_local $7) ) (br $while-out$96) ) @@ -6921,22 +6921,22 @@ (i32.load (set_local $5 (i32.add - (get_local $6) + (get_local $7) (i32.const -4) ) ) ) (i32.const 0) ) - (set_local $6 + (set_local $7 (get_local $5) ) (block (set_local $11 (i32.const 1) ) - (set_local $24 - (get_local $6) + (set_local $23 + (get_local $7) ) (br $while-out$96) ) @@ -7011,7 +7011,7 @@ (i32.const 0) ) (block - (set_local $15 + (set_local $14 (get_local $8) ) (set_local $30 @@ -7031,7 +7031,7 @@ (set_local $1 (i32.load (i32.add - (get_local $24) + (get_local $23) (i32.const -4) ) ) @@ -7060,7 +7060,7 @@ (set_local $5 (i32.const 10) ) - (set_local $6 + (set_local $7 (i32.const 0) ) ) @@ -7072,9 +7072,9 @@ ) ) (loop $while-out$102 $while-in$103 - (set_local $6 + (set_local $7 (i32.add - (get_local $6) + (get_local $7) (i32.const 1) ) ) @@ -7096,7 +7096,7 @@ ) (block (set_local $1 - (get_local $6) + (get_local $7) ) (br $while-out$102) ) @@ -7114,7 +7114,7 @@ (i32.mul (i32.shr_s (i32.sub - (get_local $24) + (get_local $23) (get_local $30) ) (i32.const 2) @@ -7156,7 +7156,7 @@ ) ) ) - (set_local $15 + (set_local $14 (select (get_local $8) (get_local $1) @@ -7195,7 +7195,7 @@ ) ) ) - (set_local $15 + (set_local $14 (select (get_local $8) (get_local $1) @@ -7210,7 +7210,7 @@ ) ) (block - (set_local $15 + (set_local $14 (get_local $1) ) (set_local $30 @@ -7229,7 +7229,7 @@ (i32.ne (set_local $1 (i32.or - (get_local $15) + (get_local $14) (get_local $8) ) ) @@ -7250,7 +7250,7 @@ ) ) (block - (set_local $6 + (set_local $7 (select (get_local $9) (i32.const 0) @@ -7267,9 +7267,9 @@ (i32.shr_s (i32.shl (i32.lt_s - (set_local $6 + (set_local $7 (select - (get_local $27) + (get_local $26) (get_local $9) (i32.lt_s (get_local $9) @@ -7290,7 +7290,7 @@ (get_local $44) (set_local $5 (call $_fmt_u - (get_local $6) + (get_local $7) (get_local $5) (get_local $55) ) @@ -7354,7 +7354,7 @@ (i32.const 255) ) ) - (set_local $6 + (set_local $7 (i32.sub (get_local $44) (get_local $5) @@ -7368,7 +7368,7 @@ (get_local $0) (i32.const 32) (get_local $16) - (set_local $6 + (set_local $7 (i32.add (i32.add (i32.add @@ -7376,11 +7376,11 @@ (get_local $50) (i32.const 1) ) - (get_local $15) + (get_local $14) ) (get_local $21) ) - (get_local $6) + (get_local $7) ) ) (get_local $17) @@ -7405,7 +7405,7 @@ (get_local $0) (i32.const 48) (get_local $16) - (get_local $6) + (get_local $7) (i32.xor (get_local $17) (i32.const 65536) @@ -7415,13 +7415,13 @@ (if (get_local $12) (block - (set_local $7 + (set_local $6 (set_local $8 (select (get_local $10) - (get_local $7) + (get_local $6) (i32.gt_u - (get_local $7) + (get_local $6) (get_local $10) ) ) @@ -7431,7 +7431,7 @@ (set_local $5 (call $_fmt_u (i32.load - (get_local $7) + (get_local $6) ) (i32.const 0) (get_local $48) @@ -7440,7 +7440,7 @@ (block $do-once$110 (if (i32.eq - (get_local $7) + (get_local $6) (get_local $8) ) (block @@ -7463,7 +7463,7 @@ (if (i32.gt_u (get_local $5) - (get_local $29) + (get_local $28) ) (get_local $5) (br $do-once$110) @@ -7481,7 +7481,7 @@ (if (i32.gt_u (get_local $5) - (get_local $29) + (get_local $28) ) (get_local $5) (br $while-out$112) @@ -7514,14 +7514,14 @@ (i32.gt_u (set_local $5 (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) ) (get_local $10) ) (br $while-out$108) - (set_local $7 + (set_local $6 (get_local $5) ) ) @@ -7556,17 +7556,17 @@ (if (i32.and (i32.gt_s - (get_local $15) + (get_local $14) (i32.const 0) ) (i32.lt_u (get_local $5) - (get_local $24) + (get_local $23) ) ) (block - (set_local $7 - (get_local $15) + (set_local $6 + (get_local $14) ) (loop $while-out$116 $while-in$117 (if @@ -7580,7 +7580,7 @@ (get_local $48) ) ) - (get_local $29) + (get_local $28) ) (loop $while-out$118 $while-in$119 (i32.store8 @@ -7595,7 +7595,7 @@ (if (i32.gt_u (get_local $1) - (get_local $29) + (get_local $28) ) (get_local $1) (br $while-out$118) @@ -7618,9 +7618,9 @@ (get_local $1) (select (i32.const 9) - (get_local $7) + (get_local $6) (i32.gt_s - (get_local $7) + (get_local $6) (i32.const 9) ) ) @@ -7629,14 +7629,14 @@ ) (set_local $8 (i32.add - (get_local $7) + (get_local $6) (i32.const -9) ) ) (if (i32.and (i32.gt_s - (get_local $7) + (get_local $6) (i32.const 9) ) (i32.lt_u @@ -7646,14 +7646,14 @@ (i32.const 4) ) ) - (get_local $24) + (get_local $23) ) ) (block (set_local $5 (get_local $1) ) - (set_local $7 + (set_local $6 (get_local $8) ) ) @@ -7668,7 +7668,7 @@ ) ) (set_local $1 - (get_local $15) + (get_local $14) ) ) (call $_pad @@ -7685,9 +7685,9 @@ (block (set_local $12 (select - (get_local $24) + (get_local $23) (i32.add - (get_local $7) + (get_local $6) (i32.const 4) ) (get_local $11) @@ -7695,7 +7695,7 @@ ) (if (i32.gt_s - (get_local $15) + (get_local $14) (i32.const -1) ) (block @@ -7706,10 +7706,10 @@ ) ) (set_local $5 - (get_local $7) + (get_local $6) ) (set_local $8 - (get_local $15) + (get_local $14) ) (loop $while-out$120 $while-in$121 (set_local $10 @@ -7740,7 +7740,7 @@ (if (i32.eq (get_local $5) - (get_local $7) + (get_local $6) ) (block (set_local $1 @@ -7797,7 +7797,7 @@ (if (i32.gt_u (get_local $10) - (get_local $29) + (get_local $28) ) (set_local $1 (get_local $10) @@ -7822,7 +7822,7 @@ (if (i32.gt_u (get_local $1) - (get_local $29) + (get_local $28) ) (get_local $1) (br $while-out$124) @@ -7896,7 +7896,7 @@ ) ) (set_local $1 - (get_local $15) + (get_local $14) ) ) (call $_pad @@ -7935,7 +7935,7 @@ (get_local $0) (i32.const 32) (get_local $16) - (get_local $6) + (get_local $7) (i32.xor (get_local $17) (i32.const 8192) @@ -7943,9 +7943,9 @@ ) (select (get_local $16) - (get_local $6) + (get_local $7) (i32.lt_s - (get_local $6) + (get_local $7) (get_local $16) ) ) @@ -7966,15 +7966,15 @@ ) ) ) - (set_local $7 + (set_local $6 (select (i32.const 0) (get_local $50) (set_local $1 (i32.or (f64.ne - (get_local $14) - (get_local $14) + (get_local $15) + (get_local $15) ) (f64.ne (f64.const 0) @@ -8001,11 +8001,11 @@ (get_local $16) (set_local $5 (i32.add - (get_local $7) + (get_local $6) (i32.const 3) ) ) - (get_local $6) + (get_local $7) ) (if (i32.eq @@ -8025,7 +8025,7 @@ (block (call $___fwritex (get_local $39) - (get_local $7) + (get_local $6) (get_local $0) ) (i32.load @@ -8070,7 +8070,7 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $8 (get_local $20) @@ -8093,7 +8093,7 @@ (i32.const 4091) ) (set_local $53 - (get_local $28) + (get_local $27) ) ) ) @@ -8105,7 +8105,7 @@ (i32.const 64) ) (block - (set_local $7 + (set_local $6 (i32.and (get_local $69) (i32.const 32) @@ -8149,17 +8149,17 @@ (set_local $13 (i32.const 77) ) - (get_local $28) + (get_local $27) ) (block - (set_local $6 - (get_local $28) + (set_local $7 + (get_local $27) ) (loop $while-out$129 $while-in$130 (i32.store8 - (set_local $6 + (set_local $7 (i32.add - (get_local $6) + (get_local $7) (i32.const -1) ) ) @@ -8177,7 +8177,7 @@ ) (i32.const 255) ) - (get_local $7) + (get_local $6) ) (i32.const 255) ) @@ -8205,7 +8205,7 @@ ) (block (set_local $5 - (get_local $6) + (get_local $7) ) (br $while-out$129) ) @@ -8295,7 +8295,7 @@ (call $_fmt_u (get_local $45) (get_local $54) - (get_local $28) + (get_local $27) ) ) (set_local $35 @@ -8339,7 +8339,7 @@ (get_local $46) ) (set_local $36 - (get_local $6) + (get_local $7) ) (set_local $42 (select @@ -8377,13 +8377,13 @@ (set_local $13 (i32.const 0) ) - (set_local $7 + (set_local $6 (i32.const 0) ) (set_local $5 (i32.const 0) ) - (set_local $6 + (set_local $7 (i32.load (get_local $18) ) @@ -8393,7 +8393,7 @@ (i32.eq (set_local $1 (i32.load - (get_local $6) + (get_local $7) ) ) (i32.const 0) @@ -8420,7 +8420,7 @@ (get_local $5) (i32.sub (get_local $65) - (get_local $7) + (get_local $6) ) ) ) @@ -8431,9 +8431,9 @@ (br $while-out$131) ) ) - (set_local $6 + (set_local $7 (i32.add - (get_local $6) + (get_local $7) (i32.const 4) ) ) @@ -8443,15 +8443,15 @@ (set_local $1 (i32.add (get_local $5) - (get_local $7) + (get_local $6) ) ) ) - (set_local $7 + (set_local $6 (get_local $1) ) (block - (set_local $7 + (set_local $6 (get_local $1) ) (set_local $1 @@ -8468,7 +8468,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L1) @@ -8478,12 +8478,12 @@ (get_local $0) (i32.const 32) (get_local $16) - (get_local $7) + (get_local $6) (get_local $17) ) (if (i32.eq - (get_local $7) + (get_local $6) (i32.const 0) ) (block @@ -8495,7 +8495,7 @@ ) ) (block - (set_local $6 + (set_local $7 (i32.const 0) ) (set_local $5 @@ -8515,7 +8515,7 @@ ) (block (set_local $37 - (get_local $7) + (get_local $6) ) (set_local $13 (i32.const 98) @@ -8539,14 +8539,14 @@ (get_local $1) ) ) - (get_local $6) + (get_local $7) ) ) - (get_local $7) + (get_local $6) ) (block (set_local $37 - (get_local $7) + (get_local $6) ) (set_local $13 (i32.const 98) @@ -8573,10 +8573,10 @@ (if (i32.lt_u (get_local $1) - (get_local $7) + (get_local $6) ) (block - (set_local $6 + (set_local $7 (get_local $1) ) (set_local $5 @@ -8585,7 +8585,7 @@ ) (block (set_local $37 - (get_local $7) + (get_local $6) ) (set_local $13 (i32.const 98) @@ -8626,7 +8626,7 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 (select @@ -8693,7 +8693,7 @@ ) ) (block - (set_local $7 + (set_local $6 (i32.gt_s (get_local $31) (set_local $1 @@ -8720,7 +8720,7 @@ (select (get_local $31) (get_local $1) - (get_local $7) + (get_local $6) ) ) (set_local $43 @@ -8730,7 +8730,7 @@ (get_local $40) ) (set_local $53 - (get_local $28) + (get_local $27) ) (get_local $34) ) @@ -8748,9 +8748,9 @@ (get_local $40) ) (set_local $53 - (get_local $28) + (get_local $27) ) - (get_local $28) + (get_local $27) ) ) ) @@ -8759,7 +8759,7 @@ (set_local $1 (i32.lt_s (get_local $42) - (set_local $7 + (set_local $6 (i32.sub (get_local $53) (get_local $47) @@ -8773,9 +8773,9 @@ (set_local $1 (i32.add (get_local $43) - (set_local $6 + (set_local $7 (select - (get_local $7) + (get_local $6) (get_local $42) (get_local $1) ) @@ -8826,8 +8826,8 @@ (call $_pad (get_local $0) (i32.const 48) - (get_local $6) (get_local $7) + (get_local $6) (i32.const 0) ) (if @@ -8842,7 +8842,7 @@ ) (call $___fwritex (get_local $47) - (get_local $7) + (get_local $6) (get_local $0) ) ) @@ -8860,7 +8860,7 @@ (get_local $19) ) (set_local $12 - (get_local $26) + (get_local $25) ) (set_local $1 (get_local $8) @@ -8886,7 +8886,7 @@ (get_local $80) (i32.const 0) ) - (set_local $23 + (set_local $22 (i32.const 0) ) (block @@ -8941,7 +8941,7 @@ (get_local $0) ) (block - (set_local $23 + (set_local $22 (i32.const 1) ) (br $label$break$L343) @@ -8975,7 +8975,7 @@ (i32.const 0) ) (block - (set_local $23 + (set_local $22 (i32.const -1) ) (br $label$break$L343) @@ -8990,7 +8990,7 @@ (get_local $1) ) (block - (set_local $23 + (set_local $22 (i32.const 1) ) (br $while-out$138) @@ -8998,13 +8998,13 @@ ) (br $while-in$139) ) - (set_local $23 + (set_local $22 (i32.const 1) ) ) ) ) - (set_local $23 + (set_local $22 (get_local $79) ) ) @@ -9014,7 +9014,7 @@ (i32.const 8) (get_local $32) ) - (get_local $23) + (get_local $22) ) (func $_pop_arg_336 (param $0 i32) (param $1 i32) (param $2 i32) (local $3 i32) @@ -10039,7 +10039,7 @@ (i32.load (set_local $0 (i32.add - (set_local $8 + (set_local $9 (i32.add (i32.const 216) (i32.shl @@ -10074,7 +10074,7 @@ ) (if (i32.eq - (get_local $8) + (get_local $9) (get_local $2) ) (i32.store @@ -10115,7 +10115,7 @@ (block (i32.store (get_local $4) - (get_local $8) + (get_local $9) ) (i32.store (get_local $0) @@ -10166,7 +10166,7 @@ (if (i32.gt_u (get_local $12) - (set_local $11 + (set_local $10 (i32.load (i32.const 184) ) @@ -10232,7 +10232,7 @@ (i32.load (set_local $1 (i32.add - (set_local $8 + (set_local $9 (i32.add (i32.const 216) (i32.shl @@ -10328,7 +10328,7 @@ ) (if (i32.eq - (get_local $8) + (get_local $9) (get_local $0) ) (block @@ -10346,7 +10346,7 @@ ) ) (set_local $6 - (get_local $11) + (get_local $10) ) ) (block @@ -10374,7 +10374,7 @@ (block (i32.store (get_local $4) - (get_local $8) + (get_local $9) ) (i32.store (get_local $1) @@ -10405,7 +10405,7 @@ ) ) (i32.or - (set_local $8 + (set_local $9 (i32.sub (i32.shl (get_local $7) @@ -10420,9 +10420,9 @@ (i32.store (i32.add (get_local $4) - (get_local $8) + (get_local $9) ) - (get_local $8) + (get_local $9) ) (if (i32.ne @@ -10483,7 +10483,7 @@ (i32.const 8) ) ) - (set_local $9 + (set_local $8 (get_local $7) ) ) @@ -10508,7 +10508,7 @@ (set_local $5 (get_local $1) ) - (set_local $9 + (set_local $8 (get_local $2) ) ) @@ -10519,12 +10519,12 @@ (get_local $0) ) (i32.store offset=12 - (get_local $9) + (get_local $8) (get_local $0) ) (i32.store offset=8 (get_local $0) - (get_local $9) + (get_local $8) ) (i32.store offset=12 (get_local $0) @@ -10534,7 +10534,7 @@ ) (i32.store (i32.const 184) - (get_local $8) + (get_local $9) ) (i32.store (i32.const 196) @@ -10554,7 +10554,7 @@ ) (i32.const 0) ) - (set_local $9 + (set_local $8 (get_local $12) ) (block @@ -10695,7 +10695,7 @@ (set_local $6 (get_local $2) ) - (set_local $11 + (set_local $10 (get_local $7) ) (br $while-out$6) @@ -10745,7 +10745,7 @@ ) (if (i32.lt_u - (get_local $11) + (get_local $10) (set_local $0 (i32.load (i32.const 192) @@ -10756,10 +10756,10 @@ ) (if (i32.ge_u - (get_local $11) - (set_local $8 + (get_local $10) + (set_local $9 (i32.add - (get_local $11) + (get_local $10) (get_local $12) ) ) @@ -10768,7 +10768,7 @@ ) (set_local $1 (i32.load offset=24 - (get_local $11) + (get_local $10) ) ) (block $do-once$8 @@ -10776,10 +10776,10 @@ (i32.eq (set_local $2 (i32.load offset=12 - (get_local $11) + (get_local $10) ) ) - (get_local $11) + (get_local $10) ) (block (if @@ -10788,7 +10788,7 @@ (i32.load (set_local $7 (i32.add - (get_local $11) + (get_local $10) (i32.const 20) ) ) @@ -10802,7 +10802,7 @@ (i32.load (set_local $7 (i32.add - (get_local $11) + (get_local $10) (i32.const 16) ) ) @@ -10905,7 +10905,7 @@ (i32.lt_u (set_local $4 (i32.load offset=8 - (get_local $11) + (get_local $10) ) ) (get_local $0) @@ -10922,7 +10922,7 @@ ) ) ) - (get_local $11) + (get_local $10) ) (call_import $_abort) ) @@ -10936,7 +10936,7 @@ ) ) ) - (get_local $11) + (get_local $10) ) (block (i32.store @@ -10965,7 +10965,7 @@ (block (if (i32.eq - (get_local $11) + (get_local $10) (i32.load (set_local $2 (i32.add @@ -10973,7 +10973,7 @@ (i32.shl (set_local $0 (i32.load offset=28 - (get_local $11) + (get_local $10) ) ) (i32.const 2) @@ -11032,7 +11032,7 @@ ) ) ) - (get_local $11) + (get_local $10) ) (i32.store (get_local $0) @@ -11070,7 +11070,7 @@ (i32.ne (set_local $1 (i32.load offset=16 - (get_local $11) + (get_local $10) ) ) (i32.const 0) @@ -11097,7 +11097,7 @@ (i32.ne (set_local $0 (i32.load offset=20 - (get_local $11) + (get_local $10) ) ) (i32.const 0) @@ -11132,7 +11132,7 @@ ) (block (i32.store offset=4 - (get_local $11) + (get_local $10) (i32.or (set_local $0 (i32.add @@ -11149,7 +11149,7 @@ (set_local $0 (i32.add (i32.add - (get_local $11) + (get_local $10) (get_local $0) ) (i32.const 4) @@ -11166,14 +11166,14 @@ ) (block (i32.store offset=4 - (get_local $11) + (get_local $10) (i32.or (get_local $12) (i32.const 3) ) ) (i32.store offset=4 - (get_local $8) + (get_local $9) (i32.or (get_local $6) (i32.const 1) @@ -11181,7 +11181,7 @@ ) (i32.store (i32.add - (get_local $8) + (get_local $9) (get_local $6) ) (get_local $6) @@ -11304,20 +11304,20 @@ ) (i32.store (i32.const 196) - (get_local $8) + (get_local $9) ) ) ) (return (i32.add - (get_local $11) + (get_local $10) (i32.const 8) ) ) ) ) ) - (set_local $9 + (set_local $8 (get_local $12) ) ) @@ -11327,7 +11327,7 @@ (get_local $0) (i32.const -65) ) - (set_local $9 + (set_local $8 (i32.const -1) ) (block @@ -11351,7 +11351,7 @@ ) (i32.const 0) ) - (set_local $9 + (set_local $8 (get_local $5) ) (block @@ -11367,7 +11367,7 @@ (set_local $3 (i32.load offset=480 (i32.shl - (set_local $9 + (set_local $8 (if (i32.eq (set_local $3 @@ -11398,7 +11398,7 @@ (i32.and (i32.shr_u (i32.add - (set_local $9 + (set_local $8 (i32.shl (get_local $3) (set_local $3 @@ -11430,7 +11430,7 @@ (i32.add (set_local $6 (i32.shl - (get_local $9) + (get_local $8) (get_local $6) ) ) @@ -11479,16 +11479,16 @@ (i32.const 0) ) (block - (set_local $35 + (set_local $34 (get_local $13) ) - (set_local $36 + (set_local $35 (i32.const 0) ) - (set_local $30 + (set_local $29 (i32.const 0) ) - (set_local $10 + (set_local $11 (i32.const 86) ) ) @@ -11499,7 +11499,7 @@ (set_local $14 (i32.const 0) ) - (set_local $10 + (set_local $11 (i32.shl (get_local $5) (select @@ -11507,12 +11507,12 @@ (i32.sub (i32.const 25) (i32.shr_u - (get_local $9) + (get_local $8) (i32.const 1) ) ) (i32.eq - (get_local $9) + (get_local $8) (i32.const 31) ) ) @@ -11521,7 +11521,7 @@ (set_local $23 (get_local $3) ) - (set_local $29 + (set_local $41 (i32.const 0) ) (loop $while-out$17 $while-in$18 @@ -11554,15 +11554,15 @@ (set_local $24 (get_local $23) ) - (set_local $31 + (set_local $30 (get_local $23) ) - (set_local $10 + (set_local $11 (i32.const 90) ) (br $label$break$L123) ) - (set_local $29 + (set_local $41 (get_local $23) ) ) @@ -11597,7 +11597,7 @@ ) (i32.shl (i32.shr_u - (get_local $10) + (get_local $11) (i32.const 31) ) (i32.const 2) @@ -11609,9 +11609,9 @@ ) ) ) - (set_local $10 + (set_local $11 (i32.shl - (get_local $10) + (get_local $11) (i32.xor (i32.and (set_local $6 @@ -11629,16 +11629,16 @@ (if (get_local $6) (block - (set_local $35 + (set_local $34 (get_local $13) ) - (set_local $36 + (set_local $35 (get_local $14) ) - (set_local $30 - (get_local $29) + (set_local $29 + (get_local $41) ) - (set_local $10 + (set_local $11 (i32.const 86) ) (br $while-out$17) @@ -11659,7 +11659,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 86) ) (if @@ -11668,11 +11668,11 @@ (if (i32.and (i32.eq - (get_local $36) + (get_local $35) (i32.const 0) ) (i32.eq - (get_local $30) + (get_local $29) (i32.const 0) ) ) @@ -11683,7 +11683,7 @@ (set_local $3 (i32.shl (i32.const 2) - (get_local $9) + (get_local $8) ) ) ) @@ -11702,7 +11702,7 @@ (i32.const 0) ) (block - (set_local $9 + (set_local $8 (get_local $5) ) (br $do-once$0) @@ -11805,30 +11805,30 @@ ) ) ) - (get_local $36) + (get_local $35) ) ) (i32.const 0) ) (block (set_local $17 - (get_local $35) + (get_local $34) ) (set_local $15 - (get_local $30) + (get_local $29) ) ) (block (set_local $26 - (get_local $35) + (get_local $34) ) (set_local $24 (get_local $0) ) - (set_local $31 - (get_local $30) + (set_local $30 + (get_local $29) ) - (set_local $10 + (set_local $11 (i32.const 90) ) ) @@ -11836,11 +11836,11 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 90) ) (loop $while-out$19 $while-in$20 - (set_local $10 + (set_local $11 (i32.const 0) ) (set_local $0 @@ -11869,7 +11869,7 @@ (set_local $6 (select (get_local $24) - (get_local $31) + (get_local $30) (get_local $0) ) ) @@ -11889,7 +11889,7 @@ (set_local $24 (get_local $0) ) - (set_local $31 + (set_local $30 (get_local $6) ) (br $while-in$20) @@ -11920,7 +11920,7 @@ (set_local $24 (get_local $0) ) - (set_local $31 + (set_local $30 (get_local $6) ) ) @@ -11933,7 +11933,7 @@ (get_local $15) (i32.const 0) ) - (set_local $9 + (set_local $8 (get_local $5) ) (if @@ -11990,7 +11990,7 @@ (i32.eq (set_local $2 (i32.load - (set_local $8 + (set_local $9 (i32.add (get_local $15) (i32.const 20) @@ -12004,7 +12004,7 @@ (i32.eq (set_local $2 (i32.load - (set_local $8 + (set_local $9 (i32.add (get_local $15) (i32.const 16) @@ -12047,7 +12047,7 @@ (set_local $7 (get_local $2) ) - (set_local $8 + (set_local $9 (get_local $6) ) (br $while-in$24) @@ -12072,7 +12072,7 @@ (get_local $7) ) (set_local $7 - (get_local $8) + (get_local $9) ) (br $while-out$23) ) @@ -12080,7 +12080,7 @@ (set_local $7 (get_local $2) ) - (set_local $8 + (set_local $9 (get_local $6) ) ) @@ -12133,7 +12133,7 @@ (if (i32.eq (i32.load - (set_local $8 + (set_local $9 (i32.add (get_local $2) (i32.const 8) @@ -12148,7 +12148,7 @@ (get_local $2) ) (i32.store - (get_local $8) + (get_local $9) (get_local $7) ) (set_local $12 @@ -12446,7 +12446,7 @@ (i32.const 8) ) ) - (set_local $11 + (set_local $10 (get_local $2) ) ) @@ -12471,7 +12471,7 @@ (set_local $4 (get_local $0) ) - (set_local $11 + (set_local $10 (get_local $1) ) ) @@ -12482,12 +12482,12 @@ (get_local $3) ) (i32.store offset=12 - (get_local $11) + (get_local $10) (get_local $3) ) (i32.store offset=8 (get_local $3) - (get_local $11) + (get_local $10) ) (i32.store offset=12 (get_local $3) @@ -12709,7 +12709,7 @@ (set_local $22 (get_local $2) ) - (set_local $10 + (set_local $11 (i32.const 148) ) (br $while-out$31) @@ -12748,10 +12748,10 @@ (set_local $25 (get_local $2) ) - (set_local $39 + (set_local $38 (get_local $1) ) - (set_local $10 + (set_local $11 (i32.const 145) ) (br $while-out$31) @@ -12769,12 +12769,12 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 145) ) (if (i32.lt_u - (get_local $39) + (get_local $38) (i32.load (i32.const 192) ) @@ -12782,7 +12782,7 @@ (call_import $_abort) (block (i32.store - (get_local $39) + (get_local $38) (get_local $3) ) (i32.store offset=24 @@ -12801,7 +12801,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 148) ) (if @@ -12864,7 +12864,7 @@ ) ) ) - (set_local $9 + (set_local $8 (get_local $5) ) ) @@ -12882,7 +12882,7 @@ (i32.const 184) ) ) - (get_local $9) + (get_local $8) ) (block (set_local $1 @@ -12895,7 +12895,7 @@ (set_local $2 (i32.sub (get_local $0) - (get_local $9) + (get_local $8) ) ) (i32.const 15) @@ -12906,7 +12906,7 @@ (set_local $0 (i32.add (get_local $1) - (get_local $9) + (get_local $8) ) ) ) @@ -12931,7 +12931,7 @@ (i32.store offset=4 (get_local $1) (i32.or - (get_local $9) + (get_local $8) (i32.const 3) ) ) @@ -12989,7 +12989,7 @@ (i32.const 188) ) ) - (get_local $9) + (get_local $8) ) (block (i32.store @@ -12997,7 +12997,7 @@ (set_local $2 (i32.sub (get_local $0) - (get_local $9) + (get_local $8) ) ) ) @@ -13010,7 +13010,7 @@ (i32.const 200) ) ) - (get_local $9) + (get_local $8) ) ) ) @@ -13024,7 +13024,7 @@ (i32.store offset=4 (get_local $0) (i32.or - (get_local $9) + (get_local $8) (i32.const 3) ) ) @@ -13101,13 +13101,13 @@ ) (set_local $3 (i32.add - (get_local $9) + (get_local $8) (i32.const 48) ) ) (if (i32.le_u - (set_local $11 + (set_local $10 (i32.and (set_local $6 (i32.add @@ -13118,7 +13118,7 @@ ) (set_local $12 (i32.add - (get_local $9) + (get_local $8) (i32.const 47) ) ) @@ -13132,7 +13132,7 @@ ) ) ) - (get_local $9) + (get_local $8) ) (return (i32.const 0) @@ -13157,7 +13157,7 @@ (i32.const 608) ) ) - (get_local $11) + (get_local $10) ) ) (get_local $4) @@ -13174,7 +13174,7 @@ ) (if (i32.eq - (set_local $10 + (set_local $11 (block $label$break$L257 (if (i32.eq @@ -13197,7 +13197,7 @@ ) (i32.const 0) ) - (set_local $10 + (set_local $11 (i32.const 173) ) (block @@ -13250,7 +13250,7 @@ (i32.const 0) ) (block - (set_local $10 + (set_local $11 (i32.const 173) ) (br $label$break$L259) @@ -13316,7 +13316,7 @@ (set_local $21 (get_local $0) ) - (set_local $10 + (set_local $11 (i32.const 183) ) ) @@ -13328,7 +13328,7 @@ (block $do-once$39 (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 173) ) (if @@ -13361,10 +13361,10 @@ ) (i32.const 0) ) - (get_local $11) + (get_local $10) (i32.add (i32.sub - (get_local $11) + (get_local $10) (get_local $0) ) (i32.and @@ -13394,7 +13394,7 @@ (i32.and (i32.gt_u (get_local $13) - (get_local $9) + (get_local $8) ) (i32.lt_u (get_local $13) @@ -13451,7 +13451,7 @@ (set_local $21 (get_local $13) ) - (set_local $10 + (set_local $11 (i32.const 183) ) ) @@ -13465,7 +13465,7 @@ (block $label$break$L279 (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 183) ) (block @@ -13582,7 +13582,7 @@ ) (if (i32.lt_u - (get_local $11) + (get_local $10) (i32.const 2147483647) ) (block @@ -13591,7 +13591,7 @@ (i32.ne (set_local $0 (call_import $_sbrk - (get_local $11) + (get_local $10) ) ) (i32.const -1) @@ -13623,7 +13623,7 @@ ) ) (i32.add - (get_local $9) + (get_local $8) (i32.const 40) ) ) @@ -13634,7 +13634,7 @@ (set_local $19 (get_local $4) ) - (set_local $10 + (set_local $11 (i32.const 193) ) ) @@ -13645,7 +13645,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 193) ) (block @@ -13872,7 +13872,7 @@ (set_local $46 (get_local $6) ) - (set_local $10 + (set_local $11 (i32.const 203) ) (br $while-out$48) @@ -13896,7 +13896,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 203) ) (if @@ -14045,10 +14045,10 @@ (set_local $44 (get_local $1) ) - (set_local $41 + (set_local $40 (get_local $1) ) - (set_local $10 + (set_local $11 (i32.const 211) ) (br $while-out$50) @@ -14075,14 +14075,14 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 211) ) (if (i32.eq (i32.and (i32.load offset=12 - (get_local $41) + (get_local $40) ) (i32.const 8) ) @@ -14098,7 +14098,7 @@ (i32.load (set_local $2 (i32.add - (get_local $41) + (get_local $40) (i32.const 4) ) ) @@ -14110,7 +14110,7 @@ (get_local $2) (get_local $1) ) - (set_local $8 + (set_local $9 (i32.eq (i32.and (set_local $1 @@ -14168,7 +14168,7 @@ ) (i32.const 7) ) - (get_local $8) + (get_local $9) ) ) ) @@ -14177,19 +14177,19 @@ (set_local $5 (i32.add (get_local $6) - (get_local $9) + (get_local $8) ) ) (set_local $13 (i32.sub (get_local $1) - (get_local $9) + (get_local $8) ) ) (i32.store offset=4 (get_local $6) (i32.or - (get_local $9) + (get_local $8) (i32.const 3) ) ) @@ -14282,13 +14282,13 @@ (i32.const 1) ) (block - (set_local $11 + (set_local $10 (i32.and (get_local $0) (i32.const -8) ) ) - (set_local $8 + (set_local $9 (i32.shr_u (get_local $0) (i32.const 3) @@ -14319,7 +14319,7 @@ (i32.const 216) (i32.shl (i32.shl - (get_local $8) + (get_local $9) (i32.const 1) ) (i32.const 2) @@ -14362,7 +14362,7 @@ (i32.xor (i32.shl (i32.const 1) - (get_local $8) + (get_local $9) ) (i32.const -1) ) @@ -14377,7 +14377,7 @@ (get_local $1) (get_local $2) ) - (set_local $40 + (set_local $39 (i32.add (get_local $1) (i32.const 8) @@ -14404,7 +14404,7 @@ (get_local $3) ) (block - (set_local $40 + (set_local $39 (get_local $2) ) (br $do-once$57) @@ -14419,7 +14419,7 @@ (get_local $1) ) (i32.store - (get_local $40) + (get_local $39) (get_local $0) ) ) @@ -14444,7 +14444,7 @@ (i32.eq (set_local $1 (i32.load - (set_local $8 + (set_local $9 (i32.add (set_local $20 (i32.add @@ -14478,7 +14478,7 @@ (set_local $2 (get_local $1) ) - (set_local $8 + (set_local $9 (get_local $20) ) ) @@ -14506,7 +14506,7 @@ (set_local $2 (get_local $1) ) - (set_local $8 + (set_local $9 (get_local $20) ) (br $while-in$62) @@ -14531,7 +14531,7 @@ (get_local $2) ) (set_local $2 - (get_local $8) + (get_local $9) ) (br $while-out$61) ) @@ -14539,7 +14539,7 @@ (set_local $2 (get_local $1) ) - (set_local $8 + (set_local $9 (get_local $20) ) ) @@ -14592,7 +14592,7 @@ (if (i32.eq (i32.load - (set_local $8 + (set_local $9 (i32.add (get_local $1) (i32.const 8) @@ -14607,7 +14607,7 @@ (get_local $1) ) (i32.store - (get_local $8) + (get_local $9) (get_local $2) ) (set_local $18 @@ -14794,13 +14794,13 @@ ) (set_local $4 (i32.add - (get_local $11) + (get_local $10) (get_local $13) ) ) (i32.add (get_local $3) - (get_local $11) + (get_local $10) ) ) (block @@ -14891,7 +14891,7 @@ (i32.const 8) ) ) - (set_local $32 + (set_local $31 (get_local $2) ) ) @@ -14916,7 +14916,7 @@ (set_local $7 (get_local $0) ) - (set_local $32 + (set_local $31 (get_local $1) ) (br $do-once$67) @@ -14931,12 +14931,12 @@ (get_local $5) ) (i32.store offset=12 - (get_local $32) + (get_local $31) (get_local $5) ) (i32.store offset=8 (get_local $5) - (get_local $32) + (get_local $31) ) (i32.store offset=12 (get_local $5) @@ -15159,10 +15159,10 @@ (get_local $4) ) (block - (set_local $33 + (set_local $32 (get_local $2) ) - (set_local $10 + (set_local $11 (i32.const 281) ) (br $while-out$71) @@ -15201,10 +15201,10 @@ (set_local $42 (get_local $2) ) - (set_local $38 + (set_local $37 (get_local $1) ) - (set_local $10 + (set_local $11 (i32.const 278) ) (br $while-out$71) @@ -15222,12 +15222,12 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 278) ) (if (i32.lt_u - (get_local $38) + (get_local $37) (i32.load (i32.const 192) ) @@ -15235,7 +15235,7 @@ (call_import $_abort) (block (i32.store - (get_local $38) + (get_local $37) (get_local $5) ) (i32.store offset=24 @@ -15254,7 +15254,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 281) ) (if @@ -15264,7 +15264,7 @@ (i32.load (set_local $2 (i32.add - (get_local $33) + (get_local $32) (i32.const 8) ) ) @@ -15277,7 +15277,7 @@ ) ) (i32.ge_u - (get_local $33) + (get_local $32) (get_local $1) ) ) @@ -15296,7 +15296,7 @@ ) (i32.store offset=12 (get_local $5) - (get_local $33) + (get_local $32) ) (i32.store offset=24 (get_local $5) @@ -15641,7 +15641,7 @@ (get_local $2) ) ) - (set_local $8 + (set_local $9 (i32.add (get_local $4) (i32.const 8) @@ -15669,7 +15669,7 @@ ) (call_import $_abort) (block - (set_local $8 + (set_local $9 (get_local $1) ) (set_local $20 @@ -15679,7 +15679,7 @@ ) ) (i32.store - (get_local $8) + (get_local $9) (get_local $0) ) (i32.store offset=12 @@ -15902,10 +15902,10 @@ (get_local $3) ) (block - (set_local $34 + (set_local $33 (get_local $4) ) - (set_local $10 + (set_local $11 (i32.const 307) ) (br $while-out$77) @@ -15944,10 +15944,10 @@ (set_local $43 (get_local $4) ) - (set_local $37 + (set_local $36 (get_local $2) ) - (set_local $10 + (set_local $11 (i32.const 304) ) (br $while-out$77) @@ -15965,12 +15965,12 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 304) ) (if (i32.lt_u - (get_local $37) + (get_local $36) (i32.load (i32.const 192) ) @@ -15978,7 +15978,7 @@ (call_import $_abort) (block (i32.store - (get_local $37) + (get_local $36) (get_local $0) ) (i32.store offset=24 @@ -15997,7 +15997,7 @@ ) (if (i32.eq - (get_local $10) + (get_local $11) (i32.const 307) ) (if @@ -16007,7 +16007,7 @@ (i32.load (set_local $4 (i32.add - (get_local $34) + (get_local $33) (i32.const 8) ) ) @@ -16020,7 +16020,7 @@ ) ) (i32.ge_u - (get_local $34) + (get_local $33) (get_local $2) ) ) @@ -16039,7 +16039,7 @@ ) (i32.store offset=12 (get_local $0) - (get_local $34) + (get_local $33) ) (i32.store offset=24 (get_local $0) @@ -16062,7 +16062,7 @@ (i32.const 188) ) ) - (get_local $9) + (get_local $8) ) (block (i32.store @@ -16070,7 +16070,7 @@ (set_local $2 (i32.sub (get_local $0) - (get_local $9) + (get_local $8) ) ) ) @@ -16083,7 +16083,7 @@ (i32.const 200) ) ) - (get_local $9) + (get_local $8) ) ) ) @@ -16097,7 +16097,7 @@ (i32.store offset=4 (get_local $0) (i32.or - (get_local $9) + (get_local $8) (i32.const 3) ) ) diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 118e0c982..78638633b 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -676,7 +676,6 @@ optimized: ) ) (func $nontrivial-loop-plus-phi-to-head (type $v) - (local $0 i32) (loop $shape$1$break $shape$1$continue (if (i32.eqz @@ -686,12 +685,7 @@ optimized: ) (if (i32.const -6) - (block - (set_local $0 - (i32.const 4) - ) - (br $shape$1$break) - ) + (br $shape$1$break) (br $shape$1$continue) ) ) diff --git a/test/memorygrowth.fromasm b/test/memorygrowth.fromasm index 9e2b77330..9f7d979bb 100644 --- a/test/memorygrowth.fromasm +++ b/test/memorygrowth.fromasm @@ -7968,20 +7968,20 @@ (i32.const 44) ) ) - (set_local $5 + (set_local $4 (get_local $3) ) (set_local $3 (i32.const 2) ) - (set_local $6 + (set_local $5 (i32.add (get_local $10) (get_local $2) ) ) (loop $while-out$0 $while-in$1 - (set_local $4 + (set_local $6 (if (i32.load (i32.const 1160) @@ -7999,7 +7999,7 @@ ) (i32.store offset=4 (get_local $13) - (get_local $5) + (get_local $4) ) (i32.store offset=8 (get_local $13) @@ -8027,7 +8027,7 @@ ) (i32.store offset=4 (get_local $12) - (get_local $5) + (get_local $4) ) (i32.store offset=8 (get_local $12) @@ -8044,8 +8044,8 @@ ) (if (i32.eq + (get_local $5) (get_local $6) - (get_local $4) ) (block (set_local $1 @@ -8056,12 +8056,12 @@ ) (if (i32.lt_s - (get_local $4) + (get_local $6) (i32.const 0) ) (block (set_local $17 - (get_local $5) + (get_local $4) ) (set_local $18 (get_local $3) @@ -8074,17 +8074,17 @@ ) (set_local $10 (i32.sub + (get_local $5) (get_local $6) - (get_local $4) ) ) (set_local $3 (if (i32.gt_u - (get_local $4) - (set_local $6 + (get_local $6) + (set_local $5 (i32.load offset=4 - (get_local $5) + (get_local $4) ) ) ) @@ -8101,15 +8101,15 @@ (get_local $14) (get_local $7) ) - (set_local $4 + (set_local $6 (i32.sub - (get_local $4) (get_local $6) + (get_local $5) ) ) (set_local $7 (i32.add - (get_local $5) + (get_local $4) (i32.const 8) ) ) @@ -8120,7 +8120,7 @@ ) ) (i32.load offset=12 - (get_local $5) + (get_local $4) ) ) (if @@ -8135,25 +8135,25 @@ (i32.load (get_local $9) ) - (get_local $4) + (get_local $6) ) ) (set_local $7 - (get_local $5) + (get_local $4) ) (set_local $15 (i32.const 2) ) - (get_local $6) + (get_local $5) ) (block (set_local $7 - (get_local $5) + (get_local $4) ) (set_local $15 (get_local $3) ) - (get_local $6) + (get_local $5) ) ) ) @@ -8164,23 +8164,23 @@ (i32.load (get_local $7) ) - (get_local $4) + (get_local $6) ) ) (i32.store offset=4 (get_local $7) (i32.sub (get_local $3) - (get_local $4) + (get_local $6) ) ) - (set_local $5 + (set_local $4 (get_local $7) ) (set_local $3 (get_local $15) ) - (set_local $6 + (set_local $5 (get_local $10) ) (br $while-in$1) @@ -8194,7 +8194,7 @@ (i32.store offset=16 (get_local $0) (i32.add - (set_local $6 + (set_local $5 (i32.load (get_local $8) ) @@ -8207,7 +8207,7 @@ (i32.store (get_local $9) (set_local $8 - (get_local $6) + (get_local $5) ) ) (i32.store diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise index 9e2b77330..9f7d979bb 100644 --- a/test/memorygrowth.fromasm.imprecise +++ b/test/memorygrowth.fromasm.imprecise @@ -7968,20 +7968,20 @@ (i32.const 44) ) ) - (set_local $5 + (set_local $4 (get_local $3) ) (set_local $3 (i32.const 2) ) - (set_local $6 + (set_local $5 (i32.add (get_local $10) (get_local $2) ) ) (loop $while-out$0 $while-in$1 - (set_local $4 + (set_local $6 (if (i32.load (i32.const 1160) @@ -7999,7 +7999,7 @@ ) (i32.store offset=4 (get_local $13) - (get_local $5) + (get_local $4) ) (i32.store offset=8 (get_local $13) @@ -8027,7 +8027,7 @@ ) (i32.store offset=4 (get_local $12) - (get_local $5) + (get_local $4) ) (i32.store offset=8 (get_local $12) @@ -8044,8 +8044,8 @@ ) (if (i32.eq + (get_local $5) (get_local $6) - (get_local $4) ) (block (set_local $1 @@ -8056,12 +8056,12 @@ ) (if (i32.lt_s - (get_local $4) + (get_local $6) (i32.const 0) ) (block (set_local $17 - (get_local $5) + (get_local $4) ) (set_local $18 (get_local $3) @@ -8074,17 +8074,17 @@ ) (set_local $10 (i32.sub + (get_local $5) (get_local $6) - (get_local $4) ) ) (set_local $3 (if (i32.gt_u - (get_local $4) - (set_local $6 + (get_local $6) + (set_local $5 (i32.load offset=4 - (get_local $5) + (get_local $4) ) ) ) @@ -8101,15 +8101,15 @@ (get_local $14) (get_local $7) ) - (set_local $4 + (set_local $6 (i32.sub - (get_local $4) (get_local $6) + (get_local $5) ) ) (set_local $7 (i32.add - (get_local $5) + (get_local $4) (i32.const 8) ) ) @@ -8120,7 +8120,7 @@ ) ) (i32.load offset=12 - (get_local $5) + (get_local $4) ) ) (if @@ -8135,25 +8135,25 @@ (i32.load (get_local $9) ) - (get_local $4) + (get_local $6) ) ) (set_local $7 - (get_local $5) + (get_local $4) ) (set_local $15 (i32.const 2) ) - (get_local $6) + (get_local $5) ) (block (set_local $7 - (get_local $5) + (get_local $4) ) (set_local $15 (get_local $3) ) - (get_local $6) + (get_local $5) ) ) ) @@ -8164,23 +8164,23 @@ (i32.load (get_local $7) ) - (get_local $4) + (get_local $6) ) ) (i32.store offset=4 (get_local $7) (i32.sub (get_local $3) - (get_local $4) + (get_local $6) ) ) - (set_local $5 + (set_local $4 (get_local $7) ) (set_local $3 (get_local $15) ) - (set_local $6 + (set_local $5 (get_local $10) ) (br $while-in$1) @@ -8194,7 +8194,7 @@ (i32.store offset=16 (get_local $0) (i32.add - (set_local $6 + (set_local $5 (i32.load (get_local $8) ) @@ -8207,7 +8207,7 @@ (i32.store (get_local $9) (set_local $8 - (get_local $6) + (get_local $5) ) ) (i32.store diff --git a/test/unit.fromasm b/test/unit.fromasm index 74ef9b968..a3a4dd189 100644 --- a/test/unit.fromasm +++ b/test/unit.fromasm @@ -233,17 +233,13 @@ ) ) (func $fr (param $0 f32) - (local $1 f64) (nop) ) (func $negZero (result f64) (f64.const -0) ) (func $abs - (local $0 i32) - (set_local $0 - (i32.const 0) - ) + (i32.const 0) ) (func $neg (local $0 f32) @@ -378,7 +374,6 @@ ) ) (func $bitcasts (param $0 i32) (param $1 f32) - (local $2 f64) (nop) ) (func $z diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index 77ce73239..b8e781f09 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -96,11 +96,10 @@ ) (func $conversions (local $0 i32) - (local $1 f64) - (local $2 f32) + (local $1 f32) (set_local $0 (i32.trunc_s/f32 - (get_local $2) + (get_local $1) ) ) ) @@ -226,17 +225,13 @@ ) ) (func $fr (param $0 f32) - (local $1 f64) (nop) ) (func $negZero (result f64) (f64.const -0) ) (func $abs - (local $0 i32) - (set_local $0 - (i32.const 0) - ) + (i32.const 0) ) (func $neg (local $0 f32) @@ -371,7 +366,6 @@ ) ) (func $bitcasts (param $0 i32) (param $1 f32) - (local $2 f64) (nop) ) (func $z |