diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/emcc_O2_hello_world.fromasm | 12 | ||||
-rw-r--r-- | test/emcc_O2_hello_world.fromasm.clamp | 12 | ||||
-rw-r--r-- | test/emcc_O2_hello_world.fromasm.imprecise | 12 | ||||
-rw-r--r-- | test/emcc_hello_world.fromasm | 4938 | ||||
-rw-r--r-- | test/emcc_hello_world.fromasm.clamp | 4938 | ||||
-rw-r--r-- | test/emcc_hello_world.fromasm.imprecise | 4906 | ||||
-rw-r--r-- | test/memorygrowth.fromasm | 12 | ||||
-rw-r--r-- | test/memorygrowth.fromasm.clamp | 12 | ||||
-rw-r--r-- | test/memorygrowth.fromasm.imprecise | 12 | ||||
-rw-r--r-- | test/passes/inlining-optimizing_optimize-level=3.txt | 48 | ||||
-rw-r--r-- | test/passes/remove-unused-names_merge-blocks.txt | 387 | ||||
-rw-r--r-- | test/passes/remove-unused-names_merge-blocks.wast | 226 | ||||
-rw-r--r-- | test/unit.fromasm | 6 | ||||
-rw-r--r-- | test/unit.fromasm.clamp | 6 | ||||
-rw-r--r-- | test/unit.fromasm.imprecise | 6 | ||||
-rw-r--r-- | test/wasm-only.fromasm | 6 | ||||
-rw-r--r-- | test/wasm-only.fromasm.clamp | 6 | ||||
-rw-r--r-- | test/wasm-only.fromasm.imprecise | 6 |
18 files changed, 8064 insertions, 7487 deletions
diff --git a/test/emcc_O2_hello_world.fromasm b/test/emcc_O2_hello_world.fromasm index 6e87f27b1..cd097028a 100644 --- a/test/emcc_O2_hello_world.fromasm +++ b/test/emcc_O2_hello_world.fromasm @@ -8389,12 +8389,12 @@ (i32.const 3) ) ) - (set_local $2 - (i32.const 4) - ) - (set_local $1 - (get_local $0) - ) + ) + (set_local $2 + (i32.const 4) + ) + (set_local $1 + (get_local $0) ) ) (block diff --git a/test/emcc_O2_hello_world.fromasm.clamp b/test/emcc_O2_hello_world.fromasm.clamp index 6e87f27b1..cd097028a 100644 --- a/test/emcc_O2_hello_world.fromasm.clamp +++ b/test/emcc_O2_hello_world.fromasm.clamp @@ -8389,12 +8389,12 @@ (i32.const 3) ) ) - (set_local $2 - (i32.const 4) - ) - (set_local $1 - (get_local $0) - ) + ) + (set_local $2 + (i32.const 4) + ) + (set_local $1 + (get_local $0) ) ) (block diff --git a/test/emcc_O2_hello_world.fromasm.imprecise b/test/emcc_O2_hello_world.fromasm.imprecise index 02aced32b..1e7e99197 100644 --- a/test/emcc_O2_hello_world.fromasm.imprecise +++ b/test/emcc_O2_hello_world.fromasm.imprecise @@ -8383,12 +8383,12 @@ (i32.const 3) ) ) - (set_local $2 - (i32.const 4) - ) - (set_local $1 - (get_local $0) - ) + ) + (set_local $2 + (i32.const 4) + ) + (set_local $1 + (get_local $0) ) ) (block diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm index 66e70e893..5f9343488 100644 --- a/test/emcc_hello_world.fromasm +++ b/test/emcc_hello_world.fromasm @@ -291,11 +291,11 @@ (i32.const 87) ) ) - (set_local $1 - (i32.const 87) - ) - (br $__rjti$1) ) + (set_local $1 + (i32.const 87) + ) + (br $__rjti$1) ) (br_if $__rjti$1 (get_local $1) @@ -1967,9 +1967,9 @@ ) ) ) - (set_local $0 - (i32.const 0) - ) + ) + (set_local $0 + (i32.const 0) ) ) ) @@ -2589,104 +2589,101 @@ ) ) ) - (block $label$break$L25 - (if - (i32.eq - (i32.and - (tee_local $11 - (i32.shr_s - (i32.shl - (get_local $6) + (set_local $1 + (block $label$break$L25 (result i32) + (if (result i32) + (i32.eq + (i32.and + (tee_local $11 + (i32.shr_s + (i32.shl + (get_local $6) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) + (i32.const -32) ) - (i32.const -32) - ) - (i32.const 32) - ) - (block - (set_local $1 - (get_local $6) - ) - (set_local $6 - (get_local $11) - ) - (set_local $11 - (i32.const 0) + (i32.const 32) ) - (loop $while-in4 - (if - (i32.eqz - (i32.and - (i32.shl - (i32.const 1) - (i32.add - (get_local $6) - (i32.const -32) + (block (result i32) + (set_local $1 + (get_local $6) + ) + (set_local $6 + (get_local $11) + ) + (set_local $11 + (i32.const 0) + ) + (loop $while-in4 + (if + (i32.eqz + (i32.and + (i32.shl + (i32.const 1) + (i32.add + (get_local $6) + (i32.const -32) + ) ) + (i32.const 75913) ) - (i32.const 75913) - ) - ) - (block - (set_local $6 - (get_local $1) ) - (set_local $1 - (get_local $11) + (block + (set_local $6 + (get_local $1) + ) + (br $label$break$L25 + (get_local $11) + ) ) - (br $label$break$L25) ) - ) - (set_local $11 - (i32.or - (i32.shl - (i32.const 1) - (i32.add - (i32.shr_s - (i32.shl - (get_local $1) + (set_local $11 + (i32.or + (i32.shl + (i32.const 1) + (i32.add + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const -32) ) - (i32.const -32) ) + (get_local $11) ) - (get_local $11) ) - ) - (br_if $while-in4 - (i32.eq - (i32.and - (tee_local $6 - (tee_local $1 - (i32.load8_s - (tee_local $10 - (i32.add - (get_local $10) - (i32.const 1) + (br_if $while-in4 + (i32.eq + (i32.and + (tee_local $6 + (tee_local $1 + (i32.load8_s + (tee_local $10 + (i32.add + (get_local $10) + (i32.const 1) + ) ) ) ) ) + (i32.const -32) ) - (i32.const -32) + (i32.const 32) ) - (i32.const 32) ) ) (set_local $6 (get_local $1) ) - (set_local $1 - (get_local $11) - ) + (get_local $11) ) - ) - (set_local $1 (i32.const 0) ) ) @@ -3364,67 +3361,82 @@ (set_local $7 (block $__rjto$8 (result i32) (block $__rjti$8 - (block $__rjti$7 - (block $__rjti$6 - (block $__rjti$5 - (block $__rjti$4 - (block $__rjti$3 - (block $switch-default120 - (block $switch-case42 - (block $switch-case41 - (block $switch-case40 - (block $switch-case39 - (block $switch-case38 - (block $switch-case37 - (block $switch-case36 - (block $switch-case34 - (block $switch-case33 - (block $switch-case29 - (block $switch-case28 - (block $switch-case27 - (br_table $switch-case42 $switch-default120 $switch-case40 $switch-default120 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case41 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case29 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case42 $switch-default120 $switch-case37 $switch-case34 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-case34 $switch-default120 $switch-default120 $switch-default120 $switch-case38 $switch-case27 $switch-case33 $switch-case28 $switch-default120 $switch-default120 $switch-case39 $switch-default120 $switch-case36 $switch-default120 $switch-default120 $switch-case29 $switch-default120 - (i32.sub - (tee_local $19 - (select - (i32.and - (tee_local $12 - (i32.load8_s - (get_local $19) + (set_local $7 + (block $__rjti$7 (result i32) + (block $__rjti$6 + (block $__rjti$5 + (block $__rjti$4 + (block $__rjti$3 + (block $switch-default120 + (block $switch-case42 + (block $switch-case41 + (block $switch-case40 + (block $switch-case39 + (block $switch-case38 + (block $switch-case37 + (block $switch-case36 + (block $switch-case34 + (block $switch-case33 + (block $switch-case29 + (block $switch-case28 + (block $switch-case27 + (br_table $switch-case42 $switch-default120 $switch-case40 $switch-default120 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case41 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case29 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case42 $switch-default120 $switch-case37 $switch-case34 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-case34 $switch-default120 $switch-default120 $switch-default120 $switch-case38 $switch-case27 $switch-case33 $switch-case28 $switch-default120 $switch-default120 $switch-case39 $switch-default120 $switch-case36 $switch-default120 $switch-default120 $switch-case29 $switch-default120 + (i32.sub + (tee_local $19 + (select + (i32.and + (tee_local $12 + (i32.load8_s + (get_local $19) + ) ) + (i32.const -33) ) - (i32.const -33) - ) - (get_local $12) - (i32.and - (i32.ne - (get_local $9) - (i32.const 0) - ) - (i32.eq - (i32.and - (get_local $12) - (i32.const 15) + (get_local $12) + (i32.and + (i32.ne + (get_local $9) + (i32.const 0) + ) + (i32.eq + (i32.and + (get_local $12) + (i32.const 15) + ) + (i32.const 3) ) - (i32.const 3) ) ) ) + (i32.const 65) ) - (i32.const 65) ) ) - ) - (block $switch-default26 - (block $switch-case25 - (block $switch-case24 - (block $switch-case23 - (block $switch-case22 - (block $switch-case21 - (block $switch-case20 - (block $switch-case19 - (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26 - (get_local $9) + (block $switch-default26 + (block $switch-case25 + (block $switch-case24 + (block $switch-case23 + (block $switch-case22 + (block $switch-case21 + (block $switch-case20 + (block $switch-case19 + (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26 + (get_local $9) + ) + ) + (i32.store + (i32.load + (get_local $14) + ) + (get_local $17) + ) + (set_local $5 + (get_local $10) ) + (set_local $10 + (get_local $7) + ) + (br $label$continue$L1) ) (i32.store (i32.load @@ -3441,11 +3453,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $14) + (tee_local $5 + (i32.load + (get_local $14) + ) ) (get_local $17) ) + (i32.store offset=4 + (get_local $5) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $17) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $5 (get_local $10) ) @@ -3454,27 +3481,12 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $5 - (i32.load - (get_local $14) - ) + (i32.store16 + (i32.load + (get_local $14) ) (get_local $17) ) - (i32.store offset=4 - (get_local $5) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $17) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) - ) - ) (set_local $5 (get_local $10) ) @@ -3483,7 +3495,7 @@ ) (br $label$continue$L1) ) - (i32.store16 + (i32.store8 (i32.load (get_local $14) ) @@ -3497,7 +3509,7 @@ ) (br $label$continue$L1) ) - (i32.store8 + (i32.store (i32.load (get_local $14) ) @@ -3512,11 +3524,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $14) + (tee_local $5 + (i32.load + (get_local $14) + ) ) (get_local $17) ) + (i32.store offset=4 + (get_local $5) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $17) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $5 (get_local $10) ) @@ -3525,27 +3552,6 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $5 - (i32.load - (get_local $14) - ) - ) - (get_local $17) - ) - (i32.store offset=4 - (get_local $5) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $17) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) - ) - ) (set_local $5 (get_local $10) ) @@ -3555,1199 +3561,1218 @@ (br $label$continue$L1) ) (set_local $5 - (get_local $10) - ) - (set_local $10 - (get_local $7) - ) - (br $label$continue$L1) - ) - (set_local $5 - (i32.or - (get_local $11) - (i32.const 8) + (i32.or + (get_local $11) + (i32.const 8) + ) ) - ) - (set_local $6 - (select - (get_local $6) - (i32.const 8) - (i32.gt_u + (set_local $6 + (select (get_local $6) (i32.const 8) + (i32.gt_u + (get_local $6) + (i32.const 8) + ) ) ) + (set_local $19 + (i32.const 120) + ) + (br $__rjti$3) ) - (set_local $19 - (i32.const 120) + (set_local $5 + (get_local $11) ) (br $__rjti$3) ) - (set_local $5 - (get_local $11) - ) - (br $__rjti$3) - ) - (if - (i32.or - (tee_local $5 - (i32.load - (get_local $14) + (if + (i32.or + (tee_local $5 + (i32.load + (get_local $14) + ) ) - ) - (tee_local $7 - (i32.load offset=4 - (get_local $14) + (tee_local $7 + (i32.load offset=4 + (get_local $14) + ) ) ) - ) - (block - (set_local $8 - (get_local $25) - ) - (loop $while-in32 - (i32.store8 - (tee_local $8 - (i32.add - (get_local $8) - (i32.const -1) - ) - ) - (i32.or - (i32.and - (get_local $5) - (i32.const 7) - ) - (i32.const 48) - ) + (block + (set_local $8 + (get_local $25) ) - (br_if $while-in32 - (i32.or - (tee_local $5 - (call $_bitshift64Lshr + (loop $while-in32 + (i32.store8 + (tee_local $8 + (i32.add + (get_local $8) + (i32.const -1) + ) + ) + (i32.or + (i32.and (get_local $5) - (get_local $7) - (i32.const 3) + (i32.const 7) ) + (i32.const 48) ) - (tee_local $7 - (get_global $tempRet0) + ) + (br_if $while-in32 + (i32.or + (tee_local $5 + (call $_bitshift64Lshr + (get_local $5) + (get_local $7) + (i32.const 3) + ) + ) + (tee_local $7 + (get_global $tempRet0) + ) ) ) ) ) + (set_local $8 + (get_local $25) + ) ) - (set_local $8 - (get_local $25) - ) - ) - (if - (i32.and - (get_local $11) - (i32.const 8) - ) - (block - (set_local $5 + (if + (i32.and (get_local $11) + (i32.const 8) ) - (set_local $6 - (select - (tee_local $11 - (i32.add - (i32.sub - (get_local $39) - (tee_local $7 - (get_local $8) + (block + (set_local $5 + (get_local $11) + ) + (set_local $6 + (select + (tee_local $11 + (i32.add + (i32.sub + (get_local $39) + (tee_local $7 + (get_local $8) + ) ) + (i32.const 1) ) - (i32.const 1) ) - ) - (get_local $6) - (i32.lt_s (get_local $6) - (get_local $11) + (i32.lt_s + (get_local $6) + (get_local $11) + ) ) ) ) - ) - (block - (set_local $7 - (get_local $8) - ) - (set_local $5 - (get_local $11) - ) - ) - ) - (set_local $8 - (i32.const 0) - ) - (set_local $9 - (i32.const 4091) - ) - (br $__rjti$8) - ) - (set_local $5 - (i32.load - (get_local $14) - ) - ) - (if - (i32.lt_s - (tee_local $7 - (i32.load offset=4 - (get_local $14) - ) - ) - (i32.const 0) - ) - (block - (i32.store - (get_local $14) - (tee_local $5 - (call $_i64Subtract - (i32.const 0) - (i32.const 0) - (get_local $5) - (get_local $7) + (block + (set_local $7 + (get_local $8) + ) + (set_local $5 + (get_local $11) ) - ) - ) - (i32.store offset=4 - (get_local $14) - (tee_local $7 - (get_global $tempRet0) ) ) (set_local $8 - (i32.const 1) + (i32.const 0) ) (set_local $9 (i32.const 4091) ) - (br $__rjti$4) + (br $__rjti$8) ) - ) - (set_local $9 - (if (result i32) - (i32.and - (get_local $11) - (i32.const 2048) + (set_local $5 + (i32.load + (get_local $14) ) - (block (result i32) - (set_local $8 - (i32.const 1) + ) + (if + (i32.lt_s + (tee_local $7 + (i32.load offset=4 + (get_local $14) + ) ) - (i32.const 4092) + (i32.const 0) ) - (block (result i32) - (set_local $8 - (tee_local $9 - (i32.and - (get_local $11) - (i32.const 1) + (block + (i32.store + (get_local $14) + (tee_local $5 + (call $_i64Subtract + (i32.const 0) + (i32.const 0) + (get_local $5) + (get_local $7) ) ) ) - (select - (i32.const 4093) + (i32.store offset=4 + (get_local $14) + (tee_local $7 + (get_global $tempRet0) + ) + ) + (set_local $8 + (i32.const 1) + ) + (set_local $9 (i32.const 4091) - (get_local $9) + ) + (br $__rjti$4) + ) + ) + (set_local $9 + (if (result i32) + (i32.and + (get_local $11) + (i32.const 2048) + ) + (block (result i32) + (set_local $8 + (i32.const 1) + ) + (i32.const 4092) + ) + (block (result i32) + (set_local $8 + (tee_local $9 + (i32.and + (get_local $11) + (i32.const 1) + ) + ) + ) + (select + (i32.const 4093) + (i32.const 4091) + (get_local $9) + ) ) ) ) + (br $__rjti$4) + ) + (set_local $5 + (i32.load + (get_local $14) + ) + ) + (set_local $7 + (i32.load offset=4 + (get_local $14) + ) + ) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) ) (br $__rjti$4) ) - (set_local $5 - (i32.load + (drop + (i32.load offset=4 (get_local $14) ) ) - (set_local $7 - (i32.load offset=4 + (i32.store8 + (get_local $40) + (i32.load (get_local $14) ) ) + (set_local $5 + (get_local $40) + ) + (set_local $11 + (get_local $8) + ) + (set_local $12 + (i32.const 1) + ) (set_local $8 (i32.const 0) ) (set_local $9 (i32.const 4091) ) - (br $__rjti$4) - ) - (drop - (i32.load offset=4 - (get_local $14) + (br $__rjto$8 + (get_local $25) ) ) - (i32.store8 - (get_local $40) - (i32.load - (get_local $14) + (set_local $7 + (call $_strerror + (i32.load + (call $___errno_location) + ) ) ) - (set_local $5 - (get_local $40) - ) - (set_local $11 - (get_local $8) - ) - (set_local $12 - (i32.const 1) - ) - (set_local $8 - (i32.const 0) - ) - (set_local $9 - (i32.const 4091) - ) - (br $__rjto$8 - (get_local $25) - ) + (br $__rjti$5) ) (set_local $7 - (call $_strerror - (i32.load - (call $___errno_location) + (select + (tee_local $5 + (i32.load + (get_local $14) + ) ) + (i32.const 4101) + (get_local $5) ) ) (br $__rjti$5) ) - (set_local $7 - (select - (tee_local $5 - (i32.load - (get_local $14) - ) - ) - (i32.const 4101) - (get_local $5) + (drop + (i32.load offset=4 + (get_local $14) ) ) - (br $__rjti$5) - ) - (drop - (i32.load offset=4 - (get_local $14) + (i32.store + (get_local $41) + (i32.load + (get_local $14) + ) ) - ) - (i32.store - (get_local $41) - (i32.load + (i32.store + (get_local $44) + (i32.const 0) + ) + (i32.store (get_local $14) + (get_local $41) ) - ) - (i32.store - (get_local $44) - (i32.const 0) - ) - (i32.store - (get_local $14) - (get_local $41) - ) - (set_local $8 - (i32.const -1) - ) - (br $__rjti$6) - ) - (if - (get_local $6) - (block (set_local $8 - (get_local $6) + (i32.const -1) ) (br $__rjti$6) ) - (block - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (i32.const 0) - (get_local $11) + (if + (get_local $6) + (block + (set_local $8 + (get_local $6) + ) + (br $__rjti$6) ) - (set_local $7 - (i32.const 0) + (block + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (i32.const 0) + (get_local $11) + ) + (br $__rjti$7 + (i32.const 0) + ) ) - (br $__rjti$7) ) ) - ) - (set_local $16 - (f64.load - (get_local $14) + (set_local $16 + (f64.load + (get_local $14) + ) ) - ) - (i32.store - (get_local $20) - (i32.const 0) - ) - (f64.store - (get_global $tempDoublePtr) - (get_local $16) - ) - (drop - (i32.load + (i32.store + (get_local $20) + (i32.const 0) + ) + (f64.store (get_global $tempDoublePtr) + (get_local $16) ) - ) - (set_local $30 - (if (result i32) - (i32.lt_s - (i32.load offset=4 - (get_global $tempDoublePtr) - ) - (i32.const 0) - ) - (block (result i32) - (set_local $26 - (i32.const 1) - ) - (set_local $16 - (f64.neg - (get_local $16) - ) - ) - (i32.const 4108) + (drop + (i32.load + (get_global $tempDoublePtr) ) + ) + (set_local $30 (if (result i32) - (i32.and - (get_local $11) - (i32.const 2048) + (i32.lt_s + (i32.load offset=4 + (get_global $tempDoublePtr) + ) + (i32.const 0) ) (block (result i32) (set_local $26 (i32.const 1) ) - (i32.const 4111) + (set_local $16 + (f64.neg + (get_local $16) + ) + ) + (i32.const 4108) ) - (block (result i32) - (set_local $26 - (tee_local $5 - (i32.and - (get_local $11) - (i32.const 1) - ) + (if (result i32) + (i32.and + (get_local $11) + (i32.const 2048) + ) + (block (result i32) + (set_local $26 + (i32.const 1) ) + (i32.const 4111) ) - (select - (i32.const 4114) - (i32.const 4109) - (get_local $5) + (block (result i32) + (set_local $26 + (tee_local $5 + (i32.and + (get_local $11) + (i32.const 1) + ) + ) + ) + (select + (i32.const 4114) + (i32.const 4109) + (get_local $5) + ) ) ) ) ) - ) - (f64.store - (get_global $tempDoublePtr) - (get_local $16) - ) - (drop - (i32.load + (f64.store (get_global $tempDoublePtr) + (get_local $16) ) - ) - (set_local $7 - (block $do-once49 (result i32) - (if (result i32) - (i32.lt_u - (i32.and - (i32.load offset=4 - (get_global $tempDoublePtr) + (drop + (i32.load + (get_global $tempDoublePtr) + ) + ) + (set_local $7 + (block $do-once49 (result i32) + (if (result i32) + (i32.lt_u + (i32.and + (i32.load offset=4 + (get_global $tempDoublePtr) + ) + (i32.const 2146435072) ) (i32.const 2146435072) ) - (i32.const 2146435072) - ) - (block (result i32) - (if - (tee_local $5 - (f64.ne - (tee_local $23 - (f64.mul - (call $_frexp - (get_local $16) - (get_local $20) + (block (result i32) + (if + (tee_local $5 + (f64.ne + (tee_local $23 + (f64.mul + (call $_frexp + (get_local $16) + (get_local $20) + ) + (f64.const 2) ) - (f64.const 2) ) + (f64.const 0) ) - (f64.const 0) - ) - ) - (i32.store - (get_local $20) - (i32.add - (i32.load - (get_local $20) - ) - (i32.const -1) ) - ) - ) - (if - (i32.eq - (tee_local $24 - (i32.or - (get_local $19) - (i32.const 32) + (i32.store + (get_local $20) + (i32.add + (i32.load + (get_local $20) + ) + (i32.const -1) ) ) - (i32.const 97) ) - (block - (set_local $9 - (select - (i32.add - (get_local $30) - (i32.const 9) - ) - (get_local $30) - (tee_local $13 - (i32.and - (get_local $19) - (i32.const 32) - ) + (if + (i32.eq + (tee_local $24 + (i32.or + (get_local $19) + (i32.const 32) ) ) + (i32.const 97) ) - (set_local $16 - (if (result f64) - (i32.or - (i32.gt_u - (get_local $6) - (i32.const 11) + (block + (set_local $9 + (select + (i32.add + (get_local $30) + (i32.const 9) ) - (i32.eqz - (tee_local $5 - (i32.sub - (i32.const 12) - (get_local $6) - ) + (get_local $30) + (tee_local $13 + (i32.and + (get_local $19) + (i32.const 32) ) ) ) - (get_local $23) - (block (result f64) - (set_local $16 - (f64.const 8) - ) - (loop $while-in54 - (set_local $16 - (f64.mul - (get_local $16) - (f64.const 16) - ) + ) + (set_local $16 + (if (result f64) + (i32.or + (i32.gt_u + (get_local $6) + (i32.const 11) ) - (br_if $while-in54 + (i32.eqz (tee_local $5 - (i32.add - (get_local $5) - (i32.const -1) + (i32.sub + (i32.const 12) + (get_local $6) ) ) ) ) - (if (result f64) - (i32.eq - (i32.load8_s - (get_local $9) - ) - (i32.const 45) + (get_local $23) + (block (result f64) + (set_local $16 + (f64.const 8) ) - (f64.neg - (f64.add - (get_local $16) - (f64.sub - (f64.neg - (get_local $23) - ) + (loop $while-in54 + (set_local $16 + (f64.mul (get_local $16) + (f64.const 16) + ) + ) + (br_if $while-in54 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) ) ) ) - (f64.sub - (f64.add - (get_local $23) + (if (result f64) + (i32.eq + (i32.load8_s + (get_local $9) + ) + (i32.const 45) + ) + (f64.neg + (f64.add + (get_local $16) + (f64.sub + (f64.neg + (get_local $23) + ) + (get_local $16) + ) + ) + ) + (f64.sub + (f64.add + (get_local $23) + (get_local $16) + ) (get_local $16) ) - (get_local $16) ) ) ) ) - ) - (if - (i32.eq - (tee_local $5 - (call $_fmt_u - (tee_local $5 - (select - (i32.sub - (i32.const 0) - (tee_local $7 - (i32.load - (get_local $20) + (if + (i32.eq + (tee_local $5 + (call $_fmt_u + (tee_local $5 + (select + (i32.sub + (i32.const 0) + (tee_local $7 + (i32.load + (get_local $20) + ) ) ) - ) - (get_local $7) - (i32.lt_s (get_local $7) - (i32.const 0) + (i32.lt_s + (get_local $7) + (i32.const 0) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $5) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) + (get_local $33) ) - (get_local $33) ) + (get_local $33) ) - (get_local $33) - ) - (block - (i32.store8 - (get_local $42) - (i32.const 48) - ) - (set_local $5 - (get_local $42) + (block + (i32.store8 + (get_local $42) + (i32.const 48) + ) + (set_local $5 + (get_local $42) + ) ) ) - ) - (set_local $12 - (i32.or - (get_local $26) - (i32.const 2) - ) - ) - (i32.store8 - (i32.add - (get_local $5) - (i32.const -1) - ) - (i32.add - (i32.and - (i32.shr_s - (get_local $7) - (i32.const 31) - ) + (set_local $12 + (i32.or + (get_local $26) (i32.const 2) ) - (i32.const 43) ) - ) - (i32.store8 - (tee_local $8 + (i32.store8 (i32.add (get_local $5) - (i32.const -2) + (i32.const -1) + ) + (i32.add + (i32.and + (i32.shr_s + (get_local $7) + (i32.const 31) + ) + (i32.const 2) + ) + (i32.const 43) ) ) - (i32.add - (get_local $19) - (i32.const 15) + (i32.store8 + (tee_local $8 + (i32.add + (get_local $5) + (i32.const -2) + ) + ) + (i32.add + (get_local $19) + (i32.const 15) + ) ) - ) - (set_local $19 - (i32.lt_s - (get_local $6) - (i32.const 1) + (set_local $19 + (i32.lt_s + (get_local $6) + (i32.const 1) + ) ) - ) - (set_local $18 - (i32.eqz - (i32.and - (get_local $11) - (i32.const 8) + (set_local $18 + (i32.eqz + (i32.and + (get_local $11) + (i32.const 8) + ) ) ) - ) - (set_local $5 - (get_local $22) - ) - (loop $while-in56 - (i32.store8 - (get_local $5) - (i32.or - (i32.load8_u - (i32.add - (tee_local $7 - (call $f64-to-int - (get_local $16) + (set_local $5 + (get_local $22) + ) + (loop $while-in56 + (i32.store8 + (get_local $5) + (i32.or + (i32.load8_u + (i32.add + (tee_local $7 + (call $f64-to-int + (get_local $16) + ) ) + (i32.const 4075) ) - (i32.const 4075) ) + (get_local $13) ) - (get_local $13) ) - ) - (set_local $16 - (f64.mul - (f64.sub - (get_local $16) - (f64.convert_s/i32 - (get_local $7) + (set_local $16 + (f64.mul + (f64.sub + (get_local $16) + (f64.convert_s/i32 + (get_local $7) + ) ) + (f64.const 16) ) - (f64.const 16) ) - ) - (set_local $5 - (block $do-once57 (result i32) - (if (result i32) - (i32.eq - (i32.sub - (tee_local $7 - (i32.add - (get_local $5) - (i32.const 1) + (set_local $5 + (block $do-once57 (result i32) + (if (result i32) + (i32.eq + (i32.sub + (tee_local $7 + (i32.add + (get_local $5) + (i32.const 1) + ) ) + (get_local $37) ) - (get_local $37) + (i32.const 1) ) - (i32.const 1) - ) - (block (result i32) - (drop - (br_if $do-once57 - (get_local $7) - (i32.and - (get_local $18) + (block (result i32) + (drop + (br_if $do-once57 + (get_local $7) (i32.and - (get_local $19) - (f64.eq - (get_local $16) - (f64.const 0) + (get_local $18) + (i32.and + (get_local $19) + (f64.eq + (get_local $16) + (f64.const 0) + ) ) ) ) ) + (i32.store8 + (get_local $7) + (i32.const 46) + ) + (i32.add + (get_local $5) + (i32.const 2) + ) ) - (i32.store8 - (get_local $7) - (i32.const 46) - ) - (i32.add - (get_local $5) - (i32.const 2) - ) + (get_local $7) ) - (get_local $7) ) ) - ) - (br_if $while-in56 - (f64.ne - (get_local $16) - (f64.const 0) + (br_if $while-in56 + (f64.ne + (get_local $16) + (f64.const 0) + ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $7 - (i32.add - (tee_local $6 - (select - (i32.sub - (i32.add - (get_local $47) - (get_local $6) - ) - (get_local $8) - ) - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $7 + (i32.add + (tee_local $6 + (select (i32.sub - (get_local $45) + (i32.add + (get_local $47) + (get_local $6) + ) (get_local $8) ) - (get_local $5) - ) - (i32.and - (i32.ne - (get_local $6) - (i32.const 0) + (i32.add + (i32.sub + (get_local $45) + (get_local $8) + ) + (get_local $5) ) - (i32.lt_s - (i32.add - (get_local $46) - (get_local $5) + (i32.and + (i32.ne + (get_local $6) + (i32.const 0) + ) + (i32.lt_s + (i32.add + (get_local $46) + (get_local $5) + ) + (get_local $6) ) - (get_local $6) ) ) ) + (get_local $12) ) - (get_local $12) ) + (get_local $11) ) - (get_local $11) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $9) + (get_local $12) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $9) - (get_local $12) - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (get_local $15) + (get_local $7) + (i32.xor + (get_local $11) + (i32.const 65536) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $15) - (get_local $7) - (i32.xor - (get_local $11) - (i32.const 65536) - ) - ) - (set_local $5 - (i32.sub - (get_local $5) - (get_local $37) + (set_local $5 + (i32.sub + (get_local $5) + (get_local $37) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $22) + (get_local $5) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $22) - (get_local $5) - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.sub + (get_local $6) + (i32.add + (get_local $5) + (tee_local $5 + (i32.sub + (get_local $27) + (get_local $8) + ) + ) + ) ) + (i32.const 0) + (i32.const 0) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.sub - (get_local $6) - (i32.add - (get_local $5) - (tee_local $5 - (i32.sub - (get_local $27) - (get_local $8) + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) ) + (i32.const 32) ) ) - ) - (i32.const 0) - (i32.const 0) - ) - (if - (i32.eqz - (i32.and - (i32.load + (drop + (call $___fwritex + (get_local $8) + (get_local $5) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $8) - (get_local $5) - (get_local $0) - ) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $7) - (i32.xor - (get_local $11) - (i32.const 8192) - ) - ) - (br $do-once49 - (select + (call $_pad + (get_local $0) + (i32.const 32) (get_local $15) (get_local $7) - (i32.lt_s - (get_local $7) + (i32.xor + (get_local $11) + (i32.const 8192) + ) + ) + (br $do-once49 + (select (get_local $15) + (get_local $7) + (i32.lt_s + (get_local $7) + (get_local $15) + ) ) ) ) ) - ) - (set_local $16 - (if (result f64) - (get_local $5) - (block (result f64) - (i32.store - (get_local $20) - (tee_local $5 - (i32.add - (i32.load - (get_local $20) + (set_local $16 + (if (result f64) + (get_local $5) + (block (result f64) + (i32.store + (get_local $20) + (tee_local $5 + (i32.add + (i32.load + (get_local $20) + ) + (i32.const -28) ) - (i32.const -28) ) ) + (f64.mul + (get_local $23) + (f64.const 268435456) + ) ) - (f64.mul + (block (result f64) + (set_local $5 + (i32.load + (get_local $20) + ) + ) (get_local $23) - (f64.const 268435456) ) ) - (block (result f64) - (set_local $5 - (i32.load - (get_local $20) + ) + (set_local $7 + (tee_local $8 + (select + (get_local $48) + (get_local $49) + (i32.lt_s + (get_local $5) + (i32.const 0) ) ) - (get_local $23) ) ) - ) - (set_local $7 - (tee_local $8 - (select - (get_local $48) - (get_local $49) - (i32.lt_s - (get_local $5) - (i32.const 0) + (loop $while-in60 + (i32.store + (get_local $7) + (tee_local $5 + (call $f64-to-int + (get_local $16) + ) ) ) - ) - ) - (loop $while-in60 - (i32.store - (get_local $7) - (tee_local $5 - (call $f64-to-int - (get_local $16) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 4) ) ) - ) - (set_local $7 - (i32.add - (get_local $7) - (i32.const 4) - ) - ) - (br_if $while-in60 - (f64.ne - (tee_local $16 - (f64.mul - (f64.sub - (get_local $16) - (f64.convert_u/i32 - (get_local $5) + (br_if $while-in60 + (f64.ne + (tee_local $16 + (f64.mul + (f64.sub + (get_local $16) + (f64.convert_u/i32 + (get_local $5) + ) ) + (f64.const 1e9) ) - (f64.const 1e9) ) + (f64.const 0) ) - (f64.const 0) ) ) - ) - (if - (i32.gt_s - (tee_local $9 - (i32.load - (get_local $20) + (if + (i32.gt_s + (tee_local $9 + (i32.load + (get_local $20) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $8) - ) - (loop $while-in62 - (set_local $13 - (select - (i32.const 29) - (get_local $9) - (i32.gt_s - (get_local $9) + (block + (set_local $5 + (get_local $8) + ) + (loop $while-in62 + (set_local $13 + (select (i32.const 29) + (get_local $9) + (i32.gt_s + (get_local $9) + (i32.const 29) + ) ) ) - ) - (block $do-once63 - (if - (i32.ge_u - (tee_local $9 - (i32.add - (get_local $7) - (i32.const -4) + (block $do-once63 + (if + (i32.ge_u + (tee_local $9 + (i32.add + (get_local $7) + (i32.const -4) + ) ) + (get_local $5) ) - (get_local $5) - ) - (block - (set_local $12 - (i32.const 0) - ) - (loop $while-in66 - (i32.store - (get_local $9) - (call $___uremdi3 - (tee_local $12 - (call $_i64Add - (call $_bitshift64Shl - (i32.load - (get_local $9) + (block + (set_local $12 + (i32.const 0) + ) + (loop $while-in66 + (i32.store + (get_local $9) + (call $___uremdi3 + (tee_local $12 + (call $_i64Add + (call $_bitshift64Shl + (i32.load + (get_local $9) + ) + (i32.const 0) + (get_local $13) ) + (get_global $tempRet0) + (get_local $12) (i32.const 0) - (get_local $13) ) + ) + (tee_local $18 (get_global $tempRet0) - (get_local $12) - (i32.const 0) ) + (i32.const 1000000000) + (i32.const 0) ) - (tee_local $18 - (get_global $tempRet0) + ) + (set_local $12 + (call $___udivdi3 + (get_local $12) + (get_local $18) + (i32.const 1000000000) + (i32.const 0) + ) + ) + (br_if $while-in66 + (i32.ge_u + (tee_local $9 + (i32.add + (get_local $9) + (i32.const -4) + ) + ) + (get_local $5) ) - (i32.const 1000000000) - (i32.const 0) ) ) - (set_local $12 - (call $___udivdi3 + (br_if $do-once63 + (i32.eqz (get_local $12) - (get_local $18) - (i32.const 1000000000) - (i32.const 0) ) ) - (br_if $while-in66 - (i32.ge_u - (tee_local $9 - (i32.add - (get_local $9) - (i32.const -4) - ) + (i32.store + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -4) ) - (get_local $5) ) - ) - ) - (br_if $do-once63 - (i32.eqz (get_local $12) ) ) - (i32.store - (tee_local $5 - (i32.add - (get_local $5) - (i32.const -4) - ) - ) - (get_local $12) - ) ) ) - ) - (loop $while-in68 - (if - (i32.gt_u - (get_local $7) - (get_local $5) - ) + (loop $while-in68 (if - (i32.eqz - (i32.load - (tee_local $9 - (i32.add - (get_local $7) - (i32.const -4) + (i32.gt_u + (get_local $7) + (get_local $5) + ) + (if + (i32.eqz + (i32.load + (tee_local $9 + (i32.add + (get_local $7) + (i32.const -4) + ) ) ) ) - ) - (block - (set_local $7 - (get_local $9) + (block + (set_local $7 + (get_local $9) + ) + (br $while-in68) ) - (br $while-in68) ) ) ) - ) - (i32.store - (get_local $20) - (tee_local $9 - (i32.sub - (i32.load - (get_local $20) + (i32.store + (get_local $20) + (tee_local $9 + (i32.sub + (i32.load + (get_local $20) + ) + (get_local $13) ) - (get_local $13) ) ) - ) - (br_if $while-in62 - (i32.gt_s - (get_local $9) - (i32.const 0) + (br_if $while-in62 + (i32.gt_s + (get_local $9) + (i32.const 0) + ) ) ) ) - ) - (set_local $5 - (get_local $8) - ) - ) - (set_local $18 - (select - (i32.const 6) - (get_local $6) - (i32.lt_s - (get_local $6) - (i32.const 0) + (set_local $5 + (get_local $8) ) ) - ) - (if - (i32.lt_s - (get_local $9) - (i32.const 0) - ) - (block - (set_local $21 - (i32.add - (call $i32s-div - (i32.add - (get_local $18) - (i32.const 25) - ) - (i32.const 9) - ) - (i32.const 1) - ) - ) - (set_local $31 - (i32.eq - (get_local $24) - (i32.const 102) + (set_local $18 + (select + (i32.const 6) + (get_local $6) + (i32.lt_s + (get_local $6) + (i32.const 0) ) ) - (set_local $6 - (get_local $5) - ) - (set_local $5 - (get_local $7) + ) + (if + (i32.lt_s + (get_local $9) + (i32.const 0) ) - (loop $while-in70 - (set_local $13 - (select - (i32.const 9) - (tee_local $7 - (i32.sub - (i32.const 0) - (get_local $9) + (block + (set_local $21 + (i32.add + (call $i32s-div + (i32.add + (get_local $18) + (i32.const 25) ) - ) - (i32.gt_s - (get_local $7) (i32.const 9) ) + (i32.const 1) ) ) - (block $do-once71 - (if - (i32.lt_u - (get_local $6) - (get_local $5) - ) - (block - (set_local $12 - (i32.add - (i32.shl - (i32.const 1) - (get_local $13) - ) - (i32.const -1) - ) - ) - (set_local $38 - (i32.shr_u - (i32.const 1000000000) - (get_local $13) + (set_local $31 + (i32.eq + (get_local $24) + (i32.const 102) + ) + ) + (set_local $6 + (get_local $5) + ) + (set_local $5 + (get_local $7) + ) + (loop $while-in70 + (set_local $13 + (select + (i32.const 9) + (tee_local $7 + (i32.sub + (i32.const 0) + (get_local $9) ) ) - (set_local $9 - (i32.const 0) + (i32.gt_s + (get_local $7) + (i32.const 9) ) - (set_local $7 + ) + ) + (block $do-once71 + (if + (i32.lt_u (get_local $6) + (get_local $5) ) - (loop $while-in74 - (i32.store - (get_local $7) + (block + (set_local $12 (i32.add - (i32.shr_u - (tee_local $32 - (i32.load - (get_local $7) - ) - ) + (i32.shl + (i32.const 1) (get_local $13) ) - (get_local $9) + (i32.const -1) + ) + ) + (set_local $38 + (i32.shr_u + (i32.const 1000000000) + (get_local $13) ) ) (set_local $9 - (i32.mul - (i32.and - (get_local $32) - (get_local $12) + (i32.const 0) + ) + (set_local $7 + (get_local $6) + ) + (loop $while-in74 + (i32.store + (get_local $7) + (i32.add + (i32.shr_u + (tee_local $32 + (i32.load + (get_local $7) + ) + ) + (get_local $13) + ) + (get_local $9) ) - (get_local $38) ) - ) - (br_if $while-in74 - (i32.lt_u - (tee_local $7 - (i32.add - (get_local $7) - (i32.const 4) + (set_local $9 + (i32.mul + (i32.and + (get_local $32) + (get_local $12) + ) + (get_local $38) + ) + ) + (br_if $while-in74 + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $7) + (i32.const 4) + ) ) + (get_local $5) ) + ) + ) + (set_local $7 + (select + (get_local $6) + (i32.add + (get_local $6) + (i32.const 4) + ) + (i32.load + (get_local $6) + ) + ) + ) + (br_if $do-once71 + (i32.eqz + (get_local $9) + ) + ) + (i32.store + (get_local $5) + (get_local $9) + ) + (set_local $5 + (i32.add (get_local $5) + (i32.const 4) ) ) ) @@ -4763,490 +4788,463 @@ ) ) ) - (br_if $do-once71 - (i32.eqz - (get_local $9) + ) + ) + (set_local $12 + (select + (i32.add + (tee_local $6 + (select + (get_local $8) + (get_local $7) + (get_local $31) + ) + ) + (i32.shl + (get_local $21) + (i32.const 2) ) ) - (i32.store - (get_local $5) - (get_local $9) - ) - (set_local $5 - (i32.add - (get_local $5) - (i32.const 4) + (get_local $5) + (i32.gt_s + (i32.shr_s + (i32.sub + (get_local $5) + (get_local $6) + ) + (i32.const 2) ) + (get_local $21) ) ) - (set_local $7 - (select - (get_local $6) - (i32.add - (get_local $6) - (i32.const 4) - ) + ) + (i32.store + (get_local $20) + (tee_local $9 + (i32.add (i32.load - (get_local $6) + (get_local $20) ) + (get_local $13) ) ) ) - ) - (set_local $12 - (select - (i32.add - (tee_local $6 - (select - (get_local $8) + (set_local $5 + (if (result i32) + (i32.lt_s + (get_local $9) + (i32.const 0) + ) + (block + (set_local $6 (get_local $7) - (get_local $31) ) + (set_local $5 + (get_local $12) + ) + (br $while-in70) ) - (i32.shl - (get_local $21) - (i32.const 2) + (block (result i32) + (set_local $9 + (get_local $12) + ) + (get_local $7) ) ) - (get_local $5) - (i32.gt_s + ) + ) + ) + (set_local $9 + (get_local $7) + ) + ) + (set_local $21 + (get_local $8) + ) + (block $do-once75 + (if + (i32.lt_u + (get_local $5) + (get_local $9) + ) + (block + (set_local $7 + (i32.mul (i32.shr_s (i32.sub + (get_local $21) (get_local $5) - (get_local $6) ) (i32.const 2) ) - (get_local $21) + (i32.const 9) ) ) - ) - (i32.store - (get_local $20) - (tee_local $9 - (i32.add - (i32.load - (get_local $20) + (br_if $do-once75 + (i32.lt_u + (tee_local $12 + (i32.load + (get_local $5) + ) ) - (get_local $13) + (i32.const 10) ) ) - ) - (set_local $5 - (if (result i32) - (i32.lt_s - (get_local $9) - (i32.const 0) - ) - (block - (set_local $6 + (set_local $6 + (i32.const 10) + ) + (loop $while-in78 + (set_local $7 + (i32.add (get_local $7) + (i32.const 1) ) - (set_local $5 - (get_local $12) - ) - (br $while-in70) ) - (block (result i32) - (set_local $9 + (br_if $while-in78 + (i32.ge_u (get_local $12) + (tee_local $6 + (i32.mul + (get_local $6) + (i32.const 10) + ) + ) ) - (get_local $7) ) ) ) - ) - ) - (set_local $9 - (get_local $7) - ) - ) - (set_local $21 - (get_local $8) - ) - (block $do-once75 - (if - (i32.lt_u - (get_local $5) - (get_local $9) - ) - (block (set_local $7 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $21) - (get_local $5) - ) - (i32.const 2) - ) - (i32.const 9) - ) - ) - (br_if $do-once75 - (i32.lt_u - (tee_local $12 - (i32.load - (get_local $5) - ) - ) - (i32.const 10) - ) - ) - (set_local $6 - (i32.const 10) - ) - (loop $while-in78 - (set_local $7 - (i32.add - (get_local $7) - (i32.const 1) - ) - ) - (br_if $while-in78 - (i32.ge_u - (get_local $12) - (tee_local $6 - (i32.mul - (get_local $6) - (i32.const 10) - ) - ) - ) - ) + (i32.const 0) ) ) - (set_local $7 - (i32.const 0) - ) ) - ) - (set_local $5 - (if (result i32) - (i32.lt_s - (tee_local $6 - (i32.add - (i32.sub - (get_local $18) - (select - (get_local $7) - (i32.const 0) - (i32.ne - (get_local $24) - (i32.const 102) + (set_local $5 + (if (result i32) + (i32.lt_s + (tee_local $6 + (i32.add + (i32.sub + (get_local $18) + (select + (get_local $7) + (i32.const 0) + (i32.ne + (get_local $24) + (i32.const 102) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.and - (tee_local $31 - (i32.ne - (get_local $18) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.and + (tee_local $31 + (i32.ne + (get_local $18) + (i32.const 0) + ) ) - ) - (tee_local $38 - (i32.eq - (get_local $24) - (i32.const 103) + (tee_local $38 + (i32.eq + (get_local $24) + (i32.const 103) + ) ) ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) ) ) - ) - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $9) - (get_local $21) - ) - (i32.const 2) - ) - (i32.const 9) - ) - (i32.const -9) - ) - ) - (block (result i32) - (set_local $13 - (call $i32s-div - (tee_local $6 - (i32.add - (get_local $6) - (i32.const 9216) + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $9) + (get_local $21) + ) + (i32.const 2) ) + (i32.const 9) ) - (i32.const 9) + (i32.const -9) ) ) - (if - (i32.lt_s - (tee_local $6 - (i32.add - (i32.rem_s + (block (result i32) + (set_local $13 + (call $i32s-div + (tee_local $6 + (i32.add (get_local $6) - (i32.const 9) + (i32.const 9216) ) - (i32.const 1) ) + (i32.const 9) ) - (i32.const 9) ) - (block - (set_local $12 - (i32.const 10) + (if + (i32.lt_s + (tee_local $6 + (i32.add + (i32.rem_s + (get_local $6) + (i32.const 9) + ) + (i32.const 1) + ) + ) + (i32.const 9) ) - (loop $while-in80 + (block (set_local $12 - (i32.mul - (get_local $12) - (i32.const 10) - ) + (i32.const 10) ) - (br_if $while-in80 - (i32.ne - (tee_local $6 - (i32.add - (get_local $6) - (i32.const 1) + (loop $while-in80 + (set_local $12 + (i32.mul + (get_local $12) + (i32.const 10) + ) + ) + (br_if $while-in80 + (i32.ne + (tee_local $6 + (i32.add + (get_local $6) + (i32.const 1) + ) ) + (i32.const 9) ) - (i32.const 9) ) ) ) + (set_local $12 + (i32.const 10) + ) ) - (set_local $12 - (i32.const 10) - ) - ) - (set_local $13 - (call $i32u-rem - (tee_local $24 - (i32.load - (tee_local $6 - (i32.add + (set_local $13 + (call $i32u-rem + (tee_local $24 + (i32.load + (tee_local $6 (i32.add - (get_local $8) - (i32.shl - (get_local $13) - (i32.const 2) + (i32.add + (get_local $8) + (i32.shl + (get_local $13) + (i32.const 2) + ) ) + (i32.const -4092) ) - (i32.const -4092) ) ) ) + (get_local $12) ) - (get_local $12) ) - ) - (block $do-once81 - (if - (i32.eqz - (i32.and - (tee_local $32 - (i32.eq - (i32.add - (get_local $6) - (i32.const 4) + (block $do-once81 + (if + (i32.eqz + (i32.and + (tee_local $32 + (i32.eq + (i32.add + (get_local $6) + (i32.const 4) + ) + (get_local $9) ) - (get_local $9) ) - ) - (i32.eqz - (get_local $13) + (i32.eqz + (get_local $13) + ) ) ) - ) - (block - (set_local $50 - (call $i32u-div - (get_local $24) - (get_local $12) + (block + (set_local $50 + (call $i32u-div + (get_local $24) + (get_local $12) + ) ) - ) - (set_local $16 - (if (result f64) - (i32.lt_u - (get_local $13) - (tee_local $51 - (call $i32s-div - (get_local $12) - (i32.const 2) + (set_local $16 + (if (result f64) + (i32.lt_u + (get_local $13) + (tee_local $51 + (call $i32s-div + (get_local $12) + (i32.const 2) + ) ) ) - ) - (f64.const 0.5) - (select - (f64.const 1) - (f64.const 1.5) - (i32.and - (get_local $32) - (i32.eq - (get_local $13) - (get_local $51) + (f64.const 0.5) + (select + (f64.const 1) + (f64.const 1.5) + (i32.and + (get_local $32) + (i32.eq + (get_local $13) + (get_local $51) + ) ) ) ) ) - ) - (set_local $23 - (select - (f64.const 9007199254740994) - (f64.const 9007199254740992) - (i32.and - (get_local $50) - (i32.const 1) + (set_local $23 + (select + (f64.const 9007199254740994) + (f64.const 9007199254740992) + (i32.and + (get_local $50) + (i32.const 1) + ) ) ) - ) - (block $do-once83 - (if - (get_local $26) - (block - (br_if $do-once83 - (i32.ne - (i32.load8_s - (get_local $30) + (block $do-once83 + (if + (get_local $26) + (block + (br_if $do-once83 + (i32.ne + (i32.load8_s + (get_local $30) + ) + (i32.const 45) ) - (i32.const 45) ) - ) - (set_local $23 - (f64.neg - (get_local $23) + (set_local $23 + (f64.neg + (get_local $23) + ) ) - ) - (set_local $16 - (f64.neg - (get_local $16) + (set_local $16 + (f64.neg + (get_local $16) + ) ) ) ) ) - ) - (i32.store - (get_local $6) - (tee_local $13 - (i32.sub - (get_local $24) - (get_local $13) + (i32.store + (get_local $6) + (tee_local $13 + (i32.sub + (get_local $24) + (get_local $13) + ) ) ) - ) - (br_if $do-once81 - (f64.eq - (f64.add + (br_if $do-once81 + (f64.eq + (f64.add + (get_local $23) + (get_local $16) + ) (get_local $23) - (get_local $16) ) - (get_local $23) ) - ) - (i32.store - (get_local $6) - (tee_local $7 - (i32.add - (get_local $13) - (get_local $12) + (i32.store + (get_local $6) + (tee_local $7 + (i32.add + (get_local $13) + (get_local $12) + ) ) ) - ) - (if - (i32.gt_u - (get_local $7) - (i32.const 999999999) - ) - (loop $while-in86 - (i32.store - (get_local $6) - (i32.const 0) + (if + (i32.gt_u + (get_local $7) + (i32.const 999999999) ) - (if - (i32.lt_u - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -4) + (loop $while-in86 + (i32.store + (get_local $6) + (i32.const 0) + ) + (if + (i32.lt_u + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -4) + ) ) + (get_local $5) + ) + (i32.store + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -4) + ) + ) + (i32.const 0) ) - (get_local $5) ) (i32.store - (tee_local $5 + (get_local $6) + (tee_local $7 (i32.add - (get_local $5) - (i32.const -4) + (i32.load + (get_local $6) + ) + (i32.const 1) ) ) - (i32.const 0) ) - ) - (i32.store - (get_local $6) - (tee_local $7 - (i32.add - (i32.load - (get_local $6) - ) - (i32.const 1) + (br_if $while-in86 + (i32.gt_u + (get_local $7) + (i32.const 999999999) ) ) ) - (br_if $while-in86 - (i32.gt_u - (get_local $7) - (i32.const 999999999) - ) - ) ) - ) - (set_local $7 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $21) - (get_local $5) + (set_local $7 + (i32.mul + (i32.shr_s + (i32.sub + (get_local $21) + (get_local $5) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) ) - ) - (br_if $do-once81 - (i32.lt_u - (tee_local $13 - (i32.load - (get_local $5) + (br_if $do-once81 + (i32.lt_u + (tee_local $13 + (i32.load + (get_local $5) + ) ) + (i32.const 10) ) + ) + (set_local $12 (i32.const 10) ) - ) - (set_local $12 - (i32.const 10) - ) - (loop $while-in88 - (set_local $7 - (i32.add - (get_local $7) - (i32.const 1) + (loop $while-in88 + (set_local $7 + (i32.add + (get_local $7) + (i32.const 1) + ) ) - ) - (br_if $while-in88 - (i32.ge_u - (get_local $13) - (tee_local $12 - (i32.mul - (get_local $12) - (i32.const 10) + (br_if $while-in88 + (i32.ge_u + (get_local $13) + (tee_local $12 + (i32.mul + (get_local $12) + (i32.const 10) + ) ) ) ) @@ -5254,601 +5252,559 @@ ) ) ) - ) - (set_local $12 - (get_local $5) - ) - (set_local $13 - (get_local $7) - ) - (select - (tee_local $5 - (i32.add - (get_local $6) - (i32.const 4) - ) + (set_local $12 + (get_local $5) ) - (get_local $9) - (i32.gt_u + (set_local $13 + (get_local $7) + ) + (select + (tee_local $5 + (i32.add + (get_local $6) + (i32.const 4) + ) + ) (get_local $9) - (get_local $5) + (i32.gt_u + (get_local $9) + (get_local $5) + ) ) ) - ) - (block (result i32) - (set_local $12 - (get_local $5) - ) - (set_local $13 - (get_local $7) + (block (result i32) + (set_local $12 + (get_local $5) + ) + (set_local $13 + (get_local $7) + ) + (get_local $9) ) - (get_local $9) ) ) - ) - (set_local $32 - (i32.sub - (i32.const 0) - (get_local $13) + (set_local $32 + (i32.sub + (i32.const 0) + (get_local $13) + ) ) - ) - (set_local $9 - (loop $while-in90 (result i32) - (block $while-out89 (result i32) - (if - (i32.le_u - (get_local $5) - (get_local $12) - ) - (block - (set_local $24 - (i32.const 0) - ) - (br $while-out89 + (set_local $9 + (loop $while-in90 (result i32) + (block $while-out89 (result i32) + (if + (i32.le_u (get_local $5) + (get_local $12) ) - ) - ) - (if (result i32) - (i32.load - (tee_local $7 - (i32.add + (block + (set_local $24 + (i32.const 0) + ) + (br $while-out89 (get_local $5) - (i32.const -4) ) ) ) - (block (result i32) - (set_local $24 - (i32.const 1) + (if (result i32) + (i32.load + (tee_local $7 + (i32.add + (get_local $5) + (i32.const -4) + ) + ) ) - (get_local $5) - ) - (block - (set_local $5 - (get_local $7) + (block (result i32) + (set_local $24 + (i32.const 1) + ) + (get_local $5) + ) + (block + (set_local $5 + (get_local $7) + ) + (br $while-in90) ) - (br $while-in90) ) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $13 - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $13 (i32.add (i32.add (i32.add - (get_local $26) - (i32.const 1) - ) - (tee_local $5 - (block $do-once91 (result i32) - (if (result i32) - (get_local $38) - (block (result i32) - (set_local $7 - (if (result i32) - (i32.and - (i32.gt_s - (tee_local $5 - (i32.add - (i32.xor - (get_local $31) - (i32.const 1) + (i32.add + (get_local $26) + (i32.const 1) + ) + (tee_local $5 + (block $do-once91 (result i32) + (if (result i32) + (get_local $38) + (block (result i32) + (set_local $7 + (if (result i32) + (i32.and + (i32.gt_s + (tee_local $5 + (i32.add + (i32.xor + (get_local $31) + (i32.const 1) + ) + (get_local $18) ) - (get_local $18) ) + (get_local $13) + ) + (i32.gt_s + (get_local $13) + (i32.const -5) ) - (get_local $13) ) - (i32.gt_s - (get_local $13) - (i32.const -5) + (block (result i32) + (set_local $18 + (i32.sub + (i32.add + (get_local $5) + (i32.const -1) + ) + (get_local $13) + ) + ) + (i32.add + (get_local $19) + (i32.const -1) + ) ) - ) - (block (result i32) - (set_local $18 - (i32.sub + (block (result i32) + (set_local $18 (i32.add (get_local $5) (i32.const -1) ) - (get_local $13) ) - ) - (i32.add - (get_local $19) - (i32.const -1) - ) - ) - (block (result i32) - (set_local $18 (i32.add - (get_local $5) - (i32.const -1) + (get_local $19) + (i32.const -2) ) ) - (i32.add - (get_local $19) - (i32.const -2) - ) - ) - ) - ) - (if - (tee_local $5 - (i32.and - (get_local $11) - (i32.const 8) ) ) - (block - (set_local $21 - (get_local $5) + (if + (tee_local $5 + (i32.and + (get_local $11) + (i32.const 8) + ) ) - (br $do-once91 - (get_local $18) + (block + (set_local $21 + (get_local $5) + ) + (br $do-once91 + (get_local $18) + ) ) ) - ) - (block $do-once93 - (if - (get_local $24) - (block - (if - (i32.eqz - (tee_local $19 - (i32.load - (i32.add - (get_local $9) - (i32.const -4) + (block $do-once93 + (if + (get_local $24) + (block + (if + (i32.eqz + (tee_local $19 + (i32.load + (i32.add + (get_local $9) + (i32.const -4) + ) ) ) ) - ) - (block - (set_local $5 - (i32.const 9) - ) - (br $do-once93) - ) - ) - (set_local $5 - (if (result i32) - (call $i32u-rem - (get_local $19) - (i32.const 10) - ) (block (set_local $5 - (i32.const 0) + (i32.const 9) ) (br $do-once93) ) - (block (result i32) - (set_local $6 + ) + (set_local $5 + (if (result i32) + (call $i32u-rem + (get_local $19) (i32.const 10) ) - (i32.const 0) + (block + (set_local $5 + (i32.const 0) + ) + (br $do-once93) + ) + (block (result i32) + (set_local $6 + (i32.const 10) + ) + (i32.const 0) + ) ) ) - ) - (loop $while-in96 - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) + (loop $while-in96 + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) ) - ) - (br_if $while-in96 - (i32.eqz - (call $i32u-rem - (get_local $19) - (tee_local $6 - (i32.mul - (get_local $6) - (i32.const 10) + (br_if $while-in96 + (i32.eqz + (call $i32u-rem + (get_local $19) + (tee_local $6 + (i32.mul + (get_local $6) + (i32.const 10) + ) ) ) ) ) ) ) - ) - (set_local $5 - (i32.const 9) + (set_local $5 + (i32.const 9) + ) ) ) - ) - (set_local $6 - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $9) - (get_local $21) + (set_local $6 + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $9) + (get_local $21) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) - ) - (i32.const -9) - ) - ) - (if (result i32) - (i32.eq - (i32.or - (get_local $7) - (i32.const 32) + (i32.const -9) ) - (i32.const 102) ) - (block (result i32) - (set_local $21 - (i32.const 0) + (if (result i32) + (i32.eq + (i32.or + (get_local $7) + (i32.const 32) + ) + (i32.const 102) ) - (select - (get_local $18) - (tee_local $5 - (select - (i32.const 0) - (tee_local $5 - (i32.sub - (get_local $6) + (block (result i32) + (set_local $21 + (i32.const 0) + ) + (select + (get_local $18) + (tee_local $5 + (select + (i32.const 0) + (tee_local $5 + (i32.sub + (get_local $6) + (get_local $5) + ) + ) + (i32.lt_s (get_local $5) + (i32.const 0) ) ) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) ) - ) - (i32.lt_s - (get_local $18) - (get_local $5) + (i32.lt_s + (get_local $18) + (get_local $5) + ) ) ) - ) - (block (result i32) - (set_local $21 - (i32.const 0) - ) - (select - (get_local $18) - (tee_local $5 - (select - (i32.const 0) - (tee_local $5 - (i32.sub - (i32.add - (get_local $6) - (get_local $13) + (block (result i32) + (set_local $21 + (i32.const 0) + ) + (select + (get_local $18) + (tee_local $5 + (select + (i32.const 0) + (tee_local $5 + (i32.sub + (i32.add + (get_local $6) + (get_local $13) + ) + (get_local $5) ) + ) + (i32.lt_s (get_local $5) + (i32.const 0) ) ) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) ) - ) - (i32.lt_s - (get_local $18) - (get_local $5) + (i32.lt_s + (get_local $18) + (get_local $5) + ) ) ) ) ) - ) - (block (result i32) - (set_local $21 - (i32.and - (get_local $11) - (i32.const 8) + (block (result i32) + (set_local $21 + (i32.and + (get_local $11) + (i32.const 8) + ) ) + (set_local $7 + (get_local $19) + ) + (get_local $18) ) - (set_local $7 - (get_local $19) - ) - (get_local $18) ) ) ) ) - ) - (i32.ne - (tee_local $31 - (i32.or - (get_local $5) - (get_local $21) + (i32.ne + (tee_local $31 + (i32.or + (get_local $5) + (get_local $21) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (if (result i32) - (tee_local $18 - (i32.eq - (i32.or - (get_local $7) - (i32.const 32) + (if (result i32) + (tee_local $18 + (i32.eq + (i32.or + (get_local $7) + (i32.const 32) + ) + (i32.const 102) ) - (i32.const 102) - ) - ) - (block (result i32) - (set_local $19 - (i32.const 0) ) - (select - (get_local $13) - (i32.const 0) - (i32.gt_s + (block (result i32) + (set_local $19 + (i32.const 0) + ) + (select (get_local $13) (i32.const 0) + (i32.gt_s + (get_local $13) + (i32.const 0) + ) ) ) - ) - (block (result i32) - (if - (i32.lt_s - (i32.sub - (get_local $27) - (tee_local $6 - (call $_fmt_u - (tee_local $6 - (select - (get_local $32) - (get_local $13) - (i32.lt_s + (block (result i32) + (if + (i32.lt_s + (i32.sub + (get_local $27) + (tee_local $6 + (call $_fmt_u + (tee_local $6 + (select + (get_local $32) (get_local $13) - (i32.const 0) + (i32.lt_s + (get_local $13) + (i32.const 0) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $6) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $6) + (i32.const 0) + ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) + (get_local $33) ) - (get_local $33) ) ) + (i32.const 2) ) - (i32.const 2) - ) - (loop $while-in98 - (i32.store8 - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + (loop $while-in98 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (br_if $while-in98 + (i32.lt_s + (i32.sub + (get_local $27) + (get_local $6) + ) + (i32.const 2) ) ) - (i32.const 48) ) - (br_if $while-in98 - (i32.lt_s - (i32.sub - (get_local $27) - (get_local $6) + ) + (i32.store8 + (i32.add + (get_local $6) + (i32.const -1) + ) + (i32.add + (i32.and + (i32.shr_s + (get_local $13) + (i32.const 31) ) (i32.const 2) ) + (i32.const 43) ) ) - ) - (i32.store8 - (i32.add - (get_local $6) - (i32.const -1) - ) - (i32.add - (i32.and - (i32.shr_s - (get_local $13) - (i32.const 31) + (i32.store8 + (tee_local $19 + (i32.add + (get_local $6) + (i32.const -2) ) - (i32.const 2) ) - (i32.const 43) + (get_local $7) ) - ) - (i32.store8 - (tee_local $19 - (i32.add - (get_local $6) - (i32.const -2) - ) + (i32.sub + (get_local $27) + (get_local $19) ) - (get_local $7) - ) - (i32.sub - (get_local $27) - (get_local $19) ) ) ) ) + (get_local $11) ) - (get_local $11) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $30) + (get_local $26) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $30) - (get_local $26) - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (get_local $15) + (get_local $13) + (i32.xor + (get_local $11) + (i32.const 65536) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $15) - (get_local $13) - (i32.xor - (get_local $11) - (i32.const 65536) - ) - ) - (block $do-once99 - (if - (get_local $18) - (block - (set_local $6 - (tee_local $12 - (select - (get_local $8) - (get_local $12) - (i32.gt_u - (get_local $12) + (block $do-once99 + (if + (get_local $18) + (block + (set_local $6 + (tee_local $12 + (select (get_local $8) + (get_local $12) + (i32.gt_u + (get_local $12) + (get_local $8) + ) ) ) ) - ) - (loop $while-in102 - (set_local $7 - (call $_fmt_u - (i32.load - (get_local $6) + (loop $while-in102 + (set_local $7 + (call $_fmt_u + (i32.load + (get_local $6) + ) + (i32.const 0) + (get_local $29) ) - (i32.const 0) - (get_local $29) ) - ) - (block $do-once103 - (if - (i32.eq - (get_local $6) - (get_local $12) - ) - (block - (br_if $do-once103 - (i32.ne - (get_local $7) - (get_local $29) - ) - ) - (i32.store8 - (get_local $34) - (i32.const 48) - ) - (set_local $7 - (get_local $34) + (block $do-once103 + (if + (i32.eq + (get_local $6) + (get_local $12) ) - ) - (block - (br_if $do-once103 - (i32.le_u - (get_local $7) - (get_local $22) + (block + (br_if $do-once103 + (i32.ne + (get_local $7) + (get_local $29) + ) ) - ) - (loop $while-in106 (i32.store8 - (tee_local $7 - (i32.add - (get_local $7) - (i32.const -1) - ) - ) + (get_local $34) (i32.const 48) ) - (br_if $while-in106 - (i32.gt_u + (set_local $7 + (get_local $34) + ) + ) + (block + (br_if $do-once103 + (i32.le_u (get_local $7) (get_local $22) ) ) + (loop $while-in106 + (i32.store8 + (tee_local $7 + (i32.add + (get_local $7) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (br_if $while-in106 + (i32.gt_u + (get_local $7) + (get_local $22) + ) + ) + ) ) ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) - ) - ) - (drop - (call $___fwritex - (get_local $7) - (i32.sub - (get_local $43) - (get_local $7) - ) - (get_local $0) - ) - ) - ) - (if - (i32.le_u - (tee_local $7 - (i32.add - (get_local $6) - (i32.const 4) - ) - ) - (get_local $8) - ) - (block - (set_local $6 - (get_local $7) - ) - (br $while-in102) - ) - ) - ) - (block $do-once107 - (if - (get_local $31) - (block - (br_if $do-once107 + (if + (i32.eqz (i32.and (i32.load (get_local $0) @@ -5858,187 +5814,259 @@ ) (drop (call $___fwritex - (i32.const 4143) - (i32.const 1) + (get_local $7) + (i32.sub + (get_local $43) + (get_local $7) + ) (get_local $0) ) ) ) - ) - ) - (if - (i32.and - (i32.gt_s - (get_local $5) - (i32.const 0) - ) - (i32.lt_u - (get_local $7) - (get_local $9) + (if + (i32.le_u + (tee_local $7 + (i32.add + (get_local $6) + (i32.const 4) + ) + ) + (get_local $8) + ) + (block + (set_local $6 + (get_local $7) + ) + (br $while-in102) + ) ) ) - (loop $while-in110 + (block $do-once107 (if - (i32.gt_u - (tee_local $6 - (call $_fmt_u + (get_local $31) + (block + (br_if $do-once107 + (i32.and (i32.load - (get_local $7) + (get_local $0) ) - (i32.const 0) - (get_local $29) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $0) ) ) - (get_local $22) ) - (loop $while-in112 - (i32.store8 + ) + ) + (if + (i32.and + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (i32.lt_u + (get_local $7) + (get_local $9) + ) + ) + (loop $while-in110 + (if + (i32.gt_u (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + (call $_fmt_u + (i32.load + (get_local $7) + ) + (i32.const 0) + (get_local $29) ) ) - (i32.const 48) + (get_local $22) ) - (br_if $while-in112 - (i32.gt_u - (get_local $6) - (get_local $22) + (loop $while-in112 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (br_if $while-in112 + (i32.gt_u + (get_local $6) + (get_local $22) + ) ) ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load - (get_local $0) + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - ) - (drop - (call $___fwritex - (get_local $6) - (select - (i32.const 9) - (get_local $5) - (i32.gt_s - (get_local $5) + (drop + (call $___fwritex + (get_local $6) + (select (i32.const 9) + (get_local $5) + (i32.gt_s + (get_local $5) + (i32.const 9) + ) ) + (get_local $0) ) - (get_local $0) ) ) - ) - (set_local $6 - (i32.add - (get_local $5) - (i32.const -9) + (set_local $6 + (i32.add + (get_local $5) + (i32.const -9) + ) ) - ) - (set_local $5 - (if (result i32) - (i32.and - (i32.gt_s - (get_local $5) - (i32.const 9) - ) - (i32.lt_u - (tee_local $7 - (i32.add - (get_local $7) - (i32.const 4) + (set_local $5 + (if (result i32) + (i32.and + (i32.gt_s + (get_local $5) + (i32.const 9) + ) + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $7) + (i32.const 4) + ) ) + (get_local $9) ) - (get_local $9) ) - ) - (block - (set_local $5 - (get_local $6) + (block + (set_local $5 + (get_local $6) + ) + (br $while-in110) ) - (br $while-in110) + (get_local $6) ) - (get_local $6) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $5) - (i32.const 9) - ) - (i32.const 9) - (i32.const 0) - ) - ) - (block - (set_local $9 - (select - (get_local $9) + (call $_pad + (get_local $0) + (i32.const 48) (i32.add - (get_local $12) - (i32.const 4) + (get_local $5) + (i32.const 9) ) - (get_local $24) + (i32.const 9) + (i32.const 0) ) ) - (if - (i32.gt_s - (get_local $5) - (i32.const -1) - ) - (block - (set_local $18 - (i32.eqz - (get_local $21) + (block + (set_local $9 + (select + (get_local $9) + (i32.add + (get_local $12) + (i32.const 4) ) + (get_local $24) ) - (set_local $6 - (get_local $12) - ) - (set_local $7 + ) + (if + (i32.gt_s (get_local $5) + (i32.const -1) ) - (loop $while-in114 - (if - (i32.eq - (tee_local $5 - (call $_fmt_u - (i32.load - (get_local $6) - ) - (i32.const 0) - (get_local $29) - ) - ) - (get_local $29) - ) - (block - (i32.store8 - (get_local $34) - (i32.const 48) - ) - (set_local $5 - (get_local $34) - ) + (block + (set_local $18 + (i32.eqz + (get_local $21) ) ) - (block $do-once115 + (set_local $6 + (get_local $12) + ) + (set_local $7 + (get_local $5) + ) + (loop $while-in114 (if (i32.eq - (get_local $6) - (get_local $12) + (tee_local $5 + (call $_fmt_u + (i32.load + (get_local $6) + ) + (i32.const 0) + (get_local $29) + ) + ) + (get_local $29) ) (block - (if - (i32.eqz + (i32.store8 + (get_local $34) + (i32.const 48) + ) + (set_local $5 + (get_local $34) + ) + ) + ) + (block $do-once115 + (if + (i32.eq + (get_local $6) + (get_local $12) + ) + (block + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $5) + (i32.const 1) + (get_local $0) + ) + ) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) + ) + (br_if $do-once115 + (i32.and + (get_local $18) + (i32.lt_s + (get_local $7) + (i32.const 1) + ) + ) + ) + (br_if $do-once115 (i32.and (i32.load (get_local $0) @@ -6048,119 +6076,89 @@ ) (drop (call $___fwritex - (get_local $5) + (i32.const 4143) (i32.const 1) (get_local $0) ) ) ) - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) - ) - ) - (br_if $do-once115 - (i32.and - (get_local $18) - (i32.lt_s - (get_local $7) - (i32.const 1) + (block + (br_if $do-once115 + (i32.le_u + (get_local $5) + (get_local $22) ) ) - ) - (br_if $do-once115 - (i32.and - (i32.load - (get_local $0) + (loop $while-in118 + (i32.store8 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) + ) + (i32.const 48) ) - (i32.const 32) - ) - ) - (drop - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $0) - ) - ) - ) - (block - (br_if $do-once115 - (i32.le_u - (get_local $5) - (get_local $22) - ) - ) - (loop $while-in118 - (i32.store8 - (tee_local $5 - (i32.add + (br_if $while-in118 + (i32.gt_u (get_local $5) - (i32.const -1) + (get_local $22) ) ) - (i32.const 48) - ) - (br_if $while-in118 - (i32.gt_u - (get_local $5) - (get_local $22) - ) ) ) ) ) - ) - (set_local $8 - (i32.sub - (get_local $43) - (get_local $5) + (set_local $8 + (i32.sub + (get_local $43) + (get_local $5) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load - (get_local $0) + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - ) - (drop - (call $___fwritex - (get_local $5) - (select - (get_local $8) - (get_local $7) - (i32.gt_s - (get_local $7) + (drop + (call $___fwritex + (get_local $5) + (select (get_local $8) + (get_local $7) + (i32.gt_s + (get_local $7) + (get_local $8) + ) ) + (get_local $0) ) - (get_local $0) ) ) - ) - (br_if $while-in114 - (i32.and - (i32.lt_u - (tee_local $6 - (i32.add - (get_local $6) - (i32.const 4) + (br_if $while-in114 + (i32.and + (i32.lt_u + (tee_local $6 + (i32.add + (get_local $6) + (i32.const 4) + ) ) + (get_local $9) ) - (get_local $9) - ) - (i32.gt_s - (tee_local $7 - (i32.sub - (get_local $7) - (get_local $8) + (i32.gt_s + (tee_local $7 + (i32.sub + (get_local $7) + (get_local $8) + ) ) + (i32.const -1) ) - (i32.const -1) ) ) ) @@ -6169,524 +6167,514 @@ ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $5) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.add + (get_local $5) + (i32.const 18) + ) (i32.const 18) + (i32.const 0) ) - (i32.const 18) - (i32.const 0) - ) - (br_if $do-once99 - (i32.and - (i32.load - (get_local $0) + (br_if $do-once99 + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - ) - (drop - (call $___fwritex - (get_local $19) - (i32.sub - (get_local $27) + (drop + (call $___fwritex (get_local $19) + (i32.sub + (get_local $27) + (get_local $19) + ) + (get_local $0) ) - (get_local $0) ) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $13) - (i32.xor - (get_local $11) - (i32.const 8192) - ) - ) - (select - (get_local $15) - (get_local $13) - (i32.lt_s + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) (get_local $13) + (i32.xor + (get_local $11) + (i32.const 8192) + ) + ) + (select (get_local $15) + (get_local $13) + (i32.lt_s + (get_local $13) + (get_local $15) + ) ) ) - ) - (block (result i32) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $7 - (i32.add - (tee_local $9 - (select - (i32.const 0) - (get_local $26) - (tee_local $6 - (f64.ne - (get_local $16) - (get_local $16) + (block (result i32) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $7 + (i32.add + (tee_local $9 + (select + (i32.const 0) + (get_local $26) + (tee_local $6 + (f64.ne + (get_local $16) + (get_local $16) + ) ) ) ) + (i32.const 3) ) - (i32.const 3) ) + (get_local $8) ) - (get_local $8) - ) - (if - (i32.eqz - (i32.and - (tee_local $5 - (i32.load - (get_local $0) + (if + (i32.eqz + (i32.and + (tee_local $5 + (i32.load + (get_local $0) + ) ) + (i32.const 32) ) - (i32.const 32) ) - ) - (block - (drop - (call $___fwritex - (get_local $30) - (get_local $9) - (get_local $0) + (block + (drop + (call $___fwritex + (get_local $30) + (get_local $9) + (get_local $0) + ) ) - ) - (set_local $5 - (i32.load - (get_local $0) + (set_local $5 + (i32.load + (get_local $0) + ) ) ) ) - ) - (set_local $6 - (select + (set_local $6 (select - (i32.const 4135) - (i32.const 4139) - (tee_local $8 - (i32.ne - (i32.and - (get_local $19) - (i32.const 32) + (select + (i32.const 4135) + (i32.const 4139) + (tee_local $8 + (i32.ne + (i32.and + (get_local $19) + (i32.const 32) + ) + (i32.const 0) ) - (i32.const 0) ) ) + (select + (i32.const 4127) + (i32.const 4131) + (get_local $8) + ) + (get_local $6) ) - (select - (i32.const 4127) - (i32.const 4131) - (get_local $8) - ) - (get_local $6) ) - ) - (if - (i32.eqz - (i32.and - (get_local $5) - (i32.const 32) + (if + (i32.eqz + (i32.and + (get_local $5) + (i32.const 32) + ) ) - ) - (drop - (call $___fwritex - (get_local $6) - (i32.const 3) - (get_local $0) + (drop + (call $___fwritex + (get_local $6) + (i32.const 3) + (get_local $0) + ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $7) - (i32.xor - (get_local $11) - (i32.const 8192) - ) - ) - (select - (get_local $15) - (get_local $7) - (i32.lt_s + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) (get_local $7) + (i32.xor + (get_local $11) + (i32.const 8192) + ) + ) + (select (get_local $15) + (get_local $7) + (i32.lt_s + (get_local $7) + (get_local $15) + ) ) ) ) ) ) + (set_local $5 + (get_local $10) + ) + (set_local $10 + (get_local $7) + ) + (br $label$continue$L1) ) - (set_local $5 - (get_local $10) + (set_local $12 + (get_local $6) ) - (set_local $10 - (get_local $7) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) + ) + (br $__rjto$8 + (get_local $25) ) - (br $label$continue$L1) - ) - (set_local $12 - (get_local $6) - ) - (set_local $8 - (i32.const 0) ) (set_local $9 - (i32.const 4091) - ) - (br $__rjto$8 - (get_local $25) - ) - ) - (set_local $9 - (i32.and - (get_local $19) - (i32.const 32) + (i32.and + (get_local $19) + (i32.const 32) + ) ) - ) - (if - (i32.or - (tee_local $7 - (i32.load - (get_local $14) + (if + (i32.or + (tee_local $7 + (i32.load + (get_local $14) + ) ) - ) - (tee_local $11 - (i32.load offset=4 - (get_local $14) + (tee_local $11 + (i32.load offset=4 + (get_local $14) + ) ) ) - ) - (block - (set_local $8 - (get_local $25) - ) - (loop $while-in123 - (i32.store8 - (tee_local $8 - (i32.add - (get_local $8) - (i32.const -1) - ) - ) - (i32.or - (i32.load8_u + (block + (set_local $8 + (get_local $25) + ) + (loop $while-in123 + (i32.store8 + (tee_local $8 (i32.add - (i32.and - (get_local $7) - (i32.const 15) + (get_local $8) + (i32.const -1) + ) + ) + (i32.or + (i32.load8_u + (i32.add + (i32.and + (get_local $7) + (i32.const 15) + ) + (i32.const 4075) ) - (i32.const 4075) ) + (get_local $9) ) - (get_local $9) ) - ) - (br_if $while-in123 - (i32.or - (tee_local $7 - (call $_bitshift64Lshr - (get_local $7) - (get_local $11) - (i32.const 4) + (br_if $while-in123 + (i32.or + (tee_local $7 + (call $_bitshift64Lshr + (get_local $7) + (get_local $11) + (i32.const 4) + ) + ) + (tee_local $11 + (get_global $tempRet0) ) - ) - (tee_local $11 - (get_global $tempRet0) ) ) ) (set_local $7 (get_local $8) ) - ) - (set_local $8 - (if (result i32) - (i32.or - (i32.eqz - (i32.and - (get_local $5) - (i32.const 8) - ) - ) - (i32.eqz - (i32.or - (i32.load - (get_local $14) + (set_local $8 + (if (result i32) + (i32.or + (i32.eqz + (i32.and + (get_local $5) + (i32.const 8) ) - (i32.load offset=4 - (get_local $14) + ) + (i32.eqz + (i32.or + (i32.load + (get_local $14) + ) + (i32.load offset=4 + (get_local $14) + ) ) ) ) - ) - (block (result i32) - (set_local $9 - (i32.const 4091) + (block (result i32) + (set_local $9 + (i32.const 4091) + ) + (i32.const 0) ) - (i32.const 0) - ) - (block (result i32) - (set_local $9 - (i32.add - (i32.shr_s - (get_local $19) - (i32.const 4) + (block (result i32) + (set_local $9 + (i32.add + (i32.shr_s + (get_local $19) + (i32.const 4) + ) + (i32.const 4091) ) - (i32.const 4091) ) + (i32.const 2) ) - (i32.const 2) ) ) ) - ) - (block - (set_local $7 - (get_local $25) - ) - (set_local $8 - (i32.const 0) - ) - (set_local $9 - (i32.const 4091) + (block + (set_local $7 + (get_local $25) + ) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) + ) ) ) + (br $__rjti$8) + ) + (set_local $7 + (call $_fmt_u + (get_local $5) + (get_local $7) + (get_local $25) + ) + ) + (set_local $5 + (get_local $11) ) (br $__rjti$8) ) - (set_local $7 - (call $_fmt_u - (get_local $5) - (get_local $7) - (get_local $25) + (set_local $19 + (i32.eqz + (tee_local $13 + (call $_memchr + (get_local $7) + (i32.const 0) + (get_local $6) + ) + ) ) ) - (set_local $5 - (get_local $11) + (set_local $11 + (get_local $8) ) - (br $__rjti$8) - ) - (set_local $19 - (i32.eqz - (tee_local $13 - (call $_memchr - (get_local $7) - (i32.const 0) - (get_local $6) + (set_local $12 + (select + (get_local $6) + (i32.sub + (get_local $13) + (tee_local $5 + (get_local $7) + ) ) + (get_local $19) ) ) - ) - (set_local $11 - (get_local $8) - ) - (set_local $12 - (select - (get_local $6) - (i32.sub - (get_local $13) - (tee_local $5 - (get_local $7) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) + ) + (br $__rjto$8 + (select + (i32.add + (get_local $5) + (get_local $6) ) + (get_local $13) + (get_local $19) ) - (get_local $19) ) ) - (set_local $8 + (set_local $5 (i32.const 0) ) - (set_local $9 - (i32.const 4091) + (set_local $7 + (i32.const 0) ) - (br $__rjto$8 - (select - (i32.add - (get_local $5) - (get_local $6) - ) - (get_local $13) - (get_local $19) + (set_local $6 + (i32.load + (get_local $14) ) ) - ) - (set_local $5 - (i32.const 0) - ) - (set_local $7 - (i32.const 0) - ) - (set_local $6 - (i32.load - (get_local $14) - ) - ) - (loop $while-in125 - (block $while-out124 - (br_if $while-out124 - (i32.eqz - (tee_local $9 - (i32.load - (get_local $6) + (loop $while-in125 + (block $while-out124 + (br_if $while-out124 + (i32.eqz + (tee_local $9 + (i32.load + (get_local $6) + ) ) ) ) - ) - (br_if $while-out124 - (i32.or - (i32.lt_s - (tee_local $7 - (call $_wctomb - (get_local $36) - (get_local $9) + (br_if $while-out124 + (i32.or + (i32.lt_s + (tee_local $7 + (call $_wctomb + (get_local $36) + (get_local $9) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (i32.gt_u - (get_local $7) - (i32.sub - (get_local $8) - (get_local $5) + (i32.gt_u + (get_local $7) + (i32.sub + (get_local $8) + (get_local $5) + ) ) ) ) - ) - (set_local $6 - (i32.add - (get_local $6) - (i32.const 4) + (set_local $6 + (i32.add + (get_local $6) + (i32.const 4) + ) ) - ) - (br_if $while-in125 - (i32.gt_u - (get_local $8) - (tee_local $5 - (i32.add - (get_local $7) - (get_local $5) + (br_if $while-in125 + (i32.gt_u + (get_local $8) + (tee_local $5 + (i32.add + (get_local $7) + (get_local $5) + ) ) ) ) ) ) - ) - (if - (i32.lt_s - (get_local $7) - (i32.const 0) - ) - (block - (set_local $17 - (i32.const -1) - ) - (br $label$break$L1) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $5) - (get_local $11) - ) - (if - (get_local $5) - (block - (set_local $6 + (if + (i32.lt_s + (get_local $7) (i32.const 0) ) - (set_local $7 - (i32.load - (get_local $14) + (block + (set_local $17 + (i32.const -1) ) + (br $label$break$L1) ) - (loop $while-in127 - (if - (i32.eqz - (tee_local $8 - (i32.load - (get_local $7) - ) - ) - ) - (block - (set_local $7 - (get_local $5) - ) - (br $__rjti$7) + ) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (get_local $5) + (get_local $11) + ) + (if (result i32) + (get_local $5) + (block (result i32) + (set_local $6 + (i32.const 0) + ) + (set_local $7 + (i32.load + (get_local $14) ) ) - (if - (i32.gt_s - (tee_local $6 - (i32.add + (loop $while-in127 + (drop + (br_if $__rjti$7 + (get_local $5) + (i32.eqz (tee_local $8 - (call $_wctomb - (get_local $36) - (get_local $8) + (i32.load + (get_local $7) ) ) - (get_local $6) ) ) - (get_local $5) ) - (block - (set_local $7 + (drop + (br_if $__rjti$7 (get_local $5) + (i32.gt_s + (tee_local $6 + (i32.add + (tee_local $8 + (call $_wctomb + (get_local $36) + (get_local $8) + ) + ) + (get_local $6) + ) + ) + (get_local $5) + ) ) - (br $__rjti$7) ) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $36) + (get_local $8) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $36) - (get_local $8) - (get_local $0) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 4) ) ) - ) - (set_local $7 - (i32.add - (get_local $7) - (i32.const 4) - ) - ) - (br_if $while-in127 - (i32.lt_u - (get_local $6) - (get_local $5) + (br_if $while-in127 + (i32.lt_u + (get_local $6) + (get_local $5) + ) ) ) - (set_local $7 - (get_local $5) - ) + (get_local $5) ) - ) - (set_local $7 (i32.const 0) ) ) @@ -9411,12 +9399,12 @@ ) ) ) - (set_local $4 - (get_local $0) - ) - (set_local $3 - (get_local $1) - ) + ) + (set_local $4 + (get_local $0) + ) + (set_local $3 + (get_local $1) ) ) (if (result i32) @@ -11104,9 +11092,9 @@ ) ) ) - (set_local $4 - (i32.const 624) - ) + ) + (set_local $4 + (i32.const 624) ) (br $__rjto$11) ) diff --git a/test/emcc_hello_world.fromasm.clamp b/test/emcc_hello_world.fromasm.clamp index ba8c50634..9ce70c0b5 100644 --- a/test/emcc_hello_world.fromasm.clamp +++ b/test/emcc_hello_world.fromasm.clamp @@ -289,11 +289,11 @@ (i32.const 87) ) ) - (set_local $1 - (i32.const 87) - ) - (br $__rjti$1) ) + (set_local $1 + (i32.const 87) + ) + (br $__rjti$1) ) (br_if $__rjti$1 (get_local $1) @@ -1965,9 +1965,9 @@ ) ) ) - (set_local $0 - (i32.const 0) - ) + ) + (set_local $0 + (i32.const 0) ) ) ) @@ -2639,104 +2639,101 @@ ) ) ) - (block $label$break$L25 - (if - (i32.eq - (i32.and - (tee_local $11 - (i32.shr_s - (i32.shl - (get_local $6) + (set_local $1 + (block $label$break$L25 (result i32) + (if (result i32) + (i32.eq + (i32.and + (tee_local $11 + (i32.shr_s + (i32.shl + (get_local $6) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) + (i32.const -32) ) - (i32.const -32) - ) - (i32.const 32) - ) - (block - (set_local $1 - (get_local $6) - ) - (set_local $6 - (get_local $11) - ) - (set_local $11 - (i32.const 0) + (i32.const 32) ) - (loop $while-in4 - (if - (i32.eqz - (i32.and - (i32.shl - (i32.const 1) - (i32.add - (get_local $6) - (i32.const -32) + (block (result i32) + (set_local $1 + (get_local $6) + ) + (set_local $6 + (get_local $11) + ) + (set_local $11 + (i32.const 0) + ) + (loop $while-in4 + (if + (i32.eqz + (i32.and + (i32.shl + (i32.const 1) + (i32.add + (get_local $6) + (i32.const -32) + ) ) + (i32.const 75913) ) - (i32.const 75913) - ) - ) - (block - (set_local $6 - (get_local $1) ) - (set_local $1 - (get_local $11) + (block + (set_local $6 + (get_local $1) + ) + (br $label$break$L25 + (get_local $11) + ) ) - (br $label$break$L25) ) - ) - (set_local $11 - (i32.or - (i32.shl - (i32.const 1) - (i32.add - (i32.shr_s - (i32.shl - (get_local $1) + (set_local $11 + (i32.or + (i32.shl + (i32.const 1) + (i32.add + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const -32) ) - (i32.const -32) ) + (get_local $11) ) - (get_local $11) ) - ) - (br_if $while-in4 - (i32.eq - (i32.and - (tee_local $6 - (tee_local $1 - (i32.load8_s - (tee_local $10 - (i32.add - (get_local $10) - (i32.const 1) + (br_if $while-in4 + (i32.eq + (i32.and + (tee_local $6 + (tee_local $1 + (i32.load8_s + (tee_local $10 + (i32.add + (get_local $10) + (i32.const 1) + ) ) ) ) ) + (i32.const -32) ) - (i32.const -32) + (i32.const 32) ) - (i32.const 32) ) ) (set_local $6 (get_local $1) ) - (set_local $1 - (get_local $11) - ) + (get_local $11) ) - ) - (set_local $1 (i32.const 0) ) ) @@ -3414,67 +3411,82 @@ (set_local $7 (block $__rjto$8 (result i32) (block $__rjti$8 - (block $__rjti$7 - (block $__rjti$6 - (block $__rjti$5 - (block $__rjti$4 - (block $__rjti$3 - (block $switch-default120 - (block $switch-case42 - (block $switch-case41 - (block $switch-case40 - (block $switch-case39 - (block $switch-case38 - (block $switch-case37 - (block $switch-case36 - (block $switch-case34 - (block $switch-case33 - (block $switch-case29 - (block $switch-case28 - (block $switch-case27 - (br_table $switch-case42 $switch-default120 $switch-case40 $switch-default120 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case41 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case29 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case42 $switch-default120 $switch-case37 $switch-case34 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-case34 $switch-default120 $switch-default120 $switch-default120 $switch-case38 $switch-case27 $switch-case33 $switch-case28 $switch-default120 $switch-default120 $switch-case39 $switch-default120 $switch-case36 $switch-default120 $switch-default120 $switch-case29 $switch-default120 - (i32.sub - (tee_local $19 - (select - (i32.and - (tee_local $12 - (i32.load8_s - (get_local $19) + (set_local $7 + (block $__rjti$7 (result i32) + (block $__rjti$6 + (block $__rjti$5 + (block $__rjti$4 + (block $__rjti$3 + (block $switch-default120 + (block $switch-case42 + (block $switch-case41 + (block $switch-case40 + (block $switch-case39 + (block $switch-case38 + (block $switch-case37 + (block $switch-case36 + (block $switch-case34 + (block $switch-case33 + (block $switch-case29 + (block $switch-case28 + (block $switch-case27 + (br_table $switch-case42 $switch-default120 $switch-case40 $switch-default120 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case41 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case29 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case42 $switch-default120 $switch-case37 $switch-case34 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-case34 $switch-default120 $switch-default120 $switch-default120 $switch-case38 $switch-case27 $switch-case33 $switch-case28 $switch-default120 $switch-default120 $switch-case39 $switch-default120 $switch-case36 $switch-default120 $switch-default120 $switch-case29 $switch-default120 + (i32.sub + (tee_local $19 + (select + (i32.and + (tee_local $12 + (i32.load8_s + (get_local $19) + ) ) + (i32.const -33) ) - (i32.const -33) - ) - (get_local $12) - (i32.and - (i32.ne - (get_local $9) - (i32.const 0) - ) - (i32.eq - (i32.and - (get_local $12) - (i32.const 15) + (get_local $12) + (i32.and + (i32.ne + (get_local $9) + (i32.const 0) + ) + (i32.eq + (i32.and + (get_local $12) + (i32.const 15) + ) + (i32.const 3) ) - (i32.const 3) ) ) ) + (i32.const 65) ) - (i32.const 65) ) ) - ) - (block $switch-default26 - (block $switch-case25 - (block $switch-case24 - (block $switch-case23 - (block $switch-case22 - (block $switch-case21 - (block $switch-case20 - (block $switch-case19 - (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26 - (get_local $9) + (block $switch-default26 + (block $switch-case25 + (block $switch-case24 + (block $switch-case23 + (block $switch-case22 + (block $switch-case21 + (block $switch-case20 + (block $switch-case19 + (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26 + (get_local $9) + ) + ) + (i32.store + (i32.load + (get_local $14) + ) + (get_local $17) + ) + (set_local $5 + (get_local $10) ) + (set_local $10 + (get_local $7) + ) + (br $label$continue$L1) ) (i32.store (i32.load @@ -3491,11 +3503,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $14) + (tee_local $5 + (i32.load + (get_local $14) + ) ) (get_local $17) ) + (i32.store offset=4 + (get_local $5) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $17) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $5 (get_local $10) ) @@ -3504,27 +3531,12 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $5 - (i32.load - (get_local $14) - ) + (i32.store16 + (i32.load + (get_local $14) ) (get_local $17) ) - (i32.store offset=4 - (get_local $5) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $17) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) - ) - ) (set_local $5 (get_local $10) ) @@ -3533,7 +3545,7 @@ ) (br $label$continue$L1) ) - (i32.store16 + (i32.store8 (i32.load (get_local $14) ) @@ -3547,7 +3559,7 @@ ) (br $label$continue$L1) ) - (i32.store8 + (i32.store (i32.load (get_local $14) ) @@ -3562,11 +3574,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $14) + (tee_local $5 + (i32.load + (get_local $14) + ) ) (get_local $17) ) + (i32.store offset=4 + (get_local $5) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $17) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $5 (get_local $10) ) @@ -3575,27 +3602,6 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $5 - (i32.load - (get_local $14) - ) - ) - (get_local $17) - ) - (i32.store offset=4 - (get_local $5) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $17) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) - ) - ) (set_local $5 (get_local $10) ) @@ -3605,1199 +3611,1218 @@ (br $label$continue$L1) ) (set_local $5 - (get_local $10) - ) - (set_local $10 - (get_local $7) - ) - (br $label$continue$L1) - ) - (set_local $5 - (i32.or - (get_local $11) - (i32.const 8) + (i32.or + (get_local $11) + (i32.const 8) + ) ) - ) - (set_local $6 - (select - (get_local $6) - (i32.const 8) - (i32.gt_u + (set_local $6 + (select (get_local $6) (i32.const 8) + (i32.gt_u + (get_local $6) + (i32.const 8) + ) ) ) + (set_local $19 + (i32.const 120) + ) + (br $__rjti$3) ) - (set_local $19 - (i32.const 120) + (set_local $5 + (get_local $11) ) (br $__rjti$3) ) - (set_local $5 - (get_local $11) - ) - (br $__rjti$3) - ) - (if - (i32.or - (tee_local $5 - (i32.load - (get_local $14) + (if + (i32.or + (tee_local $5 + (i32.load + (get_local $14) + ) ) - ) - (tee_local $7 - (i32.load offset=4 - (get_local $14) + (tee_local $7 + (i32.load offset=4 + (get_local $14) + ) ) ) - ) - (block - (set_local $8 - (get_local $25) - ) - (loop $while-in32 - (i32.store8 - (tee_local $8 - (i32.add - (get_local $8) - (i32.const -1) - ) - ) - (i32.or - (i32.and - (get_local $5) - (i32.const 7) - ) - (i32.const 48) - ) + (block + (set_local $8 + (get_local $25) ) - (br_if $while-in32 - (i32.or - (tee_local $5 - (call $_bitshift64Lshr + (loop $while-in32 + (i32.store8 + (tee_local $8 + (i32.add + (get_local $8) + (i32.const -1) + ) + ) + (i32.or + (i32.and (get_local $5) - (get_local $7) - (i32.const 3) + (i32.const 7) ) + (i32.const 48) ) - (tee_local $7 - (get_global $tempRet0) + ) + (br_if $while-in32 + (i32.or + (tee_local $5 + (call $_bitshift64Lshr + (get_local $5) + (get_local $7) + (i32.const 3) + ) + ) + (tee_local $7 + (get_global $tempRet0) + ) ) ) ) ) + (set_local $8 + (get_local $25) + ) ) - (set_local $8 - (get_local $25) - ) - ) - (if - (i32.and - (get_local $11) - (i32.const 8) - ) - (block - (set_local $5 + (if + (i32.and (get_local $11) + (i32.const 8) ) - (set_local $6 - (select - (tee_local $11 - (i32.add - (i32.sub - (get_local $39) - (tee_local $7 - (get_local $8) + (block + (set_local $5 + (get_local $11) + ) + (set_local $6 + (select + (tee_local $11 + (i32.add + (i32.sub + (get_local $39) + (tee_local $7 + (get_local $8) + ) ) + (i32.const 1) ) - (i32.const 1) ) - ) - (get_local $6) - (i32.lt_s (get_local $6) - (get_local $11) + (i32.lt_s + (get_local $6) + (get_local $11) + ) ) ) ) - ) - (block - (set_local $7 - (get_local $8) - ) - (set_local $5 - (get_local $11) - ) - ) - ) - (set_local $8 - (i32.const 0) - ) - (set_local $9 - (i32.const 4091) - ) - (br $__rjti$8) - ) - (set_local $5 - (i32.load - (get_local $14) - ) - ) - (if - (i32.lt_s - (tee_local $7 - (i32.load offset=4 - (get_local $14) - ) - ) - (i32.const 0) - ) - (block - (i32.store - (get_local $14) - (tee_local $5 - (call $_i64Subtract - (i32.const 0) - (i32.const 0) - (get_local $5) - (get_local $7) + (block + (set_local $7 + (get_local $8) + ) + (set_local $5 + (get_local $11) ) - ) - ) - (i32.store offset=4 - (get_local $14) - (tee_local $7 - (get_global $tempRet0) ) ) (set_local $8 - (i32.const 1) + (i32.const 0) ) (set_local $9 (i32.const 4091) ) - (br $__rjti$4) + (br $__rjti$8) ) - ) - (set_local $9 - (if (result i32) - (i32.and - (get_local $11) - (i32.const 2048) + (set_local $5 + (i32.load + (get_local $14) ) - (block (result i32) - (set_local $8 - (i32.const 1) + ) + (if + (i32.lt_s + (tee_local $7 + (i32.load offset=4 + (get_local $14) + ) ) - (i32.const 4092) + (i32.const 0) ) - (block (result i32) - (set_local $8 - (tee_local $9 - (i32.and - (get_local $11) - (i32.const 1) + (block + (i32.store + (get_local $14) + (tee_local $5 + (call $_i64Subtract + (i32.const 0) + (i32.const 0) + (get_local $5) + (get_local $7) ) ) ) - (select - (i32.const 4093) + (i32.store offset=4 + (get_local $14) + (tee_local $7 + (get_global $tempRet0) + ) + ) + (set_local $8 + (i32.const 1) + ) + (set_local $9 (i32.const 4091) - (get_local $9) + ) + (br $__rjti$4) + ) + ) + (set_local $9 + (if (result i32) + (i32.and + (get_local $11) + (i32.const 2048) + ) + (block (result i32) + (set_local $8 + (i32.const 1) + ) + (i32.const 4092) + ) + (block (result i32) + (set_local $8 + (tee_local $9 + (i32.and + (get_local $11) + (i32.const 1) + ) + ) + ) + (select + (i32.const 4093) + (i32.const 4091) + (get_local $9) + ) ) ) ) + (br $__rjti$4) + ) + (set_local $5 + (i32.load + (get_local $14) + ) + ) + (set_local $7 + (i32.load offset=4 + (get_local $14) + ) + ) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) ) (br $__rjti$4) ) - (set_local $5 - (i32.load + (drop + (i32.load offset=4 (get_local $14) ) ) - (set_local $7 - (i32.load offset=4 + (i32.store8 + (get_local $40) + (i32.load (get_local $14) ) ) + (set_local $5 + (get_local $40) + ) + (set_local $11 + (get_local $8) + ) + (set_local $12 + (i32.const 1) + ) (set_local $8 (i32.const 0) ) (set_local $9 (i32.const 4091) ) - (br $__rjti$4) - ) - (drop - (i32.load offset=4 - (get_local $14) + (br $__rjto$8 + (get_local $25) ) ) - (i32.store8 - (get_local $40) - (i32.load - (get_local $14) + (set_local $7 + (call $_strerror + (i32.load + (call $___errno_location) + ) ) ) - (set_local $5 - (get_local $40) - ) - (set_local $11 - (get_local $8) - ) - (set_local $12 - (i32.const 1) - ) - (set_local $8 - (i32.const 0) - ) - (set_local $9 - (i32.const 4091) - ) - (br $__rjto$8 - (get_local $25) - ) + (br $__rjti$5) ) (set_local $7 - (call $_strerror - (i32.load - (call $___errno_location) + (select + (tee_local $5 + (i32.load + (get_local $14) + ) ) + (i32.const 4101) + (get_local $5) ) ) (br $__rjti$5) ) - (set_local $7 - (select - (tee_local $5 - (i32.load - (get_local $14) - ) - ) - (i32.const 4101) - (get_local $5) + (drop + (i32.load offset=4 + (get_local $14) ) ) - (br $__rjti$5) - ) - (drop - (i32.load offset=4 - (get_local $14) + (i32.store + (get_local $41) + (i32.load + (get_local $14) + ) ) - ) - (i32.store - (get_local $41) - (i32.load + (i32.store + (get_local $44) + (i32.const 0) + ) + (i32.store (get_local $14) + (get_local $41) ) - ) - (i32.store - (get_local $44) - (i32.const 0) - ) - (i32.store - (get_local $14) - (get_local $41) - ) - (set_local $8 - (i32.const -1) - ) - (br $__rjti$6) - ) - (if - (get_local $6) - (block (set_local $8 - (get_local $6) + (i32.const -1) ) (br $__rjti$6) ) - (block - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (i32.const 0) - (get_local $11) + (if + (get_local $6) + (block + (set_local $8 + (get_local $6) + ) + (br $__rjti$6) ) - (set_local $7 - (i32.const 0) + (block + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (i32.const 0) + (get_local $11) + ) + (br $__rjti$7 + (i32.const 0) + ) ) - (br $__rjti$7) ) ) - ) - (set_local $16 - (f64.load - (get_local $14) + (set_local $16 + (f64.load + (get_local $14) + ) ) - ) - (i32.store - (get_local $20) - (i32.const 0) - ) - (f64.store - (get_global $tempDoublePtr) - (get_local $16) - ) - (drop - (i32.load + (i32.store + (get_local $20) + (i32.const 0) + ) + (f64.store (get_global $tempDoublePtr) + (get_local $16) ) - ) - (set_local $30 - (if (result i32) - (i32.lt_s - (i32.load offset=4 - (get_global $tempDoublePtr) - ) - (i32.const 0) - ) - (block (result i32) - (set_local $26 - (i32.const 1) - ) - (set_local $16 - (f64.neg - (get_local $16) - ) - ) - (i32.const 4108) + (drop + (i32.load + (get_global $tempDoublePtr) ) + ) + (set_local $30 (if (result i32) - (i32.and - (get_local $11) - (i32.const 2048) + (i32.lt_s + (i32.load offset=4 + (get_global $tempDoublePtr) + ) + (i32.const 0) ) (block (result i32) (set_local $26 (i32.const 1) ) - (i32.const 4111) + (set_local $16 + (f64.neg + (get_local $16) + ) + ) + (i32.const 4108) ) - (block (result i32) - (set_local $26 - (tee_local $5 - (i32.and - (get_local $11) - (i32.const 1) - ) + (if (result i32) + (i32.and + (get_local $11) + (i32.const 2048) + ) + (block (result i32) + (set_local $26 + (i32.const 1) ) + (i32.const 4111) ) - (select - (i32.const 4114) - (i32.const 4109) - (get_local $5) + (block (result i32) + (set_local $26 + (tee_local $5 + (i32.and + (get_local $11) + (i32.const 1) + ) + ) + ) + (select + (i32.const 4114) + (i32.const 4109) + (get_local $5) + ) ) ) ) ) - ) - (f64.store - (get_global $tempDoublePtr) - (get_local $16) - ) - (drop - (i32.load + (f64.store (get_global $tempDoublePtr) + (get_local $16) ) - ) - (set_local $7 - (block $do-once49 (result i32) - (if (result i32) - (i32.lt_u - (i32.and - (i32.load offset=4 - (get_global $tempDoublePtr) + (drop + (i32.load + (get_global $tempDoublePtr) + ) + ) + (set_local $7 + (block $do-once49 (result i32) + (if (result i32) + (i32.lt_u + (i32.and + (i32.load offset=4 + (get_global $tempDoublePtr) + ) + (i32.const 2146435072) ) (i32.const 2146435072) ) - (i32.const 2146435072) - ) - (block (result i32) - (if - (tee_local $5 - (f64.ne - (tee_local $23 - (f64.mul - (call $_frexp - (get_local $16) - (get_local $20) + (block (result i32) + (if + (tee_local $5 + (f64.ne + (tee_local $23 + (f64.mul + (call $_frexp + (get_local $16) + (get_local $20) + ) + (f64.const 2) ) - (f64.const 2) ) + (f64.const 0) ) - (f64.const 0) - ) - ) - (i32.store - (get_local $20) - (i32.add - (i32.load - (get_local $20) - ) - (i32.const -1) ) - ) - ) - (if - (i32.eq - (tee_local $24 - (i32.or - (get_local $19) - (i32.const 32) + (i32.store + (get_local $20) + (i32.add + (i32.load + (get_local $20) + ) + (i32.const -1) ) ) - (i32.const 97) ) - (block - (set_local $9 - (select - (i32.add - (get_local $30) - (i32.const 9) - ) - (get_local $30) - (tee_local $13 - (i32.and - (get_local $19) - (i32.const 32) - ) + (if + (i32.eq + (tee_local $24 + (i32.or + (get_local $19) + (i32.const 32) ) ) + (i32.const 97) ) - (set_local $16 - (if (result f64) - (i32.or - (i32.gt_u - (get_local $6) - (i32.const 11) + (block + (set_local $9 + (select + (i32.add + (get_local $30) + (i32.const 9) ) - (i32.eqz - (tee_local $5 - (i32.sub - (i32.const 12) - (get_local $6) - ) + (get_local $30) + (tee_local $13 + (i32.and + (get_local $19) + (i32.const 32) ) ) ) - (get_local $23) - (block (result f64) - (set_local $16 - (f64.const 8) - ) - (loop $while-in54 - (set_local $16 - (f64.mul - (get_local $16) - (f64.const 16) - ) + ) + (set_local $16 + (if (result f64) + (i32.or + (i32.gt_u + (get_local $6) + (i32.const 11) ) - (br_if $while-in54 + (i32.eqz (tee_local $5 - (i32.add - (get_local $5) - (i32.const -1) + (i32.sub + (i32.const 12) + (get_local $6) ) ) ) ) - (if (result f64) - (i32.eq - (i32.load8_s - (get_local $9) - ) - (i32.const 45) + (get_local $23) + (block (result f64) + (set_local $16 + (f64.const 8) ) - (f64.neg - (f64.add - (get_local $16) - (f64.sub - (f64.neg - (get_local $23) - ) + (loop $while-in54 + (set_local $16 + (f64.mul (get_local $16) + (f64.const 16) + ) + ) + (br_if $while-in54 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) ) ) ) - (f64.sub - (f64.add - (get_local $23) + (if (result f64) + (i32.eq + (i32.load8_s + (get_local $9) + ) + (i32.const 45) + ) + (f64.neg + (f64.add + (get_local $16) + (f64.sub + (f64.neg + (get_local $23) + ) + (get_local $16) + ) + ) + ) + (f64.sub + (f64.add + (get_local $23) + (get_local $16) + ) (get_local $16) ) - (get_local $16) ) ) ) ) - ) - (if - (i32.eq - (tee_local $5 - (call $_fmt_u - (tee_local $5 - (select - (i32.sub - (i32.const 0) - (tee_local $7 - (i32.load - (get_local $20) + (if + (i32.eq + (tee_local $5 + (call $_fmt_u + (tee_local $5 + (select + (i32.sub + (i32.const 0) + (tee_local $7 + (i32.load + (get_local $20) + ) ) ) - ) - (get_local $7) - (i32.lt_s (get_local $7) - (i32.const 0) + (i32.lt_s + (get_local $7) + (i32.const 0) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $5) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) + (get_local $33) ) - (get_local $33) ) + (get_local $33) ) - (get_local $33) - ) - (block - (i32.store8 - (get_local $42) - (i32.const 48) - ) - (set_local $5 - (get_local $42) + (block + (i32.store8 + (get_local $42) + (i32.const 48) + ) + (set_local $5 + (get_local $42) + ) ) ) - ) - (set_local $12 - (i32.or - (get_local $26) - (i32.const 2) - ) - ) - (i32.store8 - (i32.add - (get_local $5) - (i32.const -1) - ) - (i32.add - (i32.and - (i32.shr_s - (get_local $7) - (i32.const 31) - ) + (set_local $12 + (i32.or + (get_local $26) (i32.const 2) ) - (i32.const 43) ) - ) - (i32.store8 - (tee_local $8 + (i32.store8 (i32.add (get_local $5) - (i32.const -2) + (i32.const -1) + ) + (i32.add + (i32.and + (i32.shr_s + (get_local $7) + (i32.const 31) + ) + (i32.const 2) + ) + (i32.const 43) ) ) - (i32.add - (get_local $19) - (i32.const 15) + (i32.store8 + (tee_local $8 + (i32.add + (get_local $5) + (i32.const -2) + ) + ) + (i32.add + (get_local $19) + (i32.const 15) + ) ) - ) - (set_local $19 - (i32.lt_s - (get_local $6) - (i32.const 1) + (set_local $19 + (i32.lt_s + (get_local $6) + (i32.const 1) + ) ) - ) - (set_local $18 - (i32.eqz - (i32.and - (get_local $11) - (i32.const 8) + (set_local $18 + (i32.eqz + (i32.and + (get_local $11) + (i32.const 8) + ) ) ) - ) - (set_local $5 - (get_local $22) - ) - (loop $while-in56 - (i32.store8 - (get_local $5) - (i32.or - (i32.load8_u - (i32.add - (tee_local $7 - (call $f64-to-int - (get_local $16) + (set_local $5 + (get_local $22) + ) + (loop $while-in56 + (i32.store8 + (get_local $5) + (i32.or + (i32.load8_u + (i32.add + (tee_local $7 + (call $f64-to-int + (get_local $16) + ) ) + (i32.const 4075) ) - (i32.const 4075) ) + (get_local $13) ) - (get_local $13) ) - ) - (set_local $16 - (f64.mul - (f64.sub - (get_local $16) - (f64.convert_s/i32 - (get_local $7) + (set_local $16 + (f64.mul + (f64.sub + (get_local $16) + (f64.convert_s/i32 + (get_local $7) + ) ) + (f64.const 16) ) - (f64.const 16) ) - ) - (set_local $5 - (block $do-once57 (result i32) - (if (result i32) - (i32.eq - (i32.sub - (tee_local $7 - (i32.add - (get_local $5) - (i32.const 1) + (set_local $5 + (block $do-once57 (result i32) + (if (result i32) + (i32.eq + (i32.sub + (tee_local $7 + (i32.add + (get_local $5) + (i32.const 1) + ) ) + (get_local $37) ) - (get_local $37) + (i32.const 1) ) - (i32.const 1) - ) - (block (result i32) - (drop - (br_if $do-once57 - (get_local $7) - (i32.and - (get_local $18) + (block (result i32) + (drop + (br_if $do-once57 + (get_local $7) (i32.and - (get_local $19) - (f64.eq - (get_local $16) - (f64.const 0) + (get_local $18) + (i32.and + (get_local $19) + (f64.eq + (get_local $16) + (f64.const 0) + ) ) ) ) ) + (i32.store8 + (get_local $7) + (i32.const 46) + ) + (i32.add + (get_local $5) + (i32.const 2) + ) ) - (i32.store8 - (get_local $7) - (i32.const 46) - ) - (i32.add - (get_local $5) - (i32.const 2) - ) + (get_local $7) ) - (get_local $7) ) ) - ) - (br_if $while-in56 - (f64.ne - (get_local $16) - (f64.const 0) + (br_if $while-in56 + (f64.ne + (get_local $16) + (f64.const 0) + ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $7 - (i32.add - (tee_local $6 - (select - (i32.sub - (i32.add - (get_local $47) - (get_local $6) - ) - (get_local $8) - ) - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $7 + (i32.add + (tee_local $6 + (select (i32.sub - (get_local $45) + (i32.add + (get_local $47) + (get_local $6) + ) (get_local $8) ) - (get_local $5) - ) - (i32.and - (i32.ne - (get_local $6) - (i32.const 0) + (i32.add + (i32.sub + (get_local $45) + (get_local $8) + ) + (get_local $5) ) - (i32.lt_s - (i32.add - (get_local $46) - (get_local $5) + (i32.and + (i32.ne + (get_local $6) + (i32.const 0) + ) + (i32.lt_s + (i32.add + (get_local $46) + (get_local $5) + ) + (get_local $6) ) - (get_local $6) ) ) ) + (get_local $12) ) - (get_local $12) ) + (get_local $11) ) - (get_local $11) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $9) + (get_local $12) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $9) - (get_local $12) - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (get_local $15) + (get_local $7) + (i32.xor + (get_local $11) + (i32.const 65536) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $15) - (get_local $7) - (i32.xor - (get_local $11) - (i32.const 65536) - ) - ) - (set_local $5 - (i32.sub - (get_local $5) - (get_local $37) + (set_local $5 + (i32.sub + (get_local $5) + (get_local $37) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $22) + (get_local $5) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $22) - (get_local $5) - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.sub + (get_local $6) + (i32.add + (get_local $5) + (tee_local $5 + (i32.sub + (get_local $27) + (get_local $8) + ) + ) + ) ) + (i32.const 0) + (i32.const 0) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.sub - (get_local $6) - (i32.add - (get_local $5) - (tee_local $5 - (i32.sub - (get_local $27) - (get_local $8) + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) ) + (i32.const 32) ) ) - ) - (i32.const 0) - (i32.const 0) - ) - (if - (i32.eqz - (i32.and - (i32.load + (drop + (call $___fwritex + (get_local $8) + (get_local $5) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $8) - (get_local $5) - (get_local $0) - ) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $7) - (i32.xor - (get_local $11) - (i32.const 8192) - ) - ) - (br $do-once49 - (select + (call $_pad + (get_local $0) + (i32.const 32) (get_local $15) (get_local $7) - (i32.lt_s - (get_local $7) + (i32.xor + (get_local $11) + (i32.const 8192) + ) + ) + (br $do-once49 + (select (get_local $15) + (get_local $7) + (i32.lt_s + (get_local $7) + (get_local $15) + ) ) ) ) ) - ) - (set_local $16 - (if (result f64) - (get_local $5) - (block (result f64) - (i32.store - (get_local $20) - (tee_local $5 - (i32.add - (i32.load - (get_local $20) + (set_local $16 + (if (result f64) + (get_local $5) + (block (result f64) + (i32.store + (get_local $20) + (tee_local $5 + (i32.add + (i32.load + (get_local $20) + ) + (i32.const -28) ) - (i32.const -28) ) ) + (f64.mul + (get_local $23) + (f64.const 268435456) + ) ) - (f64.mul + (block (result f64) + (set_local $5 + (i32.load + (get_local $20) + ) + ) (get_local $23) - (f64.const 268435456) ) ) - (block (result f64) - (set_local $5 - (i32.load - (get_local $20) + ) + (set_local $7 + (tee_local $8 + (select + (get_local $48) + (get_local $49) + (i32.lt_s + (get_local $5) + (i32.const 0) ) ) - (get_local $23) ) ) - ) - (set_local $7 - (tee_local $8 - (select - (get_local $48) - (get_local $49) - (i32.lt_s - (get_local $5) - (i32.const 0) + (loop $while-in60 + (i32.store + (get_local $7) + (tee_local $5 + (call $f64-to-uint + (get_local $16) + ) ) ) - ) - ) - (loop $while-in60 - (i32.store - (get_local $7) - (tee_local $5 - (call $f64-to-uint - (get_local $16) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 4) ) ) - ) - (set_local $7 - (i32.add - (get_local $7) - (i32.const 4) - ) - ) - (br_if $while-in60 - (f64.ne - (tee_local $16 - (f64.mul - (f64.sub - (get_local $16) - (f64.convert_u/i32 - (get_local $5) + (br_if $while-in60 + (f64.ne + (tee_local $16 + (f64.mul + (f64.sub + (get_local $16) + (f64.convert_u/i32 + (get_local $5) + ) ) + (f64.const 1e9) ) - (f64.const 1e9) ) + (f64.const 0) ) - (f64.const 0) ) ) - ) - (if - (i32.gt_s - (tee_local $9 - (i32.load - (get_local $20) + (if + (i32.gt_s + (tee_local $9 + (i32.load + (get_local $20) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $8) - ) - (loop $while-in62 - (set_local $13 - (select - (i32.const 29) - (get_local $9) - (i32.gt_s - (get_local $9) + (block + (set_local $5 + (get_local $8) + ) + (loop $while-in62 + (set_local $13 + (select (i32.const 29) + (get_local $9) + (i32.gt_s + (get_local $9) + (i32.const 29) + ) ) ) - ) - (block $do-once63 - (if - (i32.ge_u - (tee_local $9 - (i32.add - (get_local $7) - (i32.const -4) + (block $do-once63 + (if + (i32.ge_u + (tee_local $9 + (i32.add + (get_local $7) + (i32.const -4) + ) ) + (get_local $5) ) - (get_local $5) - ) - (block - (set_local $12 - (i32.const 0) - ) - (loop $while-in66 - (i32.store - (get_local $9) - (call $___uremdi3 - (tee_local $12 - (call $_i64Add - (call $_bitshift64Shl - (i32.load - (get_local $9) + (block + (set_local $12 + (i32.const 0) + ) + (loop $while-in66 + (i32.store + (get_local $9) + (call $___uremdi3 + (tee_local $12 + (call $_i64Add + (call $_bitshift64Shl + (i32.load + (get_local $9) + ) + (i32.const 0) + (get_local $13) ) + (get_global $tempRet0) + (get_local $12) (i32.const 0) - (get_local $13) ) + ) + (tee_local $18 (get_global $tempRet0) - (get_local $12) - (i32.const 0) ) + (i32.const 1000000000) + (i32.const 0) ) - (tee_local $18 - (get_global $tempRet0) + ) + (set_local $12 + (call $___udivdi3 + (get_local $12) + (get_local $18) + (i32.const 1000000000) + (i32.const 0) + ) + ) + (br_if $while-in66 + (i32.ge_u + (tee_local $9 + (i32.add + (get_local $9) + (i32.const -4) + ) + ) + (get_local $5) ) - (i32.const 1000000000) - (i32.const 0) ) ) - (set_local $12 - (call $___udivdi3 + (br_if $do-once63 + (i32.eqz (get_local $12) - (get_local $18) - (i32.const 1000000000) - (i32.const 0) ) ) - (br_if $while-in66 - (i32.ge_u - (tee_local $9 - (i32.add - (get_local $9) - (i32.const -4) - ) + (i32.store + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -4) ) - (get_local $5) ) - ) - ) - (br_if $do-once63 - (i32.eqz (get_local $12) ) ) - (i32.store - (tee_local $5 - (i32.add - (get_local $5) - (i32.const -4) - ) - ) - (get_local $12) - ) ) ) - ) - (loop $while-in68 - (if - (i32.gt_u - (get_local $7) - (get_local $5) - ) + (loop $while-in68 (if - (i32.eqz - (i32.load - (tee_local $9 - (i32.add - (get_local $7) - (i32.const -4) + (i32.gt_u + (get_local $7) + (get_local $5) + ) + (if + (i32.eqz + (i32.load + (tee_local $9 + (i32.add + (get_local $7) + (i32.const -4) + ) ) ) ) - ) - (block - (set_local $7 - (get_local $9) + (block + (set_local $7 + (get_local $9) + ) + (br $while-in68) ) - (br $while-in68) ) ) ) - ) - (i32.store - (get_local $20) - (tee_local $9 - (i32.sub - (i32.load - (get_local $20) + (i32.store + (get_local $20) + (tee_local $9 + (i32.sub + (i32.load + (get_local $20) + ) + (get_local $13) ) - (get_local $13) ) ) - ) - (br_if $while-in62 - (i32.gt_s - (get_local $9) - (i32.const 0) + (br_if $while-in62 + (i32.gt_s + (get_local $9) + (i32.const 0) + ) ) ) ) - ) - (set_local $5 - (get_local $8) - ) - ) - (set_local $18 - (select - (i32.const 6) - (get_local $6) - (i32.lt_s - (get_local $6) - (i32.const 0) + (set_local $5 + (get_local $8) ) ) - ) - (if - (i32.lt_s - (get_local $9) - (i32.const 0) - ) - (block - (set_local $21 - (i32.add - (call $i32s-div - (i32.add - (get_local $18) - (i32.const 25) - ) - (i32.const 9) - ) - (i32.const 1) - ) - ) - (set_local $31 - (i32.eq - (get_local $24) - (i32.const 102) + (set_local $18 + (select + (i32.const 6) + (get_local $6) + (i32.lt_s + (get_local $6) + (i32.const 0) ) ) - (set_local $6 - (get_local $5) - ) - (set_local $5 - (get_local $7) + ) + (if + (i32.lt_s + (get_local $9) + (i32.const 0) ) - (loop $while-in70 - (set_local $13 - (select - (i32.const 9) - (tee_local $7 - (i32.sub - (i32.const 0) - (get_local $9) + (block + (set_local $21 + (i32.add + (call $i32s-div + (i32.add + (get_local $18) + (i32.const 25) ) - ) - (i32.gt_s - (get_local $7) (i32.const 9) ) + (i32.const 1) ) ) - (block $do-once71 - (if - (i32.lt_u - (get_local $6) - (get_local $5) - ) - (block - (set_local $12 - (i32.add - (i32.shl - (i32.const 1) - (get_local $13) - ) - (i32.const -1) - ) - ) - (set_local $38 - (i32.shr_u - (i32.const 1000000000) - (get_local $13) + (set_local $31 + (i32.eq + (get_local $24) + (i32.const 102) + ) + ) + (set_local $6 + (get_local $5) + ) + (set_local $5 + (get_local $7) + ) + (loop $while-in70 + (set_local $13 + (select + (i32.const 9) + (tee_local $7 + (i32.sub + (i32.const 0) + (get_local $9) ) ) - (set_local $9 - (i32.const 0) + (i32.gt_s + (get_local $7) + (i32.const 9) ) - (set_local $7 + ) + ) + (block $do-once71 + (if + (i32.lt_u (get_local $6) + (get_local $5) ) - (loop $while-in74 - (i32.store - (get_local $7) + (block + (set_local $12 (i32.add - (i32.shr_u - (tee_local $32 - (i32.load - (get_local $7) - ) - ) + (i32.shl + (i32.const 1) (get_local $13) ) - (get_local $9) + (i32.const -1) + ) + ) + (set_local $38 + (i32.shr_u + (i32.const 1000000000) + (get_local $13) ) ) (set_local $9 - (i32.mul - (i32.and - (get_local $32) - (get_local $12) + (i32.const 0) + ) + (set_local $7 + (get_local $6) + ) + (loop $while-in74 + (i32.store + (get_local $7) + (i32.add + (i32.shr_u + (tee_local $32 + (i32.load + (get_local $7) + ) + ) + (get_local $13) + ) + (get_local $9) ) - (get_local $38) ) - ) - (br_if $while-in74 - (i32.lt_u - (tee_local $7 - (i32.add - (get_local $7) - (i32.const 4) + (set_local $9 + (i32.mul + (i32.and + (get_local $32) + (get_local $12) + ) + (get_local $38) + ) + ) + (br_if $while-in74 + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $7) + (i32.const 4) + ) ) + (get_local $5) ) + ) + ) + (set_local $7 + (select + (get_local $6) + (i32.add + (get_local $6) + (i32.const 4) + ) + (i32.load + (get_local $6) + ) + ) + ) + (br_if $do-once71 + (i32.eqz + (get_local $9) + ) + ) + (i32.store + (get_local $5) + (get_local $9) + ) + (set_local $5 + (i32.add (get_local $5) + (i32.const 4) ) ) ) @@ -4813,490 +4838,463 @@ ) ) ) - (br_if $do-once71 - (i32.eqz - (get_local $9) + ) + ) + (set_local $12 + (select + (i32.add + (tee_local $6 + (select + (get_local $8) + (get_local $7) + (get_local $31) + ) + ) + (i32.shl + (get_local $21) + (i32.const 2) ) ) - (i32.store - (get_local $5) - (get_local $9) - ) - (set_local $5 - (i32.add - (get_local $5) - (i32.const 4) + (get_local $5) + (i32.gt_s + (i32.shr_s + (i32.sub + (get_local $5) + (get_local $6) + ) + (i32.const 2) ) + (get_local $21) ) ) - (set_local $7 - (select - (get_local $6) - (i32.add - (get_local $6) - (i32.const 4) - ) + ) + (i32.store + (get_local $20) + (tee_local $9 + (i32.add (i32.load - (get_local $6) + (get_local $20) ) + (get_local $13) ) ) ) - ) - (set_local $12 - (select - (i32.add - (tee_local $6 - (select - (get_local $8) + (set_local $5 + (if (result i32) + (i32.lt_s + (get_local $9) + (i32.const 0) + ) + (block + (set_local $6 (get_local $7) - (get_local $31) ) + (set_local $5 + (get_local $12) + ) + (br $while-in70) ) - (i32.shl - (get_local $21) - (i32.const 2) + (block (result i32) + (set_local $9 + (get_local $12) + ) + (get_local $7) ) ) - (get_local $5) - (i32.gt_s + ) + ) + ) + (set_local $9 + (get_local $7) + ) + ) + (set_local $21 + (get_local $8) + ) + (block $do-once75 + (if + (i32.lt_u + (get_local $5) + (get_local $9) + ) + (block + (set_local $7 + (i32.mul (i32.shr_s (i32.sub + (get_local $21) (get_local $5) - (get_local $6) ) (i32.const 2) ) - (get_local $21) + (i32.const 9) ) ) - ) - (i32.store - (get_local $20) - (tee_local $9 - (i32.add - (i32.load - (get_local $20) + (br_if $do-once75 + (i32.lt_u + (tee_local $12 + (i32.load + (get_local $5) + ) ) - (get_local $13) + (i32.const 10) ) ) - ) - (set_local $5 - (if (result i32) - (i32.lt_s - (get_local $9) - (i32.const 0) - ) - (block - (set_local $6 + (set_local $6 + (i32.const 10) + ) + (loop $while-in78 + (set_local $7 + (i32.add (get_local $7) + (i32.const 1) ) - (set_local $5 - (get_local $12) - ) - (br $while-in70) ) - (block (result i32) - (set_local $9 + (br_if $while-in78 + (i32.ge_u (get_local $12) + (tee_local $6 + (i32.mul + (get_local $6) + (i32.const 10) + ) + ) ) - (get_local $7) ) ) ) - ) - ) - (set_local $9 - (get_local $7) - ) - ) - (set_local $21 - (get_local $8) - ) - (block $do-once75 - (if - (i32.lt_u - (get_local $5) - (get_local $9) - ) - (block (set_local $7 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $21) - (get_local $5) - ) - (i32.const 2) - ) - (i32.const 9) - ) - ) - (br_if $do-once75 - (i32.lt_u - (tee_local $12 - (i32.load - (get_local $5) - ) - ) - (i32.const 10) - ) - ) - (set_local $6 - (i32.const 10) - ) - (loop $while-in78 - (set_local $7 - (i32.add - (get_local $7) - (i32.const 1) - ) - ) - (br_if $while-in78 - (i32.ge_u - (get_local $12) - (tee_local $6 - (i32.mul - (get_local $6) - (i32.const 10) - ) - ) - ) - ) + (i32.const 0) ) ) - (set_local $7 - (i32.const 0) - ) ) - ) - (set_local $5 - (if (result i32) - (i32.lt_s - (tee_local $6 - (i32.add - (i32.sub - (get_local $18) - (select - (get_local $7) - (i32.const 0) - (i32.ne - (get_local $24) - (i32.const 102) + (set_local $5 + (if (result i32) + (i32.lt_s + (tee_local $6 + (i32.add + (i32.sub + (get_local $18) + (select + (get_local $7) + (i32.const 0) + (i32.ne + (get_local $24) + (i32.const 102) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.and - (tee_local $31 - (i32.ne - (get_local $18) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.and + (tee_local $31 + (i32.ne + (get_local $18) + (i32.const 0) + ) ) - ) - (tee_local $38 - (i32.eq - (get_local $24) - (i32.const 103) + (tee_local $38 + (i32.eq + (get_local $24) + (i32.const 103) + ) ) ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) ) ) - ) - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $9) - (get_local $21) - ) - (i32.const 2) - ) - (i32.const 9) - ) - (i32.const -9) - ) - ) - (block (result i32) - (set_local $13 - (call $i32s-div - (tee_local $6 - (i32.add - (get_local $6) - (i32.const 9216) + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $9) + (get_local $21) + ) + (i32.const 2) ) + (i32.const 9) ) - (i32.const 9) + (i32.const -9) ) ) - (if - (i32.lt_s - (tee_local $6 - (i32.add - (i32.rem_s + (block (result i32) + (set_local $13 + (call $i32s-div + (tee_local $6 + (i32.add (get_local $6) - (i32.const 9) + (i32.const 9216) ) - (i32.const 1) ) + (i32.const 9) ) - (i32.const 9) ) - (block - (set_local $12 - (i32.const 10) + (if + (i32.lt_s + (tee_local $6 + (i32.add + (i32.rem_s + (get_local $6) + (i32.const 9) + ) + (i32.const 1) + ) + ) + (i32.const 9) ) - (loop $while-in80 + (block (set_local $12 - (i32.mul - (get_local $12) - (i32.const 10) - ) + (i32.const 10) ) - (br_if $while-in80 - (i32.ne - (tee_local $6 - (i32.add - (get_local $6) - (i32.const 1) + (loop $while-in80 + (set_local $12 + (i32.mul + (get_local $12) + (i32.const 10) + ) + ) + (br_if $while-in80 + (i32.ne + (tee_local $6 + (i32.add + (get_local $6) + (i32.const 1) + ) ) + (i32.const 9) ) - (i32.const 9) ) ) ) + (set_local $12 + (i32.const 10) + ) ) - (set_local $12 - (i32.const 10) - ) - ) - (set_local $13 - (call $i32u-rem - (tee_local $24 - (i32.load - (tee_local $6 - (i32.add + (set_local $13 + (call $i32u-rem + (tee_local $24 + (i32.load + (tee_local $6 (i32.add - (get_local $8) - (i32.shl - (get_local $13) - (i32.const 2) + (i32.add + (get_local $8) + (i32.shl + (get_local $13) + (i32.const 2) + ) ) + (i32.const -4092) ) - (i32.const -4092) ) ) ) + (get_local $12) ) - (get_local $12) ) - ) - (block $do-once81 - (if - (i32.eqz - (i32.and - (tee_local $32 - (i32.eq - (i32.add - (get_local $6) - (i32.const 4) + (block $do-once81 + (if + (i32.eqz + (i32.and + (tee_local $32 + (i32.eq + (i32.add + (get_local $6) + (i32.const 4) + ) + (get_local $9) ) - (get_local $9) ) - ) - (i32.eqz - (get_local $13) + (i32.eqz + (get_local $13) + ) ) ) - ) - (block - (set_local $50 - (call $i32u-div - (get_local $24) - (get_local $12) + (block + (set_local $50 + (call $i32u-div + (get_local $24) + (get_local $12) + ) ) - ) - (set_local $16 - (if (result f64) - (i32.lt_u - (get_local $13) - (tee_local $51 - (call $i32s-div - (get_local $12) - (i32.const 2) + (set_local $16 + (if (result f64) + (i32.lt_u + (get_local $13) + (tee_local $51 + (call $i32s-div + (get_local $12) + (i32.const 2) + ) ) ) - ) - (f64.const 0.5) - (select - (f64.const 1) - (f64.const 1.5) - (i32.and - (get_local $32) - (i32.eq - (get_local $13) - (get_local $51) + (f64.const 0.5) + (select + (f64.const 1) + (f64.const 1.5) + (i32.and + (get_local $32) + (i32.eq + (get_local $13) + (get_local $51) + ) ) ) ) ) - ) - (set_local $23 - (select - (f64.const 9007199254740994) - (f64.const 9007199254740992) - (i32.and - (get_local $50) - (i32.const 1) + (set_local $23 + (select + (f64.const 9007199254740994) + (f64.const 9007199254740992) + (i32.and + (get_local $50) + (i32.const 1) + ) ) ) - ) - (block $do-once83 - (if - (get_local $26) - (block - (br_if $do-once83 - (i32.ne - (i32.load8_s - (get_local $30) + (block $do-once83 + (if + (get_local $26) + (block + (br_if $do-once83 + (i32.ne + (i32.load8_s + (get_local $30) + ) + (i32.const 45) ) - (i32.const 45) ) - ) - (set_local $23 - (f64.neg - (get_local $23) + (set_local $23 + (f64.neg + (get_local $23) + ) ) - ) - (set_local $16 - (f64.neg - (get_local $16) + (set_local $16 + (f64.neg + (get_local $16) + ) ) ) ) ) - ) - (i32.store - (get_local $6) - (tee_local $13 - (i32.sub - (get_local $24) - (get_local $13) + (i32.store + (get_local $6) + (tee_local $13 + (i32.sub + (get_local $24) + (get_local $13) + ) ) ) - ) - (br_if $do-once81 - (f64.eq - (f64.add + (br_if $do-once81 + (f64.eq + (f64.add + (get_local $23) + (get_local $16) + ) (get_local $23) - (get_local $16) ) - (get_local $23) ) - ) - (i32.store - (get_local $6) - (tee_local $7 - (i32.add - (get_local $13) - (get_local $12) + (i32.store + (get_local $6) + (tee_local $7 + (i32.add + (get_local $13) + (get_local $12) + ) ) ) - ) - (if - (i32.gt_u - (get_local $7) - (i32.const 999999999) - ) - (loop $while-in86 - (i32.store - (get_local $6) - (i32.const 0) + (if + (i32.gt_u + (get_local $7) + (i32.const 999999999) ) - (if - (i32.lt_u - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -4) + (loop $while-in86 + (i32.store + (get_local $6) + (i32.const 0) + ) + (if + (i32.lt_u + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -4) + ) ) + (get_local $5) + ) + (i32.store + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -4) + ) + ) + (i32.const 0) ) - (get_local $5) ) (i32.store - (tee_local $5 + (get_local $6) + (tee_local $7 (i32.add - (get_local $5) - (i32.const -4) + (i32.load + (get_local $6) + ) + (i32.const 1) ) ) - (i32.const 0) ) - ) - (i32.store - (get_local $6) - (tee_local $7 - (i32.add - (i32.load - (get_local $6) - ) - (i32.const 1) + (br_if $while-in86 + (i32.gt_u + (get_local $7) + (i32.const 999999999) ) ) ) - (br_if $while-in86 - (i32.gt_u - (get_local $7) - (i32.const 999999999) - ) - ) ) - ) - (set_local $7 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $21) - (get_local $5) + (set_local $7 + (i32.mul + (i32.shr_s + (i32.sub + (get_local $21) + (get_local $5) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) ) - ) - (br_if $do-once81 - (i32.lt_u - (tee_local $13 - (i32.load - (get_local $5) + (br_if $do-once81 + (i32.lt_u + (tee_local $13 + (i32.load + (get_local $5) + ) ) + (i32.const 10) ) + ) + (set_local $12 (i32.const 10) ) - ) - (set_local $12 - (i32.const 10) - ) - (loop $while-in88 - (set_local $7 - (i32.add - (get_local $7) - (i32.const 1) + (loop $while-in88 + (set_local $7 + (i32.add + (get_local $7) + (i32.const 1) + ) ) - ) - (br_if $while-in88 - (i32.ge_u - (get_local $13) - (tee_local $12 - (i32.mul - (get_local $12) - (i32.const 10) + (br_if $while-in88 + (i32.ge_u + (get_local $13) + (tee_local $12 + (i32.mul + (get_local $12) + (i32.const 10) + ) ) ) ) @@ -5304,601 +5302,559 @@ ) ) ) - ) - (set_local $12 - (get_local $5) - ) - (set_local $13 - (get_local $7) - ) - (select - (tee_local $5 - (i32.add - (get_local $6) - (i32.const 4) - ) + (set_local $12 + (get_local $5) ) - (get_local $9) - (i32.gt_u + (set_local $13 + (get_local $7) + ) + (select + (tee_local $5 + (i32.add + (get_local $6) + (i32.const 4) + ) + ) (get_local $9) - (get_local $5) + (i32.gt_u + (get_local $9) + (get_local $5) + ) ) ) - ) - (block (result i32) - (set_local $12 - (get_local $5) - ) - (set_local $13 - (get_local $7) + (block (result i32) + (set_local $12 + (get_local $5) + ) + (set_local $13 + (get_local $7) + ) + (get_local $9) ) - (get_local $9) ) ) - ) - (set_local $32 - (i32.sub - (i32.const 0) - (get_local $13) + (set_local $32 + (i32.sub + (i32.const 0) + (get_local $13) + ) ) - ) - (set_local $9 - (loop $while-in90 (result i32) - (block $while-out89 (result i32) - (if - (i32.le_u - (get_local $5) - (get_local $12) - ) - (block - (set_local $24 - (i32.const 0) - ) - (br $while-out89 + (set_local $9 + (loop $while-in90 (result i32) + (block $while-out89 (result i32) + (if + (i32.le_u (get_local $5) + (get_local $12) ) - ) - ) - (if (result i32) - (i32.load - (tee_local $7 - (i32.add + (block + (set_local $24 + (i32.const 0) + ) + (br $while-out89 (get_local $5) - (i32.const -4) ) ) ) - (block (result i32) - (set_local $24 - (i32.const 1) + (if (result i32) + (i32.load + (tee_local $7 + (i32.add + (get_local $5) + (i32.const -4) + ) + ) ) - (get_local $5) - ) - (block - (set_local $5 - (get_local $7) + (block (result i32) + (set_local $24 + (i32.const 1) + ) + (get_local $5) + ) + (block + (set_local $5 + (get_local $7) + ) + (br $while-in90) ) - (br $while-in90) ) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $13 - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $13 (i32.add (i32.add (i32.add - (get_local $26) - (i32.const 1) - ) - (tee_local $5 - (block $do-once91 (result i32) - (if (result i32) - (get_local $38) - (block (result i32) - (set_local $7 - (if (result i32) - (i32.and - (i32.gt_s - (tee_local $5 - (i32.add - (i32.xor - (get_local $31) - (i32.const 1) + (i32.add + (get_local $26) + (i32.const 1) + ) + (tee_local $5 + (block $do-once91 (result i32) + (if (result i32) + (get_local $38) + (block (result i32) + (set_local $7 + (if (result i32) + (i32.and + (i32.gt_s + (tee_local $5 + (i32.add + (i32.xor + (get_local $31) + (i32.const 1) + ) + (get_local $18) ) - (get_local $18) ) + (get_local $13) + ) + (i32.gt_s + (get_local $13) + (i32.const -5) ) - (get_local $13) ) - (i32.gt_s - (get_local $13) - (i32.const -5) + (block (result i32) + (set_local $18 + (i32.sub + (i32.add + (get_local $5) + (i32.const -1) + ) + (get_local $13) + ) + ) + (i32.add + (get_local $19) + (i32.const -1) + ) ) - ) - (block (result i32) - (set_local $18 - (i32.sub + (block (result i32) + (set_local $18 (i32.add (get_local $5) (i32.const -1) ) - (get_local $13) ) - ) - (i32.add - (get_local $19) - (i32.const -1) - ) - ) - (block (result i32) - (set_local $18 (i32.add - (get_local $5) - (i32.const -1) + (get_local $19) + (i32.const -2) ) ) - (i32.add - (get_local $19) - (i32.const -2) - ) - ) - ) - ) - (if - (tee_local $5 - (i32.and - (get_local $11) - (i32.const 8) ) ) - (block - (set_local $21 - (get_local $5) + (if + (tee_local $5 + (i32.and + (get_local $11) + (i32.const 8) + ) ) - (br $do-once91 - (get_local $18) + (block + (set_local $21 + (get_local $5) + ) + (br $do-once91 + (get_local $18) + ) ) ) - ) - (block $do-once93 - (if - (get_local $24) - (block - (if - (i32.eqz - (tee_local $19 - (i32.load - (i32.add - (get_local $9) - (i32.const -4) + (block $do-once93 + (if + (get_local $24) + (block + (if + (i32.eqz + (tee_local $19 + (i32.load + (i32.add + (get_local $9) + (i32.const -4) + ) ) ) ) - ) - (block - (set_local $5 - (i32.const 9) - ) - (br $do-once93) - ) - ) - (set_local $5 - (if (result i32) - (call $i32u-rem - (get_local $19) - (i32.const 10) - ) (block (set_local $5 - (i32.const 0) + (i32.const 9) ) (br $do-once93) ) - (block (result i32) - (set_local $6 + ) + (set_local $5 + (if (result i32) + (call $i32u-rem + (get_local $19) (i32.const 10) ) - (i32.const 0) + (block + (set_local $5 + (i32.const 0) + ) + (br $do-once93) + ) + (block (result i32) + (set_local $6 + (i32.const 10) + ) + (i32.const 0) + ) ) ) - ) - (loop $while-in96 - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) + (loop $while-in96 + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) ) - ) - (br_if $while-in96 - (i32.eqz - (call $i32u-rem - (get_local $19) - (tee_local $6 - (i32.mul - (get_local $6) - (i32.const 10) + (br_if $while-in96 + (i32.eqz + (call $i32u-rem + (get_local $19) + (tee_local $6 + (i32.mul + (get_local $6) + (i32.const 10) + ) ) ) ) ) ) ) - ) - (set_local $5 - (i32.const 9) + (set_local $5 + (i32.const 9) + ) ) ) - ) - (set_local $6 - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $9) - (get_local $21) + (set_local $6 + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $9) + (get_local $21) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) - ) - (i32.const -9) - ) - ) - (if (result i32) - (i32.eq - (i32.or - (get_local $7) - (i32.const 32) + (i32.const -9) ) - (i32.const 102) ) - (block (result i32) - (set_local $21 - (i32.const 0) + (if (result i32) + (i32.eq + (i32.or + (get_local $7) + (i32.const 32) + ) + (i32.const 102) ) - (select - (get_local $18) - (tee_local $5 - (select - (i32.const 0) - (tee_local $5 - (i32.sub - (get_local $6) + (block (result i32) + (set_local $21 + (i32.const 0) + ) + (select + (get_local $18) + (tee_local $5 + (select + (i32.const 0) + (tee_local $5 + (i32.sub + (get_local $6) + (get_local $5) + ) + ) + (i32.lt_s (get_local $5) + (i32.const 0) ) ) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) ) - ) - (i32.lt_s - (get_local $18) - (get_local $5) + (i32.lt_s + (get_local $18) + (get_local $5) + ) ) ) - ) - (block (result i32) - (set_local $21 - (i32.const 0) - ) - (select - (get_local $18) - (tee_local $5 - (select - (i32.const 0) - (tee_local $5 - (i32.sub - (i32.add - (get_local $6) - (get_local $13) + (block (result i32) + (set_local $21 + (i32.const 0) + ) + (select + (get_local $18) + (tee_local $5 + (select + (i32.const 0) + (tee_local $5 + (i32.sub + (i32.add + (get_local $6) + (get_local $13) + ) + (get_local $5) ) + ) + (i32.lt_s (get_local $5) + (i32.const 0) ) ) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) ) - ) - (i32.lt_s - (get_local $18) - (get_local $5) + (i32.lt_s + (get_local $18) + (get_local $5) + ) ) ) ) ) - ) - (block (result i32) - (set_local $21 - (i32.and - (get_local $11) - (i32.const 8) + (block (result i32) + (set_local $21 + (i32.and + (get_local $11) + (i32.const 8) + ) ) + (set_local $7 + (get_local $19) + ) + (get_local $18) ) - (set_local $7 - (get_local $19) - ) - (get_local $18) ) ) ) ) - ) - (i32.ne - (tee_local $31 - (i32.or - (get_local $5) - (get_local $21) + (i32.ne + (tee_local $31 + (i32.or + (get_local $5) + (get_local $21) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (if (result i32) - (tee_local $18 - (i32.eq - (i32.or - (get_local $7) - (i32.const 32) + (if (result i32) + (tee_local $18 + (i32.eq + (i32.or + (get_local $7) + (i32.const 32) + ) + (i32.const 102) ) - (i32.const 102) - ) - ) - (block (result i32) - (set_local $19 - (i32.const 0) ) - (select - (get_local $13) - (i32.const 0) - (i32.gt_s + (block (result i32) + (set_local $19 + (i32.const 0) + ) + (select (get_local $13) (i32.const 0) + (i32.gt_s + (get_local $13) + (i32.const 0) + ) ) ) - ) - (block (result i32) - (if - (i32.lt_s - (i32.sub - (get_local $27) - (tee_local $6 - (call $_fmt_u - (tee_local $6 - (select - (get_local $32) - (get_local $13) - (i32.lt_s + (block (result i32) + (if + (i32.lt_s + (i32.sub + (get_local $27) + (tee_local $6 + (call $_fmt_u + (tee_local $6 + (select + (get_local $32) (get_local $13) - (i32.const 0) + (i32.lt_s + (get_local $13) + (i32.const 0) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $6) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $6) + (i32.const 0) + ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) + (get_local $33) ) - (get_local $33) ) ) + (i32.const 2) ) - (i32.const 2) - ) - (loop $while-in98 - (i32.store8 - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + (loop $while-in98 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (br_if $while-in98 + (i32.lt_s + (i32.sub + (get_local $27) + (get_local $6) + ) + (i32.const 2) ) ) - (i32.const 48) ) - (br_if $while-in98 - (i32.lt_s - (i32.sub - (get_local $27) - (get_local $6) + ) + (i32.store8 + (i32.add + (get_local $6) + (i32.const -1) + ) + (i32.add + (i32.and + (i32.shr_s + (get_local $13) + (i32.const 31) ) (i32.const 2) ) + (i32.const 43) ) ) - ) - (i32.store8 - (i32.add - (get_local $6) - (i32.const -1) - ) - (i32.add - (i32.and - (i32.shr_s - (get_local $13) - (i32.const 31) + (i32.store8 + (tee_local $19 + (i32.add + (get_local $6) + (i32.const -2) ) - (i32.const 2) ) - (i32.const 43) + (get_local $7) ) - ) - (i32.store8 - (tee_local $19 - (i32.add - (get_local $6) - (i32.const -2) - ) + (i32.sub + (get_local $27) + (get_local $19) ) - (get_local $7) - ) - (i32.sub - (get_local $27) - (get_local $19) ) ) ) ) + (get_local $11) ) - (get_local $11) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $30) + (get_local $26) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $30) - (get_local $26) - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (get_local $15) + (get_local $13) + (i32.xor + (get_local $11) + (i32.const 65536) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $15) - (get_local $13) - (i32.xor - (get_local $11) - (i32.const 65536) - ) - ) - (block $do-once99 - (if - (get_local $18) - (block - (set_local $6 - (tee_local $12 - (select - (get_local $8) - (get_local $12) - (i32.gt_u - (get_local $12) + (block $do-once99 + (if + (get_local $18) + (block + (set_local $6 + (tee_local $12 + (select (get_local $8) + (get_local $12) + (i32.gt_u + (get_local $12) + (get_local $8) + ) ) ) ) - ) - (loop $while-in102 - (set_local $7 - (call $_fmt_u - (i32.load - (get_local $6) + (loop $while-in102 + (set_local $7 + (call $_fmt_u + (i32.load + (get_local $6) + ) + (i32.const 0) + (get_local $29) ) - (i32.const 0) - (get_local $29) ) - ) - (block $do-once103 - (if - (i32.eq - (get_local $6) - (get_local $12) - ) - (block - (br_if $do-once103 - (i32.ne - (get_local $7) - (get_local $29) - ) - ) - (i32.store8 - (get_local $34) - (i32.const 48) - ) - (set_local $7 - (get_local $34) + (block $do-once103 + (if + (i32.eq + (get_local $6) + (get_local $12) ) - ) - (block - (br_if $do-once103 - (i32.le_u - (get_local $7) - (get_local $22) + (block + (br_if $do-once103 + (i32.ne + (get_local $7) + (get_local $29) + ) ) - ) - (loop $while-in106 (i32.store8 - (tee_local $7 - (i32.add - (get_local $7) - (i32.const -1) - ) - ) + (get_local $34) (i32.const 48) ) - (br_if $while-in106 - (i32.gt_u + (set_local $7 + (get_local $34) + ) + ) + (block + (br_if $do-once103 + (i32.le_u (get_local $7) (get_local $22) ) ) + (loop $while-in106 + (i32.store8 + (tee_local $7 + (i32.add + (get_local $7) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (br_if $while-in106 + (i32.gt_u + (get_local $7) + (get_local $22) + ) + ) + ) ) ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) - ) - ) - (drop - (call $___fwritex - (get_local $7) - (i32.sub - (get_local $43) - (get_local $7) - ) - (get_local $0) - ) - ) - ) - (if - (i32.le_u - (tee_local $7 - (i32.add - (get_local $6) - (i32.const 4) - ) - ) - (get_local $8) - ) - (block - (set_local $6 - (get_local $7) - ) - (br $while-in102) - ) - ) - ) - (block $do-once107 - (if - (get_local $31) - (block - (br_if $do-once107 + (if + (i32.eqz (i32.and (i32.load (get_local $0) @@ -5908,187 +5864,259 @@ ) (drop (call $___fwritex - (i32.const 4143) - (i32.const 1) + (get_local $7) + (i32.sub + (get_local $43) + (get_local $7) + ) (get_local $0) ) ) ) - ) - ) - (if - (i32.and - (i32.gt_s - (get_local $5) - (i32.const 0) - ) - (i32.lt_u - (get_local $7) - (get_local $9) + (if + (i32.le_u + (tee_local $7 + (i32.add + (get_local $6) + (i32.const 4) + ) + ) + (get_local $8) + ) + (block + (set_local $6 + (get_local $7) + ) + (br $while-in102) + ) ) ) - (loop $while-in110 + (block $do-once107 (if - (i32.gt_u - (tee_local $6 - (call $_fmt_u + (get_local $31) + (block + (br_if $do-once107 + (i32.and (i32.load - (get_local $7) + (get_local $0) ) - (i32.const 0) - (get_local $29) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $0) ) ) - (get_local $22) ) - (loop $while-in112 - (i32.store8 + ) + ) + (if + (i32.and + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (i32.lt_u + (get_local $7) + (get_local $9) + ) + ) + (loop $while-in110 + (if + (i32.gt_u (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + (call $_fmt_u + (i32.load + (get_local $7) + ) + (i32.const 0) + (get_local $29) ) ) - (i32.const 48) + (get_local $22) ) - (br_if $while-in112 - (i32.gt_u - (get_local $6) - (get_local $22) + (loop $while-in112 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (br_if $while-in112 + (i32.gt_u + (get_local $6) + (get_local $22) + ) ) ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load - (get_local $0) + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - ) - (drop - (call $___fwritex - (get_local $6) - (select - (i32.const 9) - (get_local $5) - (i32.gt_s - (get_local $5) + (drop + (call $___fwritex + (get_local $6) + (select (i32.const 9) + (get_local $5) + (i32.gt_s + (get_local $5) + (i32.const 9) + ) ) + (get_local $0) ) - (get_local $0) ) ) - ) - (set_local $6 - (i32.add - (get_local $5) - (i32.const -9) + (set_local $6 + (i32.add + (get_local $5) + (i32.const -9) + ) ) - ) - (set_local $5 - (if (result i32) - (i32.and - (i32.gt_s - (get_local $5) - (i32.const 9) - ) - (i32.lt_u - (tee_local $7 - (i32.add - (get_local $7) - (i32.const 4) + (set_local $5 + (if (result i32) + (i32.and + (i32.gt_s + (get_local $5) + (i32.const 9) + ) + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $7) + (i32.const 4) + ) ) + (get_local $9) ) - (get_local $9) ) - ) - (block - (set_local $5 - (get_local $6) + (block + (set_local $5 + (get_local $6) + ) + (br $while-in110) ) - (br $while-in110) + (get_local $6) ) - (get_local $6) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $5) - (i32.const 9) - ) - (i32.const 9) - (i32.const 0) - ) - ) - (block - (set_local $9 - (select - (get_local $9) + (call $_pad + (get_local $0) + (i32.const 48) (i32.add - (get_local $12) - (i32.const 4) + (get_local $5) + (i32.const 9) ) - (get_local $24) + (i32.const 9) + (i32.const 0) ) ) - (if - (i32.gt_s - (get_local $5) - (i32.const -1) - ) - (block - (set_local $18 - (i32.eqz - (get_local $21) + (block + (set_local $9 + (select + (get_local $9) + (i32.add + (get_local $12) + (i32.const 4) ) + (get_local $24) ) - (set_local $6 - (get_local $12) - ) - (set_local $7 + ) + (if + (i32.gt_s (get_local $5) + (i32.const -1) ) - (loop $while-in114 - (if - (i32.eq - (tee_local $5 - (call $_fmt_u - (i32.load - (get_local $6) - ) - (i32.const 0) - (get_local $29) - ) - ) - (get_local $29) - ) - (block - (i32.store8 - (get_local $34) - (i32.const 48) - ) - (set_local $5 - (get_local $34) - ) + (block + (set_local $18 + (i32.eqz + (get_local $21) ) ) - (block $do-once115 + (set_local $6 + (get_local $12) + ) + (set_local $7 + (get_local $5) + ) + (loop $while-in114 (if (i32.eq - (get_local $6) - (get_local $12) + (tee_local $5 + (call $_fmt_u + (i32.load + (get_local $6) + ) + (i32.const 0) + (get_local $29) + ) + ) + (get_local $29) ) (block - (if - (i32.eqz + (i32.store8 + (get_local $34) + (i32.const 48) + ) + (set_local $5 + (get_local $34) + ) + ) + ) + (block $do-once115 + (if + (i32.eq + (get_local $6) + (get_local $12) + ) + (block + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $5) + (i32.const 1) + (get_local $0) + ) + ) + ) + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) + ) + (br_if $do-once115 + (i32.and + (get_local $18) + (i32.lt_s + (get_local $7) + (i32.const 1) + ) + ) + ) + (br_if $do-once115 (i32.and (i32.load (get_local $0) @@ -6098,119 +6126,89 @@ ) (drop (call $___fwritex - (get_local $5) + (i32.const 4143) (i32.const 1) (get_local $0) ) ) ) - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) - ) - ) - (br_if $do-once115 - (i32.and - (get_local $18) - (i32.lt_s - (get_local $7) - (i32.const 1) + (block + (br_if $do-once115 + (i32.le_u + (get_local $5) + (get_local $22) ) ) - ) - (br_if $do-once115 - (i32.and - (i32.load - (get_local $0) + (loop $while-in118 + (i32.store8 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) + ) + (i32.const 48) ) - (i32.const 32) - ) - ) - (drop - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $0) - ) - ) - ) - (block - (br_if $do-once115 - (i32.le_u - (get_local $5) - (get_local $22) - ) - ) - (loop $while-in118 - (i32.store8 - (tee_local $5 - (i32.add + (br_if $while-in118 + (i32.gt_u (get_local $5) - (i32.const -1) + (get_local $22) ) ) - (i32.const 48) - ) - (br_if $while-in118 - (i32.gt_u - (get_local $5) - (get_local $22) - ) ) ) ) ) - ) - (set_local $8 - (i32.sub - (get_local $43) - (get_local $5) + (set_local $8 + (i32.sub + (get_local $43) + (get_local $5) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load - (get_local $0) + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - ) - (drop - (call $___fwritex - (get_local $5) - (select - (get_local $8) - (get_local $7) - (i32.gt_s - (get_local $7) + (drop + (call $___fwritex + (get_local $5) + (select (get_local $8) + (get_local $7) + (i32.gt_s + (get_local $7) + (get_local $8) + ) ) + (get_local $0) ) - (get_local $0) ) ) - ) - (br_if $while-in114 - (i32.and - (i32.lt_u - (tee_local $6 - (i32.add - (get_local $6) - (i32.const 4) + (br_if $while-in114 + (i32.and + (i32.lt_u + (tee_local $6 + (i32.add + (get_local $6) + (i32.const 4) + ) ) + (get_local $9) ) - (get_local $9) - ) - (i32.gt_s - (tee_local $7 - (i32.sub - (get_local $7) - (get_local $8) + (i32.gt_s + (tee_local $7 + (i32.sub + (get_local $7) + (get_local $8) + ) ) + (i32.const -1) ) - (i32.const -1) ) ) ) @@ -6219,524 +6217,514 @@ ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $5) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.add + (get_local $5) + (i32.const 18) + ) (i32.const 18) + (i32.const 0) ) - (i32.const 18) - (i32.const 0) - ) - (br_if $do-once99 - (i32.and - (i32.load - (get_local $0) + (br_if $do-once99 + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - ) - (drop - (call $___fwritex - (get_local $19) - (i32.sub - (get_local $27) + (drop + (call $___fwritex (get_local $19) + (i32.sub + (get_local $27) + (get_local $19) + ) + (get_local $0) ) - (get_local $0) ) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $13) - (i32.xor - (get_local $11) - (i32.const 8192) - ) - ) - (select - (get_local $15) - (get_local $13) - (i32.lt_s + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) (get_local $13) + (i32.xor + (get_local $11) + (i32.const 8192) + ) + ) + (select (get_local $15) + (get_local $13) + (i32.lt_s + (get_local $13) + (get_local $15) + ) ) ) - ) - (block (result i32) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $7 - (i32.add - (tee_local $9 - (select - (i32.const 0) - (get_local $26) - (tee_local $6 - (f64.ne - (get_local $16) - (get_local $16) + (block (result i32) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $7 + (i32.add + (tee_local $9 + (select + (i32.const 0) + (get_local $26) + (tee_local $6 + (f64.ne + (get_local $16) + (get_local $16) + ) ) ) ) + (i32.const 3) ) - (i32.const 3) ) + (get_local $8) ) - (get_local $8) - ) - (if - (i32.eqz - (i32.and - (tee_local $5 - (i32.load - (get_local $0) + (if + (i32.eqz + (i32.and + (tee_local $5 + (i32.load + (get_local $0) + ) ) + (i32.const 32) ) - (i32.const 32) ) - ) - (block - (drop - (call $___fwritex - (get_local $30) - (get_local $9) - (get_local $0) + (block + (drop + (call $___fwritex + (get_local $30) + (get_local $9) + (get_local $0) + ) ) - ) - (set_local $5 - (i32.load - (get_local $0) + (set_local $5 + (i32.load + (get_local $0) + ) ) ) ) - ) - (set_local $6 - (select + (set_local $6 (select - (i32.const 4135) - (i32.const 4139) - (tee_local $8 - (i32.ne - (i32.and - (get_local $19) - (i32.const 32) + (select + (i32.const 4135) + (i32.const 4139) + (tee_local $8 + (i32.ne + (i32.and + (get_local $19) + (i32.const 32) + ) + (i32.const 0) ) - (i32.const 0) ) ) + (select + (i32.const 4127) + (i32.const 4131) + (get_local $8) + ) + (get_local $6) ) - (select - (i32.const 4127) - (i32.const 4131) - (get_local $8) - ) - (get_local $6) ) - ) - (if - (i32.eqz - (i32.and - (get_local $5) - (i32.const 32) + (if + (i32.eqz + (i32.and + (get_local $5) + (i32.const 32) + ) ) - ) - (drop - (call $___fwritex - (get_local $6) - (i32.const 3) - (get_local $0) + (drop + (call $___fwritex + (get_local $6) + (i32.const 3) + (get_local $0) + ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $7) - (i32.xor - (get_local $11) - (i32.const 8192) - ) - ) - (select - (get_local $15) - (get_local $7) - (i32.lt_s + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) (get_local $7) + (i32.xor + (get_local $11) + (i32.const 8192) + ) + ) + (select (get_local $15) + (get_local $7) + (i32.lt_s + (get_local $7) + (get_local $15) + ) ) ) ) ) ) + (set_local $5 + (get_local $10) + ) + (set_local $10 + (get_local $7) + ) + (br $label$continue$L1) ) - (set_local $5 - (get_local $10) + (set_local $12 + (get_local $6) ) - (set_local $10 - (get_local $7) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) + ) + (br $__rjto$8 + (get_local $25) ) - (br $label$continue$L1) - ) - (set_local $12 - (get_local $6) - ) - (set_local $8 - (i32.const 0) ) (set_local $9 - (i32.const 4091) - ) - (br $__rjto$8 - (get_local $25) - ) - ) - (set_local $9 - (i32.and - (get_local $19) - (i32.const 32) + (i32.and + (get_local $19) + (i32.const 32) + ) ) - ) - (if - (i32.or - (tee_local $7 - (i32.load - (get_local $14) + (if + (i32.or + (tee_local $7 + (i32.load + (get_local $14) + ) ) - ) - (tee_local $11 - (i32.load offset=4 - (get_local $14) + (tee_local $11 + (i32.load offset=4 + (get_local $14) + ) ) ) - ) - (block - (set_local $8 - (get_local $25) - ) - (loop $while-in123 - (i32.store8 - (tee_local $8 - (i32.add - (get_local $8) - (i32.const -1) - ) - ) - (i32.or - (i32.load8_u + (block + (set_local $8 + (get_local $25) + ) + (loop $while-in123 + (i32.store8 + (tee_local $8 (i32.add - (i32.and - (get_local $7) - (i32.const 15) + (get_local $8) + (i32.const -1) + ) + ) + (i32.or + (i32.load8_u + (i32.add + (i32.and + (get_local $7) + (i32.const 15) + ) + (i32.const 4075) ) - (i32.const 4075) ) + (get_local $9) ) - (get_local $9) ) - ) - (br_if $while-in123 - (i32.or - (tee_local $7 - (call $_bitshift64Lshr - (get_local $7) - (get_local $11) - (i32.const 4) + (br_if $while-in123 + (i32.or + (tee_local $7 + (call $_bitshift64Lshr + (get_local $7) + (get_local $11) + (i32.const 4) + ) + ) + (tee_local $11 + (get_global $tempRet0) ) - ) - (tee_local $11 - (get_global $tempRet0) ) ) ) (set_local $7 (get_local $8) ) - ) - (set_local $8 - (if (result i32) - (i32.or - (i32.eqz - (i32.and - (get_local $5) - (i32.const 8) - ) - ) - (i32.eqz - (i32.or - (i32.load - (get_local $14) + (set_local $8 + (if (result i32) + (i32.or + (i32.eqz + (i32.and + (get_local $5) + (i32.const 8) ) - (i32.load offset=4 - (get_local $14) + ) + (i32.eqz + (i32.or + (i32.load + (get_local $14) + ) + (i32.load offset=4 + (get_local $14) + ) ) ) ) - ) - (block (result i32) - (set_local $9 - (i32.const 4091) + (block (result i32) + (set_local $9 + (i32.const 4091) + ) + (i32.const 0) ) - (i32.const 0) - ) - (block (result i32) - (set_local $9 - (i32.add - (i32.shr_s - (get_local $19) - (i32.const 4) + (block (result i32) + (set_local $9 + (i32.add + (i32.shr_s + (get_local $19) + (i32.const 4) + ) + (i32.const 4091) ) - (i32.const 4091) ) + (i32.const 2) ) - (i32.const 2) ) ) ) - ) - (block - (set_local $7 - (get_local $25) - ) - (set_local $8 - (i32.const 0) - ) - (set_local $9 - (i32.const 4091) + (block + (set_local $7 + (get_local $25) + ) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) + ) ) ) + (br $__rjti$8) + ) + (set_local $7 + (call $_fmt_u + (get_local $5) + (get_local $7) + (get_local $25) + ) + ) + (set_local $5 + (get_local $11) ) (br $__rjti$8) ) - (set_local $7 - (call $_fmt_u - (get_local $5) - (get_local $7) - (get_local $25) + (set_local $19 + (i32.eqz + (tee_local $13 + (call $_memchr + (get_local $7) + (i32.const 0) + (get_local $6) + ) + ) ) ) - (set_local $5 - (get_local $11) + (set_local $11 + (get_local $8) ) - (br $__rjti$8) - ) - (set_local $19 - (i32.eqz - (tee_local $13 - (call $_memchr - (get_local $7) - (i32.const 0) - (get_local $6) + (set_local $12 + (select + (get_local $6) + (i32.sub + (get_local $13) + (tee_local $5 + (get_local $7) + ) ) + (get_local $19) ) ) - ) - (set_local $11 - (get_local $8) - ) - (set_local $12 - (select - (get_local $6) - (i32.sub - (get_local $13) - (tee_local $5 - (get_local $7) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) + ) + (br $__rjto$8 + (select + (i32.add + (get_local $5) + (get_local $6) ) + (get_local $13) + (get_local $19) ) - (get_local $19) ) ) - (set_local $8 + (set_local $5 (i32.const 0) ) - (set_local $9 - (i32.const 4091) + (set_local $7 + (i32.const 0) ) - (br $__rjto$8 - (select - (i32.add - (get_local $5) - (get_local $6) - ) - (get_local $13) - (get_local $19) + (set_local $6 + (i32.load + (get_local $14) ) ) - ) - (set_local $5 - (i32.const 0) - ) - (set_local $7 - (i32.const 0) - ) - (set_local $6 - (i32.load - (get_local $14) - ) - ) - (loop $while-in125 - (block $while-out124 - (br_if $while-out124 - (i32.eqz - (tee_local $9 - (i32.load - (get_local $6) + (loop $while-in125 + (block $while-out124 + (br_if $while-out124 + (i32.eqz + (tee_local $9 + (i32.load + (get_local $6) + ) ) ) ) - ) - (br_if $while-out124 - (i32.or - (i32.lt_s - (tee_local $7 - (call $_wctomb - (get_local $36) - (get_local $9) + (br_if $while-out124 + (i32.or + (i32.lt_s + (tee_local $7 + (call $_wctomb + (get_local $36) + (get_local $9) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (i32.gt_u - (get_local $7) - (i32.sub - (get_local $8) - (get_local $5) + (i32.gt_u + (get_local $7) + (i32.sub + (get_local $8) + (get_local $5) + ) ) ) ) - ) - (set_local $6 - (i32.add - (get_local $6) - (i32.const 4) + (set_local $6 + (i32.add + (get_local $6) + (i32.const 4) + ) ) - ) - (br_if $while-in125 - (i32.gt_u - (get_local $8) - (tee_local $5 - (i32.add - (get_local $7) - (get_local $5) + (br_if $while-in125 + (i32.gt_u + (get_local $8) + (tee_local $5 + (i32.add + (get_local $7) + (get_local $5) + ) ) ) ) ) ) - ) - (if - (i32.lt_s - (get_local $7) - (i32.const 0) - ) - (block - (set_local $17 - (i32.const -1) - ) - (br $label$break$L1) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $5) - (get_local $11) - ) - (if - (get_local $5) - (block - (set_local $6 + (if + (i32.lt_s + (get_local $7) (i32.const 0) ) - (set_local $7 - (i32.load - (get_local $14) + (block + (set_local $17 + (i32.const -1) ) + (br $label$break$L1) ) - (loop $while-in127 - (if - (i32.eqz - (tee_local $8 - (i32.load - (get_local $7) - ) - ) - ) - (block - (set_local $7 - (get_local $5) - ) - (br $__rjti$7) + ) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (get_local $5) + (get_local $11) + ) + (if (result i32) + (get_local $5) + (block (result i32) + (set_local $6 + (i32.const 0) + ) + (set_local $7 + (i32.load + (get_local $14) ) ) - (if - (i32.gt_s - (tee_local $6 - (i32.add + (loop $while-in127 + (drop + (br_if $__rjti$7 + (get_local $5) + (i32.eqz (tee_local $8 - (call $_wctomb - (get_local $36) - (get_local $8) + (i32.load + (get_local $7) ) ) - (get_local $6) ) ) - (get_local $5) ) - (block - (set_local $7 + (drop + (br_if $__rjti$7 (get_local $5) + (i32.gt_s + (tee_local $6 + (i32.add + (tee_local $8 + (call $_wctomb + (get_local $36) + (get_local $8) + ) + ) + (get_local $6) + ) + ) + (get_local $5) + ) ) - (br $__rjti$7) ) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $36) + (get_local $8) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $36) - (get_local $8) - (get_local $0) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 4) ) ) - ) - (set_local $7 - (i32.add - (get_local $7) - (i32.const 4) - ) - ) - (br_if $while-in127 - (i32.lt_u - (get_local $6) - (get_local $5) + (br_if $while-in127 + (i32.lt_u + (get_local $6) + (get_local $5) + ) ) ) - (set_local $7 - (get_local $5) - ) + (get_local $5) ) - ) - (set_local $7 (i32.const 0) ) ) @@ -9461,12 +9449,12 @@ ) ) ) - (set_local $4 - (get_local $0) - ) - (set_local $3 - (get_local $1) - ) + ) + (set_local $4 + (get_local $0) + ) + (set_local $3 + (get_local $1) ) ) (if (result i32) @@ -11154,9 +11142,9 @@ ) ) ) - (set_local $4 - (i32.const 624) - ) + ) + (set_local $4 + (i32.const 624) ) (br $__rjto$11) ) diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index 05e73e91b..f76c07317 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -288,11 +288,11 @@ (i32.const 87) ) ) - (set_local $1 - (i32.const 87) - ) - (br $__rjti$1) ) + (set_local $1 + (i32.const 87) + ) + (br $__rjti$1) ) (br_if $__rjti$1 (get_local $1) @@ -1954,9 +1954,9 @@ ) ) ) - (set_local $0 - (i32.const 0) - ) + ) + (set_local $0 + (i32.const 0) ) ) ) @@ -2528,104 +2528,101 @@ ) ) ) - (block $label$break$L25 - (if - (i32.eq - (i32.and - (tee_local $11 - (i32.shr_s - (i32.shl - (get_local $6) + (set_local $1 + (block $label$break$L25 (result i32) + (if (result i32) + (i32.eq + (i32.and + (tee_local $11 + (i32.shr_s + (i32.shl + (get_local $6) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) ) + (i32.const -32) ) - (i32.const -32) - ) - (i32.const 32) - ) - (block - (set_local $1 - (get_local $6) - ) - (set_local $6 - (get_local $11) - ) - (set_local $11 - (i32.const 0) + (i32.const 32) ) - (loop $while-in4 - (if - (i32.eqz - (i32.and - (i32.shl - (i32.const 1) - (i32.add - (get_local $6) - (i32.const -32) + (block (result i32) + (set_local $1 + (get_local $6) + ) + (set_local $6 + (get_local $11) + ) + (set_local $11 + (i32.const 0) + ) + (loop $while-in4 + (if + (i32.eqz + (i32.and + (i32.shl + (i32.const 1) + (i32.add + (get_local $6) + (i32.const -32) + ) ) + (i32.const 75913) ) - (i32.const 75913) ) - ) - (block - (set_local $6 - (get_local $1) - ) - (set_local $1 - (get_local $11) + (block + (set_local $6 + (get_local $1) + ) + (br $label$break$L25 + (get_local $11) + ) ) - (br $label$break$L25) ) - ) - (set_local $11 - (i32.or - (i32.shl - (i32.const 1) - (i32.add - (i32.shr_s - (i32.shl - (get_local $1) + (set_local $11 + (i32.or + (i32.shl + (i32.const 1) + (i32.add + (i32.shr_s + (i32.shl + (get_local $1) + (i32.const 24) + ) (i32.const 24) ) - (i32.const 24) + (i32.const -32) ) - (i32.const -32) ) + (get_local $11) ) - (get_local $11) ) - ) - (br_if $while-in4 - (i32.eq - (i32.and - (tee_local $6 - (tee_local $1 - (i32.load8_s - (tee_local $10 - (i32.add - (get_local $10) - (i32.const 1) + (br_if $while-in4 + (i32.eq + (i32.and + (tee_local $6 + (tee_local $1 + (i32.load8_s + (tee_local $10 + (i32.add + (get_local $10) + (i32.const 1) + ) ) ) ) ) + (i32.const -32) ) - (i32.const -32) + (i32.const 32) ) - (i32.const 32) ) ) (set_local $6 (get_local $1) ) - (set_local $1 - (get_local $11) - ) + (get_local $11) ) - ) - (set_local $1 (i32.const 0) ) ) @@ -3305,67 +3302,82 @@ (set_local $7 (block $__rjto$8 (result i32) (block $__rjti$8 - (block $__rjti$7 - (block $__rjti$6 - (block $__rjti$5 - (block $__rjti$4 - (block $__rjti$3 - (block $switch-default120 - (block $switch-case42 - (block $switch-case41 - (block $switch-case40 - (block $switch-case39 - (block $switch-case38 - (block $switch-case37 - (block $switch-case36 - (block $switch-case34 - (block $switch-case33 - (block $switch-case29 - (block $switch-case28 - (block $switch-case27 - (br_table $switch-case42 $switch-default120 $switch-case40 $switch-default120 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case41 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case29 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case42 $switch-default120 $switch-case37 $switch-case34 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-case34 $switch-default120 $switch-default120 $switch-default120 $switch-case38 $switch-case27 $switch-case33 $switch-case28 $switch-default120 $switch-default120 $switch-case39 $switch-default120 $switch-case36 $switch-default120 $switch-default120 $switch-case29 $switch-default120 - (i32.sub - (tee_local $19 - (select - (i32.and - (tee_local $12 - (i32.load8_s - (get_local $19) + (set_local $7 + (block $__rjti$7 (result i32) + (block $__rjti$6 + (block $__rjti$5 + (block $__rjti$4 + (block $__rjti$3 + (block $switch-default120 + (block $switch-case42 + (block $switch-case41 + (block $switch-case40 + (block $switch-case39 + (block $switch-case38 + (block $switch-case37 + (block $switch-case36 + (block $switch-case34 + (block $switch-case33 + (block $switch-case29 + (block $switch-case28 + (block $switch-case27 + (br_table $switch-case42 $switch-default120 $switch-case40 $switch-default120 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case41 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case29 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case42 $switch-default120 $switch-case37 $switch-case34 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-case34 $switch-default120 $switch-default120 $switch-default120 $switch-case38 $switch-case27 $switch-case33 $switch-case28 $switch-default120 $switch-default120 $switch-case39 $switch-default120 $switch-case36 $switch-default120 $switch-default120 $switch-case29 $switch-default120 + (i32.sub + (tee_local $19 + (select + (i32.and + (tee_local $12 + (i32.load8_s + (get_local $19) + ) ) + (i32.const -33) ) - (i32.const -33) - ) - (get_local $12) - (i32.and - (i32.ne - (get_local $9) - (i32.const 0) - ) - (i32.eq - (i32.and - (get_local $12) - (i32.const 15) + (get_local $12) + (i32.and + (i32.ne + (get_local $9) + (i32.const 0) + ) + (i32.eq + (i32.and + (get_local $12) + (i32.const 15) + ) + (i32.const 3) ) - (i32.const 3) ) ) ) + (i32.const 65) ) - (i32.const 65) ) ) - ) - (block $switch-default26 - (block $switch-case25 - (block $switch-case24 - (block $switch-case23 - (block $switch-case22 - (block $switch-case21 - (block $switch-case20 - (block $switch-case19 - (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26 - (get_local $9) + (block $switch-default26 + (block $switch-case25 + (block $switch-case24 + (block $switch-case23 + (block $switch-case22 + (block $switch-case21 + (block $switch-case20 + (block $switch-case19 + (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26 + (get_local $9) + ) ) + (i32.store + (i32.load + (get_local $14) + ) + (get_local $17) + ) + (set_local $5 + (get_local $10) + ) + (set_local $10 + (get_local $7) + ) + (br $label$continue$L1) ) (i32.store (i32.load @@ -3382,11 +3394,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $14) + (tee_local $5 + (i32.load + (get_local $14) + ) ) (get_local $17) ) + (i32.store offset=4 + (get_local $5) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $17) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $5 (get_local $10) ) @@ -3395,27 +3422,12 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $5 - (i32.load - (get_local $14) - ) + (i32.store16 + (i32.load + (get_local $14) ) (get_local $17) ) - (i32.store offset=4 - (get_local $5) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $17) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) - ) - ) (set_local $5 (get_local $10) ) @@ -3424,7 +3436,7 @@ ) (br $label$continue$L1) ) - (i32.store16 + (i32.store8 (i32.load (get_local $14) ) @@ -3438,7 +3450,7 @@ ) (br $label$continue$L1) ) - (i32.store8 + (i32.store (i32.load (get_local $14) ) @@ -3453,11 +3465,26 @@ (br $label$continue$L1) ) (i32.store - (i32.load - (get_local $14) + (tee_local $5 + (i32.load + (get_local $14) + ) ) (get_local $17) ) + (i32.store offset=4 + (get_local $5) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $17) + (i32.const 0) + ) + (i32.const 31) + ) + (i32.const 31) + ) + ) (set_local $5 (get_local $10) ) @@ -3466,27 +3493,6 @@ ) (br $label$continue$L1) ) - (i32.store - (tee_local $5 - (i32.load - (get_local $14) - ) - ) - (get_local $17) - ) - (i32.store offset=4 - (get_local $5) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $17) - (i32.const 0) - ) - (i32.const 31) - ) - (i32.const 31) - ) - ) (set_local $5 (get_local $10) ) @@ -3496,220 +3502,235 @@ (br $label$continue$L1) ) (set_local $5 - (get_local $10) - ) - (set_local $10 - (get_local $7) - ) - (br $label$continue$L1) - ) - (set_local $5 - (i32.or - (get_local $11) - (i32.const 8) + (i32.or + (get_local $11) + (i32.const 8) + ) ) - ) - (set_local $6 - (select - (get_local $6) - (i32.const 8) - (i32.gt_u + (set_local $6 + (select (get_local $6) (i32.const 8) + (i32.gt_u + (get_local $6) + (i32.const 8) + ) ) ) + (set_local $19 + (i32.const 120) + ) + (br $__rjti$3) ) - (set_local $19 - (i32.const 120) + (set_local $5 + (get_local $11) ) (br $__rjti$3) ) - (set_local $5 - (get_local $11) - ) - (br $__rjti$3) - ) - (if - (i32.or - (tee_local $5 - (i32.load - (get_local $14) + (if + (i32.or + (tee_local $5 + (i32.load + (get_local $14) + ) ) - ) - (tee_local $7 - (i32.load offset=4 - (get_local $14) + (tee_local $7 + (i32.load offset=4 + (get_local $14) + ) ) ) - ) - (block - (set_local $8 - (get_local $25) - ) - (loop $while-in32 - (i32.store8 - (tee_local $8 - (i32.add - (get_local $8) - (i32.const -1) - ) - ) - (i32.or - (i32.and - (get_local $5) - (i32.const 7) - ) - (i32.const 48) - ) + (block + (set_local $8 + (get_local $25) ) - (br_if $while-in32 - (i32.or - (tee_local $5 - (call $_bitshift64Lshr + (loop $while-in32 + (i32.store8 + (tee_local $8 + (i32.add + (get_local $8) + (i32.const -1) + ) + ) + (i32.or + (i32.and (get_local $5) - (get_local $7) - (i32.const 3) + (i32.const 7) ) + (i32.const 48) ) - (tee_local $7 - (get_global $tempRet0) + ) + (br_if $while-in32 + (i32.or + (tee_local $5 + (call $_bitshift64Lshr + (get_local $5) + (get_local $7) + (i32.const 3) + ) + ) + (tee_local $7 + (get_global $tempRet0) + ) ) ) ) ) + (set_local $8 + (get_local $25) + ) ) - (set_local $8 - (get_local $25) - ) - ) - (if - (i32.and - (get_local $11) - (i32.const 8) - ) - (block - (set_local $5 + (if + (i32.and (get_local $11) + (i32.const 8) ) - (set_local $6 - (select - (tee_local $11 - (i32.add - (i32.sub - (get_local $39) - (tee_local $7 - (get_local $8) + (block + (set_local $5 + (get_local $11) + ) + (set_local $6 + (select + (tee_local $11 + (i32.add + (i32.sub + (get_local $39) + (tee_local $7 + (get_local $8) + ) ) + (i32.const 1) ) - (i32.const 1) ) - ) - (get_local $6) - (i32.lt_s (get_local $6) - (get_local $11) + (i32.lt_s + (get_local $6) + (get_local $11) + ) ) ) ) - ) - (block - (set_local $7 - (get_local $8) - ) - (set_local $5 - (get_local $11) - ) - ) - ) - (set_local $8 - (i32.const 0) - ) - (set_local $9 - (i32.const 4091) - ) - (br $__rjti$8) - ) - (set_local $5 - (i32.load - (get_local $14) - ) - ) - (if - (i32.lt_s - (tee_local $7 - (i32.load offset=4 - (get_local $14) - ) - ) - (i32.const 0) - ) - (block - (i32.store - (get_local $14) - (tee_local $5 - (call $_i64Subtract - (i32.const 0) - (i32.const 0) - (get_local $5) - (get_local $7) + (block + (set_local $7 + (get_local $8) + ) + (set_local $5 + (get_local $11) ) - ) - ) - (i32.store offset=4 - (get_local $14) - (tee_local $7 - (get_global $tempRet0) ) ) (set_local $8 - (i32.const 1) + (i32.const 0) ) (set_local $9 (i32.const 4091) ) - (br $__rjti$4) + (br $__rjti$8) ) - ) - (set_local $9 - (if (result i32) - (i32.and - (get_local $11) - (i32.const 2048) + (set_local $5 + (i32.load + (get_local $14) ) - (block (result i32) - (set_local $8 - (i32.const 1) + ) + (if + (i32.lt_s + (tee_local $7 + (i32.load offset=4 + (get_local $14) + ) ) - (i32.const 4092) + (i32.const 0) ) - (block (result i32) - (set_local $8 - (tee_local $9 - (i32.and - (get_local $11) - (i32.const 1) + (block + (i32.store + (get_local $14) + (tee_local $5 + (call $_i64Subtract + (i32.const 0) + (i32.const 0) + (get_local $5) + (get_local $7) ) ) ) - (select - (i32.const 4093) + (i32.store offset=4 + (get_local $14) + (tee_local $7 + (get_global $tempRet0) + ) + ) + (set_local $8 + (i32.const 1) + ) + (set_local $9 (i32.const 4091) - (get_local $9) + ) + (br $__rjti$4) + ) + ) + (set_local $9 + (if (result i32) + (i32.and + (get_local $11) + (i32.const 2048) + ) + (block (result i32) + (set_local $8 + (i32.const 1) + ) + (i32.const 4092) + ) + (block (result i32) + (set_local $8 + (tee_local $9 + (i32.and + (get_local $11) + (i32.const 1) + ) + ) + ) + (select + (i32.const 4093) + (i32.const 4091) + (get_local $9) + ) ) ) ) + (br $__rjti$4) + ) + (set_local $5 + (i32.load + (get_local $14) + ) + ) + (set_local $7 + (i32.load offset=4 + (get_local $14) + ) + ) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) ) (br $__rjti$4) ) - (set_local $5 + (i32.store8 + (get_local $40) (i32.load (get_local $14) ) ) - (set_local $7 - (i32.load offset=4 - (get_local $14) - ) + (set_local $5 + (get_local $40) + ) + (set_local $11 + (get_local $8) + ) + (set_local $12 + (i32.const 1) ) (set_local $8 (i32.const 0) @@ -3717,958 +3738,962 @@ (set_local $9 (i32.const 4091) ) - (br $__rjti$4) - ) - (i32.store8 - (get_local $40) - (i32.load - (get_local $14) + (br $__rjto$8 + (get_local $25) ) ) - (set_local $5 - (get_local $40) - ) - (set_local $11 - (get_local $8) - ) - (set_local $12 - (i32.const 1) - ) - (set_local $8 - (i32.const 0) - ) - (set_local $9 - (i32.const 4091) - ) - (br $__rjto$8 - (get_local $25) + (set_local $7 + (call $_strerror + (i32.load + (call $___errno_location) + ) + ) ) + (br $__rjti$5) ) (set_local $7 - (call $_strerror - (i32.load - (call $___errno_location) + (select + (tee_local $5 + (i32.load + (get_local $14) + ) ) + (i32.const 4101) + (get_local $5) ) ) (br $__rjti$5) ) - (set_local $7 - (select - (tee_local $5 - (i32.load - (get_local $14) - ) - ) - (i32.const 4101) - (get_local $5) + (i32.store + (get_local $41) + (i32.load + (get_local $14) ) ) - (br $__rjti$5) - ) - (i32.store - (get_local $41) - (i32.load + (i32.store + (get_local $44) + (i32.const 0) + ) + (i32.store (get_local $14) + (get_local $41) ) - ) - (i32.store - (get_local $44) - (i32.const 0) - ) - (i32.store - (get_local $14) - (get_local $41) - ) - (set_local $8 - (i32.const -1) - ) - (br $__rjti$6) - ) - (if - (get_local $6) - (block (set_local $8 - (get_local $6) + (i32.const -1) ) (br $__rjti$6) ) - (block - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (i32.const 0) - (get_local $11) + (if + (get_local $6) + (block + (set_local $8 + (get_local $6) + ) + (br $__rjti$6) ) - (set_local $7 - (i32.const 0) + (block + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (i32.const 0) + (get_local $11) + ) + (br $__rjti$7 + (i32.const 0) + ) ) - (br $__rjti$7) ) ) - ) - (set_local $16 - (f64.load - (get_local $14) - ) - ) - (i32.store - (get_local $20) - (i32.const 0) - ) - (f64.store - (get_global $tempDoublePtr) - (get_local $16) - ) - (set_local $30 - (if (result i32) - (i32.lt_s - (i32.load offset=4 - (get_global $tempDoublePtr) - ) - (i32.const 0) - ) - (block (result i32) - (set_local $26 - (i32.const 1) - ) - (set_local $16 - (f64.neg - (get_local $16) - ) - ) - (i32.const 4108) + (set_local $16 + (f64.load + (get_local $14) ) + ) + (i32.store + (get_local $20) + (i32.const 0) + ) + (f64.store + (get_global $tempDoublePtr) + (get_local $16) + ) + (set_local $30 (if (result i32) - (i32.and - (get_local $11) - (i32.const 2048) + (i32.lt_s + (i32.load offset=4 + (get_global $tempDoublePtr) + ) + (i32.const 0) ) (block (result i32) (set_local $26 (i32.const 1) ) - (i32.const 4111) + (set_local $16 + (f64.neg + (get_local $16) + ) + ) + (i32.const 4108) ) - (block (result i32) - (set_local $26 - (tee_local $5 - (i32.and - (get_local $11) - (i32.const 1) - ) + (if (result i32) + (i32.and + (get_local $11) + (i32.const 2048) + ) + (block (result i32) + (set_local $26 + (i32.const 1) ) + (i32.const 4111) ) - (select - (i32.const 4114) - (i32.const 4109) - (get_local $5) + (block (result i32) + (set_local $26 + (tee_local $5 + (i32.and + (get_local $11) + (i32.const 1) + ) + ) + ) + (select + (i32.const 4114) + (i32.const 4109) + (get_local $5) + ) ) ) ) ) - ) - (f64.store - (get_global $tempDoublePtr) - (get_local $16) - ) - (set_local $7 - (block $do-once49 (result i32) - (if (result i32) - (i32.lt_u - (i32.and - (i32.load offset=4 - (get_global $tempDoublePtr) + (f64.store + (get_global $tempDoublePtr) + (get_local $16) + ) + (set_local $7 + (block $do-once49 (result i32) + (if (result i32) + (i32.lt_u + (i32.and + (i32.load offset=4 + (get_global $tempDoublePtr) + ) + (i32.const 2146435072) ) (i32.const 2146435072) ) - (i32.const 2146435072) - ) - (block (result i32) - (if - (tee_local $5 - (f64.ne - (tee_local $23 - (f64.mul - (call $_frexp - (get_local $16) - (get_local $20) + (block (result i32) + (if + (tee_local $5 + (f64.ne + (tee_local $23 + (f64.mul + (call $_frexp + (get_local $16) + (get_local $20) + ) + (f64.const 2) ) - (f64.const 2) ) + (f64.const 0) ) - (f64.const 0) ) - ) - (i32.store - (get_local $20) - (i32.add - (i32.load - (get_local $20) - ) - (i32.const -1) - ) - ) - ) - (if - (i32.eq - (tee_local $24 - (i32.or - (get_local $19) - (i32.const 32) + (i32.store + (get_local $20) + (i32.add + (i32.load + (get_local $20) + ) + (i32.const -1) ) ) - (i32.const 97) ) - (block - (set_local $9 - (select - (i32.add - (get_local $30) - (i32.const 9) - ) - (get_local $30) - (tee_local $13 - (i32.and - (get_local $19) - (i32.const 32) - ) + (if + (i32.eq + (tee_local $24 + (i32.or + (get_local $19) + (i32.const 32) ) ) + (i32.const 97) ) - (set_local $16 - (if (result f64) - (i32.or - (i32.gt_u - (get_local $6) - (i32.const 11) + (block + (set_local $9 + (select + (i32.add + (get_local $30) + (i32.const 9) ) - (i32.eqz - (tee_local $5 - (i32.sub - (i32.const 12) - (get_local $6) - ) + (get_local $30) + (tee_local $13 + (i32.and + (get_local $19) + (i32.const 32) ) ) ) - (get_local $23) - (block (result f64) - (set_local $16 - (f64.const 8) - ) - (loop $while-in54 - (set_local $16 - (f64.mul - (get_local $16) - (f64.const 16) - ) + ) + (set_local $16 + (if (result f64) + (i32.or + (i32.gt_u + (get_local $6) + (i32.const 11) ) - (br_if $while-in54 + (i32.eqz (tee_local $5 - (i32.add - (get_local $5) - (i32.const -1) + (i32.sub + (i32.const 12) + (get_local $6) ) ) ) ) - (select - (f64.neg - (f64.add - (get_local $16) - (f64.sub - (f64.neg - (get_local $23) - ) + (get_local $23) + (block (result f64) + (set_local $16 + (f64.const 8) + ) + (loop $while-in54 + (set_local $16 + (f64.mul (get_local $16) + (f64.const 16) + ) + ) + (br_if $while-in54 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) ) ) ) - (f64.sub - (f64.add - (get_local $23) + (select + (f64.neg + (f64.add + (get_local $16) + (f64.sub + (f64.neg + (get_local $23) + ) + (get_local $16) + ) + ) + ) + (f64.sub + (f64.add + (get_local $23) + (get_local $16) + ) (get_local $16) ) - (get_local $16) - ) - (i32.eq - (i32.load8_s - (get_local $9) + (i32.eq + (i32.load8_s + (get_local $9) + ) + (i32.const 45) ) - (i32.const 45) ) ) ) ) - ) - (if - (i32.eq - (tee_local $5 - (call $_fmt_u - (tee_local $5 - (select - (i32.sub - (i32.const 0) - (tee_local $7 - (i32.load - (get_local $20) + (if + (i32.eq + (tee_local $5 + (call $_fmt_u + (tee_local $5 + (select + (i32.sub + (i32.const 0) + (tee_local $7 + (i32.load + (get_local $20) + ) ) ) - ) - (get_local $7) - (i32.lt_s (get_local $7) - (i32.const 0) + (i32.lt_s + (get_local $7) + (i32.const 0) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $5) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $5) + (i32.const 0) + ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) + (get_local $33) ) - (get_local $33) ) + (get_local $33) ) - (get_local $33) - ) - (block - (i32.store8 - (get_local $42) - (i32.const 48) - ) - (set_local $5 - (get_local $42) + (block + (i32.store8 + (get_local $42) + (i32.const 48) + ) + (set_local $5 + (get_local $42) + ) ) ) - ) - (set_local $12 - (i32.or - (get_local $26) - (i32.const 2) - ) - ) - (i32.store8 - (i32.add - (get_local $5) - (i32.const -1) - ) - (i32.add - (i32.and - (i32.shr_s - (get_local $7) - (i32.const 31) - ) + (set_local $12 + (i32.or + (get_local $26) (i32.const 2) ) - (i32.const 43) ) - ) - (i32.store8 - (tee_local $8 + (i32.store8 (i32.add (get_local $5) - (i32.const -2) + (i32.const -1) + ) + (i32.add + (i32.and + (i32.shr_s + (get_local $7) + (i32.const 31) + ) + (i32.const 2) + ) + (i32.const 43) ) ) - (i32.add - (get_local $19) - (i32.const 15) + (i32.store8 + (tee_local $8 + (i32.add + (get_local $5) + (i32.const -2) + ) + ) + (i32.add + (get_local $19) + (i32.const 15) + ) ) - ) - (set_local $19 - (i32.lt_s - (get_local $6) - (i32.const 1) + (set_local $19 + (i32.lt_s + (get_local $6) + (i32.const 1) + ) ) - ) - (set_local $18 - (i32.eqz - (i32.and - (get_local $11) - (i32.const 8) + (set_local $18 + (i32.eqz + (i32.and + (get_local $11) + (i32.const 8) + ) ) ) - ) - (set_local $5 - (get_local $22) - ) - (loop $while-in56 - (i32.store8 - (get_local $5) - (i32.or - (i32.load8_u - (i32.add - (tee_local $7 - (i32.trunc_s/f64 - (get_local $16) + (set_local $5 + (get_local $22) + ) + (loop $while-in56 + (i32.store8 + (get_local $5) + (i32.or + (i32.load8_u + (i32.add + (tee_local $7 + (i32.trunc_s/f64 + (get_local $16) + ) ) + (i32.const 4075) ) - (i32.const 4075) ) + (get_local $13) ) - (get_local $13) ) - ) - (set_local $16 - (f64.mul - (f64.sub - (get_local $16) - (f64.convert_s/i32 - (get_local $7) + (set_local $16 + (f64.mul + (f64.sub + (get_local $16) + (f64.convert_s/i32 + (get_local $7) + ) ) + (f64.const 16) ) - (f64.const 16) ) - ) - (set_local $5 - (block $do-once57 (result i32) - (if (result i32) - (i32.eq - (i32.sub - (tee_local $7 - (i32.add - (get_local $5) - (i32.const 1) + (set_local $5 + (block $do-once57 (result i32) + (if (result i32) + (i32.eq + (i32.sub + (tee_local $7 + (i32.add + (get_local $5) + (i32.const 1) + ) ) + (get_local $37) ) - (get_local $37) + (i32.const 1) ) - (i32.const 1) - ) - (block (result i32) - (drop - (br_if $do-once57 - (get_local $7) - (i32.and - (get_local $18) + (block (result i32) + (drop + (br_if $do-once57 + (get_local $7) (i32.and - (get_local $19) - (f64.eq - (get_local $16) - (f64.const 0) + (get_local $18) + (i32.and + (get_local $19) + (f64.eq + (get_local $16) + (f64.const 0) + ) ) ) ) ) + (i32.store8 + (get_local $7) + (i32.const 46) + ) + (i32.add + (get_local $5) + (i32.const 2) + ) ) - (i32.store8 - (get_local $7) - (i32.const 46) - ) - (i32.add - (get_local $5) - (i32.const 2) - ) + (get_local $7) ) - (get_local $7) ) ) - ) - (br_if $while-in56 - (f64.ne - (get_local $16) - (f64.const 0) + (br_if $while-in56 + (f64.ne + (get_local $16) + (f64.const 0) + ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $7 - (i32.add - (tee_local $6 - (select - (i32.sub - (i32.add - (get_local $47) - (get_local $6) - ) - (get_local $8) - ) - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $7 + (i32.add + (tee_local $6 + (select (i32.sub - (get_local $45) + (i32.add + (get_local $47) + (get_local $6) + ) (get_local $8) ) - (get_local $5) - ) - (i32.and - (i32.ne - (get_local $6) - (i32.const 0) + (i32.add + (i32.sub + (get_local $45) + (get_local $8) + ) + (get_local $5) ) - (i32.lt_s - (i32.add - (get_local $46) - (get_local $5) + (i32.and + (i32.ne + (get_local $6) + (i32.const 0) + ) + (i32.lt_s + (i32.add + (get_local $46) + (get_local $5) + ) + (get_local $6) ) - (get_local $6) ) ) ) + (get_local $12) ) - (get_local $12) ) + (get_local $11) ) - (get_local $11) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $9) + (get_local $12) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $9) - (get_local $12) - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (get_local $15) + (get_local $7) + (i32.xor + (get_local $11) + (i32.const 65536) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $15) - (get_local $7) - (i32.xor - (get_local $11) - (i32.const 65536) - ) - ) - (set_local $5 - (i32.sub - (get_local $5) - (get_local $37) + (set_local $5 + (i32.sub + (get_local $5) + (get_local $37) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $22) + (get_local $5) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $22) - (get_local $5) - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.sub + (get_local $6) + (i32.add + (get_local $5) + (tee_local $5 + (i32.sub + (get_local $27) + (get_local $8) + ) + ) + ) ) + (i32.const 0) + (i32.const 0) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.sub - (get_local $6) - (i32.add - (get_local $5) - (tee_local $5 - (i32.sub - (get_local $27) - (get_local $8) + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) ) + (i32.const 32) ) ) - ) - (i32.const 0) - (i32.const 0) - ) - (if - (i32.eqz - (i32.and - (i32.load + (drop + (call $___fwritex + (get_local $8) + (get_local $5) (get_local $0) ) - (i32.const 32) - ) - ) - (drop - (call $___fwritex - (get_local $8) - (get_local $5) - (get_local $0) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $7) - (i32.xor - (get_local $11) - (i32.const 8192) - ) - ) - (br $do-once49 - (select + (call $_pad + (get_local $0) + (i32.const 32) (get_local $15) (get_local $7) - (i32.lt_s - (get_local $7) + (i32.xor + (get_local $11) + (i32.const 8192) + ) + ) + (br $do-once49 + (select (get_local $15) + (get_local $7) + (i32.lt_s + (get_local $7) + (get_local $15) + ) ) ) ) ) - ) - (set_local $16 - (if (result f64) - (get_local $5) - (block (result f64) - (i32.store - (get_local $20) - (tee_local $5 - (i32.add - (i32.load - (get_local $20) + (set_local $16 + (if (result f64) + (get_local $5) + (block (result f64) + (i32.store + (get_local $20) + (tee_local $5 + (i32.add + (i32.load + (get_local $20) + ) + (i32.const -28) ) - (i32.const -28) ) ) + (f64.mul + (get_local $23) + (f64.const 268435456) + ) ) - (f64.mul + (block (result f64) + (set_local $5 + (i32.load + (get_local $20) + ) + ) (get_local $23) - (f64.const 268435456) ) ) - (block (result f64) - (set_local $5 - (i32.load - (get_local $20) + ) + (set_local $7 + (tee_local $8 + (select + (get_local $48) + (get_local $49) + (i32.lt_s + (get_local $5) + (i32.const 0) ) ) - (get_local $23) ) ) - ) - (set_local $7 - (tee_local $8 - (select - (get_local $48) - (get_local $49) - (i32.lt_s - (get_local $5) - (i32.const 0) + (loop $while-in60 + (i32.store + (get_local $7) + (tee_local $5 + (i32.trunc_u/f64 + (get_local $16) + ) ) ) - ) - ) - (loop $while-in60 - (i32.store - (get_local $7) - (tee_local $5 - (i32.trunc_u/f64 - (get_local $16) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 4) ) ) - ) - (set_local $7 - (i32.add - (get_local $7) - (i32.const 4) - ) - ) - (br_if $while-in60 - (f64.ne - (tee_local $16 - (f64.mul - (f64.sub - (get_local $16) - (f64.convert_u/i32 - (get_local $5) + (br_if $while-in60 + (f64.ne + (tee_local $16 + (f64.mul + (f64.sub + (get_local $16) + (f64.convert_u/i32 + (get_local $5) + ) ) + (f64.const 1e9) ) - (f64.const 1e9) ) + (f64.const 0) ) - (f64.const 0) ) ) - ) - (if - (i32.gt_s - (tee_local $9 - (i32.load - (get_local $20) + (if + (i32.gt_s + (tee_local $9 + (i32.load + (get_local $20) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $8) - ) - (loop $while-in62 - (set_local $13 - (select - (i32.const 29) - (get_local $9) - (i32.gt_s - (get_local $9) + (block + (set_local $5 + (get_local $8) + ) + (loop $while-in62 + (set_local $13 + (select (i32.const 29) + (get_local $9) + (i32.gt_s + (get_local $9) + (i32.const 29) + ) ) ) - ) - (block $do-once63 - (if - (i32.ge_u - (tee_local $9 - (i32.add - (get_local $7) - (i32.const -4) + (block $do-once63 + (if + (i32.ge_u + (tee_local $9 + (i32.add + (get_local $7) + (i32.const -4) + ) ) + (get_local $5) ) - (get_local $5) - ) - (block - (set_local $12 - (i32.const 0) - ) - (loop $while-in66 - (i32.store - (get_local $9) - (call $___uremdi3 - (tee_local $12 - (call $_i64Add - (call $_bitshift64Shl - (i32.load - (get_local $9) + (block + (set_local $12 + (i32.const 0) + ) + (loop $while-in66 + (i32.store + (get_local $9) + (call $___uremdi3 + (tee_local $12 + (call $_i64Add + (call $_bitshift64Shl + (i32.load + (get_local $9) + ) + (i32.const 0) + (get_local $13) ) + (get_global $tempRet0) + (get_local $12) (i32.const 0) - (get_local $13) ) + ) + (tee_local $18 (get_global $tempRet0) - (get_local $12) - (i32.const 0) ) + (i32.const 1000000000) + (i32.const 0) ) - (tee_local $18 - (get_global $tempRet0) + ) + (set_local $12 + (call $___udivdi3 + (get_local $12) + (get_local $18) + (i32.const 1000000000) + (i32.const 0) + ) + ) + (br_if $while-in66 + (i32.ge_u + (tee_local $9 + (i32.add + (get_local $9) + (i32.const -4) + ) + ) + (get_local $5) ) - (i32.const 1000000000) - (i32.const 0) ) ) - (set_local $12 - (call $___udivdi3 + (br_if $do-once63 + (i32.eqz (get_local $12) - (get_local $18) - (i32.const 1000000000) - (i32.const 0) ) ) - (br_if $while-in66 - (i32.ge_u - (tee_local $9 - (i32.add - (get_local $9) - (i32.const -4) - ) + (i32.store + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -4) ) - (get_local $5) ) - ) - ) - (br_if $do-once63 - (i32.eqz (get_local $12) ) ) - (i32.store - (tee_local $5 - (i32.add - (get_local $5) - (i32.const -4) - ) - ) - (get_local $12) - ) ) ) - ) - (loop $while-in68 - (if - (i32.gt_u - (get_local $7) - (get_local $5) - ) + (loop $while-in68 (if - (i32.eqz - (i32.load - (tee_local $9 - (i32.add - (get_local $7) - (i32.const -4) + (i32.gt_u + (get_local $7) + (get_local $5) + ) + (if + (i32.eqz + (i32.load + (tee_local $9 + (i32.add + (get_local $7) + (i32.const -4) + ) ) ) ) - ) - (block - (set_local $7 - (get_local $9) + (block + (set_local $7 + (get_local $9) + ) + (br $while-in68) ) - (br $while-in68) ) ) ) - ) - (i32.store - (get_local $20) - (tee_local $9 - (i32.sub - (i32.load - (get_local $20) + (i32.store + (get_local $20) + (tee_local $9 + (i32.sub + (i32.load + (get_local $20) + ) + (get_local $13) ) - (get_local $13) ) ) - ) - (br_if $while-in62 - (i32.gt_s - (get_local $9) - (i32.const 0) + (br_if $while-in62 + (i32.gt_s + (get_local $9) + (i32.const 0) + ) ) ) ) - ) - (set_local $5 - (get_local $8) - ) - ) - (set_local $18 - (select - (i32.const 6) - (get_local $6) - (i32.lt_s - (get_local $6) - (i32.const 0) + (set_local $5 + (get_local $8) ) ) - ) - (if - (i32.lt_s - (get_local $9) - (i32.const 0) - ) - (block - (set_local $21 - (i32.add - (i32.div_s - (i32.add - (get_local $18) - (i32.const 25) - ) - (i32.const 9) - ) - (i32.const 1) - ) - ) - (set_local $31 - (i32.eq - (get_local $24) - (i32.const 102) + (set_local $18 + (select + (i32.const 6) + (get_local $6) + (i32.lt_s + (get_local $6) + (i32.const 0) ) ) - (set_local $6 - (get_local $5) - ) - (set_local $5 - (get_local $7) + ) + (if + (i32.lt_s + (get_local $9) + (i32.const 0) ) - (loop $while-in70 - (set_local $13 - (select - (i32.const 9) - (tee_local $7 - (i32.sub - (i32.const 0) - (get_local $9) + (block + (set_local $21 + (i32.add + (i32.div_s + (i32.add + (get_local $18) + (i32.const 25) ) - ) - (i32.gt_s - (get_local $7) (i32.const 9) ) + (i32.const 1) ) ) - (block $do-once71 - (if - (i32.lt_u - (get_local $6) - (get_local $5) - ) - (block - (set_local $12 - (i32.add - (i32.shl - (i32.const 1) - (get_local $13) - ) - (i32.const -1) - ) - ) - (set_local $38 - (i32.shr_u - (i32.const 1000000000) - (get_local $13) + (set_local $31 + (i32.eq + (get_local $24) + (i32.const 102) + ) + ) + (set_local $6 + (get_local $5) + ) + (set_local $5 + (get_local $7) + ) + (loop $while-in70 + (set_local $13 + (select + (i32.const 9) + (tee_local $7 + (i32.sub + (i32.const 0) + (get_local $9) ) ) - (set_local $9 - (i32.const 0) + (i32.gt_s + (get_local $7) + (i32.const 9) ) - (set_local $7 + ) + ) + (block $do-once71 + (if + (i32.lt_u (get_local $6) + (get_local $5) ) - (loop $while-in74 - (i32.store - (get_local $7) + (block + (set_local $12 (i32.add - (i32.shr_u - (tee_local $32 - (i32.load - (get_local $7) - ) - ) + (i32.shl + (i32.const 1) (get_local $13) ) - (get_local $9) + (i32.const -1) + ) + ) + (set_local $38 + (i32.shr_u + (i32.const 1000000000) + (get_local $13) ) ) (set_local $9 - (i32.mul - (i32.and - (get_local $32) - (get_local $12) + (i32.const 0) + ) + (set_local $7 + (get_local $6) + ) + (loop $while-in74 + (i32.store + (get_local $7) + (i32.add + (i32.shr_u + (tee_local $32 + (i32.load + (get_local $7) + ) + ) + (get_local $13) + ) + (get_local $9) ) - (get_local $38) ) - ) - (br_if $while-in74 - (i32.lt_u - (tee_local $7 - (i32.add - (get_local $7) - (i32.const 4) + (set_local $9 + (i32.mul + (i32.and + (get_local $32) + (get_local $12) ) + (get_local $38) + ) + ) + (br_if $while-in74 + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $7) + (i32.const 4) + ) + ) + (get_local $5) + ) + ) + ) + (set_local $7 + (select + (get_local $6) + (i32.add + (get_local $6) + (i32.const 4) + ) + (i32.load + (get_local $6) ) + ) + ) + (br_if $do-once71 + (i32.eqz + (get_local $9) + ) + ) + (i32.store + (get_local $5) + (get_local $9) + ) + (set_local $5 + (i32.add (get_local $5) + (i32.const 4) ) ) ) @@ -4684,484 +4709,457 @@ ) ) ) - (br_if $do-once71 - (i32.eqz - (get_local $9) + ) + ) + (set_local $12 + (select + (i32.add + (tee_local $6 + (select + (get_local $8) + (get_local $7) + (get_local $31) + ) + ) + (i32.shl + (get_local $21) + (i32.const 2) ) ) - (i32.store - (get_local $5) - (get_local $9) - ) - (set_local $5 - (i32.add - (get_local $5) - (i32.const 4) + (get_local $5) + (i32.gt_s + (i32.shr_s + (i32.sub + (get_local $5) + (get_local $6) + ) + (i32.const 2) ) + (get_local $21) ) ) - (set_local $7 - (select - (get_local $6) - (i32.add - (get_local $6) - (i32.const 4) - ) + ) + (i32.store + (get_local $20) + (tee_local $9 + (i32.add (i32.load - (get_local $6) + (get_local $20) ) + (get_local $13) ) ) ) - ) - (set_local $12 - (select - (i32.add - (tee_local $6 - (select - (get_local $8) + (set_local $5 + (if (result i32) + (i32.lt_s + (get_local $9) + (i32.const 0) + ) + (block + (set_local $6 (get_local $7) - (get_local $31) ) + (set_local $5 + (get_local $12) + ) + (br $while-in70) ) - (i32.shl - (get_local $21) - (i32.const 2) + (block (result i32) + (set_local $9 + (get_local $12) + ) + (get_local $7) ) ) - (get_local $5) - (i32.gt_s + ) + ) + ) + (set_local $9 + (get_local $7) + ) + ) + (set_local $21 + (get_local $8) + ) + (block $do-once75 + (if + (i32.lt_u + (get_local $5) + (get_local $9) + ) + (block + (set_local $7 + (i32.mul (i32.shr_s (i32.sub + (get_local $21) (get_local $5) - (get_local $6) ) (i32.const 2) ) - (get_local $21) + (i32.const 9) ) ) - ) - (i32.store - (get_local $20) - (tee_local $9 - (i32.add - (i32.load - (get_local $20) + (br_if $do-once75 + (i32.lt_u + (tee_local $12 + (i32.load + (get_local $5) + ) ) - (get_local $13) + (i32.const 10) ) ) - ) - (set_local $5 - (if (result i32) - (i32.lt_s - (get_local $9) - (i32.const 0) - ) - (block - (set_local $6 + (set_local $6 + (i32.const 10) + ) + (loop $while-in78 + (set_local $7 + (i32.add (get_local $7) + (i32.const 1) ) - (set_local $5 - (get_local $12) - ) - (br $while-in70) ) - (block (result i32) - (set_local $9 + (br_if $while-in78 + (i32.ge_u (get_local $12) + (tee_local $6 + (i32.mul + (get_local $6) + (i32.const 10) + ) + ) ) - (get_local $7) ) ) ) - ) - ) - (set_local $9 - (get_local $7) - ) - ) - (set_local $21 - (get_local $8) - ) - (block $do-once75 - (if - (i32.lt_u - (get_local $5) - (get_local $9) - ) - (block (set_local $7 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $21) - (get_local $5) - ) - (i32.const 2) - ) - (i32.const 9) - ) - ) - (br_if $do-once75 - (i32.lt_u - (tee_local $12 - (i32.load - (get_local $5) - ) - ) - (i32.const 10) - ) - ) - (set_local $6 - (i32.const 10) - ) - (loop $while-in78 - (set_local $7 - (i32.add - (get_local $7) - (i32.const 1) - ) - ) - (br_if $while-in78 - (i32.ge_u - (get_local $12) - (tee_local $6 - (i32.mul - (get_local $6) - (i32.const 10) - ) - ) - ) - ) + (i32.const 0) ) ) - (set_local $7 - (i32.const 0) - ) ) - ) - (set_local $5 - (if (result i32) - (i32.lt_s - (tee_local $6 - (i32.add - (i32.sub - (get_local $18) - (select - (get_local $7) - (i32.const 0) - (i32.ne - (get_local $24) - (i32.const 102) + (set_local $5 + (if (result i32) + (i32.lt_s + (tee_local $6 + (i32.add + (i32.sub + (get_local $18) + (select + (get_local $7) + (i32.const 0) + (i32.ne + (get_local $24) + (i32.const 102) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.and - (tee_local $31 - (i32.ne - (get_local $18) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.and + (tee_local $31 + (i32.ne + (get_local $18) + (i32.const 0) + ) ) - ) - (tee_local $38 - (i32.eq - (get_local $24) - (i32.const 103) + (tee_local $38 + (i32.eq + (get_local $24) + (i32.const 103) + ) ) ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) ) ) - ) - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $9) - (get_local $21) + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $9) + (get_local $21) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) + (i32.const -9) ) - (i32.const -9) ) - ) - (block (result i32) - (if - (i32.lt_s - (tee_local $6 - (i32.add - (i32.rem_s - (tee_local $13 - (i32.add - (get_local $6) - (i32.const 9216) + (block (result i32) + (if + (i32.lt_s + (tee_local $6 + (i32.add + (i32.rem_s + (tee_local $13 + (i32.add + (get_local $6) + (i32.const 9216) + ) ) + (i32.const 9) ) - (i32.const 9) + (i32.const 1) ) - (i32.const 1) ) + (i32.const 9) ) - (i32.const 9) - ) - (block - (set_local $12 - (i32.const 10) - ) - (loop $while-in80 + (block (set_local $12 - (i32.mul - (get_local $12) - (i32.const 10) - ) + (i32.const 10) ) - (br_if $while-in80 - (i32.ne - (tee_local $6 - (i32.add - (get_local $6) - (i32.const 1) + (loop $while-in80 + (set_local $12 + (i32.mul + (get_local $12) + (i32.const 10) + ) + ) + (br_if $while-in80 + (i32.ne + (tee_local $6 + (i32.add + (get_local $6) + (i32.const 1) + ) ) + (i32.const 9) ) - (i32.const 9) ) ) ) + (set_local $12 + (i32.const 10) + ) ) - (set_local $12 - (i32.const 10) - ) - ) - (set_local $13 - (i32.rem_u - (tee_local $24 - (i32.load - (tee_local $6 - (i32.add + (set_local $13 + (i32.rem_u + (tee_local $24 + (i32.load + (tee_local $6 (i32.add - (get_local $8) - (i32.shl - (i32.div_s - (get_local $13) - (i32.const 9) + (i32.add + (get_local $8) + (i32.shl + (i32.div_s + (get_local $13) + (i32.const 9) + ) + (i32.const 2) ) - (i32.const 2) ) + (i32.const -4092) ) - (i32.const -4092) ) ) ) + (get_local $12) ) - (get_local $12) ) - ) - (block $do-once81 - (if - (i32.eqz - (i32.and - (tee_local $32 - (i32.eq - (i32.add - (get_local $6) - (i32.const 4) + (block $do-once81 + (if + (i32.eqz + (i32.and + (tee_local $32 + (i32.eq + (i32.add + (get_local $6) + (i32.const 4) + ) + (get_local $9) ) - (get_local $9) ) - ) - (i32.eqz - (get_local $13) + (i32.eqz + (get_local $13) + ) ) ) - ) - (block - (set_local $16 - (if (result f64) - (i32.lt_u - (get_local $13) - (tee_local $50 - (i32.div_s - (get_local $12) - (i32.const 2) + (block + (set_local $16 + (if (result f64) + (i32.lt_u + (get_local $13) + (tee_local $50 + (i32.div_s + (get_local $12) + (i32.const 2) + ) ) ) - ) - (f64.const 0.5) - (select - (f64.const 1) - (f64.const 1.5) - (i32.and - (get_local $32) - (i32.eq - (get_local $13) - (get_local $50) + (f64.const 0.5) + (select + (f64.const 1) + (f64.const 1.5) + (i32.and + (get_local $32) + (i32.eq + (get_local $13) + (get_local $50) + ) ) ) ) ) - ) - (set_local $23 - (select - (f64.const 9007199254740994) - (f64.const 9007199254740992) - (i32.and - (i32.div_u - (get_local $24) - (get_local $12) + (set_local $23 + (select + (f64.const 9007199254740994) + (f64.const 9007199254740992) + (i32.and + (i32.div_u + (get_local $24) + (get_local $12) + ) + (i32.const 1) ) - (i32.const 1) ) ) - ) - (block $do-once83 - (if - (get_local $26) - (block - (br_if $do-once83 - (i32.ne - (i32.load8_s - (get_local $30) + (block $do-once83 + (if + (get_local $26) + (block + (br_if $do-once83 + (i32.ne + (i32.load8_s + (get_local $30) + ) + (i32.const 45) ) - (i32.const 45) ) - ) - (set_local $23 - (f64.neg - (get_local $23) + (set_local $23 + (f64.neg + (get_local $23) + ) ) - ) - (set_local $16 - (f64.neg - (get_local $16) + (set_local $16 + (f64.neg + (get_local $16) + ) ) ) ) ) - ) - (i32.store - (get_local $6) - (tee_local $13 - (i32.sub - (get_local $24) - (get_local $13) + (i32.store + (get_local $6) + (tee_local $13 + (i32.sub + (get_local $24) + (get_local $13) + ) ) ) - ) - (br_if $do-once81 - (f64.eq - (f64.add + (br_if $do-once81 + (f64.eq + (f64.add + (get_local $23) + (get_local $16) + ) (get_local $23) - (get_local $16) ) - (get_local $23) ) - ) - (i32.store - (get_local $6) - (tee_local $7 - (i32.add - (get_local $13) - (get_local $12) + (i32.store + (get_local $6) + (tee_local $7 + (i32.add + (get_local $13) + (get_local $12) + ) ) ) - ) - (if - (i32.gt_u - (get_local $7) - (i32.const 999999999) - ) - (loop $while-in86 - (i32.store - (get_local $6) - (i32.const 0) + (if + (i32.gt_u + (get_local $7) + (i32.const 999999999) ) - (if - (i32.lt_u - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -4) + (loop $while-in86 + (i32.store + (get_local $6) + (i32.const 0) + ) + (if + (i32.lt_u + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -4) + ) ) + (get_local $5) + ) + (i32.store + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -4) + ) + ) + (i32.const 0) ) - (get_local $5) ) (i32.store - (tee_local $5 + (get_local $6) + (tee_local $7 (i32.add - (get_local $5) - (i32.const -4) + (i32.load + (get_local $6) + ) + (i32.const 1) ) ) - (i32.const 0) ) - ) - (i32.store - (get_local $6) - (tee_local $7 - (i32.add - (i32.load - (get_local $6) - ) - (i32.const 1) + (br_if $while-in86 + (i32.gt_u + (get_local $7) + (i32.const 999999999) ) ) ) - (br_if $while-in86 - (i32.gt_u - (get_local $7) - (i32.const 999999999) - ) - ) ) - ) - (set_local $7 - (i32.mul - (i32.shr_s - (i32.sub - (get_local $21) - (get_local $5) + (set_local $7 + (i32.mul + (i32.shr_s + (i32.sub + (get_local $21) + (get_local $5) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) ) - ) - (br_if $do-once81 - (i32.lt_u - (tee_local $13 - (i32.load - (get_local $5) + (br_if $do-once81 + (i32.lt_u + (tee_local $13 + (i32.load + (get_local $5) + ) ) + (i32.const 10) ) + ) + (set_local $12 (i32.const 10) ) - ) - (set_local $12 - (i32.const 10) - ) - (loop $while-in88 - (set_local $7 - (i32.add - (get_local $7) - (i32.const 1) + (loop $while-in88 + (set_local $7 + (i32.add + (get_local $7) + (i32.const 1) + ) ) - ) - (br_if $while-in88 - (i32.ge_u - (get_local $13) - (tee_local $12 - (i32.mul - (get_local $12) - (i32.const 10) + (br_if $while-in88 + (i32.ge_u + (get_local $13) + (tee_local $12 + (i32.mul + (get_local $12) + (i32.const 10) + ) ) ) ) @@ -5169,601 +5167,559 @@ ) ) ) - ) - (set_local $12 - (get_local $5) - ) - (set_local $13 - (get_local $7) - ) - (select - (tee_local $5 - (i32.add - (get_local $6) - (i32.const 4) - ) + (set_local $12 + (get_local $5) ) - (get_local $9) - (i32.gt_u + (set_local $13 + (get_local $7) + ) + (select + (tee_local $5 + (i32.add + (get_local $6) + (i32.const 4) + ) + ) (get_local $9) - (get_local $5) + (i32.gt_u + (get_local $9) + (get_local $5) + ) ) ) - ) - (block (result i32) - (set_local $12 - (get_local $5) - ) - (set_local $13 - (get_local $7) + (block (result i32) + (set_local $12 + (get_local $5) + ) + (set_local $13 + (get_local $7) + ) + (get_local $9) ) - (get_local $9) ) ) - ) - (set_local $32 - (i32.sub - (i32.const 0) - (get_local $13) + (set_local $32 + (i32.sub + (i32.const 0) + (get_local $13) + ) ) - ) - (set_local $9 - (loop $while-in90 (result i32) - (block $while-out89 (result i32) - (if - (i32.le_u - (get_local $5) - (get_local $12) - ) - (block - (set_local $24 - (i32.const 0) - ) - (br $while-out89 + (set_local $9 + (loop $while-in90 (result i32) + (block $while-out89 (result i32) + (if + (i32.le_u (get_local $5) + (get_local $12) ) - ) - ) - (if (result i32) - (i32.load - (tee_local $7 - (i32.add + (block + (set_local $24 + (i32.const 0) + ) + (br $while-out89 (get_local $5) - (i32.const -4) ) ) ) - (block (result i32) - (set_local $24 - (i32.const 1) + (if (result i32) + (i32.load + (tee_local $7 + (i32.add + (get_local $5) + (i32.const -4) + ) + ) ) - (get_local $5) - ) - (block - (set_local $5 - (get_local $7) + (block (result i32) + (set_local $24 + (i32.const 1) + ) + (get_local $5) + ) + (block + (set_local $5 + (get_local $7) + ) + (br $while-in90) ) - (br $while-in90) ) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $13 - (i32.add + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $13 (i32.add (i32.add (i32.add - (get_local $26) - (i32.const 1) - ) - (tee_local $5 - (block $do-once91 (result i32) - (if (result i32) - (get_local $38) - (block (result i32) - (set_local $7 - (if (result i32) - (i32.and - (i32.gt_s - (tee_local $5 - (i32.add - (i32.xor - (get_local $31) - (i32.const 1) + (i32.add + (get_local $26) + (i32.const 1) + ) + (tee_local $5 + (block $do-once91 (result i32) + (if (result i32) + (get_local $38) + (block (result i32) + (set_local $7 + (if (result i32) + (i32.and + (i32.gt_s + (tee_local $5 + (i32.add + (i32.xor + (get_local $31) + (i32.const 1) + ) + (get_local $18) ) - (get_local $18) ) + (get_local $13) + ) + (i32.gt_s + (get_local $13) + (i32.const -5) ) - (get_local $13) ) - (i32.gt_s - (get_local $13) - (i32.const -5) + (block (result i32) + (set_local $18 + (i32.sub + (i32.add + (get_local $5) + (i32.const -1) + ) + (get_local $13) + ) + ) + (i32.add + (get_local $19) + (i32.const -1) + ) ) - ) - (block (result i32) - (set_local $18 - (i32.sub + (block (result i32) + (set_local $18 (i32.add (get_local $5) (i32.const -1) ) - (get_local $13) ) - ) - (i32.add - (get_local $19) - (i32.const -1) - ) - ) - (block (result i32) - (set_local $18 (i32.add - (get_local $5) - (i32.const -1) + (get_local $19) + (i32.const -2) ) ) - (i32.add - (get_local $19) - (i32.const -2) - ) - ) - ) - ) - (if - (tee_local $5 - (i32.and - (get_local $11) - (i32.const 8) ) ) - (block - (set_local $21 - (get_local $5) + (if + (tee_local $5 + (i32.and + (get_local $11) + (i32.const 8) + ) ) - (br $do-once91 - (get_local $18) + (block + (set_local $21 + (get_local $5) + ) + (br $do-once91 + (get_local $18) + ) ) ) - ) - (block $do-once93 - (if - (get_local $24) - (block - (if - (i32.eqz - (tee_local $19 - (i32.load - (i32.add - (get_local $9) - (i32.const -4) + (block $do-once93 + (if + (get_local $24) + (block + (if + (i32.eqz + (tee_local $19 + (i32.load + (i32.add + (get_local $9) + (i32.const -4) + ) ) ) ) - ) - (block - (set_local $5 - (i32.const 9) - ) - (br $do-once93) - ) - ) - (set_local $5 - (if (result i32) - (i32.rem_u - (get_local $19) - (i32.const 10) - ) (block (set_local $5 - (i32.const 0) + (i32.const 9) ) (br $do-once93) ) - (block (result i32) - (set_local $6 + ) + (set_local $5 + (if (result i32) + (i32.rem_u + (get_local $19) (i32.const 10) ) - (i32.const 0) + (block + (set_local $5 + (i32.const 0) + ) + (br $do-once93) + ) + (block (result i32) + (set_local $6 + (i32.const 10) + ) + (i32.const 0) + ) ) ) - ) - (loop $while-in96 - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) + (loop $while-in96 + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) ) - ) - (br_if $while-in96 - (i32.eqz - (i32.rem_u - (get_local $19) - (tee_local $6 - (i32.mul - (get_local $6) - (i32.const 10) + (br_if $while-in96 + (i32.eqz + (i32.rem_u + (get_local $19) + (tee_local $6 + (i32.mul + (get_local $6) + (i32.const 10) + ) ) ) ) ) ) ) - ) - (set_local $5 - (i32.const 9) + (set_local $5 + (i32.const 9) + ) ) ) - ) - (set_local $6 - (i32.add - (i32.mul - (i32.shr_s - (i32.sub - (get_local $9) - (get_local $21) + (set_local $6 + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $9) + (get_local $21) + ) + (i32.const 2) ) - (i32.const 2) + (i32.const 9) ) - (i32.const 9) - ) - (i32.const -9) - ) - ) - (if (result i32) - (i32.eq - (i32.or - (get_local $7) - (i32.const 32) + (i32.const -9) ) - (i32.const 102) ) - (block (result i32) - (set_local $21 - (i32.const 0) + (if (result i32) + (i32.eq + (i32.or + (get_local $7) + (i32.const 32) + ) + (i32.const 102) ) - (select - (get_local $18) - (tee_local $5 - (select - (i32.const 0) - (tee_local $5 - (i32.sub - (get_local $6) + (block (result i32) + (set_local $21 + (i32.const 0) + ) + (select + (get_local $18) + (tee_local $5 + (select + (i32.const 0) + (tee_local $5 + (i32.sub + (get_local $6) + (get_local $5) + ) + ) + (i32.lt_s (get_local $5) + (i32.const 0) ) ) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) ) - ) - (i32.lt_s - (get_local $18) - (get_local $5) + (i32.lt_s + (get_local $18) + (get_local $5) + ) ) ) - ) - (block (result i32) - (set_local $21 - (i32.const 0) - ) - (select - (get_local $18) - (tee_local $5 - (select - (i32.const 0) - (tee_local $5 - (i32.sub - (i32.add - (get_local $6) - (get_local $13) + (block (result i32) + (set_local $21 + (i32.const 0) + ) + (select + (get_local $18) + (tee_local $5 + (select + (i32.const 0) + (tee_local $5 + (i32.sub + (i32.add + (get_local $6) + (get_local $13) + ) + (get_local $5) ) + ) + (i32.lt_s (get_local $5) + (i32.const 0) ) ) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) ) - ) - (i32.lt_s - (get_local $18) - (get_local $5) + (i32.lt_s + (get_local $18) + (get_local $5) + ) ) ) ) ) - ) - (block (result i32) - (set_local $21 - (i32.and - (get_local $11) - (i32.const 8) + (block (result i32) + (set_local $21 + (i32.and + (get_local $11) + (i32.const 8) + ) ) + (set_local $7 + (get_local $19) + ) + (get_local $18) ) - (set_local $7 - (get_local $19) - ) - (get_local $18) ) ) ) ) - ) - (i32.ne - (tee_local $31 - (i32.or - (get_local $5) - (get_local $21) + (i32.ne + (tee_local $31 + (i32.or + (get_local $5) + (get_local $21) + ) ) + (i32.const 0) ) - (i32.const 0) ) - ) - (if (result i32) - (tee_local $18 - (i32.eq - (i32.or - (get_local $7) - (i32.const 32) + (if (result i32) + (tee_local $18 + (i32.eq + (i32.or + (get_local $7) + (i32.const 32) + ) + (i32.const 102) ) - (i32.const 102) - ) - ) - (block (result i32) - (set_local $19 - (i32.const 0) ) - (select - (get_local $13) - (i32.const 0) - (i32.gt_s + (block (result i32) + (set_local $19 + (i32.const 0) + ) + (select (get_local $13) (i32.const 0) + (i32.gt_s + (get_local $13) + (i32.const 0) + ) ) ) - ) - (block (result i32) - (if - (i32.lt_s - (i32.sub - (get_local $27) - (tee_local $6 - (call $_fmt_u - (tee_local $6 - (select - (get_local $32) - (get_local $13) - (i32.lt_s + (block (result i32) + (if + (i32.lt_s + (i32.sub + (get_local $27) + (tee_local $6 + (call $_fmt_u + (tee_local $6 + (select + (get_local $32) (get_local $13) - (i32.const 0) + (i32.lt_s + (get_local $13) + (i32.const 0) + ) ) ) - ) - (i32.shr_s - (i32.shl - (i32.lt_s - (get_local $6) - (i32.const 0) + (i32.shr_s + (i32.shl + (i32.lt_s + (get_local $6) + (i32.const 0) + ) + (i32.const 31) ) (i32.const 31) ) - (i32.const 31) + (get_local $33) ) - (get_local $33) ) ) + (i32.const 2) ) - (i32.const 2) - ) - (loop $while-in98 - (i32.store8 - (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + (loop $while-in98 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (br_if $while-in98 + (i32.lt_s + (i32.sub + (get_local $27) + (get_local $6) + ) + (i32.const 2) ) ) - (i32.const 48) ) - (br_if $while-in98 - (i32.lt_s - (i32.sub - (get_local $27) - (get_local $6) + ) + (i32.store8 + (i32.add + (get_local $6) + (i32.const -1) + ) + (i32.add + (i32.and + (i32.shr_s + (get_local $13) + (i32.const 31) ) (i32.const 2) ) + (i32.const 43) ) ) - ) - (i32.store8 - (i32.add - (get_local $6) - (i32.const -1) - ) - (i32.add - (i32.and - (i32.shr_s - (get_local $13) - (i32.const 31) + (i32.store8 + (tee_local $19 + (i32.add + (get_local $6) + (i32.const -2) ) - (i32.const 2) ) - (i32.const 43) + (get_local $7) ) - ) - (i32.store8 - (tee_local $19 - (i32.add - (get_local $6) - (i32.const -2) - ) + (i32.sub + (get_local $27) + (get_local $19) ) - (get_local $7) - ) - (i32.sub - (get_local $27) - (get_local $19) ) ) ) ) + (get_local $11) ) - (get_local $11) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $30) + (get_local $26) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $30) - (get_local $26) - (get_local $0) + (call $_pad + (get_local $0) + (i32.const 48) + (get_local $15) + (get_local $13) + (i32.xor + (get_local $11) + (i32.const 65536) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (get_local $15) - (get_local $13) - (i32.xor - (get_local $11) - (i32.const 65536) - ) - ) - (block $do-once99 - (if - (get_local $18) - (block - (set_local $6 - (tee_local $12 - (select - (get_local $8) - (get_local $12) - (i32.gt_u - (get_local $12) + (block $do-once99 + (if + (get_local $18) + (block + (set_local $6 + (tee_local $12 + (select (get_local $8) + (get_local $12) + (i32.gt_u + (get_local $12) + (get_local $8) + ) ) ) ) - ) - (loop $while-in102 - (set_local $7 - (call $_fmt_u - (i32.load - (get_local $6) + (loop $while-in102 + (set_local $7 + (call $_fmt_u + (i32.load + (get_local $6) + ) + (i32.const 0) + (get_local $29) ) - (i32.const 0) - (get_local $29) ) - ) - (block $do-once103 - (if - (i32.eq - (get_local $6) - (get_local $12) - ) - (block - (br_if $do-once103 - (i32.ne - (get_local $7) - (get_local $29) - ) - ) - (i32.store8 - (get_local $34) - (i32.const 48) - ) - (set_local $7 - (get_local $34) + (block $do-once103 + (if + (i32.eq + (get_local $6) + (get_local $12) ) - ) - (block - (br_if $do-once103 - (i32.le_u - (get_local $7) - (get_local $22) + (block + (br_if $do-once103 + (i32.ne + (get_local $7) + (get_local $29) + ) ) - ) - (loop $while-in106 (i32.store8 - (tee_local $7 - (i32.add - (get_local $7) - (i32.const -1) - ) - ) + (get_local $34) (i32.const 48) ) - (br_if $while-in106 - (i32.gt_u + (set_local $7 + (get_local $34) + ) + ) + (block + (br_if $do-once103 + (i32.le_u (get_local $7) (get_local $22) ) ) + (loop $while-in106 + (i32.store8 + (tee_local $7 + (i32.add + (get_local $7) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (br_if $while-in106 + (i32.gt_u + (get_local $7) + (get_local $22) + ) + ) + ) ) ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load - (get_local $0) - ) - (i32.const 32) - ) - ) - (drop - (call $___fwritex - (get_local $7) - (i32.sub - (get_local $43) - (get_local $7) - ) - (get_local $0) - ) - ) - ) - (if - (i32.le_u - (tee_local $7 - (i32.add - (get_local $6) - (i32.const 4) - ) - ) - (get_local $8) - ) - (block - (set_local $6 - (get_local $7) - ) - (br $while-in102) - ) - ) - ) - (block $do-once107 - (if - (get_local $31) - (block - (br_if $do-once107 + (if + (i32.eqz (i32.and (i32.load (get_local $0) @@ -5773,309 +5729,351 @@ ) (drop (call $___fwritex - (i32.const 4143) - (i32.const 1) + (get_local $7) + (i32.sub + (get_local $43) + (get_local $7) + ) (get_local $0) ) ) ) - ) - ) - (if - (i32.and - (i32.gt_s - (get_local $5) - (i32.const 0) - ) - (i32.lt_u - (get_local $7) - (get_local $9) + (if + (i32.le_u + (tee_local $7 + (i32.add + (get_local $6) + (i32.const 4) + ) + ) + (get_local $8) + ) + (block + (set_local $6 + (get_local $7) + ) + (br $while-in102) + ) ) ) - (loop $while-in110 + (block $do-once107 (if - (i32.gt_u - (tee_local $6 - (call $_fmt_u + (get_local $31) + (block + (br_if $do-once107 + (i32.and (i32.load - (get_local $7) + (get_local $0) ) - (i32.const 0) - (get_local $29) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $0) ) ) - (get_local $22) ) - (loop $while-in112 - (i32.store8 + ) + ) + (if + (i32.and + (i32.gt_s + (get_local $5) + (i32.const 0) + ) + (i32.lt_u + (get_local $7) + (get_local $9) + ) + ) + (loop $while-in110 + (if + (i32.gt_u (tee_local $6 - (i32.add - (get_local $6) - (i32.const -1) + (call $_fmt_u + (i32.load + (get_local $7) + ) + (i32.const 0) + (get_local $29) ) ) - (i32.const 48) + (get_local $22) ) - (br_if $while-in112 - (i32.gt_u - (get_local $6) - (get_local $22) + (loop $while-in112 + (i32.store8 + (tee_local $6 + (i32.add + (get_local $6) + (i32.const -1) + ) + ) + (i32.const 48) + ) + (br_if $while-in112 + (i32.gt_u + (get_local $6) + (get_local $22) + ) ) ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load - (get_local $0) + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - ) - (drop - (call $___fwritex - (get_local $6) - (select - (i32.const 9) - (get_local $5) - (i32.gt_s - (get_local $5) + (drop + (call $___fwritex + (get_local $6) + (select (i32.const 9) + (get_local $5) + (i32.gt_s + (get_local $5) + (i32.const 9) + ) ) + (get_local $0) ) - (get_local $0) ) ) - ) - (set_local $6 - (i32.add - (get_local $5) - (i32.const -9) + (set_local $6 + (i32.add + (get_local $5) + (i32.const -9) + ) ) - ) - (set_local $5 - (if (result i32) - (i32.and - (i32.gt_s - (get_local $5) - (i32.const 9) - ) - (i32.lt_u - (tee_local $7 - (i32.add - (get_local $7) - (i32.const 4) + (set_local $5 + (if (result i32) + (i32.and + (i32.gt_s + (get_local $5) + (i32.const 9) + ) + (i32.lt_u + (tee_local $7 + (i32.add + (get_local $7) + (i32.const 4) + ) ) + (get_local $9) ) - (get_local $9) ) - ) - (block - (set_local $5 - (get_local $6) + (block + (set_local $5 + (get_local $6) + ) + (br $while-in110) ) - (br $while-in110) + (get_local $6) ) - (get_local $6) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $5) - (i32.const 9) - ) - (i32.const 9) - (i32.const 0) - ) - ) - (block - (set_local $9 - (select - (get_local $9) + (call $_pad + (get_local $0) + (i32.const 48) (i32.add - (get_local $12) - (i32.const 4) + (get_local $5) + (i32.const 9) ) - (get_local $24) + (i32.const 9) + (i32.const 0) ) ) - (if - (i32.gt_s - (get_local $5) - (i32.const -1) - ) - (block - (set_local $18 - (i32.eqz - (get_local $21) + (block + (set_local $9 + (select + (get_local $9) + (i32.add + (get_local $12) + (i32.const 4) ) + (get_local $24) ) - (set_local $6 - (get_local $12) - ) - (set_local $7 + ) + (if + (i32.gt_s (get_local $5) + (i32.const -1) ) - (loop $while-in114 - (if - (i32.eq - (tee_local $5 - (call $_fmt_u - (i32.load - (get_local $6) - ) - (i32.const 0) - (get_local $29) - ) - ) - (get_local $29) - ) - (block - (i32.store8 - (get_local $34) - (i32.const 48) - ) - (set_local $5 - (get_local $34) - ) + (block + (set_local $18 + (i32.eqz + (get_local $21) ) ) - (block $do-once115 + (set_local $6 + (get_local $12) + ) + (set_local $7 + (get_local $5) + ) + (loop $while-in114 (if (i32.eq - (get_local $6) - (get_local $12) + (tee_local $5 + (call $_fmt_u + (i32.load + (get_local $6) + ) + (i32.const 0) + (get_local $29) + ) + ) + (get_local $29) ) (block - (if - (i32.eqz - (i32.and - (i32.load + (i32.store8 + (get_local $34) + (i32.const 48) + ) + (set_local $5 + (get_local $34) + ) + ) + ) + (block $do-once115 + (if + (i32.eq + (get_local $6) + (get_local $12) + ) + (block + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $5) + (i32.const 1) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex + (set_local $5 + (i32.add (get_local $5) (i32.const 1) - (get_local $0) ) ) - ) - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) - ) - ) - (br_if $do-once115 - (i32.or - (i32.and - (get_local $18) - (i32.lt_s - (get_local $7) - (i32.const 1) + (br_if $do-once115 + (i32.or + (i32.and + (get_local $18) + (i32.lt_s + (get_local $7) + (i32.const 1) + ) ) - ) - (i32.and - (i32.load - (get_local $0) + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) ) - ) - (drop - (call $___fwritex - (i32.const 4143) - (i32.const 1) - (get_local $0) + (drop + (call $___fwritex + (i32.const 4143) + (i32.const 1) + (get_local $0) + ) ) ) - ) - (block - (br_if $do-once115 - (i32.le_u - (get_local $5) - (get_local $22) + (block + (br_if $do-once115 + (i32.le_u + (get_local $5) + (get_local $22) + ) ) - ) - (loop $while-in118 - (i32.store8 - (tee_local $5 - (i32.add - (get_local $5) - (i32.const -1) + (loop $while-in118 + (i32.store8 + (tee_local $5 + (i32.add + (get_local $5) + (i32.const -1) + ) ) + (i32.const 48) ) - (i32.const 48) - ) - (br_if $while-in118 - (i32.gt_u - (get_local $5) - (get_local $22) + (br_if $while-in118 + (i32.gt_u + (get_local $5) + (get_local $22) + ) ) ) ) ) ) - ) - (set_local $8 - (i32.sub - (get_local $43) - (get_local $5) + (set_local $8 + (i32.sub + (get_local $43) + (get_local $5) + ) ) - ) - (if - (i32.eqz - (i32.and - (i32.load - (get_local $0) + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - ) - (drop - (call $___fwritex - (get_local $5) - (select - (get_local $8) - (get_local $7) - (i32.gt_s - (get_local $7) + (drop + (call $___fwritex + (get_local $5) + (select (get_local $8) + (get_local $7) + (i32.gt_s + (get_local $7) + (get_local $8) + ) ) + (get_local $0) ) - (get_local $0) ) ) - ) - (br_if $while-in114 - (i32.and - (i32.lt_u - (tee_local $6 - (i32.add - (get_local $6) - (i32.const 4) + (br_if $while-in114 + (i32.and + (i32.lt_u + (tee_local $6 + (i32.add + (get_local $6) + (i32.const 4) + ) ) + (get_local $9) ) - (get_local $9) - ) - (i32.gt_s - (tee_local $7 - (i32.sub - (get_local $7) - (get_local $8) + (i32.gt_s + (tee_local $7 + (i32.sub + (get_local $7) + (get_local $8) + ) ) + (i32.const -1) ) - (i32.const -1) ) ) ) @@ -6084,524 +6082,514 @@ ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 48) - (i32.add - (get_local $5) + (call $_pad + (get_local $0) + (i32.const 48) + (i32.add + (get_local $5) + (i32.const 18) + ) (i32.const 18) + (i32.const 0) ) - (i32.const 18) - (i32.const 0) - ) - (br_if $do-once99 - (i32.and - (i32.load - (get_local $0) + (br_if $do-once99 + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - ) - (drop - (call $___fwritex - (get_local $19) - (i32.sub - (get_local $27) + (drop + (call $___fwritex (get_local $19) + (i32.sub + (get_local $27) + (get_local $19) + ) + (get_local $0) ) - (get_local $0) ) ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $13) - (i32.xor - (get_local $11) - (i32.const 8192) - ) - ) - (select - (get_local $15) - (get_local $13) - (i32.lt_s + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) (get_local $13) + (i32.xor + (get_local $11) + (i32.const 8192) + ) + ) + (select (get_local $15) + (get_local $13) + (i32.lt_s + (get_local $13) + (get_local $15) + ) ) ) - ) - (block (result i32) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $7 - (i32.add - (tee_local $9 - (select - (i32.const 0) - (get_local $26) - (tee_local $6 - (f64.ne - (get_local $16) - (get_local $16) + (block (result i32) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $7 + (i32.add + (tee_local $9 + (select + (i32.const 0) + (get_local $26) + (tee_local $6 + (f64.ne + (get_local $16) + (get_local $16) + ) ) ) ) + (i32.const 3) ) - (i32.const 3) ) + (get_local $8) ) - (get_local $8) - ) - (if - (i32.eqz - (i32.and - (tee_local $5 - (i32.load - (get_local $0) + (if + (i32.eqz + (i32.and + (tee_local $5 + (i32.load + (get_local $0) + ) ) + (i32.const 32) ) - (i32.const 32) ) - ) - (block - (drop - (call $___fwritex - (get_local $30) - (get_local $9) - (get_local $0) + (block + (drop + (call $___fwritex + (get_local $30) + (get_local $9) + (get_local $0) + ) ) - ) - (set_local $5 - (i32.load - (get_local $0) + (set_local $5 + (i32.load + (get_local $0) + ) ) ) ) - ) - (set_local $6 - (select + (set_local $6 (select - (i32.const 4135) - (i32.const 4139) - (tee_local $8 - (i32.ne - (i32.and - (get_local $19) - (i32.const 32) + (select + (i32.const 4135) + (i32.const 4139) + (tee_local $8 + (i32.ne + (i32.and + (get_local $19) + (i32.const 32) + ) + (i32.const 0) ) - (i32.const 0) ) ) + (select + (i32.const 4127) + (i32.const 4131) + (get_local $8) + ) + (get_local $6) ) - (select - (i32.const 4127) - (i32.const 4131) - (get_local $8) - ) - (get_local $6) ) - ) - (if - (i32.eqz - (i32.and - (get_local $5) - (i32.const 32) + (if + (i32.eqz + (i32.and + (get_local $5) + (i32.const 32) + ) ) - ) - (drop - (call $___fwritex - (get_local $6) - (i32.const 3) - (get_local $0) + (drop + (call $___fwritex + (get_local $6) + (i32.const 3) + (get_local $0) + ) ) ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $7) - (i32.xor - (get_local $11) - (i32.const 8192) - ) - ) - (select - (get_local $15) - (get_local $7) - (i32.lt_s + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) (get_local $7) + (i32.xor + (get_local $11) + (i32.const 8192) + ) + ) + (select (get_local $15) + (get_local $7) + (i32.lt_s + (get_local $7) + (get_local $15) + ) ) ) ) ) ) + (set_local $5 + (get_local $10) + ) + (set_local $10 + (get_local $7) + ) + (br $label$continue$L1) ) - (set_local $5 - (get_local $10) + (set_local $12 + (get_local $6) ) - (set_local $10 - (get_local $7) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) + ) + (br $__rjto$8 + (get_local $25) ) - (br $label$continue$L1) - ) - (set_local $12 - (get_local $6) - ) - (set_local $8 - (i32.const 0) ) (set_local $9 - (i32.const 4091) - ) - (br $__rjto$8 - (get_local $25) - ) - ) - (set_local $9 - (i32.and - (get_local $19) - (i32.const 32) + (i32.and + (get_local $19) + (i32.const 32) + ) ) - ) - (if - (i32.or - (tee_local $7 - (i32.load - (get_local $14) + (if + (i32.or + (tee_local $7 + (i32.load + (get_local $14) + ) ) - ) - (tee_local $11 - (i32.load offset=4 - (get_local $14) + (tee_local $11 + (i32.load offset=4 + (get_local $14) + ) ) ) - ) - (block - (set_local $8 - (get_local $25) - ) - (loop $while-in123 - (i32.store8 - (tee_local $8 - (i32.add - (get_local $8) - (i32.const -1) - ) - ) - (i32.or - (i32.load8_u + (block + (set_local $8 + (get_local $25) + ) + (loop $while-in123 + (i32.store8 + (tee_local $8 (i32.add - (i32.and - (get_local $7) - (i32.const 15) + (get_local $8) + (i32.const -1) + ) + ) + (i32.or + (i32.load8_u + (i32.add + (i32.and + (get_local $7) + (i32.const 15) + ) + (i32.const 4075) ) - (i32.const 4075) ) + (get_local $9) ) - (get_local $9) ) - ) - (br_if $while-in123 - (i32.or - (tee_local $7 - (call $_bitshift64Lshr - (get_local $7) - (get_local $11) - (i32.const 4) + (br_if $while-in123 + (i32.or + (tee_local $7 + (call $_bitshift64Lshr + (get_local $7) + (get_local $11) + (i32.const 4) + ) + ) + (tee_local $11 + (get_global $tempRet0) ) - ) - (tee_local $11 - (get_global $tempRet0) ) ) ) (set_local $7 (get_local $8) ) - ) - (set_local $8 - (if (result i32) - (i32.or - (i32.eqz - (i32.and - (get_local $5) - (i32.const 8) - ) - ) - (i32.eqz - (i32.or - (i32.load - (get_local $14) + (set_local $8 + (if (result i32) + (i32.or + (i32.eqz + (i32.and + (get_local $5) + (i32.const 8) ) - (i32.load offset=4 - (get_local $14) + ) + (i32.eqz + (i32.or + (i32.load + (get_local $14) + ) + (i32.load offset=4 + (get_local $14) + ) ) ) ) - ) - (block (result i32) - (set_local $9 - (i32.const 4091) + (block (result i32) + (set_local $9 + (i32.const 4091) + ) + (i32.const 0) ) - (i32.const 0) - ) - (block (result i32) - (set_local $9 - (i32.add - (i32.shr_s - (get_local $19) - (i32.const 4) + (block (result i32) + (set_local $9 + (i32.add + (i32.shr_s + (get_local $19) + (i32.const 4) + ) + (i32.const 4091) ) - (i32.const 4091) ) + (i32.const 2) ) - (i32.const 2) ) ) ) - ) - (block - (set_local $7 - (get_local $25) - ) - (set_local $8 - (i32.const 0) - ) - (set_local $9 - (i32.const 4091) + (block + (set_local $7 + (get_local $25) + ) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) + ) ) ) + (br $__rjti$8) + ) + (set_local $7 + (call $_fmt_u + (get_local $5) + (get_local $7) + (get_local $25) + ) + ) + (set_local $5 + (get_local $11) ) (br $__rjti$8) ) - (set_local $7 - (call $_fmt_u - (get_local $5) - (get_local $7) - (get_local $25) + (set_local $19 + (i32.eqz + (tee_local $13 + (call $_memchr + (get_local $7) + (i32.const 0) + (get_local $6) + ) + ) ) ) - (set_local $5 - (get_local $11) + (set_local $11 + (get_local $8) ) - (br $__rjti$8) - ) - (set_local $19 - (i32.eqz - (tee_local $13 - (call $_memchr - (get_local $7) - (i32.const 0) - (get_local $6) + (set_local $12 + (select + (get_local $6) + (i32.sub + (get_local $13) + (tee_local $5 + (get_local $7) + ) ) + (get_local $19) ) ) - ) - (set_local $11 - (get_local $8) - ) - (set_local $12 - (select - (get_local $6) - (i32.sub - (get_local $13) - (tee_local $5 - (get_local $7) + (set_local $8 + (i32.const 0) + ) + (set_local $9 + (i32.const 4091) + ) + (br $__rjto$8 + (select + (i32.add + (get_local $5) + (get_local $6) ) + (get_local $13) + (get_local $19) ) - (get_local $19) ) ) - (set_local $8 + (set_local $5 (i32.const 0) ) - (set_local $9 - (i32.const 4091) + (set_local $7 + (i32.const 0) ) - (br $__rjto$8 - (select - (i32.add - (get_local $5) - (get_local $6) - ) - (get_local $13) - (get_local $19) + (set_local $6 + (i32.load + (get_local $14) ) ) - ) - (set_local $5 - (i32.const 0) - ) - (set_local $7 - (i32.const 0) - ) - (set_local $6 - (i32.load - (get_local $14) - ) - ) - (loop $while-in125 - (block $while-out124 - (br_if $while-out124 - (i32.eqz - (tee_local $9 - (i32.load - (get_local $6) + (loop $while-in125 + (block $while-out124 + (br_if $while-out124 + (i32.eqz + (tee_local $9 + (i32.load + (get_local $6) + ) ) ) ) - ) - (br_if $while-out124 - (i32.or - (i32.lt_s - (tee_local $7 - (call $_wctomb - (get_local $36) - (get_local $9) + (br_if $while-out124 + (i32.or + (i32.lt_s + (tee_local $7 + (call $_wctomb + (get_local $36) + (get_local $9) + ) ) + (i32.const 0) ) - (i32.const 0) - ) - (i32.gt_u - (get_local $7) - (i32.sub - (get_local $8) - (get_local $5) + (i32.gt_u + (get_local $7) + (i32.sub + (get_local $8) + (get_local $5) + ) ) ) ) - ) - (set_local $6 - (i32.add - (get_local $6) - (i32.const 4) + (set_local $6 + (i32.add + (get_local $6) + (i32.const 4) + ) ) - ) - (br_if $while-in125 - (i32.gt_u - (get_local $8) - (tee_local $5 - (i32.add - (get_local $7) - (get_local $5) + (br_if $while-in125 + (i32.gt_u + (get_local $8) + (tee_local $5 + (i32.add + (get_local $7) + (get_local $5) + ) ) ) ) ) ) - ) - (if - (i32.lt_s - (get_local $7) - (i32.const 0) - ) - (block - (set_local $17 - (i32.const -1) - ) - (br $label$break$L1) - ) - ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (get_local $5) - (get_local $11) - ) - (if - (get_local $5) - (block - (set_local $6 + (if + (i32.lt_s + (get_local $7) (i32.const 0) ) - (set_local $7 - (i32.load - (get_local $14) + (block + (set_local $17 + (i32.const -1) ) + (br $label$break$L1) ) - (loop $while-in127 - (if - (i32.eqz - (tee_local $8 - (i32.load - (get_local $7) - ) - ) - ) - (block - (set_local $7 - (get_local $5) - ) - (br $__rjti$7) + ) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (get_local $5) + (get_local $11) + ) + (if (result i32) + (get_local $5) + (block (result i32) + (set_local $6 + (i32.const 0) + ) + (set_local $7 + (i32.load + (get_local $14) ) ) - (if - (i32.gt_s - (tee_local $6 - (i32.add + (loop $while-in127 + (drop + (br_if $__rjti$7 + (get_local $5) + (i32.eqz (tee_local $8 - (call $_wctomb - (get_local $36) - (get_local $8) + (i32.load + (get_local $7) ) ) - (get_local $6) ) ) - (get_local $5) ) - (block - (set_local $7 + (drop + (br_if $__rjti$7 (get_local $5) + (i32.gt_s + (tee_local $6 + (i32.add + (tee_local $8 + (call $_wctomb + (get_local $36) + (get_local $8) + ) + ) + (get_local $6) + ) + ) + (get_local $5) + ) ) - (br $__rjti$7) ) - ) - (if - (i32.eqz - (i32.and - (i32.load + (if + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) + ) + ) + (drop + (call $___fwritex + (get_local $36) + (get_local $8) (get_local $0) ) - (i32.const 32) ) ) - (drop - (call $___fwritex - (get_local $36) - (get_local $8) - (get_local $0) + (set_local $7 + (i32.add + (get_local $7) + (i32.const 4) ) ) - ) - (set_local $7 - (i32.add - (get_local $7) - (i32.const 4) - ) - ) - (br_if $while-in127 - (i32.lt_u - (get_local $6) - (get_local $5) + (br_if $while-in127 + (i32.lt_u + (get_local $6) + (get_local $5) + ) ) ) - (set_local $7 - (get_local $5) - ) + (get_local $5) ) - ) - (set_local $7 (i32.const 0) ) ) @@ -9326,12 +9314,12 @@ ) ) ) - (set_local $4 - (get_local $0) - ) - (set_local $3 - (get_local $1) - ) + ) + (set_local $4 + (get_local $0) + ) + (set_local $3 + (get_local $1) ) ) (if (result i32) @@ -11019,9 +11007,9 @@ ) ) ) - (set_local $4 - (i32.const 624) - ) + ) + (set_local $4 + (i32.const 624) ) (br $__rjto$11) ) diff --git a/test/memorygrowth.fromasm b/test/memorygrowth.fromasm index 8771dbcf4..cf5cf85c2 100644 --- a/test/memorygrowth.fromasm +++ b/test/memorygrowth.fromasm @@ -8329,12 +8329,12 @@ (i32.const 3) ) ) - (set_local $2 - (i32.const 4) - ) - (set_local $1 - (get_local $0) - ) + ) + (set_local $2 + (i32.const 4) + ) + (set_local $1 + (get_local $0) ) ) (block diff --git a/test/memorygrowth.fromasm.clamp b/test/memorygrowth.fromasm.clamp index 8771dbcf4..cf5cf85c2 100644 --- a/test/memorygrowth.fromasm.clamp +++ b/test/memorygrowth.fromasm.clamp @@ -8329,12 +8329,12 @@ (i32.const 3) ) ) - (set_local $2 - (i32.const 4) - ) - (set_local $1 - (get_local $0) - ) + ) + (set_local $2 + (i32.const 4) + ) + (set_local $1 + (get_local $0) ) ) (block diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise index e5590cd2c..5512eab04 100644 --- a/test/memorygrowth.fromasm.imprecise +++ b/test/memorygrowth.fromasm.imprecise @@ -8327,12 +8327,12 @@ (i32.const 3) ) ) - (set_local $2 - (i32.const 4) - ) - (set_local $1 - (get_local $0) - ) + ) + (set_local $2 + (i32.const 4) + ) + (set_local $1 + (get_local $0) ) ) (block diff --git a/test/passes/inlining-optimizing_optimize-level=3.txt b/test/passes/inlining-optimizing_optimize-level=3.txt index a7ec5e4aa..bbcaf9591 100644 --- a/test/passes/inlining-optimizing_optimize-level=3.txt +++ b/test/passes/inlining-optimizing_optimize-level=3.txt @@ -2710,12 +2710,12 @@ (i32.const 32) ) ) - (set_local $6 - (get_local $1) - ) - (set_local $1 - (get_local $12) - ) + ) + (set_local $6 + (get_local $1) + ) + (set_local $1 + (get_local $12) ) ) (set_local $1 @@ -6293,9 +6293,9 @@ ) ) ) - (set_local $5 - (get_local $7) - ) + ) + (set_local $5 + (get_local $7) ) ) ) @@ -6544,9 +6544,9 @@ ) ) ) - (set_local $5 - (get_local $8) - ) + ) + (set_local $5 + (get_local $8) ) (set_local $8 (if (result i32) @@ -6816,9 +6816,9 @@ (get_local $5) ) ) - (set_local $7 - (get_local $5) - ) + ) + (set_local $7 + (get_local $5) ) ) (set_local $7 @@ -9544,12 +9544,12 @@ ) ) ) - (set_local $3 - (get_local $1) - ) - (set_local $4 - (get_local $0) - ) + ) + (set_local $3 + (get_local $1) + ) + (set_local $4 + (get_local $0) ) ) (if (result i32) @@ -11235,9 +11235,9 @@ ) ) ) - (set_local $4 - (i32.const 624) - ) + ) + (set_local $4 + (i32.const 624) ) (br $__rjto$11) ) diff --git a/test/passes/remove-unused-names_merge-blocks.txt b/test/passes/remove-unused-names_merge-blocks.txt index a46cacf47..410febead 100644 --- a/test/passes/remove-unused-names_merge-blocks.txt +++ b/test/passes/remove-unused-names_merge-blocks.txt @@ -930,4 +930,391 @@ ) ) ) + (func $block-tails (; 32 ;) (type $3) + (block $l1 + (drop + (i32.const -2) + ) + (drop + (i32.const -1) + ) + (br $l1) + (drop + (i32.const 0) + ) + (drop + (i32.const 1) + ) + ) + (block $l2 + (br_if $l2 + (i32.const 2) + ) + (drop + (i32.const 3) + ) + ) + (block $l3 + (br_if $l3 + (i32.const 4) + ) + (br_if $l3 + (i32.const 5) + ) + (drop + (i32.const 6) + ) + ) + (block $l4 + (br_if $l4 + (i32.const 7) + ) + (br_if $l4 + (i32.const 8) + ) + (drop + (i32.const 9) + ) + ) + (block $l5 + (if + (i32.const 10) + (br_if $l5 + (i32.const 11) + ) + ) + (drop + (i32.const 12) + ) + ) + (block $l8 + (br_if $l8 + (i32.const 13) + ) + (br_if $l8 + (i32.const 14) + ) + (br_if $l8 + (i32.const 15) + ) + (drop + (i32.const 16) + ) + ) + (block $l11 + (br_if $l11 + (i32.const 17) + ) + (br_if $l11 + (i32.const 18) + ) + (br_if $l11 + (i32.const 19) + ) + (drop + (i32.const 20) + ) + ) + (block $l12 + (block $l13 + (block $l14 + (br_if $l12 + (i32.const 21) + ) + (br_if $l13 + (i32.const 22) + ) + (br_if $l14 + (i32.const 23) + ) + (drop + (i32.const 24) + ) + ) + (drop + (i32.const 25) + ) + ) + (drop + (i32.const 26) + ) + ) + (block $l15 + (block $l16 + (block $l17 + (drop + (i32.const 27) + ) + (br_if $l17 + (i32.const 28) + ) + (drop + (i32.const 29) + ) + ) + (br_if $l16 + (i32.const 30) + ) + (drop + (i32.const 31) + ) + ) + (br_if $l15 + (i32.const 32) + ) + (drop + (i32.const 33) + ) + ) + ) + (func $loop-tails (; 33 ;) (type $3) + (loop $l1 + (drop + (i32.const -2) + ) + (drop + (i32.const -1) + ) + (br $l1) + ) + (drop + (i32.const 0) + ) + (drop + (i32.const 1) + ) + (loop $l2 + (br_if $l2 + (i32.const 2) + ) + ) + (drop + (i32.const 3) + ) + (block $b1 + (loop $l3 + (br_if $b1 + (i32.const 4) + ) + (br_if $l3 + (i32.const 5) + ) + ) + (drop + (i32.const 6) + ) + ) + (block $b2 + (loop $l4 + (br_if $l4 + (i32.const 7) + ) + ) + (br_if $b2 + (i32.const 8) + ) + (drop + (i32.const 9) + ) + ) + (loop $l5 + (if + (i32.const 10) + (br_if $l5 + (i32.const 11) + ) + ) + ) + (drop + (i32.const 12) + ) + (loop $l6 + (loop $l7 + (loop $l8 + (br_if $l6 + (i32.const 13) + ) + (br_if $l7 + (i32.const 14) + ) + (br_if $l8 + (i32.const 15) + ) + (drop + (i32.const 16) + ) + ) + ) + ) + (loop $l9 + (loop $l10 + (loop $l11 + (br_if $l11 + (i32.const 17) + ) + (br_if $l10 + (i32.const 18) + ) + (br_if $l9 + (i32.const 19) + ) + (drop + (i32.const 20) + ) + ) + ) + ) + (loop $l12 + (loop $l13 + (loop $l14 + (br_if $l12 + (i32.const 21) + ) + (br_if $l13 + (i32.const 22) + ) + (br_if $l14 + (i32.const 23) + ) + ) + ) + ) + (drop + (i32.const 24) + ) + (drop + (i32.const 25) + ) + (drop + (i32.const 26) + ) + (loop $l15 + (loop $l16 + (loop $l17 + (drop + (i32.const 27) + ) + (br_if $l17 + (i32.const 28) + ) + ) + (drop + (i32.const 29) + ) + (br_if $l16 + (i32.const 30) + ) + ) + (drop + (i32.const 31) + ) + (br_if $l15 + (i32.const 32) + ) + ) + (drop + (i32.const 33) + ) + ) + (func $block-tail-one (; 34 ;) (type $3) + (block $l1 + (drop + (i32.const -2) + ) + (drop + (i32.const -1) + ) + (br $l1) + (drop + (i32.const 0) + ) + (drop + (i32.const 1) + ) + ) + (drop + (i32.const 2) + ) + ) + (func $loop-tail-one (; 35 ;) (type $3) + (loop $l1 + (drop + (i32.const -2) + ) + (drop + (i32.const -1) + ) + (br $l1) + ) + (drop + (i32.const 0) + ) + (drop + (i32.const 1) + ) + (drop + (i32.const 2) + ) + ) + (func $block-tail-value (; 36 ;) (type $4) (result i32) + (block $l1 (result i32) + (drop + (i32.const -1) + ) + (br $l1 + (i32.const 0) + ) + (drop + (i32.const 1) + ) + (i32.const 2) + ) + ) + (func $block-tail-empty (; 37 ;) (type $3) + (block $l1 + (drop + (i32.const -1) + ) + (br $l1) + ) + ) + (func $loop-tail-empty (; 38 ;) (type $3) + (loop $l1 + (drop + (i32.const -1) + ) + (br $l1) + ) + ) + (func $block-tail-unreachable (; 39 ;) (type $4) (result i32) + (block $l1 (result i32) + (drop + (i32.const -1) + ) + (drop + (br_if $l1 + (i32.const 0) + (i32.const 1) + ) + ) + (drop + (i32.const 1) + ) + (unreachable) + ) + ) + (func $loop-tail-unreachable (; 40 ;) (type $4) (result i32) + (loop $l1 + (drop + (i32.const -1) + ) + (br_if $l1 + (i32.const 1) + ) + ) + (drop + (i32.const 1) + ) + (unreachable) + ) ) diff --git a/test/passes/remove-unused-names_merge-blocks.wast b/test/passes/remove-unused-names_merge-blocks.wast index 920664b4b..cd11135f0 100644 --- a/test/passes/remove-unused-names_merge-blocks.wast +++ b/test/passes/remove-unused-names_merge-blocks.wast @@ -1095,5 +1095,231 @@ ) ) ) + (func $block-tails + (block $l1 + (drop (i32.const -2)) + (drop (i32.const -1)) + (br $l1) + (drop (i32.const 0)) + (drop (i32.const 1)) + ) + (block $l2 + (br_if $l2 (i32.const 2)) + (drop (i32.const 3)) + ) + (block $b1 + (block $l3 + (br_if $b1 (i32.const 4)) + (br_if $l3 (i32.const 5)) + (drop (i32.const 6)) + ) + ) + (block $b2 + (block $l4 + (br_if $l4 (i32.const 7)) + (br_if $b2 (i32.const 8)) + (drop (i32.const 9)) + ) + ) + (block $l5 + (if (i32.const 10) + (br_if $l5 (i32.const 11)) + ) + (drop (i32.const 12)) + ) + (block $l6 + (block $l7 + (block $l8 + (br_if $l6 (i32.const 13)) + (br_if $l7 (i32.const 14)) + (br_if $l8 (i32.const 15)) + (drop (i32.const 16)) + ) + ) + ) + (block $l9 + (block $l10 + (block $l11 + (br_if $l11 (i32.const 17)) + (br_if $l10 (i32.const 18)) + (br_if $l9 (i32.const 19)) + (drop (i32.const 20)) + ) + ) + ) + (block $l12 + (block $l13 + (block $l14 + (br_if $l12 (i32.const 21)) + (br_if $l13 (i32.const 22)) + (br_if $l14 (i32.const 23)) + (drop (i32.const 24)) + ) + (drop (i32.const 25)) + ) + (drop (i32.const 26)) + ) + (block $l15 + (block $l16 + (block $l17 + (drop (i32.const 27)) + (br_if $l17 (i32.const 28)) + (drop (i32.const 29)) + ) + (br_if $l16 (i32.const 30)) + (drop (i32.const 31)) + ) + (br_if $l15 (i32.const 32)) + (drop (i32.const 33)) + ) + ) + (func $loop-tails + (loop $l1 + (drop (i32.const -2)) + (drop (i32.const -1)) + (br $l1) + (drop (i32.const 0)) + (drop (i32.const 1)) + ) + (loop $l2 + (br_if $l2 (i32.const 2)) + (drop (i32.const 3)) + ) + (block $b1 + (loop $l3 + (br_if $b1 (i32.const 4)) + (br_if $l3 (i32.const 5)) + (drop (i32.const 6)) + ) + ) + (block $b2 + (loop $l4 + (br_if $l4 (i32.const 7)) + (br_if $b2 (i32.const 8)) + (drop (i32.const 9)) + ) + ) + (loop $l5 + (if (i32.const 10) + (br_if $l5 (i32.const 11)) + ) + (drop (i32.const 12)) + ) + (loop $l6 + (loop $l7 + (loop $l8 + (br_if $l6 (i32.const 13)) + (br_if $l7 (i32.const 14)) + (br_if $l8 (i32.const 15)) + (drop (i32.const 16)) + ) + ) + ) + (loop $l9 + (loop $l10 + (loop $l11 + (br_if $l11 (i32.const 17)) + (br_if $l10 (i32.const 18)) + (br_if $l9 (i32.const 19)) + (drop (i32.const 20)) + ) + ) + ) + (loop $l12 + (loop $l13 + (loop $l14 + (br_if $l12 (i32.const 21)) + (br_if $l13 (i32.const 22)) + (br_if $l14 (i32.const 23)) + (drop (i32.const 24)) + ) + (drop (i32.const 25)) + ) + (drop (i32.const 26)) + ) + (loop $l15 + (loop $l16 + (loop $l17 + (drop (i32.const 27)) + (br_if $l17 (i32.const 28)) + (drop (i32.const 29)) + ) + (br_if $l16 (i32.const 30)) + (drop (i32.const 31)) + ) + (br_if $l15 (i32.const 32)) + (drop (i32.const 33)) + ) + ) + (func $block-tail-one + (block $outer + (block $l1 + (drop (i32.const -2)) + (drop (i32.const -1)) + (br $l1) + (drop (i32.const 0)) + (drop (i32.const 1)) + ) + (drop (i32.const 2)) + ) + ) + (func $loop-tail-one + (block $outer + (loop $l1 + (drop (i32.const -2)) + (drop (i32.const -1)) + (br $l1) + (drop (i32.const 0)) + (drop (i32.const 1)) + ) + (drop (i32.const 2)) + ) + ) + (func $block-tail-value (result i32) + (block $outer (result i32) + (block $l1 (result i32) + (drop (i32.const -1)) + (br $l1 (i32.const 0)) + (drop (i32.const 1)) + (i32.const 2) + ) + ) + ) + (func $block-tail-empty + (block $outer + (block $l1 + (drop (i32.const -1)) + (br $l1) + ) + ) + ) + (func $loop-tail-empty + (block $outer + (loop $l1 + (drop (i32.const -1)) + (br $l1) + ) + ) + ) + (func $block-tail-unreachable (result i32) + (block $outer (result i32) + (block $l1 (result i32) + (drop (i32.const -1)) + (drop (br_if $l1 (i32.const 0) (i32.const 1))) + (drop (i32.const 1)) + (unreachable) + ) + ) + ) + (func $loop-tail-unreachable (result i32) + (block $outer (result i32) + (loop $l1 (result i32) + (drop (i32.const -1)) + (br_if $l1 (i32.const 1)) + (drop (i32.const 1)) + (unreachable) + ) + ) + ) ) diff --git a/test/unit.fromasm b/test/unit.fromasm index 8cd4a0776..bddac1e56 100644 --- a/test/unit.fromasm +++ b/test/unit.fromasm @@ -836,9 +836,9 @@ ) ) ) - (call $h - (i32.const 2) - ) + ) + (call $h + (i32.const 2) ) (call $h (i32.const 3) diff --git a/test/unit.fromasm.clamp b/test/unit.fromasm.clamp index 2d0270946..501fa7145 100644 --- a/test/unit.fromasm.clamp +++ b/test/unit.fromasm.clamp @@ -886,9 +886,9 @@ ) ) ) - (call $h - (i32.const 2) - ) + ) + (call $h + (i32.const 2) ) (call $h (i32.const 3) diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index 4fd80da1c..bc293072a 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -835,9 +835,9 @@ ) ) ) - (call $h - (i32.const 2) - ) + ) + (call $h + (i32.const 2) ) (call $h (i32.const 3) diff --git a/test/wasm-only.fromasm b/test/wasm-only.fromasm index 14e381b35..22414155e 100644 --- a/test/wasm-only.fromasm +++ b/test/wasm-only.fromasm @@ -873,9 +873,9 @@ ) ) ) - (set_local $0 - (i32.const 0) - ) + ) + (set_local $0 + (i32.const 0) ) ) ) diff --git a/test/wasm-only.fromasm.clamp b/test/wasm-only.fromasm.clamp index 14e381b35..22414155e 100644 --- a/test/wasm-only.fromasm.clamp +++ b/test/wasm-only.fromasm.clamp @@ -873,9 +873,9 @@ ) ) ) - (set_local $0 - (i32.const 0) - ) + ) + (set_local $0 + (i32.const 0) ) ) ) diff --git a/test/wasm-only.fromasm.imprecise b/test/wasm-only.fromasm.imprecise index 982600bef..e79bbc901 100644 --- a/test/wasm-only.fromasm.imprecise +++ b/test/wasm-only.fromasm.imprecise @@ -573,9 +573,9 @@ ) ) ) - (set_local $0 - (i32.const 0) - ) + ) + (set_local $0 + (i32.const 0) ) ) ) |