diff options
Diffstat (limited to 'test/emcc_hello_world.fromasm')
-rw-r--r-- | test/emcc_hello_world.fromasm | 3880 |
1 files changed, 1783 insertions, 2097 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm index 7cb00db19..e70db6294 100644 --- a/test/emcc_hello_world.fromasm +++ b/test/emcc_hello_world.fromasm @@ -139,9 +139,8 @@ ) (func $setThrew (param $0 i32) (param $1 i32) (if - (i32.eq + (i32.eqz (get_global $__THREW__) - (i32.const 0) ) (block (set_global $__THREW__ @@ -435,13 +434,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) @@ -453,6 +446,9 @@ (i32.const 5) ) ) + (set_local $5 + (i32.const 775) + ) ) ) (if @@ -471,17 +467,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 @@ -489,28 +485,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 @@ -520,6 +504,12 @@ (get_local $1) ) ) + (block + (set_local $5 + (get_local $1) + ) + (br $while-out$2) + ) ) (br $while-in$3) ) @@ -529,16 +519,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) @@ -615,14 +602,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 @@ -640,12 +626,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) @@ -747,38 +734,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 @@ -820,22 +839,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 @@ -843,9 +863,6 @@ ) (br $while-out$2) ) - (set_local $1 - (get_local $0) - ) ) (br $while-in$3) ) @@ -857,44 +874,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) - ) - ) - ) ) ) ) @@ -1054,33 +1033,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 @@ -1114,6 +1068,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) + ) + ) + ) ) ) ) @@ -1473,16 +1449,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 @@ -1543,11 +1523,7 @@ ) ) (if - (i32.eq - (get_local $2) - (i32.const 0) - ) - (get_local $1) + (get_local $2) (block (drop (call_indirect $FUNCSIG$iiii @@ -1569,11 +1545,10 @@ (select (i32.const -1) (get_local $1) - (i32.eq + (i32.eqz (i32.load (get_local $11) ) - (i32.const 0) ) ) ) @@ -1599,18 +1574,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 @@ -1619,7 +1588,6 @@ ) (i32.const 32) ) - (i32.const 0) ) ) ) @@ -1631,9 +1599,10 @@ ) ) (if - (i32.ne - (get_local $12) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $12) + ) ) (call $___unlockfile (get_local $0) @@ -1655,24 +1624,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 @@ -1685,17 +1659,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 @@ -1768,9 +1731,8 @@ (loop $while-in$3 (block $while-out$2 (if - (i32.eq + (i32.eqz (get_local $3) - (i32.const 0) ) (block (set_local $2 @@ -1921,16 +1883,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 @@ -1964,26 +1933,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 @@ -2180,21 +2135,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) @@ -2443,18 +2396,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 @@ -2518,26 +2472,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) ) ) ) @@ -2579,31 +2530,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) @@ -2685,18 +2633,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 @@ -2781,11 +2726,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) @@ -3052,19 +2996,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 @@ -3078,9 +3022,6 @@ ) (br $label$break$L1) ) - (set_local $5 - (get_local $20) - ) ) (loop $label$continue$L9 (block $label$break$L9 @@ -3222,14 +3163,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) @@ -3358,7 +3298,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) @@ -3369,7 +3309,6 @@ ) (i32.const 75913) ) - (i32.const 0) ) ) (set_local $8 @@ -3547,9 +3486,10 @@ (i32.const 0) ) (if - (i32.ne - (get_local $11) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $11) + ) ) (block (set_local $24 @@ -3941,9 +3881,10 @@ ) ) (if - (i32.ne - (get_local $21) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $21) + ) ) (block (set_local $24 @@ -4080,7 +4021,7 @@ ) ) (if - (i32.eq + (i32.eqz (i32.shr_s (i32.shl (get_local $1) @@ -4088,7 +4029,6 @@ ) (i32.const 24) ) - (i32.const 0) ) (block (set_local $24 @@ -4256,12 +4196,11 @@ (i32.const -65537) ) ) - (i32.eq + (i32.eqz (i32.and (get_local $8) (i32.const 8192) ) - (i32.const 0) ) ) ) @@ -4516,7 +4455,7 @@ ) (if (i32.and - (i32.eq + (i32.eqz (tee_local $5 (i32.load (tee_local $1 @@ -4524,15 +4463,13 @@ ) ) ) - (i32.const 0) ) - (i32.eq + (i32.eqz (tee_local $1 (i32.load offset=4 (get_local $1) ) ) - (i32.const 0) ) ) (set_local $6 @@ -4564,7 +4501,7 @@ ) (br_if $while-out$38 (i32.and - (i32.eq + (i32.eqz (tee_local $5 (call $_bitshift64Lshr (get_local $5) @@ -4572,13 +4509,11 @@ (i32.const 3) ) ) - (i32.const 0) ) - (i32.eq + (i32.eqz (tee_local $1 (get_global $tempRet0) ) - (i32.const 0) ) ) ) @@ -4589,30 +4524,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 @@ -4650,6 +4564,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) @@ -4712,26 +4644,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) ) ) ) @@ -4749,21 +4692,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) @@ -4884,9 +4812,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 @@ -4901,12 +4832,6 @@ ) (i32.const 98) ) - (block - (set_local $69 - (get_local $10) - ) - (i32.const 86) - ) ) ) (br $switch$24) @@ -4944,37 +4869,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) - ) ) ) ) @@ -5052,14 +4973,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) ) ) ) @@ -5076,14 +4996,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) @@ -5100,14 +5019,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) @@ -5241,12 +5159,11 @@ ) ) (set_local $13 - (i32.eq + (i32.eqz (i32.and (get_local $18) (i32.const 8) ) - (i32.const 0) ) ) (set_local $11 @@ -5390,14 +5307,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) @@ -5422,14 +5338,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $29) @@ -5456,14 +5371,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) @@ -5689,9 +5603,8 @@ ) (br_if $do-once$70 (get_local $8) - (i32.eq + (i32.eqz (get_local $5) - (i32.const 0) ) ) (i32.store @@ -5717,21 +5630,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) ) @@ -5898,19 +5808,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 @@ -5931,11 +5839,10 @@ (i32.const 4) ) (get_local $7) - (i32.eq + (i32.eqz (i32.load (get_local $7) ) - (i32.const 0) ) ) ) @@ -6231,7 +6138,7 @@ (get_local $27) ) ) - (i32.eq + (i32.eqz (tee_local $15 (i32.and (call_import $i32u-rem @@ -6245,7 +6152,6 @@ (i32.const -1) ) ) - (i32.const 0) ) ) ) @@ -6254,7 +6160,7 @@ (select (f64.const 9007199254740992) (f64.const 9007199254740994) - (i32.eq + (i32.eqz (i32.and (i32.and (call_import $i32u-div @@ -6265,7 +6171,6 @@ ) (i32.const 1) ) - (i32.const 0) ) ) ) @@ -6300,11 +6205,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) @@ -6330,6 +6231,7 @@ (get_local $14) ) ) + (get_local $14) ) ) ) @@ -6532,19 +6434,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 @@ -6555,6 +6451,9 @@ ) (br $while-out$96) ) + (set_local $6 + (get_local $5) + ) ) (br $while-in$97) ) @@ -6617,14 +6516,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 @@ -6643,7 +6543,7 @@ (get_local $11) (block (if - (i32.eq + (i32.eqz (tee_local $1 (i32.load (i32.add @@ -6652,7 +6552,6 @@ ) ) ) - (i32.const 0) ) (block (set_local $6 @@ -6662,29 +6561,26 @@ ) ) (if - (i32.eq - (i32.and - (call_import $i32u-rem - (get_local $1) - (i32.const 10) - ) - (i32.const -1) + (i32.and + (call_import $i32u-rem + (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 @@ -6696,20 +6592,21 @@ ) ) (br_if $while-out$102 - (i32.ne - (i32.and - (call_import $i32u-rem - (get_local $1) - (tee_local $5 - (i32.mul - (get_local $5) - (i32.const 10) + (i32.eqz + (i32.eqz + (i32.and + (call_import $i32u-rem + (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) @@ -6994,14 +6891,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) @@ -7098,14 +6994,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (drop (call $___fwritex @@ -7140,20 +7035,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 @@ -7214,14 +7111,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (drop (call $___fwritex @@ -7303,9 +7199,8 @@ ) (block (set_local $9 - (i32.eq + (i32.eqz (get_local $8) - (i32.const 0) ) ) (set_local $5 @@ -7351,14 +7246,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $8) @@ -7376,14 +7270,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 @@ -7440,14 +7335,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (drop (call $___fwritex @@ -7504,14 +7398,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 @@ -7601,20 +7496,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 @@ -7627,11 +7520,9 @@ (get_local $0) ) ) - (get_local $1) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $8) @@ -7701,7 +7592,7 @@ (set_local $58 (if (i32.and - (i32.eq + (i32.eqz (tee_local $5 (i32.load (tee_local $1 @@ -7709,15 +7600,13 @@ ) ) ) - (i32.const 0) ) - (i32.eq + (i32.eqz (tee_local $1 (i32.load offset=4 (get_local $1) ) ) - (i32.const 0) ) ) (block @@ -7772,7 +7661,7 @@ ) (br_if $while-out$129 (i32.and - (i32.eq + (i32.eqz (tee_local $5 (call $_bitshift64Lshr (get_local $5) @@ -7780,13 +7669,11 @@ (i32.const 4) ) ) - (i32.const 0) ) - (i32.eq + (i32.eqz (tee_local $1 (get_global $tempRet0) ) - (i32.const 0) ) ) ) @@ -7795,27 +7682,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) ) ) ) @@ -7905,7 +7789,7 @@ (i32.const 0) ) (set_local $5 - (i32.eq + (i32.eqz (tee_local $1 (call $_memchr (get_local $50) @@ -7913,7 +7797,6 @@ (get_local $10) ) ) - (i32.const 0) ) ) (set_local $47 @@ -7972,13 +7855,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 @@ -8050,18 +7932,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) @@ -8074,13 +7945,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 @@ -8124,14 +7994,13 @@ ) ) (if - (i32.eq + (i32.eqz (i32.and (i32.load (get_local $0) ) (i32.const 32) ) - (i32.const 0) ) (call $___fwritex (get_local $63) @@ -8161,6 +8030,14 @@ ) ) ) + (block + (set_local $38 + (i32.const 0) + ) + (set_local $12 + (i32.const 98) + ) + ) ) ) ) @@ -8360,14 +8237,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) @@ -8393,14 +8269,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) @@ -8437,18 +8312,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) @@ -8456,7 +8325,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 @@ -8468,7 +8337,6 @@ ) ) ) - (i32.const 0) ) ) (call $_pop_arg_336 @@ -8516,17 +8384,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 @@ -8558,9 +8427,9 @@ ) ) ) - ) - (set_local $24 - (get_local $82) + (set_local $24 + (i32.const 0) + ) ) ) ) @@ -8987,9 +8856,8 @@ (i32.const 0) ) (i32.and - (i32.eq + (i32.eqz (get_local $1) - (i32.const 0) ) (i32.gt_u (get_local $0) @@ -9084,9 +8952,10 @@ ) ) (if - (i32.ne - (get_local $3) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $3) + ) ) (block (set_local $1 @@ -9176,12 +9045,11 @@ (get_local $2) (get_local $3) ) - (i32.eq + (i32.eqz (i32.and (get_local $4) (i32.const 73728) ) - (i32.const 0) ) ) (block @@ -9208,7 +9076,7 @@ ) ) (set_local $4 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.load @@ -9217,7 +9085,6 @@ ) (i32.const 32) ) - (i32.const 0) ) ) (if @@ -9238,7 +9105,7 @@ (loop $while-in$3 (block $while-out$2 (set_local $4 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (if @@ -9260,7 +9127,6 @@ ) (i32.const 32) ) - (i32.const 0) ) ) (br_if $while-out$2 @@ -9366,41 +9232,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 @@ -9546,9 +9413,10 @@ ) (block (if - (i32.ne - (get_local $25) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $25) + ) ) (block (set_local $1 @@ -9797,9 +9665,10 @@ (get_local $9) ) (if - (i32.ne - (get_local $7) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $7) + ) ) (block (set_local $0 @@ -9825,39 +9694,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 @@ -9885,6 +9733,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) @@ -9918,13 +9784,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 @@ -10044,22 +9911,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 @@ -10070,12 +9937,6 @@ ) (br $while-out$6) ) - (set_local $1 - (get_local $0) - ) - ) - (set_local $1 - (get_local $0) ) ) (set_local $0 @@ -10154,32 +10015,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 @@ -10187,29 +10048,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 @@ -10222,20 +10078,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) @@ -10244,6 +10096,7 @@ (get_local $5) ) ) + (br $while-out$10) ) (br $while-in$11) ) @@ -10323,9 +10176,10 @@ ) (block $do-once$12 (if - (i32.ne - (get_local $1) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $1) + ) ) (block (if @@ -10353,9 +10207,8 @@ (get_local $15) ) (if - (i32.eq + (i32.eqz (get_local $15) - (i32.const 0) ) (block (i32.store @@ -10409,9 +10262,8 @@ ) ) (br_if $do-once$12 - (i32.eq + (i32.eqz (get_local $15) - (i32.const 0) ) ) ) @@ -10432,13 +10284,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 @@ -10459,13 +10312,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 @@ -10552,13 +10406,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 @@ -10584,39 +10439,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 @@ -10644,6 +10478,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) @@ -10705,16 +10557,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 @@ -10725,134 +10571,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 @@ -10934,13 +10760,12 @@ ) ) (set_local $7 - (i32.eq + (i32.eqz (tee_local $3 (i32.load offset=20 (get_local $23) ) ) - (i32.const 0) ) ) (set_local $15 @@ -10978,9 +10803,8 @@ (i32.xor (i32.and (tee_local $7 - (i32.eq + (i32.eqz (get_local $3) - (i32.const 0) ) ) (i32.const 1) @@ -11019,6 +10843,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 @@ -11027,121 +10865,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) ) ) ) @@ -11156,30 +10975,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 @@ -11196,6 +11020,14 @@ (i32.const 90) ) ) + (block + (set_local $17 + (get_local $31) + ) + (set_local $13 + (get_local $28) + ) + ) ) ) (if @@ -11239,13 +11071,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 @@ -11261,19 +11094,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 @@ -11286,19 +11110,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) @@ -11350,32 +11174,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 @@ -11383,29 +11207,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 @@ -11418,20 +11237,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) @@ -11440,6 +11255,7 @@ (get_local $7) ) ) + (br $while-out$23) ) (br $while-in$24) ) @@ -11519,9 +11335,10 @@ ) (block $do-once$25 (if - (i32.ne - (get_local $1) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $1) + ) ) (block (if @@ -11549,9 +11366,8 @@ (get_local $6) ) (if - (i32.eq + (i32.eqz (get_local $6) - (i32.const 0) ) (block (i32.store @@ -11605,9 +11421,8 @@ ) ) (br_if $do-once$25 - (i32.eq + (i32.eqz (get_local $6) - (i32.const 0) ) ) ) @@ -11628,13 +11443,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 @@ -11655,13 +11471,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 @@ -11773,39 +11590,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 @@ -11833,6 +11629,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) @@ -11859,16 +11673,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) @@ -11960,6 +11770,7 @@ ) ) ) + (i32.const 0) ) ) (i32.const 2) @@ -11984,7 +11795,7 @@ (i32.const 0) ) (if - (i32.eq + (i32.eqz (i32.and (tee_local $0 (i32.load @@ -11998,7 +11809,6 @@ ) ) ) - (i32.const 0) ) (block (i32.store @@ -12080,27 +11890,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 @@ -12114,14 +11929,6 @@ ) (br $while-out$31) ) - (block - (set_local $1 - (get_local $4) - ) - (set_local $2 - (get_local $0) - ) - ) ) (br $while-in$32) ) @@ -12227,8 +12034,14 @@ (get_local $5) ) ) + (set_local $6 + (get_local $5) + ) ) ) + (set_local $6 + (get_local $5) + ) ) ) ) @@ -12396,27 +12209,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) @@ -12455,7 +12265,6 @@ ) ) ) - (call_import $_abort) ) ) (set_local $5 @@ -12498,13 +12307,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 @@ -12536,28 +12346,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 @@ -12601,13 +12403,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 @@ -12615,9 +12417,6 @@ ) (br $label$break$L259) ) - (set_local $16 - (get_local $4) - ) ) (br $while-in$38) ) @@ -12684,6 +12483,9 @@ ) ) ) + (set_local $11 + (i32.const 173) + ) ) ) (block $do-once$39 @@ -12711,25 +12513,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) @@ -12746,6 +12544,7 @@ ) ) ) + (get_local $10) ) ) ) @@ -12763,13 +12562,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 @@ -12927,7 +12727,6 @@ ) (i32.const 190) ) - (i32.const 190) ) ) ) @@ -13027,161 +12826,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 @@ -13231,18 +12878,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) ) @@ -13253,14 +12897,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 @@ -13282,7 +12925,7 @@ ) ) (set_local $2 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.add @@ -13292,7 +12935,6 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (set_local $0 @@ -13409,13 +13051,12 @@ ) ) (if - (i32.eq + (i32.eqz (tee_local $1 (i32.load offset=8 (get_local $1) ) ) - (i32.const 0) ) (block (set_local $27 @@ -13433,14 +13074,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 @@ -13465,7 +13106,7 @@ (get_local $1) ) (set_local $9 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.add @@ -13475,11 +13116,10 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (set_local $5 - (i32.eq + (i32.eqz (i32.and (tee_local $2 (i32.add @@ -13489,7 +13129,6 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (set_local $1 @@ -13795,38 +13434,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 @@ -13836,26 +13466,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 @@ -13868,20 +13502,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) @@ -13890,6 +13520,7 @@ (get_local $20) ) ) + (br $while-out$61) ) (br $while-in$62) ) @@ -13968,9 +13599,8 @@ ) ) (br_if $label$break$L331 - (i32.eq + (i32.eqz (get_local $0) - (i32.const 0) ) ) (block $do-once$63 @@ -13999,9 +13629,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 @@ -14053,9 +13684,8 @@ ) ) (br_if $label$break$L331 - (i32.eq + (i32.eqz (get_local $18) - (i32.const 0) ) ) ) @@ -14077,18 +13707,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 @@ -14109,13 +13740,12 @@ ) ) (br_if $label$break$L331 - (i32.eq + (i32.eqz (tee_local $0 (i32.load offset=4 (get_local $2) ) ) - (i32.const 0) ) ) (if @@ -14209,39 +13839,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 @@ -14272,6 +13881,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 @@ -14300,16 +13927,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) @@ -14401,6 +14024,7 @@ (get_local $1) ) ) + (i32.const 0) ) ) ) @@ -14426,7 +14050,7 @@ (i32.const 0) ) (if - (i32.eq + (i32.eqz (i32.and (tee_local $0 (i32.load @@ -14440,7 +14064,6 @@ ) ) ) - (i32.const 0) ) (block (i32.store @@ -14522,27 +14145,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 @@ -14556,14 +14184,6 @@ ) (br $while-out$71) ) - (block - (set_local $1 - (get_local $8) - ) - (set_local $2 - (get_local $0) - ) - ) ) (br $while-in$72) ) @@ -14665,9 +14285,6 @@ ) ) ) - (set_local $27 - (i32.const 624) - ) ) ) (loop $while-in$74 @@ -14710,7 +14327,7 @@ ) ) (set_local $8 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.add @@ -14725,7 +14342,6 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (set_local $4 @@ -14767,7 +14383,7 @@ ) ) (set_local $3 - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.add @@ -14777,7 +14393,6 @@ ) (i32.const 7) ) - (i32.const 0) ) ) (i32.store @@ -14967,39 +14582,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 @@ -15027,6 +14621,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) @@ -15053,16 +14665,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) @@ -15154,6 +14762,7 @@ ) ) ) + (i32.const 0) ) ) (i32.const 2) @@ -15173,7 +14782,7 @@ (i32.const 0) ) (if - (i32.eq + (i32.eqz (i32.and (tee_local $1 (i32.load @@ -15187,7 +14796,6 @@ ) ) ) - (i32.const 0) ) (block (i32.store @@ -15269,27 +14877,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 @@ -15303,14 +14916,6 @@ ) (br $while-out$77) ) - (block - (set_local $2 - (get_local $8) - ) - (set_local $4 - (get_local $1) - ) - ) ) (br $while-in$78) ) @@ -15405,6 +15010,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 @@ -15489,9 +15241,8 @@ (local $17 i32) (local $18 i32) (if - (i32.eq + (i32.eqz (get_local $0) - (i32.const 0) ) (return) ) @@ -15543,12 +15294,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 @@ -15557,9 +15313,8 @@ ) ) (if - (i32.eq + (i32.eqz (get_local $8) - (i32.const 0) ) (return) ) @@ -15805,38 +15560,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 @@ -15846,26 +15592,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 @@ -15878,20 +15628,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) @@ -15900,6 +15646,7 @@ (get_local $13) ) ) + (br $while-out$4) ) (br $while-in$5) ) @@ -15978,18 +15725,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 @@ -16016,9 +15752,8 @@ (get_local $5) ) (if - (i32.eq + (i32.eqz (get_local $5) - (i32.const 0) ) (block (i32.store @@ -16078,9 +15813,8 @@ ) ) (if - (i32.eq + (i32.eqz (get_local $5) - (i32.const 0) ) (block (set_local $3 @@ -16110,18 +15844,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 @@ -16142,20 +15877,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 @@ -16183,16 +15907,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) ) ) ) @@ -16205,7 +15937,7 @@ (call_import $_abort) ) (if - (i32.eq + (i32.eqz (i32.and (tee_local $0 (i32.load @@ -16219,17 +15951,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 @@ -16481,38 +16235,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 @@ -16522,26 +16267,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 @@ -16554,20 +16303,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) @@ -16576,6 +16321,7 @@ (get_local $7) ) ) + (br $while-out$12) ) (br $while-in$13) ) @@ -16658,9 +16404,10 @@ ) ) (if - (i32.ne - (get_local $0) - (i32.const 0) + (i32.eqz + (i32.eqz + (get_local $0) + ) ) (block (if @@ -16688,9 +16435,8 @@ (get_local $11) ) (if - (i32.eq + (i32.eqz (get_local $11) - (i32.const 0) ) (block (i32.store @@ -16744,9 +16490,8 @@ ) ) (br_if $do-once$8 - (i32.eq + (i32.eqz (get_local $11) - (i32.const 0) ) ) ) @@ -16767,18 +16512,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 @@ -16799,13 +16545,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 @@ -16862,32 +16609,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 @@ -16914,39 +16635,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 @@ -16974,6 +16674,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) @@ -17000,16 +16718,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) @@ -17101,6 +16815,7 @@ ) ) ) + (i32.const 0) ) ) (i32.const 2) @@ -17120,46 +16835,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 @@ -17215,27 +16902,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 @@ -17249,14 +16941,6 @@ ) (br $while-out$18) ) - (block - (set_local $6 - (get_local $2) - ) - (set_local $1 - (get_local $0) - ) - ) ) (br $while-in$19) ) @@ -17349,6 +17033,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) @@ -17362,25 +17071,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 @@ -17726,9 +17431,8 @@ ) ) (if - (i32.eq + (i32.eqz (get_local $2) - (i32.const 0) ) (return (get_local $3) @@ -18385,13 +18089,12 @@ ) ) (if - (i32.eq + (i32.eqz (tee_local $6 (tee_local $9 (get_local $1) ) ) - (i32.const 0) ) (block (set_local $2 @@ -18401,40 +18104,7 @@ ) ) (if - (i32.eq - (get_local $7) - (i32.const 0) - ) - (block - (if - (get_local $2) - (block - (i32.store - (get_local $4) - (call_import $i32u-rem - (get_local $8) - (get_local $5) - ) - ) - (i32.store offset=4 - (get_local $4) - (i32.const 0) - ) - ) - ) - (set_local $0 - (call_import $i32u-div - (get_local $8) - (get_local $5) - ) - ) - (set_global $tempRet0 - (i32.const 0) - ) - (return - (get_local $0) - ) - ) + (get_local $7) (block (if (i32.eqz @@ -18470,254 +18140,47 @@ (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) - (call_import $i32u-rem - (get_local $6) - (get_local $5) - ) - ) - (i32.store offset=4 - (get_local $4) - (i32.const 0) - ) - ) - ) - (set_local $0 - (call_import $i32u-div - (get_local $6) - (get_local $5) - ) - ) - (set_global $tempRet0 - (i32.const 0) - ) - (return - (get_local $0) - ) - ) - ) - (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) - (call_import $i32u-rem - (get_local $6) - (get_local $7) - ) - ) - ) - ) - (set_local $0 - (call_import $i32u-div - (get_local $6) - (get_local $7) - ) - ) - (set_global $tempRet0 - (i32.const 0) - ) - (return - (get_local $0) - ) - ) - ) - (if - (i32.eq - (i32.and - (tee_local $5 - (i32.sub - (get_local $7) - (i32.const 1) + (call_import $i32u-rem + (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) + (set_local $0 + (call_import $i32u-div + (get_local $8) + (get_local $5) ) ) - ) - (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 + (get_local $0) ) ) - (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 @@ -18797,9 +18260,8 @@ ) ) (if - (i32.eq + (i32.eqz (get_local $4) - (i32.const 0) ) (block (set_global $tempRet0 @@ -19052,23 +18514,241 @@ ) ) ) - ) - ) - (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) + (call_import $i32u-rem + (get_local $6) + (get_local $5) + ) + ) + (i32.store offset=4 + (get_local $4) + (i32.const 0) + ) + ) + ) + (set_local $0 + (call_import $i32u-div + (get_local $6) + (get_local $5) + ) + ) + (set_global $tempRet0 + (i32.const 0) + ) + (return + (get_local $0) + ) + ) ) - (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) + (call_import $i32u-rem + (get_local $6) + (get_local $7) + ) + ) + ) + ) + (set_local $0 + (call_import $i32u-div + (get_local $6) + (get_local $7) + ) + ) + (set_global $tempRet0 + (i32.const 0) + ) + (return + (get_local $0) + ) + ) + ) + (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 @@ -19226,16 +18906,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) @@ -19244,6 +18920,7 @@ (get_local $7) ) ) + (br $while-out$2) ) (br $while-in$3) ) @@ -19253,6 +18930,15 @@ ) (get_local $7) ) + (block + (set_local $6 + (get_local $0) + ) + (set_local $1 + (i32.const 0) + ) + (i32.const 0) + ) ) ) (set_local $3 |