diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-06 10:32:02 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-07 18:41:22 -0700 |
commit | 8f0726cc87494f6721baab55ec035fa3facae0e3 (patch) | |
tree | 18ab09d83788f2121cd4117cdb373698f4286c1b /test/emcc_hello_world.fromasm.imprecise | |
parent | 87f65f1623983bfc516ff4b222a3bb2537971837 (diff) | |
download | binaryen-8f0726cc87494f6721baab55ec035fa3facae0e3.tar.gz binaryen-8f0726cc87494f6721baab55ec035fa3facae0e3.tar.bz2 binaryen-8f0726cc87494f6721baab55ec035fa3facae0e3.zip |
use eqz as an optimization
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r-- | test/emcc_hello_world.fromasm.imprecise | 3864 |
1 files changed, 1775 insertions, 2089 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index c97524f7b..014f28dd2 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -132,9 +132,8 @@ ) (func $setThrew (param $0 i32) (param $1 i32) (if - (i32.eq + (i32.eqz (get_global $__THREW__) - (i32.const 0) ) (block (set_global $__THREW__ @@ -428,13 +427,7 @@ (i32.const 2) ) (if - (i32.eq - (get_local $4) - (i32.const 0) - ) - (set_local $5 - (i32.const 775) - ) + (get_local $4) (block (set_local $3 (get_local $4) @@ -446,6 +439,9 @@ (i32.const 5) ) ) + (set_local $5 + (i32.const 775) + ) ) ) (if @@ -464,17 +460,17 @@ ) ) (if - (i32.eq - (i32.shr_s - (i32.shl - (i32.load8_s - (get_local $2) - ) - (i32.const 24) + (i32.shr_s + (i32.shl + (i32.load8_s + (get_local $2) ) (i32.const 24) ) - (i32.const 0) + (i32.const 24) + ) + (set_local $2 + (get_local $0) ) (block (set_local $1 @@ -482,28 +478,16 @@ ) (br $while-out$4) ) - (set_local $2 - (get_local $0) - ) ) (br $while-in$5) ) ) (if - (i32.eq - (tee_local $0 - (i32.add - (get_local $3) - (i32.const -1) - ) - ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $1) + (tee_local $0 + (i32.add + (get_local $3) + (i32.const -1) ) - (br $while-out$2) ) (block (set_local $3 @@ -513,6 +497,12 @@ (get_local $1) ) ) + (block + (set_local $5 + (get_local $1) + ) + (br $while-out$2) + ) ) (br $while-in$3) ) @@ -522,16 +512,13 @@ ) (func $___errno_location (result i32) (if - (i32.eq - (i32.load - (i32.const 16) - ) - (i32.const 0) + (i32.load + (i32.const 16) ) - (i32.const 60) (i32.load offset=60 (call_import $_pthread_self) ) + (i32.const 60) ) ) (func $___stdio_close (param $0 i32) (result i32) @@ -608,14 +595,13 @@ (i32.const 4) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 64) ) - (i32.const 0) ) (block (i32.store @@ -633,12 +619,13 @@ (get_local $5) ) (if - (i32.ne - (call_import $___syscall54 - (i32.const 54) - (get_local $3) + (i32.eqz + (i32.eqz + (call_import $___syscall54 + (i32.const 54) + (get_local $3) + ) ) - (i32.const 0) ) (i32.store8 offset=75 (get_local $0) @@ -740,38 +727,70 @@ (local $2 i32) (block $do-once$0 (if - (i32.eq - (get_local $0) - (i32.const 0) + (get_local $0) + (block + (if + (i32.le_s + (i32.load offset=76 + (get_local $0) + ) + (i32.const -1) + ) + (br $do-once$0 + (call $___fflush_unlocked + (get_local $0) + ) + ) + ) + (set_local $2 + (i32.eqz + (call $___lockfile + (get_local $0) + ) + ) + ) + (set_local $1 + (call $___fflush_unlocked + (get_local $0) + ) + ) + (if + (get_local $2) + (get_local $1) + (block + (call $___unlockfile + (get_local $0) + ) + (get_local $1) + ) + ) ) (block (set_local $0 (if - (i32.eq - (i32.load - (i32.const 12) - ) - (i32.const 0) + (i32.load + (i32.const 12) ) - (i32.const 0) (call $_fflush (i32.load (i32.const 12) ) ) + (i32.const 0) ) ) (call_import $___lock (i32.const 44) ) (if - (i32.ne - (tee_local $1 - (i32.load - (i32.const 40) + (i32.eqz + (i32.eqz + (tee_local $1 + (i32.load + (i32.const 40) + ) ) ) - (i32.const 0) ) (block (set_local $2 @@ -813,22 +832,23 @@ ) ) (if - (i32.ne - (get_local $0) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $0) + ) ) (call $___unlockfile (get_local $1) ) ) (if - (i32.eq - (tee_local $0 - (i32.load offset=56 - (get_local $1) - ) + (tee_local $0 + (i32.load offset=56 + (get_local $1) ) - (i32.const 0) + ) + (set_local $1 + (get_local $0) ) (block (set_local $0 @@ -836,9 +856,6 @@ ) (br $while-out$2) ) - (set_local $1 - (get_local $0) - ) ) (br $while-in$3) ) @@ -850,44 +867,6 @@ ) (get_local $0) ) - (block - (if - (i32.le_s - (i32.load offset=76 - (get_local $0) - ) - (i32.const -1) - ) - (br $do-once$0 - (call $___fflush_unlocked - (get_local $0) - ) - ) - ) - (set_local $2 - (i32.eq - (call $___lockfile - (get_local $0) - ) - (i32.const 0) - ) - ) - (set_local $1 - (call $___fflush_unlocked - (get_local $0) - ) - ) - (if - (get_local $2) - (get_local $1) - (block - (call $___unlockfile - (get_local $0) - ) - (get_local $1) - ) - ) - ) ) ) ) @@ -1047,33 +1026,8 @@ (get_local $3) (tee_local $5 (if - (i32.eq - (i32.load - (i32.const 16) - ) - (i32.const 0) - ) - (block - (i32.store - (get_local $9) - (i32.load - (get_local $12) - ) - ) - (i32.store offset=4 - (get_local $9) - (get_local $4) - ) - (i32.store offset=8 - (get_local $9) - (get_local $6) - ) - (call $___syscall_ret - (call_import $___syscall146 - (i32.const 146) - (get_local $9) - ) - ) + (i32.load + (i32.const 16) ) (block (call_import $_pthread_cleanup_push @@ -1107,6 +1061,28 @@ ) (get_local $1) ) + (block + (i32.store + (get_local $9) + (i32.load + (get_local $12) + ) + ) + (i32.store offset=4 + (get_local $9) + (get_local $4) + ) + (i32.store offset=8 + (get_local $9) + (get_local $6) + ) + (call $___syscall_ret + (call_import $___syscall146 + (i32.const 146) + (get_local $9) + ) + ) + ) ) ) ) @@ -1466,16 +1442,20 @@ (set_local $2 (select (if - (i32.eq - (i32.load - (tee_local $10 - (i32.add - (get_local $0) - (i32.const 48) - ) + (i32.load + (tee_local $10 + (i32.add + (get_local $0) + (i32.const 48) ) ) - (i32.const 0) + ) + (call $_printf_core + (get_local $0) + (get_local $1) + (get_local $5) + (get_local $8) + (get_local $9) ) (block (set_local $2 @@ -1536,11 +1516,7 @@ ) ) (if - (i32.eq - (get_local $2) - (i32.const 0) - ) - (get_local $1) + (get_local $2) (block (drop (call_indirect $FUNCSIG$iiii @@ -1562,11 +1538,10 @@ (select (i32.const -1) (get_local $1) - (i32.eq + (i32.eqz (i32.load (get_local $11) ) - (i32.const 0) ) ) ) @@ -1592,18 +1567,12 @@ ) (get_local $1) ) + (get_local $1) ) ) - (call $_printf_core - (get_local $0) - (get_local $1) - (get_local $5) - (get_local $8) - (get_local $9) - ) ) (i32.const -1) - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.load @@ -1612,7 +1581,6 @@ ) (i32.const 32) ) - (i32.const 0) ) ) ) @@ -1624,9 +1592,10 @@ ) ) (if - (i32.ne - (get_local $12) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $12) + ) ) (call $___unlockfile (get_local $0) @@ -1648,24 +1617,29 @@ (local $6 i32) (local $7 i32) (if - (i32.eq - (tee_local $6 - (i32.load - (tee_local $5 - (i32.add - (get_local $2) - (i32.const 16) - ) + (tee_local $6 + (i32.load + (tee_local $5 + (i32.add + (get_local $2) + (i32.const 16) ) ) ) - (i32.const 0) + ) + (block + (set_local $3 + (get_local $6) + ) + (set_local $7 + (i32.const 5) + ) ) (if - (i32.eq - (call $___towrite - (get_local $2) - ) + (call $___towrite + (get_local $2) + ) + (set_local $4 (i32.const 0) ) (block @@ -1678,17 +1652,6 @@ (i32.const 5) ) ) - (set_local $4 - (i32.const 0) - ) - ) - (block - (set_local $3 - (get_local $6) - ) - (set_local $7 - (i32.const 5) - ) ) ) (block $label$break$L5 @@ -1761,9 +1724,8 @@ (loop $while-in$3 (block $while-out$2 (if - (i32.eq + (i32.eqz (get_local $3) - (i32.const 0) ) (block (set_local $2 @@ -1914,16 +1876,23 @@ (get_local $1) ) (if - (i32.eq - (i32.and - (tee_local $1 - (i32.load - (get_local $0) - ) + (i32.and + (tee_local $1 + (i32.load + (get_local $0) ) - (i32.const 8) ) - (i32.const 0) + (i32.const 8) + ) + (block + (i32.store + (get_local $0) + (i32.or + (get_local $1) + (i32.const 32) + ) + ) + (i32.const -1) ) (block (i32.store offset=8 @@ -1957,26 +1926,12 @@ ) (i32.const 0) ) - (block - (i32.store - (get_local $0) - (i32.or - (get_local $1) - (i32.const 32) - ) - ) - (i32.const -1) - ) ) ) (func $_wcrtomb (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (block $do-once$0 (if - (i32.eq - (get_local $0) - (i32.const 0) - ) - (i32.const 1) + (get_local $0) (block (if (i32.lt_u @@ -2173,21 +2128,19 @@ ) ) ) + (i32.const 1) ) ) ) (func $_wctomb (param $0 i32) (param $1 i32) (result i32) (if - (i32.eq - (get_local $0) - (i32.const 0) - ) - (i32.const 0) + (get_local $0) (call $_wcrtomb (get_local $0) (get_local $1) (i32.const 0) ) + (i32.const 0) ) ) (func $_memchr (param $0 i32) (param $1 i32) (param $2 i32) (result i32) @@ -2436,18 +2389,19 @@ ) ) (br_if $while-out$5 - (i32.ne - (i32.and - (i32.xor - (i32.and - (get_local $6) + (i32.eqz + (i32.eqz + (i32.and + (i32.xor + (i32.and + (get_local $6) + (i32.const -2139062144) + ) (i32.const -2139062144) ) - (i32.const -2139062144) + (get_local $1) ) - (get_local $1) ) - (i32.const 0) ) ) (set_local $1 @@ -2511,26 +2465,23 @@ (i32.const 11) ) (if - (i32.eq - (get_local $12) - (i32.const 0) - ) + (get_local $12) (block - (set_local $7 - (i32.const 0) + (set_local $10 + (get_local $12) ) - (set_local $8 + (set_local $9 (get_local $13) ) - (br $label$break$L8) ) (block - (set_local $10 - (get_local $12) + (set_local $7 + (i32.const 0) ) - (set_local $9 + (set_local $8 (get_local $13) ) + (br $label$break$L8) ) ) ) @@ -2572,31 +2523,28 @@ ) ) (if - (i32.eq - (tee_local $1 - (i32.add - (get_local $10) - (i32.const -1) - ) + (tee_local $1 + (i32.add + (get_local $10) + (i32.const -1) ) - (i32.const 0) ) (block - (set_local $7 - (i32.const 0) + (set_local $10 + (get_local $1) ) - (set_local $8 + (set_local $9 (get_local $2) ) - (br $while-out$7) ) (block - (set_local $10 - (get_local $1) + (set_local $7 + (i32.const 0) ) - (set_local $9 + (set_local $8 (get_local $2) ) + (br $while-out$7) ) ) (br $while-in$8) @@ -2678,18 +2626,15 @@ ) ) (if - (i32.eq - (i32.load - (get_local $3) - ) - (i32.const 0) - ) - (set_local $1 - (i32.const -1) + (i32.load + (get_local $3) ) (set_local $2 (i32.const 3) ) + (set_local $1 + (i32.const -1) + ) ) ) (set_local $2 @@ -2774,11 +2719,10 @@ ) (func $_cleanup (param $0 i32) (if - (i32.eq + (i32.eqz (i32.load offset=68 (get_local $0) ) - (i32.const 0) ) (call $___unlockfile (get_local $0) @@ -3045,19 +2989,19 @@ ) ) (if - (i32.eq - (i32.shr_s - (i32.shl - (tee_local $1 - (i32.load8_s - (get_local $20) - ) + (i32.shr_s + (i32.shl + (tee_local $1 + (i32.load8_s + (get_local $20) ) - (i32.const 24) ) (i32.const 24) ) - (i32.const 0) + (i32.const 24) + ) + (set_local $5 + (get_local $20) ) (block (set_local $82 @@ -3071,9 +3015,6 @@ ) (br $label$break$L1) ) - (set_local $5 - (get_local $20) - ) ) (loop $label$continue$L9 (block $label$break$L9 @@ -3215,14 +3156,13 @@ (if (get_local $44) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $20) @@ -3351,7 +3291,7 @@ (loop $while-in$11 (block $while-out$10 (br_if $label$break$L25 - (i32.eq + (i32.eqz (i32.and (i32.shl (i32.const 1) @@ -3362,7 +3302,6 @@ ) (i32.const 75913) ) - (i32.const 0) ) ) (set_local $8 @@ -3540,9 +3479,10 @@ (i32.const 0) ) (if - (i32.ne - (get_local $11) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $11) + ) ) (block (set_local $24 @@ -3934,9 +3874,10 @@ ) ) (if - (i32.ne - (get_local $21) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $21) + ) ) (block (set_local $24 @@ -4073,7 +4014,7 @@ ) ) (if - (i32.eq + (i32.eqz (i32.shr_s (i32.shl (get_local $1) @@ -4081,7 +4022,6 @@ ) (i32.const 24) ) - (i32.const 0) ) (block (set_local $24 @@ -4249,12 +4189,11 @@ (i32.const -65537) ) ) - (i32.eq + (i32.eqz (i32.and (get_local $8) (i32.const 8192) ) - (i32.const 0) ) ) ) @@ -4509,7 +4448,7 @@ ) (if (i32.and - (i32.eq + (i32.eqz (tee_local $5 (i32.load (tee_local $1 @@ -4517,15 +4456,13 @@ ) ) ) - (i32.const 0) ) - (i32.eq + (i32.eqz (tee_local $1 (i32.load offset=4 (get_local $1) ) ) - (i32.const 0) ) ) (set_local $6 @@ -4557,7 +4494,7 @@ ) (br_if $while-out$38 (i32.and - (i32.eq + (i32.eqz (tee_local $5 (call $_bitshift64Lshr (get_local $5) @@ -4565,13 +4502,11 @@ (i32.const 3) ) ) - (i32.const 0) ) - (i32.eq + (i32.eqz (tee_local $1 (get_global $tempRet0) ) - (i32.const 0) ) ) ) @@ -4582,30 +4517,9 @@ ) (set_local $58 (if - (i32.eq - (i32.and - (get_local $18) - (i32.const 8) - ) - (i32.const 0) - ) - (block - (set_local $34 - (get_local $18) - ) - (set_local $32 - (get_local $10) - ) - (set_local $35 - (i32.const 0) - ) - (set_local $36 - (i32.const 4091) - ) - (set_local $12 - (i32.const 77) - ) - (get_local $6) + (i32.and + (get_local $18) + (i32.const 8) ) (block (set_local $5 @@ -4643,6 +4557,24 @@ ) (get_local $6) ) + (block + (set_local $34 + (get_local $18) + ) + (set_local $32 + (get_local $10) + ) + (set_local $35 + (i32.const 0) + ) + (set_local $36 + (i32.const 4091) + ) + (set_local $12 + (i32.const 77) + ) + (get_local $6) + ) ) ) (br $switch$24) @@ -4705,26 +4637,37 @@ ) (set_local $33 (if - (i32.eq - (i32.and - (get_local $18) - (i32.const 2048) + (i32.and + (get_local $18) + (i32.const 2048) + ) + (block + (set_local $59 + (get_local $33) ) - (i32.const 0) + (set_local $60 + (i32.const 1) + ) + (set_local $61 + (i32.const 4092) + ) + (set_local $12 + (i32.const 76) + ) + (get_local $5) ) (block (set_local $1 (select (i32.const 4091) (i32.const 4093) - (i32.eq + (i32.eqz (tee_local $6 (i32.and (get_local $18) (i32.const 1) ) ) - (i32.const 0) ) ) ) @@ -4742,21 +4685,6 @@ ) (get_local $5) ) - (block - (set_local $59 - (get_local $33) - ) - (set_local $60 - (i32.const 1) - ) - (set_local $61 - (i32.const 4092) - ) - (set_local $12 - (i32.const 76) - ) - (get_local $5) - ) ) ) (br $switch$24) @@ -4877,9 +4805,12 @@ ) (set_local $12 (if - (i32.eq - (get_local $10) - (i32.const 0) + (get_local $10) + (block + (set_local $69 + (get_local $10) + ) + (i32.const 86) ) (block (call $_pad @@ -4894,12 +4825,6 @@ ) (i32.const 98) ) - (block - (set_local $69 - (get_local $10) - ) - (i32.const 86) - ) ) ) (br $switch$24) @@ -4937,37 +4862,33 @@ (i32.const 1) ) (if - (i32.eq - (i32.and - (get_local $18) - (i32.const 2048) + (i32.and + (get_local $18) + (i32.const 2048) + ) + (block + (set_local $39 + (i32.const 4111) ) - (i32.const 0) + (i32.const 1) ) (block (set_local $39 (select (i32.const 4109) (i32.const 4114) - (i32.eq + (i32.eqz (tee_local $1 (i32.and (get_local $18) (i32.const 1) ) ) - (i32.const 0) ) ) ) (get_local $1) ) - (block - (set_local $39 - (i32.const 4111) - ) - (i32.const 1) - ) ) ) ) @@ -5045,14 +4966,13 @@ (get_local $39) (i32.const 9) ) - (i32.eq + (i32.eqz (tee_local $6 (i32.and (get_local $26) (i32.const 32) ) ) - (i32.const 0) ) ) ) @@ -5069,14 +4989,13 @@ (get_local $10) (i32.const 11) ) - (i32.eq + (i32.eqz (tee_local $1 (i32.sub (i32.const 12) (get_local $10) ) ) - (i32.const 0) ) ) (get_local $14) @@ -5093,14 +5012,13 @@ ) ) (br_if $while-out$60 - (i32.eq + (i32.eqz (tee_local $1 (i32.add (get_local $1) (i32.const -1) ) ) - (i32.const 0) ) ) (br $while-in$61) @@ -5234,12 +5152,11 @@ ) ) (set_local $13 - (i32.eq + (i32.eqz (i32.and (get_local $18) (i32.const 8) ) - (i32.const 0) ) ) (set_local $11 @@ -5383,14 +5300,13 @@ (get_local $18) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $9) @@ -5415,14 +5331,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $29) @@ -5449,14 +5364,13 @@ (i32.const 0) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $8) @@ -5682,9 +5596,8 @@ ) (br_if $do-once$70 (get_local $8) - (i32.eq + (i32.eqz (get_local $5) - (i32.const 0) ) ) (i32.store @@ -5710,21 +5623,18 @@ ) ) (if - (i32.eq - (i32.load - (tee_local $5 - (i32.add - (get_local $13) - (i32.const -4) - ) + (i32.load + (tee_local $5 + (i32.add + (get_local $13) + (i32.const -4) ) ) - (i32.const 0) ) + (br $while-out$74) (set_local $13 (get_local $5) ) - (br $while-out$74) ) (br $while-in$75) ) @@ -5891,19 +5801,17 @@ (i32.const 4) ) (get_local $7) - (i32.eq + (i32.eqz (i32.load (get_local $7) ) - (i32.const 0) ) ) ) (br_if $do-once$78 (get_local $5) - (i32.eq + (i32.eqz (get_local $11) - (i32.const 0) ) ) (i32.store @@ -5924,11 +5832,10 @@ (i32.const 4) ) (get_local $7) - (i32.eq + (i32.eqz (i32.load (get_local $7) ) - (i32.const 0) ) ) ) @@ -6224,7 +6131,7 @@ (get_local $27) ) ) - (i32.eq + (i32.eqz (tee_local $15 (i32.and (i32.rem_u @@ -6238,7 +6145,6 @@ (i32.const -1) ) ) - (i32.const 0) ) ) ) @@ -6247,7 +6153,7 @@ (select (f64.const 9007199254740992) (f64.const 9007199254740994) - (i32.eq + (i32.eqz (i32.and (i32.and (i32.div_u @@ -6258,7 +6164,6 @@ ) (i32.const 1) ) - (i32.const 0) ) ) ) @@ -6293,11 +6198,7 @@ (set_local $14 (block $do-once$90 (if - (i32.eq - (get_local $51) - (i32.const 0) - ) - (get_local $14) + (get_local $51) (block (br_if $do-once$90 (get_local $14) @@ -6323,6 +6224,7 @@ (get_local $14) ) ) + (get_local $14) ) ) ) @@ -6525,19 +6427,13 @@ ) ) (if - (i32.eq - (i32.load - (tee_local $5 - (i32.add - (get_local $6) - (i32.const -4) - ) + (i32.load + (tee_local $5 + (i32.add + (get_local $6) + (i32.const -4) ) ) - (i32.const 0) - ) - (set_local $6 - (get_local $5) ) (block (set_local $11 @@ -6548,6 +6444,9 @@ ) (br $while-out$96) ) + (set_local $6 + (get_local $5) + ) ) (br $while-in$97) ) @@ -6610,14 +6509,15 @@ ) ) (if - (i32.ne - (tee_local $1 - (i32.and - (get_local $18) - (i32.const 8) + (i32.eqz + (i32.eqz + (tee_local $1 + (i32.and + (get_local $18) + (i32.const 8) + ) ) ) - (i32.const 0) ) (block (set_local $15 @@ -6636,7 +6536,7 @@ (get_local $11) (block (if - (i32.eq + (i32.eqz (tee_local $1 (i32.load (i32.add @@ -6645,7 +6545,6 @@ ) ) ) - (i32.const 0) ) (block (set_local $6 @@ -6655,29 +6554,26 @@ ) ) (if - (i32.eq - (i32.and - (i32.rem_u - (get_local $1) - (i32.const 10) - ) - (i32.const -1) + (i32.and + (i32.rem_u + (get_local $1) + (i32.const 10) ) - (i32.const 0) + (i32.const -1) ) (block - (set_local $5 - (i32.const 10) - ) (set_local $6 (i32.const 0) ) + (br $do-once$100) ) (block + (set_local $5 + (i32.const 10) + ) (set_local $6 (i32.const 0) ) - (br $do-once$100) ) ) (loop $while-in$103 @@ -6689,20 +6585,21 @@ ) ) (br_if $while-out$102 - (i32.ne - (i32.and - (i32.rem_u - (get_local $1) - (tee_local $5 - (i32.mul - (get_local $5) - (i32.const 10) + (i32.eqz + (i32.eqz + (i32.and + (i32.rem_u + (get_local $1) + (tee_local $5 + (i32.mul + (get_local $5) + (i32.const 10) + ) ) ) + (i32.const -1) ) - (i32.const -1) ) - (i32.const 0) ) ) (br $while-in$103) @@ -6987,14 +6884,13 @@ (get_local $18) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $39) @@ -7091,14 +6987,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (drop (call $___fwritex @@ -7133,20 +7028,22 @@ ) (block $do-once$114 (if - (i32.ne - (get_local $1) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $1) + ) ) (block (br_if $do-once$114 - (i32.ne - (i32.and - (i32.load - (get_local $0) + (i32.eqz + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - (i32.const 0) ) ) (drop @@ -7207,14 +7104,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (drop (call $___fwritex @@ -7296,9 +7192,8 @@ ) (block (set_local $9 - (i32.eq + (i32.eqz (get_local $8) - (i32.const 0) ) ) (set_local $5 @@ -7344,14 +7239,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $8) @@ -7369,14 +7263,15 @@ ) ) (br_if $do-once$122 - (i32.ne - (i32.and - (i32.load - (get_local $0) + (i32.eqz + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - (i32.const 0) ) ) (drop @@ -7433,14 +7328,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (drop (call $___fwritex @@ -7497,14 +7391,15 @@ (i32.const 0) ) (br_if $do-once$106 - (i32.ne - (i32.and - (i32.load - (get_local $0) + (i32.eqz + (i32.eqz + (i32.and + (i32.load + (get_local $0) + ) + (i32.const 32) ) - (i32.const 32) ) - (i32.const 0) ) ) (drop @@ -7594,20 +7489,18 @@ (get_local $7) ) (if - (i32.eq + (i32.eqz (i32.and (if - (i32.eq - (i32.and - (tee_local $1 - (i32.load - (get_local $0) - ) + (i32.and + (tee_local $1 + (i32.load + (get_local $0) ) - (i32.const 32) ) - (i32.const 0) + (i32.const 32) ) + (get_local $1) (block (drop (call $___fwritex @@ -7620,11 +7513,9 @@ (get_local $0) ) ) - (get_local $1) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $8) @@ -7694,7 +7585,7 @@ (set_local $58 (if (i32.and - (i32.eq + (i32.eqz (tee_local $5 (i32.load (tee_local $1 @@ -7702,15 +7593,13 @@ ) ) ) - (i32.const 0) ) - (i32.eq + (i32.eqz (tee_local $1 (i32.load offset=4 (get_local $1) ) ) - (i32.const 0) ) ) (block @@ -7765,7 +7654,7 @@ ) (br_if $while-out$129 (i32.and - (i32.eq + (i32.eqz (tee_local $5 (call $_bitshift64Lshr (get_local $5) @@ -7773,13 +7662,11 @@ (i32.const 4) ) ) - (i32.const 0) ) - (i32.eq + (i32.eqz (tee_local $1 (get_global $tempRet0) ) - (i32.const 0) ) ) ) @@ -7788,27 +7675,24 @@ ) (if (i32.or - (i32.eq + (i32.eqz (i32.and (get_local $46) (i32.const 8) ) - (i32.const 0) ) (i32.and - (i32.eq + (i32.eqz (i32.load (tee_local $1 (get_local $19) ) ) - (i32.const 0) ) - (i32.eq + (i32.eqz (i32.load offset=4 (get_local $1) ) - (i32.const 0) ) ) ) @@ -7898,7 +7782,7 @@ (i32.const 0) ) (set_local $5 - (i32.eq + (i32.eqz (tee_local $1 (call $_memchr (get_local $50) @@ -7906,7 +7790,6 @@ (get_local $10) ) ) - (i32.const 0) ) ) (set_local $47 @@ -7965,13 +7848,12 @@ (loop $while-in$132 (block $while-out$131 (br_if $while-out$131 - (i32.eq + (i32.eqz (tee_local $1 (i32.load (get_local $6) ) ) - (i32.const 0) ) ) (br_if $while-out$131 @@ -8043,18 +7925,7 @@ (get_local $18) ) (if - (i32.eq - (get_local $7) - (i32.const 0) - ) - (block - (set_local $38 - (i32.const 0) - ) - (set_local $12 - (i32.const 98) - ) - ) + (get_local $7) (block (set_local $6 (i32.const 0) @@ -8067,13 +7938,12 @@ (loop $while-in$134 (block $while-out$133 (if - (i32.eq + (i32.eqz (tee_local $1 (i32.load (get_local $8) ) ) - (i32.const 0) ) (block (set_local $38 @@ -8117,14 +7987,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $63) @@ -8154,6 +8023,14 @@ ) ) ) + (block + (set_local $38 + (i32.const 0) + ) + (set_local $12 + (i32.const 98) + ) + ) ) ) ) @@ -8353,14 +8230,13 @@ (get_local $37) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $48) @@ -8386,14 +8262,13 @@ (i32.const 0) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $47) @@ -8430,18 +8305,12 @@ (i32.const 242) ) (if - (i32.eq - (get_local $0) - (i32.const 0) + (get_local $0) + (set_local $24 + (get_local $82) ) (if - (i32.eq - (get_local $83) - (i32.const 0) - ) - (set_local $24 - (i32.const 0) - ) + (get_local $83) (block (set_local $1 (i32.const 1) @@ -8449,7 +8318,7 @@ (loop $while-in$137 (block $while-out$136 (br_if $while-out$136 - (i32.eq + (i32.eqz (tee_local $0 (i32.load (i32.add @@ -8461,7 +8330,6 @@ ) ) ) - (i32.const 0) ) ) (call $_pop_arg_336 @@ -8509,17 +8377,18 @@ ) ) (if - (i32.ne - (i32.load - (i32.add - (get_local $4) - (i32.shl - (get_local $1) - (i32.const 2) + (i32.eqz + (i32.eqz + (i32.load + (i32.add + (get_local $4) + (i32.shl + (get_local $1) + (i32.const 2) + ) ) ) ) - (i32.const 0) ) (block (set_local $24 @@ -8551,9 +8420,9 @@ ) ) ) - ) - (set_local $24 - (get_local $82) + (set_local $24 + (i32.const 0) + ) ) ) ) @@ -8980,9 +8849,8 @@ (i32.const 0) ) (i32.and - (i32.eq + (i32.eqz (get_local $1) - (i32.const 0) ) (i32.gt_u (get_local $0) @@ -9077,9 +8945,10 @@ ) ) (if - (i32.ne - (get_local $3) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $3) + ) ) (block (set_local $1 @@ -9169,12 +9038,11 @@ (get_local $2) (get_local $3) ) - (i32.eq + (i32.eqz (i32.and (get_local $4) (i32.const 73728) ) - (i32.const 0) ) ) (block @@ -9201,7 +9069,7 @@ ) ) (set_local $4 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.load @@ -9210,7 +9078,6 @@ ) (i32.const 32) ) - (i32.const 0) ) ) (if @@ -9231,7 +9098,7 @@ (loop $while-in$3 (block $while-out$2 (set_local $4 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (if @@ -9253,7 +9120,6 @@ ) (i32.const 32) ) - (i32.const 0) ) ) (br_if $while-out$2 @@ -9359,41 +9225,42 @@ ) (block (if - (i32.ne - (i32.and - (tee_local $25 - (i32.shr_u - (tee_local $4 - (i32.load - (i32.const 176) + (i32.eqz + (i32.eqz + (i32.and + (tee_local $25 + (i32.shr_u + (tee_local $4 + (i32.load + (i32.const 176) + ) ) - ) - (tee_local $22 - (i32.shr_u - (tee_local $6 - (select - (i32.const 16) - (i32.and - (i32.add + (tee_local $22 + (i32.shr_u + (tee_local $6 + (select + (i32.const 16) + (i32.and + (i32.add + (get_local $0) + (i32.const 11) + ) + (i32.const -8) + ) + (i32.lt_u (get_local $0) (i32.const 11) ) - (i32.const -8) - ) - (i32.lt_u - (get_local $0) - (i32.const 11) ) ) + (i32.const 3) ) - (i32.const 3) ) ) ) + (i32.const 3) ) - (i32.const 3) ) - (i32.const 0) ) (block (set_local $2 @@ -9539,9 +9406,10 @@ ) (block (if - (i32.ne - (get_local $25) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $25) + ) ) (block (set_local $1 @@ -9790,9 +9658,10 @@ (get_local $9) ) (if - (i32.ne - (get_local $7) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $7) + ) ) (block (set_local $0 @@ -9818,39 +9687,18 @@ ) ) (if - (i32.eq - (i32.and - (tee_local $1 - (i32.load - (i32.const 176) - ) - ) - (tee_local $2 - (i32.shl - (i32.const 1) - (get_local $2) - ) + (i32.and + (tee_local $1 + (i32.load + (i32.const 176) ) ) - (i32.const 0) - ) - (block - (i32.store - (i32.const 176) - (i32.or - (get_local $1) + (tee_local $2 + (i32.shl + (i32.const 1) (get_local $2) ) ) - (set_local $5 - (i32.add - (get_local $8) - (i32.const 8) - ) - ) - (set_local $12 - (get_local $8) - ) ) (if (i32.lt_u @@ -9878,6 +9726,24 @@ ) ) ) + (block + (i32.store + (i32.const 176) + (i32.or + (get_local $1) + (get_local $2) + ) + ) + (set_local $5 + (i32.add + (get_local $8) + (i32.const 8) + ) + ) + (set_local $12 + (get_local $8) + ) + ) ) (i32.store (get_local $5) @@ -9911,13 +9777,14 @@ ) ) (if - (i32.ne - (tee_local $0 - (i32.load - (i32.const 180) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load + (i32.const 180) + ) ) ) - (i32.const 0) ) (block (set_local $0 @@ -10037,22 +9904,22 @@ (loop $while-in$7 (block $while-out$6 (if - (i32.eq - (tee_local $0 - (i32.load offset=16 - (get_local $4) - ) + (tee_local $0 + (i32.load offset=16 + (get_local $4) ) - (i32.const 0) + ) + (set_local $1 + (get_local $0) ) (if - (i32.eq - (tee_local $0 - (i32.load offset=20 - (get_local $4) - ) + (tee_local $0 + (i32.load offset=20 + (get_local $4) ) - (i32.const 0) + ) + (set_local $1 + (get_local $0) ) (block (set_local $7 @@ -10063,12 +9930,6 @@ ) (br $while-out$6) ) - (set_local $1 - (get_local $0) - ) - ) - (set_local $1 - (get_local $0) ) ) (set_local $0 @@ -10147,32 +10008,32 @@ ) (block (if - (i32.eq + (tee_local $2 + (i32.load + (tee_local $8 + (i32.add + (get_local $10) + (i32.const 20) + ) + ) + ) + ) + (set_local $4 + (get_local $2) + ) + (if (tee_local $2 (i32.load (tee_local $8 (i32.add (get_local $10) - (i32.const 20) + (i32.const 16) ) ) ) ) - (i32.const 0) - ) - (if - (i32.eq - (tee_local $2 - (i32.load - (tee_local $8 - (i32.add - (get_local $10) - (i32.const 16) - ) - ) - ) - ) - (i32.const 0) + (set_local $4 + (get_local $2) ) (block (set_local $15 @@ -10180,29 +10041,24 @@ ) (br $do-once$8) ) - (set_local $4 - (get_local $2) - ) - ) - (set_local $4 - (get_local $2) ) ) (loop $while-in$11 (block $while-out$10 (if - (i32.ne - (tee_local $2 - (i32.load - (tee_local $5 - (i32.add - (get_local $4) - (i32.const 20) + (i32.eqz + (i32.eqz + (tee_local $2 + (i32.load + (tee_local $5 + (i32.add + (get_local $4) + (i32.const 20) + ) ) ) ) ) - (i32.const 0) ) (block (set_local $4 @@ -10215,20 +10071,16 @@ ) ) (if - (i32.eq - (tee_local $2 - (i32.load - (tee_local $5 - (i32.add - (get_local $4) - (i32.const 16) - ) + (tee_local $2 + (i32.load + (tee_local $5 + (i32.add + (get_local $4) + (i32.const 16) ) ) ) - (i32.const 0) ) - (br $while-out$10) (block (set_local $4 (get_local $2) @@ -10237,6 +10089,7 @@ (get_local $5) ) ) + (br $while-out$10) ) (br $while-in$11) ) @@ -10316,9 +10169,10 @@ ) (block $do-once$12 (if - (i32.ne - (get_local $1) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $1) + ) ) (block (if @@ -10346,9 +10200,8 @@ (get_local $15) ) (if - (i32.eq + (i32.eqz (get_local $15) - (i32.const 0) ) (block (i32.store @@ -10402,9 +10255,8 @@ ) ) (br_if $do-once$12 - (i32.eq + (i32.eqz (get_local $15) - (i32.const 0) ) ) ) @@ -10425,13 +10277,14 @@ (get_local $1) ) (if - (i32.ne - (tee_local $1 - (i32.load offset=16 - (get_local $10) + (i32.eqz + (i32.eqz + (tee_local $1 + (i32.load offset=16 + (get_local $10) + ) ) ) - (i32.const 0) ) (if (i32.lt_u @@ -10452,13 +10305,14 @@ ) ) (if - (i32.ne - (tee_local $0 - (i32.load offset=20 - (get_local $10) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load offset=20 + (get_local $10) + ) ) ) - (i32.const 0) ) (if (i32.lt_u @@ -10545,13 +10399,14 @@ (get_local $7) ) (if - (i32.ne - (tee_local $0 - (i32.load - (i32.const 184) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load + (i32.const 184) + ) ) ) - (i32.const 0) ) (block (set_local $1 @@ -10577,39 +10432,18 @@ ) ) (if - (i32.eq - (i32.and - (tee_local $0 - (i32.load - (i32.const 176) - ) - ) - (tee_local $2 - (i32.shl - (i32.const 1) - (get_local $2) - ) + (i32.and + (tee_local $0 + (i32.load + (i32.const 176) ) ) - (i32.const 0) - ) - (block - (i32.store - (i32.const 176) - (i32.or - (get_local $0) + (tee_local $2 + (i32.shl + (i32.const 1) (get_local $2) ) ) - (set_local $3 - (i32.add - (get_local $4) - (i32.const 8) - ) - ) - (set_local $16 - (get_local $4) - ) ) (if (i32.lt_u @@ -10637,6 +10471,24 @@ ) ) ) + (block + (i32.store + (i32.const 176) + (i32.or + (get_local $0) + (get_local $2) + ) + ) + (set_local $3 + (i32.add + (get_local $4) + (i32.const 8) + ) + ) + (set_local $16 + (get_local $4) + ) + ) ) (i32.store (get_local $3) @@ -10698,16 +10550,10 @@ ) ) (if - (i32.eq - (tee_local $0 - (i32.load - (i32.const 180) - ) + (tee_local $0 + (i32.load + (i32.const 180) ) - (i32.const 0) - ) - (set_local $6 - (get_local $5) ) (block (set_local $16 @@ -10718,134 +10564,114 @@ ) (block $label$break$L123 (if - (i32.eq - (tee_local $3 - (i32.load offset=480 - (i32.shl - (tee_local $12 + (tee_local $3 + (i32.load offset=480 + (i32.shl + (tee_local $12 + (if + (tee_local $3 + (i32.shr_u + (get_local $3) + (i32.const 8) + ) + ) (if - (i32.eq - (tee_local $3 - (i32.shr_u - (get_local $3) - (i32.const 8) - ) - ) - (i32.const 0) + (i32.gt_u + (get_local $5) + (i32.const 16777215) ) - (i32.const 0) - (if - (i32.gt_u - (get_local $5) - (i32.const 16777215) - ) - (i32.const 31) - (block - (set_local $7 - (i32.shl - (tee_local $3 - (i32.add - (i32.sub - (i32.const 14) + (i32.const 31) + (block + (set_local $7 + (i32.shl + (tee_local $3 + (i32.add + (i32.sub + (i32.const 14) + (i32.or (i32.or - (i32.or - (tee_local $7 - (i32.and - (i32.shr_u - (i32.add - (tee_local $12 - (i32.shl - (get_local $3) - (tee_local $3 - (i32.and - (i32.shr_u - (i32.add - (get_local $3) - (i32.const 1048320) - ) - (i32.const 16) + (tee_local $7 + (i32.and + (i32.shr_u + (i32.add + (tee_local $12 + (i32.shl + (get_local $3) + (tee_local $3 + (i32.and + (i32.shr_u + (i32.add + (get_local $3) + (i32.const 1048320) ) - (i32.const 8) + (i32.const 16) ) + (i32.const 8) ) ) ) - (i32.const 520192) ) - (i32.const 16) + (i32.const 520192) ) - (i32.const 4) + (i32.const 16) ) + (i32.const 4) ) - (get_local $3) ) - (tee_local $3 - (i32.and - (i32.shr_u - (i32.add - (tee_local $7 - (i32.shl - (get_local $12) - (get_local $7) - ) + (get_local $3) + ) + (tee_local $3 + (i32.and + (i32.shr_u + (i32.add + (tee_local $7 + (i32.shl + (get_local $12) + (get_local $7) ) - (i32.const 245760) ) - (i32.const 16) + (i32.const 245760) ) - (i32.const 2) + (i32.const 16) ) + (i32.const 2) ) ) ) - (i32.shr_u - (i32.shl - (get_local $7) - (get_local $3) - ) - (i32.const 15) + ) + (i32.shr_u + (i32.shl + (get_local $7) + (get_local $3) ) + (i32.const 15) ) ) - (i32.const 1) ) + (i32.const 1) ) - (i32.or - (i32.and - (i32.shr_u - (get_local $5) - (i32.add - (get_local $3) - (i32.const 7) - ) + ) + (i32.or + (i32.and + (i32.shr_u + (get_local $5) + (i32.add + (get_local $3) + (i32.const 7) ) - (i32.const 1) ) - (get_local $7) + (i32.const 1) ) + (get_local $7) ) ) ) + (i32.const 0) ) - (i32.const 2) ) + (i32.const 2) ) ) - (i32.const 0) - ) - (block - (set_local $31 - (get_local $16) - ) - (set_local $32 - (i32.const 0) - ) - (set_local $28 - (i32.const 0) - ) - (set_local $11 - (i32.const 86) - ) ) (block (set_local $7 @@ -10927,13 +10753,12 @@ ) ) (set_local $7 - (i32.eq + (i32.eqz (tee_local $3 (i32.load offset=20 (get_local $23) ) ) - (i32.const 0) ) ) (set_local $15 @@ -10971,9 +10796,8 @@ (i32.xor (i32.and (tee_local $7 - (i32.eq + (i32.eqz (get_local $3) - (i32.const 0) ) ) (i32.const 1) @@ -11012,6 +10836,20 @@ ) ) ) + (block + (set_local $31 + (get_local $16) + ) + (set_local $32 + (i32.const 0) + ) + (set_local $28 + (i32.const 0) + ) + (set_local $11 + (i32.const 86) + ) + ) ) ) (if @@ -11020,121 +10858,102 @@ (i32.const 86) ) (if - (i32.eq - (tee_local $0 - (if - (i32.and - (i32.eq - (get_local $32) - (i32.const 0) - ) - (i32.eq - (get_local $28) - (i32.const 0) - ) + (tee_local $0 + (if + (i32.and + (i32.eqz + (get_local $32) ) - (block - (set_local $7 - (i32.sub - (i32.const 0) - (tee_local $3 - (i32.shl - (i32.const 2) - (get_local $12) - ) + (i32.eqz + (get_local $28) + ) + ) + (block + (set_local $7 + (i32.sub + (i32.const 0) + (tee_local $3 + (i32.shl + (i32.const 2) + (get_local $12) ) ) ) - (if - (i32.eq - (tee_local $0 - (i32.and - (get_local $0) - (i32.or - (get_local $3) - (get_local $7) - ) + ) + (if + (i32.eqz + (tee_local $0 + (i32.and + (get_local $0) + (i32.or + (get_local $3) + (get_local $7) ) ) - (i32.const 0) ) - (block - (set_local $6 - (get_local $5) - ) - (br $do-once$0) + ) + (block + (set_local $6 + (get_local $5) ) + (br $do-once$0) ) - (set_local $0 - (i32.and - (i32.shr_u - (tee_local $3 - (i32.add - (i32.and + ) + (set_local $0 + (i32.and + (i32.shr_u + (tee_local $3 + (i32.add + (i32.and + (get_local $0) + (i32.sub + (i32.const 0) (get_local $0) - (i32.sub - (i32.const 0) - (get_local $0) - ) ) - (i32.const -1) ) + (i32.const -1) ) - (i32.const 12) ) - (i32.const 16) + (i32.const 12) ) + (i32.const 16) ) - (i32.load offset=480 - (i32.shl - (i32.add + ) + (i32.load offset=480 + (i32.shl + (i32.add + (i32.or (i32.or (i32.or (i32.or - (i32.or - (tee_local $3 - (i32.and - (i32.shr_u - (tee_local $7 - (i32.shr_u - (get_local $3) - (get_local $0) - ) - ) - (i32.const 5) - ) - (i32.const 8) - ) - ) - (get_local $0) - ) - (tee_local $0 + (tee_local $3 (i32.and (i32.shr_u - (tee_local $3 + (tee_local $7 (i32.shr_u - (get_local $7) (get_local $3) + (get_local $0) ) ) - (i32.const 2) + (i32.const 5) ) - (i32.const 4) + (i32.const 8) ) ) + (get_local $0) ) (tee_local $0 (i32.and (i32.shr_u (tee_local $3 (i32.shr_u + (get_local $7) (get_local $3) - (get_local $0) ) ) - (i32.const 1) + (i32.const 2) ) - (i32.const 2) + (i32.const 4) ) ) ) @@ -11149,30 +10968,35 @@ ) (i32.const 1) ) - (i32.const 1) + (i32.const 2) ) ) ) - (i32.shr_u - (get_local $3) - (get_local $0) + (tee_local $0 + (i32.and + (i32.shr_u + (tee_local $3 + (i32.shr_u + (get_local $3) + (get_local $0) + ) + ) + (i32.const 1) + ) + (i32.const 1) + ) ) ) - (i32.const 2) + (i32.shr_u + (get_local $3) + (get_local $0) + ) ) + (i32.const 2) ) ) - (get_local $32) ) - ) - (i32.const 0) - ) - (block - (set_local $17 - (get_local $31) - ) - (set_local $13 - (get_local $28) + (get_local $32) ) ) (block @@ -11189,6 +11013,14 @@ (i32.const 90) ) ) + (block + (set_local $17 + (get_local $31) + ) + (set_local $13 + (get_local $28) + ) + ) ) ) (if @@ -11232,13 +11064,14 @@ ) ) (if - (i32.ne - (tee_local $0 - (i32.load offset=16 - (get_local $24) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load offset=16 + (get_local $24) + ) ) ) - (i32.const 0) ) (block (set_local $26 @@ -11254,19 +11087,10 @@ ) ) (if - (i32.eq - (tee_local $0 - (i32.load offset=20 - (get_local $24) - ) - ) - (i32.const 0) - ) - (block - (set_local $13 - (get_local $3) + (tee_local $0 + (i32.load offset=20 + (get_local $24) ) - (br $while-out$19) ) (block (set_local $26 @@ -11279,19 +11103,19 @@ (get_local $3) ) ) + (block + (set_local $13 + (get_local $3) + ) + (br $while-out$19) + ) ) (br $while-in$20) ) ) ) (if - (i32.eq - (get_local $13) - (i32.const 0) - ) - (set_local $6 - (get_local $5) - ) + (get_local $13) (if (i32.lt_u (get_local $17) @@ -11343,32 +11167,32 @@ ) (block (if - (i32.eq + (tee_local $2 + (i32.load + (tee_local $9 + (i32.add + (get_local $13) + (i32.const 20) + ) + ) + ) + ) + (set_local $8 + (get_local $2) + ) + (if (tee_local $2 (i32.load (tee_local $9 (i32.add (get_local $13) - (i32.const 20) + (i32.const 16) ) ) ) ) - (i32.const 0) - ) - (if - (i32.eq - (tee_local $2 - (i32.load - (tee_local $9 - (i32.add - (get_local $13) - (i32.const 16) - ) - ) - ) - ) - (i32.const 0) + (set_local $8 + (get_local $2) ) (block (set_local $6 @@ -11376,29 +11200,24 @@ ) (br $do-once$21) ) - (set_local $8 - (get_local $2) - ) - ) - (set_local $8 - (get_local $2) ) ) (loop $while-in$24 (block $while-out$23 (if - (i32.ne - (tee_local $2 - (i32.load - (tee_local $7 - (i32.add - (get_local $8) - (i32.const 20) + (i32.eqz + (i32.eqz + (tee_local $2 + (i32.load + (tee_local $7 + (i32.add + (get_local $8) + (i32.const 20) + ) ) ) ) ) - (i32.const 0) ) (block (set_local $8 @@ -11411,20 +11230,16 @@ ) ) (if - (i32.eq - (tee_local $2 - (i32.load - (tee_local $7 - (i32.add - (get_local $8) - (i32.const 16) - ) + (tee_local $2 + (i32.load + (tee_local $7 + (i32.add + (get_local $8) + (i32.const 16) ) ) ) - (i32.const 0) ) - (br $while-out$23) (block (set_local $8 (get_local $2) @@ -11433,6 +11248,7 @@ (get_local $7) ) ) + (br $while-out$23) ) (br $while-in$24) ) @@ -11512,9 +11328,10 @@ ) (block $do-once$25 (if - (i32.ne - (get_local $1) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $1) + ) ) (block (if @@ -11542,9 +11359,8 @@ (get_local $6) ) (if - (i32.eq + (i32.eqz (get_local $6) - (i32.const 0) ) (block (i32.store @@ -11598,9 +11414,8 @@ ) ) (br_if $do-once$25 - (i32.eq + (i32.eqz (get_local $6) - (i32.const 0) ) ) ) @@ -11621,13 +11436,14 @@ (get_local $1) ) (if - (i32.ne - (tee_local $1 - (i32.load offset=16 - (get_local $13) + (i32.eqz + (i32.eqz + (tee_local $1 + (i32.load offset=16 + (get_local $13) + ) ) ) - (i32.const 0) ) (if (i32.lt_u @@ -11648,13 +11464,14 @@ ) ) (if - (i32.ne - (tee_local $0 - (i32.load offset=20 - (get_local $13) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load offset=20 + (get_local $13) + ) ) ) - (i32.const 0) ) (if (i32.lt_u @@ -11766,39 +11583,18 @@ ) ) (if - (i32.eq - (i32.and - (tee_local $0 - (i32.load - (i32.const 176) - ) - ) - (tee_local $1 - (i32.shl - (i32.const 1) - (get_local $1) - ) + (i32.and + (tee_local $0 + (i32.load + (i32.const 176) ) ) - (i32.const 0) - ) - (block - (i32.store - (i32.const 176) - (i32.or - (get_local $0) + (tee_local $1 + (i32.shl + (i32.const 1) (get_local $1) ) ) - (set_local $4 - (i32.add - (get_local $2) - (i32.const 8) - ) - ) - (set_local $10 - (get_local $2) - ) ) (if (i32.lt_u @@ -11826,6 +11622,24 @@ ) ) ) + (block + (i32.store + (i32.const 176) + (i32.or + (get_local $0) + (get_local $1) + ) + ) + (set_local $4 + (i32.add + (get_local $2) + (i32.const 8) + ) + ) + (set_local $10 + (get_local $2) + ) + ) ) (i32.store (get_local $4) @@ -11852,16 +11666,12 @@ (i32.shl (tee_local $1 (if - (i32.eq - (tee_local $0 - (i32.shr_u - (get_local $17) - (i32.const 8) - ) + (tee_local $0 + (i32.shr_u + (get_local $17) + (i32.const 8) ) - (i32.const 0) ) - (i32.const 0) (if (i32.gt_u (get_local $17) @@ -11953,6 +11763,7 @@ ) ) ) + (i32.const 0) ) ) (i32.const 2) @@ -11977,7 +11788,7 @@ (i32.const 0) ) (if - (i32.eq + (i32.eqz (i32.and (tee_local $0 (i32.load @@ -11991,7 +11802,6 @@ ) ) ) - (i32.const 0) ) (block (i32.store @@ -12073,27 +11883,32 @@ ) ) (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $1 + (tee_local $0 + (i32.load + (tee_local $1 + (i32.add (i32.add - (i32.add - (get_local $2) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (i32.const 2) + (get_local $2) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) ) + (i32.const 2) ) ) ) ) - (i32.const 0) + ) + (block + (set_local $1 + (get_local $4) + ) + (set_local $2 + (get_local $0) + ) ) (block (set_local $25 @@ -12107,14 +11922,6 @@ ) (br $while-out$31) ) - (block - (set_local $1 - (get_local $4) - ) - (set_local $2 - (get_local $0) - ) - ) ) (br $while-in$32) ) @@ -12220,8 +12027,14 @@ (get_local $5) ) ) + (set_local $6 + (get_local $5) + ) ) ) + (set_local $6 + (get_local $5) + ) ) ) ) @@ -12389,27 +12202,24 @@ ) ) (if - (i32.eq + (i32.eqz (i32.load (i32.const 648) ) - (i32.const 0) ) (if - (i32.eq - (i32.and - (i32.add - (tee_local $0 - (call_import $_sysconf - (i32.const 30) - ) + (i32.and + (i32.add + (tee_local $0 + (call_import $_sysconf + (i32.const 30) ) - (i32.const -1) ) - (get_local $0) + (i32.const -1) ) - (i32.const 0) + (get_local $0) ) + (call_import $_abort) (block (i32.store (i32.const 656) @@ -12448,7 +12258,6 @@ ) ) ) - (call_import $_abort) ) ) (set_local $5 @@ -12491,13 +12300,14 @@ ) ) (if - (i32.ne - (tee_local $0 - (i32.load - (i32.const 616) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load + (i32.const 616) + ) ) ) - (i32.const 0) ) (if (i32.or @@ -12529,28 +12339,20 @@ (tee_local $11 (block $label$break$L257 (if - (i32.eq - (i32.and - (i32.load - (i32.const 620) - ) - (i32.const 4) + (i32.and + (i32.load + (i32.const 620) ) - (i32.const 0) + (i32.const 4) ) + (i32.const 190) (block (block $label$break$L259 (if - (i32.eq - (tee_local $0 - (i32.load - (i32.const 200) - ) + (tee_local $0 + (i32.load + (i32.const 200) ) - (i32.const 0) - ) - (set_local $11 - (i32.const 173) ) (block (set_local $16 @@ -12594,13 +12396,13 @@ ) ) (if - (i32.eq - (tee_local $4 - (i32.load offset=8 - (get_local $16) - ) + (tee_local $4 + (i32.load offset=8 + (get_local $16) ) - (i32.const 0) + ) + (set_local $16 + (get_local $4) ) (block (set_local $11 @@ -12608,9 +12410,6 @@ ) (br $label$break$L259) ) - (set_local $16 - (get_local $4) - ) ) (br $while-in$38) ) @@ -12677,6 +12476,9 @@ ) ) ) + (set_local $11 + (i32.const 173) + ) ) ) (block $do-once$39 @@ -12704,25 +12506,21 @@ ) (tee_local $12 (if - (i32.eq - (i32.and - (tee_local $12 - (i32.add - (tee_local $4 - (i32.load - (i32.const 652) - ) + (i32.and + (tee_local $12 + (i32.add + (tee_local $4 + (i32.load + (i32.const 652) ) - (i32.const -1) ) - ) - (tee_local $0 - (get_local $7) + (i32.const -1) ) ) - (i32.const 0) + (tee_local $0 + (get_local $7) + ) ) - (get_local $10) (i32.add (i32.sub (get_local $10) @@ -12739,6 +12537,7 @@ ) ) ) + (get_local $10) ) ) ) @@ -12756,13 +12555,14 @@ ) (block (if - (i32.ne - (tee_local $0 - (i32.load - (i32.const 616) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load + (i32.const 616) + ) ) ) - (i32.const 0) ) (br_if $do-once$39 (i32.or @@ -12920,7 +12720,6 @@ ) (i32.const 190) ) - (i32.const 190) ) ) ) @@ -13020,161 +12819,9 @@ ) (block $do-once$44 (if - (i32.eq - (tee_local $0 - (i32.load - (i32.const 200) - ) - ) - (i32.const 0) - ) - (block - (if - (i32.or - (i32.eq - (tee_local $0 - (i32.load - (i32.const 192) - ) - ) - (i32.const 0) - ) - (i32.lt_u - (get_local $14) - (get_local $0) - ) - ) - (i32.store - (i32.const 192) - (get_local $14) - ) - ) - (i32.store - (i32.const 624) - (get_local $14) - ) - (i32.store - (i32.const 628) - (get_local $19) - ) - (i32.store - (i32.const 636) - (i32.const 0) - ) - (i32.store - (i32.const 212) - (i32.load - (i32.const 648) - ) - ) - (i32.store - (i32.const 208) - (i32.const -1) - ) - (set_local $1 - (i32.const 0) - ) - (loop $while-in$47 - (block $while-out$46 - (i32.store offset=12 - (tee_local $0 - (i32.add - (i32.const 216) - (i32.shl - (i32.shl - (get_local $1) - (i32.const 1) - ) - (i32.const 2) - ) - ) - ) - (get_local $0) - ) - (i32.store offset=8 - (get_local $0) - (get_local $0) - ) - (br_if $while-out$46 - (i32.eq - (tee_local $1 - (i32.add - (get_local $1) - (i32.const 1) - ) - ) - (i32.const 32) - ) - ) - (br $while-in$47) - ) - ) - (set_local $1 - (i32.eq - (i32.and - (tee_local $0 - (i32.add - (get_local $14) - (i32.const 8) - ) - ) - (i32.const 7) - ) - (i32.const 0) - ) - ) - (i32.store + (tee_local $0 + (i32.load (i32.const 200) - (tee_local $0 - (i32.add - (get_local $14) - (tee_local $1 - (select - (i32.const 0) - (i32.and - (i32.sub - (i32.const 0) - (get_local $0) - ) - (i32.const 7) - ) - (get_local $1) - ) - ) - ) - ) - ) - (i32.store - (i32.const 188) - (tee_local $1 - (i32.sub - (i32.add - (get_local $19) - (i32.const -40) - ) - (get_local $1) - ) - ) - ) - (i32.store offset=4 - (get_local $0) - (i32.or - (get_local $1) - (i32.const 1) - ) - ) - (i32.store offset=4 - (i32.add - (get_local $0) - (get_local $1) - ) - (i32.const 40) - ) - (i32.store - (i32.const 204) - (i32.load - (i32.const 664) - ) ) ) (block @@ -13224,18 +12871,15 @@ ) ) (if - (i32.eq - (tee_local $4 - (i32.load offset=8 - (get_local $7) - ) + (tee_local $4 + (i32.load offset=8 + (get_local $7) ) - (i32.const 0) ) - (br $while-out$48) (set_local $7 (get_local $4) ) + (br $while-out$48) ) (br $while-in$49) ) @@ -13246,14 +12890,13 @@ (i32.const 203) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load offset=12 (get_local $43) ) (i32.const 8) ) - (i32.const 0) ) (if (i32.and @@ -13275,7 +12918,7 @@ ) ) (set_local $2 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.add @@ -13285,7 +12928,6 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (set_local $0 @@ -13402,13 +13044,12 @@ ) ) (if - (i32.eq + (i32.eqz (tee_local $1 (i32.load offset=8 (get_local $1) ) ) - (i32.const 0) ) (block (set_local $27 @@ -13426,14 +13067,14 @@ (i32.const 211) ) (if - (i32.eq - (i32.and - (i32.load offset=12 - (get_local $38) - ) - (i32.const 8) + (i32.and + (i32.load offset=12 + (get_local $38) ) - (i32.const 0) + (i32.const 8) + ) + (set_local $27 + (i32.const 624) ) (block (i32.store @@ -13458,7 +13099,7 @@ (get_local $1) ) (set_local $9 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.add @@ -13468,11 +13109,10 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (set_local $5 - (i32.eq + (i32.eqz (i32.and (tee_local $2 (i32.add @@ -13482,7 +13122,6 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (set_local $1 @@ -13788,38 +13427,29 @@ ) (block (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $9 - (i32.add - (tee_local $20 - (i32.add - (get_local $3) - (i32.const 16) - ) + (tee_local $1 + (i32.load + (tee_local $9 + (i32.add + (tee_local $20 + (i32.add + (get_local $3) + (i32.const 16) ) - (i32.const 4) ) + (i32.const 4) ) ) ) - (i32.const 0) + ) + (set_local $2 + (get_local $1) ) (if - (i32.eq - (tee_local $1 - (i32.load - (get_local $20) - ) - ) - (i32.const 0) - ) - (block - (set_local $18 - (i32.const 0) + (tee_local $1 + (i32.load + (get_local $20) ) - (br $do-once$59) ) (block (set_local $2 @@ -13829,26 +13459,30 @@ (get_local $20) ) ) - ) - (set_local $2 - (get_local $1) + (block + (set_local $18 + (i32.const 0) + ) + (br $do-once$59) + ) ) ) (loop $while-in$62 (block $while-out$61 (if - (i32.ne - (tee_local $1 - (i32.load - (tee_local $20 - (i32.add - (get_local $2) - (i32.const 20) + (i32.eqz + (i32.eqz + (tee_local $1 + (i32.load + (tee_local $20 + (i32.add + (get_local $2) + (i32.const 20) + ) ) ) ) ) - (i32.const 0) ) (block (set_local $2 @@ -13861,20 +13495,16 @@ ) ) (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $20 - (i32.add - (get_local $2) - (i32.const 16) - ) + (tee_local $1 + (i32.load + (tee_local $20 + (i32.add + (get_local $2) + (i32.const 16) ) ) ) - (i32.const 0) ) - (br $while-out$61) (block (set_local $2 (get_local $1) @@ -13883,6 +13513,7 @@ (get_local $20) ) ) + (br $while-out$61) ) (br $while-in$62) ) @@ -13961,9 +13592,8 @@ ) ) (br_if $label$break$L331 - (i32.eq + (i32.eqz (get_local $0) - (i32.const 0) ) ) (block $do-once$63 @@ -13992,9 +13622,10 @@ (get_local $18) ) (br_if $do-once$63 - (i32.ne - (get_local $18) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $18) + ) ) ) (i32.store @@ -14046,9 +13677,8 @@ ) ) (br_if $label$break$L331 - (i32.eq + (i32.eqz (get_local $18) - (i32.const 0) ) ) ) @@ -14070,18 +13700,19 @@ (get_local $0) ) (if - (i32.ne - (tee_local $0 - (i32.load - (tee_local $2 - (i32.add - (get_local $3) - (i32.const 16) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load + (tee_local $2 + (i32.add + (get_local $3) + (i32.const 16) + ) ) ) ) ) - (i32.const 0) ) (if (i32.lt_u @@ -14102,13 +13733,12 @@ ) ) (br_if $label$break$L331 - (i32.eq + (i32.eqz (tee_local $0 (i32.load offset=4 (get_local $2) ) ) - (i32.const 0) ) ) (if @@ -14202,39 +13832,18 @@ ) (block $do-once$67 (if - (i32.eq - (i32.and - (tee_local $0 - (i32.load - (i32.const 176) - ) - ) - (tee_local $1 - (i32.shl - (i32.const 1) - (get_local $1) - ) + (i32.and + (tee_local $0 + (i32.load + (i32.const 176) ) ) - (i32.const 0) - ) - (block - (i32.store - (i32.const 176) - (i32.or - (get_local $0) + (tee_local $1 + (i32.shl + (i32.const 1) (get_local $1) ) ) - (set_local $8 - (i32.add - (get_local $2) - (i32.const 8) - ) - ) - (set_local $33 - (get_local $2) - ) ) (block (if @@ -14265,6 +13874,24 @@ ) (call_import $_abort) ) + (block + (i32.store + (i32.const 176) + (i32.or + (get_local $0) + (get_local $1) + ) + ) + (set_local $8 + (i32.add + (get_local $2) + (i32.const 8) + ) + ) + (set_local $33 + (get_local $2) + ) + ) ) ) (i32.store @@ -14293,16 +13920,12 @@ (tee_local $1 (block $do-once$69 (if - (i32.eq - (tee_local $0 - (i32.shr_u - (get_local $4) - (i32.const 8) - ) + (tee_local $0 + (i32.shr_u + (get_local $4) + (i32.const 8) ) - (i32.const 0) ) - (i32.const 0) (block (br_if $do-once$69 (i32.const 31) @@ -14394,6 +14017,7 @@ (get_local $1) ) ) + (i32.const 0) ) ) ) @@ -14419,7 +14043,7 @@ (i32.const 0) ) (if - (i32.eq + (i32.eqz (i32.and (tee_local $0 (i32.load @@ -14433,7 +14057,6 @@ ) ) ) - (i32.const 0) ) (block (i32.store @@ -14515,27 +14138,32 @@ ) ) (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $1 + (tee_local $0 + (i32.load + (tee_local $1 + (i32.add (i32.add - (i32.add - (get_local $2) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (i32.const 2) + (get_local $2) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) ) + (i32.const 2) ) ) ) ) - (i32.const 0) + ) + (block + (set_local $1 + (get_local $8) + ) + (set_local $2 + (get_local $0) + ) ) (block (set_local $45 @@ -14549,14 +14177,6 @@ ) (br $while-out$71) ) - (block - (set_local $1 - (get_local $8) - ) - (set_local $2 - (get_local $0) - ) - ) ) (br $while-in$72) ) @@ -14658,9 +14278,6 @@ ) ) ) - (set_local $27 - (i32.const 624) - ) ) ) (loop $while-in$74 @@ -14703,7 +14320,7 @@ ) ) (set_local $8 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.add @@ -14718,7 +14335,6 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (set_local $4 @@ -14760,7 +14376,7 @@ ) ) (set_local $3 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.add @@ -14770,7 +14386,6 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (i32.store @@ -14960,39 +14575,18 @@ ) ) (if - (i32.eq - (i32.and - (tee_local $1 - (i32.load - (i32.const 176) - ) - ) - (tee_local $2 - (i32.shl - (i32.const 1) - (get_local $2) - ) + (i32.and + (tee_local $1 + (i32.load + (i32.const 176) ) ) - (i32.const 0) - ) - (block - (i32.store - (i32.const 176) - (i32.or - (get_local $1) + (tee_local $2 + (i32.shl + (i32.const 1) (get_local $2) ) ) - (set_local $9 - (i32.add - (get_local $4) - (i32.const 8) - ) - ) - (set_local $20 - (get_local $4) - ) ) (if (i32.lt_u @@ -15020,6 +14614,24 @@ ) ) ) + (block + (i32.store + (i32.const 176) + (i32.or + (get_local $1) + (get_local $2) + ) + ) + (set_local $9 + (i32.add + (get_local $4) + (i32.const 8) + ) + ) + (set_local $20 + (get_local $4) + ) + ) ) (i32.store (get_local $9) @@ -15046,16 +14658,12 @@ (i32.shl (tee_local $2 (if - (i32.eq - (tee_local $1 - (i32.shr_u - (get_local $3) - (i32.const 8) - ) + (tee_local $1 + (i32.shr_u + (get_local $3) + (i32.const 8) ) - (i32.const 0) ) - (i32.const 0) (if (i32.gt_u (get_local $3) @@ -15147,6 +14755,7 @@ ) ) ) + (i32.const 0) ) ) (i32.const 2) @@ -15166,7 +14775,7 @@ (i32.const 0) ) (if - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.load @@ -15180,7 +14789,6 @@ ) ) ) - (i32.const 0) ) (block (i32.store @@ -15262,27 +14870,32 @@ ) ) (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $2 + (tee_local $1 + (i32.load + (tee_local $2 + (i32.add (i32.add - (i32.add - (get_local $4) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $2) - (i32.const 31) - ) - (i32.const 2) + (get_local $4) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $2) + (i32.const 31) ) + (i32.const 2) ) ) ) ) - (i32.const 0) + ) + (block + (set_local $2 + (get_local $8) + ) + (set_local $4 + (get_local $1) + ) ) (block (set_local $46 @@ -15296,14 +14909,6 @@ ) (br $while-out$77) ) - (block - (set_local $2 - (get_local $8) - ) - (set_local $4 - (get_local $1) - ) - ) ) (br $while-in$78) ) @@ -15398,6 +15003,153 @@ ) ) ) + (block + (if + (i32.or + (i32.eqz + (tee_local $0 + (i32.load + (i32.const 192) + ) + ) + ) + (i32.lt_u + (get_local $14) + (get_local $0) + ) + ) + (i32.store + (i32.const 192) + (get_local $14) + ) + ) + (i32.store + (i32.const 624) + (get_local $14) + ) + (i32.store + (i32.const 628) + (get_local $19) + ) + (i32.store + (i32.const 636) + (i32.const 0) + ) + (i32.store + (i32.const 212) + (i32.load + (i32.const 648) + ) + ) + (i32.store + (i32.const 208) + (i32.const -1) + ) + (set_local $1 + (i32.const 0) + ) + (loop $while-in$47 + (block $while-out$46 + (i32.store offset=12 + (tee_local $0 + (i32.add + (i32.const 216) + (i32.shl + (i32.shl + (get_local $1) + (i32.const 1) + ) + (i32.const 2) + ) + ) + ) + (get_local $0) + ) + (i32.store offset=8 + (get_local $0) + (get_local $0) + ) + (br_if $while-out$46 + (i32.eq + (tee_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) + ) + (i32.const 32) + ) + ) + (br $while-in$47) + ) + ) + (set_local $1 + (i32.eqz + (i32.and + (tee_local $0 + (i32.add + (get_local $14) + (i32.const 8) + ) + ) + (i32.const 7) + ) + ) + ) + (i32.store + (i32.const 200) + (tee_local $0 + (i32.add + (get_local $14) + (tee_local $1 + (select + (i32.const 0) + (i32.and + (i32.sub + (i32.const 0) + (get_local $0) + ) + (i32.const 7) + ) + (get_local $1) + ) + ) + ) + ) + ) + (i32.store + (i32.const 188) + (tee_local $1 + (i32.sub + (i32.add + (get_local $19) + (i32.const -40) + ) + (get_local $1) + ) + ) + ) + (i32.store offset=4 + (get_local $0) + (i32.or + (get_local $1) + (i32.const 1) + ) + ) + (i32.store offset=4 + (i32.add + (get_local $0) + (get_local $1) + ) + (i32.const 40) + ) + (i32.store + (i32.const 204) + (i32.load + (i32.const 664) + ) + ) + ) ) ) (if @@ -15482,9 +15234,8 @@ (local $17 i32) (local $18 i32) (if - (i32.eq + (i32.eqz (get_local $0) - (i32.const 0) ) (return) ) @@ -15536,12 +15287,17 @@ ) (block $do-once$0 (if - (i32.eq - (i32.and - (get_local $0) - (i32.const 1) + (i32.and + (get_local $0) + (i32.const 1) + ) + (block + (set_local $3 + (get_local $2) + ) + (set_local $10 + (get_local $7) ) - (i32.const 0) ) (block (set_local $0 @@ -15550,9 +15306,8 @@ ) ) (if - (i32.eq + (i32.eqz (get_local $8) - (i32.const 0) ) (return) ) @@ -15798,38 +15553,29 @@ ) (block (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $7 - (i32.add - (tee_local $13 - (i32.add - (get_local $4) - (i32.const 16) - ) + (tee_local $0 + (i32.load + (tee_local $7 + (i32.add + (tee_local $13 + (i32.add + (get_local $4) + (i32.const 16) ) - (i32.const 4) ) + (i32.const 4) ) ) ) - (i32.const 0) + ) + (set_local $2 + (get_local $0) ) (if - (i32.eq - (tee_local $0 - (i32.load - (get_local $13) - ) - ) - (i32.const 0) - ) - (block - (set_local $5 - (i32.const 0) + (tee_local $0 + (i32.load + (get_local $13) ) - (br $do-once$2) ) (block (set_local $2 @@ -15839,26 +15585,30 @@ (get_local $13) ) ) - ) - (set_local $2 - (get_local $0) + (block + (set_local $5 + (i32.const 0) + ) + (br $do-once$2) + ) ) ) (loop $while-in$5 (block $while-out$4 (if - (i32.ne - (tee_local $0 - (i32.load - (tee_local $13 - (i32.add - (get_local $2) - (i32.const 20) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load + (tee_local $13 + (i32.add + (get_local $2) + (i32.const 20) + ) ) ) ) ) - (i32.const 0) ) (block (set_local $2 @@ -15871,20 +15621,16 @@ ) ) (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $13 - (i32.add - (get_local $2) - (i32.const 16) - ) + (tee_local $0 + (i32.load + (tee_local $13 + (i32.add + (get_local $2) + (i32.const 16) ) ) ) - (i32.const 0) ) - (br $while-out$4) (block (set_local $2 (get_local $0) @@ -15893,6 +15639,7 @@ (get_local $13) ) ) + (br $while-out$4) ) (br $while-in$5) ) @@ -15971,18 +15718,7 @@ ) ) (if - (i32.eq - (get_local $8) - (i32.const 0) - ) - (block - (set_local $3 - (get_local $4) - ) - (set_local $10 - (get_local $12) - ) - ) + (get_local $8) (block (if (i32.eq @@ -16009,9 +15745,8 @@ (get_local $5) ) (if - (i32.eq + (i32.eqz (get_local $5) - (i32.const 0) ) (block (i32.store @@ -16071,9 +15806,8 @@ ) ) (if - (i32.eq + (i32.eqz (get_local $5) - (i32.const 0) ) (block (set_local $3 @@ -16103,18 +15837,19 @@ (get_local $8) ) (if - (i32.ne - (tee_local $1 - (i32.load - (tee_local $2 - (i32.add - (get_local $4) - (i32.const 16) + (i32.eqz + (i32.eqz + (tee_local $1 + (i32.load + (tee_local $2 + (i32.add + (get_local $4) + (i32.const 16) + ) ) ) ) ) - (i32.const 0) ) (if (i32.lt_u @@ -16135,20 +15870,9 @@ ) ) (if - (i32.eq - (tee_local $0 - (i32.load offset=4 - (get_local $2) - ) - ) - (i32.const 0) - ) - (block - (set_local $3 - (get_local $4) - ) - (set_local $10 - (get_local $12) + (tee_local $0 + (i32.load offset=4 + (get_local $2) ) ) (if @@ -16176,16 +15900,24 @@ ) ) ) + (block + (set_local $3 + (get_local $4) + ) + (set_local $10 + (get_local $12) + ) + ) + ) + ) + (block + (set_local $3 + (get_local $4) + ) + (set_local $10 + (get_local $12) ) ) - ) - ) - (block - (set_local $3 - (get_local $2) - ) - (set_local $10 - (get_local $7) ) ) ) @@ -16198,7 +15930,7 @@ (call_import $_abort) ) (if - (i32.eq + (i32.eqz (i32.and (tee_local $0 (i32.load @@ -16212,17 +15944,39 @@ ) (i32.const 1) ) - (i32.const 0) ) (call_import $_abort) ) (if - (i32.eq - (i32.and - (get_local $0) - (i32.const 2) + (i32.and + (get_local $0) + (i32.const 2) + ) + (block + (i32.store + (get_local $1) + (i32.and + (get_local $0) + (i32.const -2) + ) + ) + (i32.store offset=4 + (get_local $3) + (i32.or + (get_local $10) + (i32.const 1) + ) + ) + (i32.store + (i32.add + (get_local $3) + (get_local $10) + ) + (get_local $10) + ) + (set_local $5 + (get_local $10) ) - (i32.const 0) ) (block (if @@ -16474,38 +16228,29 @@ ) (block (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $8 - (i32.add - (tee_local $7 - (i32.add - (get_local $9) - (i32.const 16) - ) + (tee_local $1 + (i32.load + (tee_local $8 + (i32.add + (tee_local $7 + (i32.add + (get_local $9) + (i32.const 16) ) - (i32.const 4) ) + (i32.const 4) ) ) ) - (i32.const 0) + ) + (set_local $2 + (get_local $1) ) (if - (i32.eq - (tee_local $1 - (i32.load - (get_local $7) - ) - ) - (i32.const 0) - ) - (block - (set_local $11 - (i32.const 0) + (tee_local $1 + (i32.load + (get_local $7) ) - (br $do-once$10) ) (block (set_local $2 @@ -16515,26 +16260,30 @@ (get_local $7) ) ) - ) - (set_local $2 - (get_local $1) + (block + (set_local $11 + (i32.const 0) + ) + (br $do-once$10) + ) ) ) (loop $while-in$13 (block $while-out$12 (if - (i32.ne - (tee_local $1 - (i32.load - (tee_local $7 - (i32.add - (get_local $2) - (i32.const 20) + (i32.eqz + (i32.eqz + (tee_local $1 + (i32.load + (tee_local $7 + (i32.add + (get_local $2) + (i32.const 20) + ) ) ) ) ) - (i32.const 0) ) (block (set_local $2 @@ -16547,20 +16296,16 @@ ) ) (if - (i32.eq - (tee_local $1 - (i32.load - (tee_local $7 - (i32.add - (get_local $2) - (i32.const 16) - ) + (tee_local $1 + (i32.load + (tee_local $7 + (i32.add + (get_local $2) + (i32.const 16) ) ) ) - (i32.const 0) ) - (br $while-out$12) (block (set_local $2 (get_local $1) @@ -16569,6 +16314,7 @@ (get_local $7) ) ) + (br $while-out$12) ) (br $while-in$13) ) @@ -16651,9 +16397,10 @@ ) ) (if - (i32.ne - (get_local $0) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $0) + ) ) (block (if @@ -16681,9 +16428,8 @@ (get_local $11) ) (if - (i32.eq + (i32.eqz (get_local $11) - (i32.const 0) ) (block (i32.store @@ -16737,9 +16483,8 @@ ) ) (br_if $do-once$8 - (i32.eq + (i32.eqz (get_local $11) - (i32.const 0) ) ) ) @@ -16760,18 +16505,19 @@ (get_local $0) ) (if - (i32.ne - (tee_local $0 - (i32.load - (tee_local $2 - (i32.add - (get_local $9) - (i32.const 16) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load + (tee_local $2 + (i32.add + (get_local $9) + (i32.const 16) + ) ) ) ) ) - (i32.const 0) ) (if (i32.lt_u @@ -16792,13 +16538,14 @@ ) ) (if - (i32.ne - (tee_local $0 - (i32.load offset=4 - (get_local $2) + (i32.eqz + (i32.eqz + (tee_local $0 + (i32.load offset=4 + (get_local $2) + ) ) ) - (i32.const 0) ) (if (i32.lt_u @@ -16855,32 +16602,6 @@ ) ) ) - (block - (i32.store - (get_local $1) - (i32.and - (get_local $0) - (i32.const -2) - ) - ) - (i32.store offset=4 - (get_local $3) - (i32.or - (get_local $10) - (i32.const 1) - ) - ) - (i32.store - (i32.add - (get_local $3) - (get_local $10) - ) - (get_local $10) - ) - (set_local $5 - (get_local $10) - ) - ) ) (set_local $1 (i32.shr_u @@ -16907,39 +16628,18 @@ ) ) (if - (i32.eq - (i32.and - (tee_local $0 - (i32.load - (i32.const 176) - ) - ) - (tee_local $1 - (i32.shl - (i32.const 1) - (get_local $1) - ) + (i32.and + (tee_local $0 + (i32.load + (i32.const 176) ) ) - (i32.const 0) - ) - (block - (i32.store - (i32.const 176) - (i32.or - (get_local $0) + (tee_local $1 + (i32.shl + (i32.const 1) (get_local $1) ) ) - (set_local $6 - (i32.add - (get_local $2) - (i32.const 8) - ) - ) - (set_local $14 - (get_local $2) - ) ) (if (i32.lt_u @@ -16967,6 +16667,24 @@ ) ) ) + (block + (i32.store + (i32.const 176) + (i32.or + (get_local $0) + (get_local $1) + ) + ) + (set_local $6 + (i32.add + (get_local $2) + (i32.const 8) + ) + ) + (set_local $14 + (get_local $2) + ) + ) ) (i32.store (get_local $6) @@ -16993,16 +16711,12 @@ (i32.shl (tee_local $6 (if - (i32.eq - (tee_local $0 - (i32.shr_u - (get_local $5) - (i32.const 8) - ) + (tee_local $0 + (i32.shr_u + (get_local $5) + (i32.const 8) ) - (i32.const 0) ) - (i32.const 0) (if (i32.gt_u (get_local $5) @@ -17094,6 +16808,7 @@ ) ) ) + (i32.const 0) ) ) (i32.const 2) @@ -17113,46 +16828,18 @@ (i32.const 0) ) (if - (i32.eq - (i32.and - (tee_local $0 - (i32.load - (i32.const 180) - ) - ) - (tee_local $2 - (i32.shl - (i32.const 1) - (get_local $6) - ) + (i32.and + (tee_local $0 + (i32.load + (i32.const 180) ) ) - (i32.const 0) - ) - (block - (i32.store - (i32.const 180) - (i32.or - (get_local $0) - (get_local $2) + (tee_local $2 + (i32.shl + (i32.const 1) + (get_local $6) ) ) - (i32.store - (get_local $1) - (get_local $3) - ) - (i32.store offset=24 - (get_local $3) - (get_local $1) - ) - (i32.store offset=12 - (get_local $3) - (get_local $3) - ) - (i32.store offset=8 - (get_local $3) - (get_local $3) - ) ) (block (set_local $6 @@ -17208,27 +16895,32 @@ ) ) (if - (i32.eq - (tee_local $0 - (i32.load - (tee_local $6 + (tee_local $0 + (i32.load + (tee_local $6 + (i32.add (i32.add - (i32.add - (get_local $1) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $6) - (i32.const 31) - ) - (i32.const 2) + (get_local $1) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $6) + (i32.const 31) ) + (i32.const 2) ) ) ) ) - (i32.const 0) + ) + (block + (set_local $6 + (get_local $2) + ) + (set_local $1 + (get_local $0) + ) ) (block (set_local $18 @@ -17242,14 +16934,6 @@ ) (br $while-out$18) ) - (block - (set_local $6 - (get_local $2) - ) - (set_local $1 - (get_local $0) - ) - ) ) (br $while-in$19) ) @@ -17342,6 +17026,31 @@ ) ) ) + (block + (i32.store + (i32.const 180) + (i32.or + (get_local $0) + (get_local $2) + ) + ) + (i32.store + (get_local $1) + (get_local $3) + ) + (i32.store offset=24 + (get_local $3) + (get_local $1) + ) + (i32.store offset=12 + (get_local $3) + (get_local $3) + ) + (i32.store offset=8 + (get_local $3) + (get_local $3) + ) + ) ) (i32.store (i32.const 208) @@ -17355,25 +17064,21 @@ ) ) (if - (i32.eq - (get_local $0) - (i32.const 0) - ) + (get_local $0) + (return) (set_local $6 (i32.const 632) ) - (return) ) (loop $while-in$21 (block $while-out$20 (set_local $0 - (i32.eq + (i32.eqz (tee_local $6 (i32.load (get_local $6) ) ) - (i32.const 0) ) ) (set_local $6 @@ -17719,9 +17424,8 @@ ) ) (if - (i32.eq + (i32.eqz (get_local $2) - (i32.const 0) ) (return (get_local $3) @@ -18378,13 +18082,12 @@ ) ) (if - (i32.eq + (i32.eqz (tee_local $6 (tee_local $9 (get_local $1) ) ) - (i32.const 0) ) (block (set_local $2 @@ -18394,37 +18097,7 @@ ) ) (if - (i32.eq - (get_local $7) - (i32.const 0) - ) - (block - (if - (get_local $2) - (block - (i32.store - (get_local $4) - (i32.rem_u - (get_local $8) - (get_local $5) - ) - ) - (i32.store offset=4 - (get_local $4) - (i32.const 0) - ) - ) - ) - (set_global $tempRet0 - (i32.const 0) - ) - (return - (i32.div_u - (get_local $8) - (get_local $5) - ) - ) - ) + (get_local $7) (block (if (i32.eqz @@ -18460,248 +18133,44 @@ (i32.const 0) ) ) - ) - ) - ) - (set_local $10 - (i32.eq - (get_local $7) - (i32.const 0) - ) - ) - (block $do-once$0 - (if - (i32.eq - (get_local $5) - (i32.const 0) - ) - (block - (if - (get_local $10) - (block - (if - (i32.ne - (get_local $4) - (i32.const 0) - ) - (block - (i32.store - (get_local $4) - (i32.rem_u - (get_local $6) - (get_local $5) - ) - ) - (i32.store offset=4 - (get_local $4) - (i32.const 0) - ) - ) - ) - (set_global $tempRet0 - (i32.const 0) - ) - (return - (i32.div_u - (get_local $6) - (get_local $5) - ) - ) - ) - ) - (if - (i32.eq - (get_local $8) - (i32.const 0) - ) - (block - (if - (i32.ne + (block + (if + (get_local $2) + (block + (i32.store (get_local $4) - (i32.const 0) - ) - (block - (i32.store - (get_local $4) - (i32.const 0) - ) - (i32.store offset=4 - (get_local $4) - (i32.rem_u - (get_local $6) - (get_local $7) - ) - ) - ) - ) - (set_global $tempRet0 - (i32.const 0) - ) - (return - (i32.div_u - (get_local $6) - (get_local $7) - ) - ) - ) - ) - (if - (i32.eq - (i32.and - (tee_local $5 - (i32.sub - (get_local $7) - (i32.const 1) + (i32.rem_u + (get_local $8) + (get_local $5) ) ) - (get_local $7) - ) - (i32.const 0) - ) - (block - (if - (i32.ne + (i32.store offset=4 (get_local $4) (i32.const 0) ) - (block - (i32.store - (get_local $4) - (i32.or - (i32.const 0) - (i32.and - (get_local $0) - (i32.const -1) - ) - ) - ) - (i32.store offset=4 - (get_local $4) - (i32.or - (i32.and - (get_local $5) - (get_local $6) - ) - (i32.and - (get_local $1) - (i32.const 0) - ) - ) - ) - ) - ) - (set_global $tempRet0 - (i32.const 0) - ) - (return - (i32.shr_u - (get_local $6) - (i32.ctz - (get_local $7) - ) - ) ) ) - ) - (if - (i32.le_u - (tee_local $5 - (i32.sub - (i32.clz - (get_local $7) - ) - (i32.clz - (get_local $6) - ) - ) - ) - (i32.const 30) - ) - (block - (set_local $12 - (tee_local $0 - (i32.add - (get_local $5) - (i32.const 1) - ) - ) - ) - (set_local $11 - (i32.or - (i32.shl - (get_local $6) - (tee_local $1 - (i32.sub - (i32.const 31) - (get_local $5) - ) - ) - ) - (i32.shr_u - (get_local $8) - (get_local $0) - ) - ) - ) - (set_local $13 - (i32.shr_u - (get_local $6) - (get_local $0) - ) - ) - (set_local $10 - (i32.const 0) - ) - (set_local $0 - (i32.shl - (get_local $8) - (get_local $1) - ) - ) - (br $do-once$0) - ) - ) - (if - (i32.eq - (get_local $4) - (i32.const 0) - ) - (block - (set_global $tempRet0 - (i32.const 0) - ) - (return - (i32.const 0) - ) - ) - ) - (i32.store - (get_local $4) - (i32.or + (set_global $tempRet0 (i32.const 0) - (i32.and - (get_local $0) - (i32.const -1) - ) ) - ) - (i32.store offset=4 - (get_local $4) - (i32.or - (get_local $9) - (i32.and - (get_local $1) - (i32.const 0) + (return + (i32.div_u + (get_local $8) + (get_local $5) ) ) ) - (set_global $tempRet0 - (i32.const 0) - ) - (return - (i32.const 0) - ) ) + ) + ) + (set_local $10 + (i32.eqz + (get_local $7) + ) + ) + (block $do-once$0 + (if + (get_local $5) (block (if (i32.eqz @@ -18781,9 +18250,8 @@ ) ) (if - (i32.eq + (i32.eqz (get_local $4) - (i32.const 0) ) (block (set_global $tempRet0 @@ -19036,23 +18504,235 @@ ) ) ) - ) - ) - (set_local $0 - (if - (i32.eq - (get_local $12) - (i32.const 0) - ) (block - (set_local $6 - (get_local $0) + (if + (get_local $10) + (block + (if + (i32.ne + (get_local $4) + (i32.const 0) + ) + (block + (i32.store + (get_local $4) + (i32.rem_u + (get_local $6) + (get_local $5) + ) + ) + (i32.store offset=4 + (get_local $4) + (i32.const 0) + ) + ) + ) + (set_global $tempRet0 + (i32.const 0) + ) + (return + (i32.div_u + (get_local $6) + (get_local $5) + ) + ) + ) ) - (set_local $1 + (if + (i32.eqz + (get_local $8) + ) + (block + (if + (i32.ne + (get_local $4) + (i32.const 0) + ) + (block + (i32.store + (get_local $4) + (i32.const 0) + ) + (i32.store offset=4 + (get_local $4) + (i32.rem_u + (get_local $6) + (get_local $7) + ) + ) + ) + ) + (set_global $tempRet0 + (i32.const 0) + ) + (return + (i32.div_u + (get_local $6) + (get_local $7) + ) + ) + ) + ) + (if + (i32.eqz + (i32.and + (tee_local $5 + (i32.sub + (get_local $7) + (i32.const 1) + ) + ) + (get_local $7) + ) + ) + (block + (if + (i32.ne + (get_local $4) + (i32.const 0) + ) + (block + (i32.store + (get_local $4) + (i32.or + (i32.const 0) + (i32.and + (get_local $0) + (i32.const -1) + ) + ) + ) + (i32.store offset=4 + (get_local $4) + (i32.or + (i32.and + (get_local $5) + (get_local $6) + ) + (i32.and + (get_local $1) + (i32.const 0) + ) + ) + ) + ) + ) + (set_global $tempRet0 + (i32.const 0) + ) + (return + (i32.shr_u + (get_local $6) + (i32.ctz + (get_local $7) + ) + ) + ) + ) + ) + (if + (i32.le_u + (tee_local $5 + (i32.sub + (i32.clz + (get_local $7) + ) + (i32.clz + (get_local $6) + ) + ) + ) + (i32.const 30) + ) + (block + (set_local $12 + (tee_local $0 + (i32.add + (get_local $5) + (i32.const 1) + ) + ) + ) + (set_local $11 + (i32.or + (i32.shl + (get_local $6) + (tee_local $1 + (i32.sub + (i32.const 31) + (get_local $5) + ) + ) + ) + (i32.shr_u + (get_local $8) + (get_local $0) + ) + ) + ) + (set_local $13 + (i32.shr_u + (get_local $6) + (get_local $0) + ) + ) + (set_local $10 + (i32.const 0) + ) + (set_local $0 + (i32.shl + (get_local $8) + (get_local $1) + ) + ) + (br $do-once$0) + ) + ) + (if + (i32.eqz + (get_local $4) + ) + (block + (set_global $tempRet0 + (i32.const 0) + ) + (return + (i32.const 0) + ) + ) + ) + (i32.store + (get_local $4) + (i32.or + (i32.const 0) + (i32.and + (get_local $0) + (i32.const -1) + ) + ) + ) + (i32.store offset=4 + (get_local $4) + (i32.or + (get_local $9) + (i32.and + (get_local $1) + (i32.const 0) + ) + ) + ) + (set_global $tempRet0 + (i32.const 0) + ) + (return (i32.const 0) ) - (i32.const 0) ) + ) + ) + (set_local $0 + (if + (get_local $12) (block (set_local $3 (call $_i64Add @@ -19210,16 +18890,12 @@ (get_global $tempRet0) ) (if - (i32.eq - (tee_local $12 - (i32.sub - (get_local $12) - (i32.const 1) - ) + (tee_local $12 + (i32.sub + (get_local $12) + (i32.const 1) ) - (i32.const 0) ) - (br $while-out$2) (block (set_local $9 (get_local $6) @@ -19228,6 +18904,7 @@ (get_local $7) ) ) + (br $while-out$2) ) (br $while-in$3) ) @@ -19237,6 +18914,15 @@ ) (get_local $7) ) + (block + (set_local $6 + (get_local $0) + ) + (set_local $1 + (i32.const 0) + ) + (i32.const 0) + ) ) ) (set_local $3 |