summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-05-10 08:58:09 -0700
committerGitHub <noreply@github.com>2018-05-10 08:58:09 -0700
commit111b4f1950467d51a78211af183f4ae6398aac49 (patch)
tree7f53ab6389e2bcaacf761cbf33846ac0210bd098 /test/emcc_hello_world.fromasm
parent6a9ececa2fc9eca99a12b65ca130612942babdce (diff)
downloadbinaryen-111b4f1950467d51a78211af183f4ae6398aac49.tar.gz
binaryen-111b4f1950467d51a78211af183f4ae6398aac49.tar.bz2
binaryen-111b4f1950467d51a78211af183f4ae6398aac49.zip
Optimize equivalent locals (#1540)
If locals are known to contain the same value, we can * Pick which local to use for a get_local of any of them. Makes sense to prefer the most common, to increase the chance of one dropping to zero uses. * Remove copies between a local and one that we know contains the same value. This is a consistent win, small though, around 0.1-0.2%.
Diffstat (limited to 'test/emcc_hello_world.fromasm')
-rw-r--r--test/emcc_hello_world.fromasm1569
1 files changed, 761 insertions, 808 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index 733670cd6..66e70e893 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -356,7 +356,6 @@
)
(func $___stdio_close (; 30 ;) (param $0 i32) (result i32)
(local $1 i32)
- (local $2 i32)
(set_local $1
(get_global $STACKTOP)
)
@@ -374,9 +373,7 @@
(call $abort)
)
(i32.store
- (tee_local $2
- (get_local $1)
- )
+ (get_local $1)
(i32.load offset=60
(get_local $0)
)
@@ -385,7 +382,7 @@
(call $___syscall_ret
(call $___syscall6
(i32.const 6)
- (get_local $2)
+ (get_local $1)
)
)
)
@@ -414,12 +411,11 @@
)
(call $abort)
)
- (set_local $3
- (get_local $4)
- )
(set_local $5
(i32.add
- (get_local $4)
+ (tee_local $3
+ (get_local $4)
+ )
(i32.const 12)
)
)
@@ -514,7 +510,7 @@
(get_local $3)
(tee_local $0
(i32.add
- (get_local $4)
+ (get_local $3)
(i32.const 20)
)
)
@@ -648,7 +644,6 @@
)
(func $_printf (; 34 ;) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
- (local $3 i32)
(set_local $2
(get_global $STACKTOP)
)
@@ -666,9 +661,7 @@
(call $abort)
)
(i32.store
- (tee_local $3
- (get_local $2)
- )
+ (get_local $2)
(get_local $1)
)
(set_local $0
@@ -677,7 +670,7 @@
(i32.const 8)
)
(get_local $0)
- (get_local $3)
+ (get_local $2)
)
)
(set_global $STACKTOP
@@ -698,7 +691,7 @@
(local $12 i32)
(local $13 i32)
(local $14 i32)
- (set_local $8
+ (set_local $10
(get_global $STACKTOP)
)
(set_global $STACKTOP
@@ -714,19 +707,18 @@
)
(call $abort)
)
- (set_local $9
+ (set_local $8
(i32.add
- (get_local $8)
+ (get_local $10)
(i32.const 16)
)
)
- (set_local $10
- (get_local $8)
- )
(i32.store
(tee_local $4
(i32.add
- (get_local $8)
+ (tee_local $9
+ (get_local $10)
+ )
(i32.const 32)
)
)
@@ -803,24 +795,24 @@
(get_local $0)
)
(i32.store
- (get_local $10)
+ (get_local $9)
(i32.load
(get_local $13)
)
)
(i32.store offset=4
- (get_local $10)
+ (get_local $9)
(get_local $1)
)
(i32.store offset=8
- (get_local $10)
+ (get_local $9)
(get_local $4)
)
(set_local $3
(call $___syscall_ret
(call $___syscall146
(i32.const 146)
- (get_local $10)
+ (get_local $9)
)
)
)
@@ -830,24 +822,24 @@
)
(block
(i32.store
- (get_local $9)
+ (get_local $8)
(i32.load
(get_local $13)
)
)
(i32.store offset=4
- (get_local $9)
+ (get_local $8)
(get_local $1)
)
(i32.store offset=8
- (get_local $9)
+ (get_local $8)
(get_local $4)
)
(set_local $3
(call $___syscall_ret
(call $___syscall146
(i32.const 146)
- (get_local $9)
+ (get_local $8)
)
)
)
@@ -1027,7 +1019,7 @@
)
)
(set_global $STACKTOP
- (get_local $8)
+ (get_local $10)
)
(get_local $2)
)
@@ -2190,8 +2182,8 @@
(local $12 i32)
(local $13 i32)
(local $14 i32)
- (local $15 f64)
- (local $16 i32)
+ (local $15 i32)
+ (local $16 f64)
(local $17 i32)
(local $18 i32)
(local $19 i32)
@@ -2227,7 +2219,7 @@
(local $49 i32)
(local $50 i32)
(local $51 i32)
- (set_local $25
+ (set_local $35
(get_global $STACKTOP)
)
(set_global $STACKTOP
@@ -2245,31 +2237,30 @@
)
(set_local $20
(i32.add
- (get_local $25)
+ (get_local $35)
(i32.const 16)
)
)
- (set_local $19
- (get_local $25)
- )
(set_local $36
(i32.add
- (get_local $25)
+ (tee_local $14
+ (get_local $35)
+ )
(i32.const 528)
)
)
- (set_local $29
+ (set_local $28
(i32.ne
(get_local $0)
(i32.const 0)
)
)
(set_local $39
- (tee_local $26
+ (tee_local $25
(i32.add
(tee_local $5
(i32.add
- (get_local $25)
+ (get_local $14)
(i32.const 536)
)
)
@@ -2287,18 +2278,18 @@
(i32.add
(tee_local $41
(i32.add
- (get_local $25)
+ (get_local $14)
(i32.const 8)
)
)
(i32.const 4)
)
)
- (set_local $34
+ (set_local $33
(i32.add
(tee_local $5
(i32.add
- (get_local $25)
+ (get_local $14)
(i32.const 576)
)
)
@@ -2313,13 +2304,13 @@
)
(set_local $45
(i32.sub
- (tee_local $28
- (get_local $34)
+ (tee_local $27
+ (get_local $33)
)
(tee_local $37
(tee_local $22
(i32.add
- (get_local $25)
+ (get_local $14)
(i32.const 588)
)
)
@@ -2334,7 +2325,7 @@
)
(set_local $47
(i32.add
- (get_local $28)
+ (get_local $27)
(i32.const 2)
)
)
@@ -2342,7 +2333,7 @@
(i32.add
(tee_local $48
(i32.add
- (get_local $25)
+ (get_local $14)
(i32.const 24)
)
)
@@ -2350,14 +2341,14 @@
)
)
(set_local $43
- (tee_local $30
+ (tee_local $29
(i32.add
(get_local $22)
(i32.const 9)
)
)
)
- (set_local $35
+ (set_local $34
(i32.add
(get_local $22)
(i32.const 8)
@@ -2375,16 +2366,16 @@
(block $label$break$L1
(if
(i32.gt_s
- (get_local $16)
+ (get_local $17)
(i32.const -1)
)
- (set_local $16
+ (set_local $17
(if (result i32)
(i32.gt_s
(get_local $10)
(i32.sub
(i32.const 2147483647)
- (get_local $16)
+ (get_local $17)
)
)
(block (result i32)
@@ -2396,7 +2387,7 @@
)
(i32.add
(get_local $10)
- (get_local $16)
+ (get_local $17)
)
)
)
@@ -2498,7 +2489,7 @@
)
)
(if
- (get_local $29)
+ (get_local $28)
(if
(i32.eqz
(i32.and
@@ -2574,7 +2565,7 @@
)
)
)
- (set_local $17
+ (set_local $18
(select
(get_local $8)
(i32.const -1)
@@ -2591,7 +2582,7 @@
(set_local $6
(get_local $11)
)
- (set_local $17
+ (set_local $18
(i32.const -1)
)
(get_local $1)
@@ -2771,7 +2762,7 @@
(set_local $8
(i32.const 1)
)
- (set_local $14
+ (set_local $15
(i32.load
(get_local $6)
)
@@ -2786,7 +2777,7 @@
(if
(get_local $8)
(block
- (set_local $16
+ (set_local $17
(i32.const -1)
)
(br $label$break$L1)
@@ -2794,7 +2785,7 @@
)
(if
(i32.eqz
- (get_local $29)
+ (get_local $28)
)
(block
(set_local $11
@@ -2803,7 +2794,7 @@
(set_local $10
(get_local $6)
)
- (set_local $14
+ (set_local $15
(i32.const 0)
)
(br $do-once5
@@ -2811,7 +2802,7 @@
)
)
)
- (set_local $14
+ (set_local $15
(i32.load
(tee_local $10
(i32.and
@@ -2842,14 +2833,14 @@
(set_local $11
(if (result i32)
(i32.lt_s
- (get_local $14)
+ (get_local $15)
(i32.const 0)
)
(block (result i32)
- (set_local $14
+ (set_local $15
(i32.sub
(i32.const 0)
- (get_local $14)
+ (get_local $15)
)
)
(i32.or
@@ -2926,7 +2917,7 @@
(i32.const 0)
)
(block
- (set_local $16
+ (set_local $17
(i32.const -1)
)
(br $label$break$L1)
@@ -2935,7 +2926,7 @@
(set_local $11
(get_local $1)
)
- (set_local $14
+ (set_local $15
(get_local $6)
)
(get_local $8)
@@ -2946,7 +2937,7 @@
(set_local $11
(get_local $1)
)
- (set_local $14
+ (set_local $15
(i32.const 0)
)
(get_local $8)
@@ -3120,14 +3111,14 @@
(if
(get_local $1)
(block
- (set_local $16
+ (set_local $17
(i32.const -1)
)
(br $label$break$L1)
)
)
(if (result i32)
- (get_local $29)
+ (get_local $28)
(block (result i32)
(set_local $8
(i32.load
@@ -3188,7 +3179,7 @@
(i32.const 57)
)
(block
- (set_local $16
+ (set_local $17
(i32.const -1)
)
(br $label$break$L1)
@@ -3200,7 +3191,7 @@
(i32.const 1)
)
)
- (set_local $18
+ (set_local $19
(if (result i32)
(i32.lt_u
(i32.add
@@ -3248,7 +3239,7 @@
)
)
(block
- (set_local $16
+ (set_local $17
(i32.const -1)
)
(br $label$break$L1)
@@ -3256,7 +3247,7 @@
)
(set_local $8
(i32.gt_s
- (get_local $17)
+ (get_local $18)
(i32.const -1)
)
)
@@ -3273,7 +3264,7 @@
(if
(get_local $8)
(block
- (set_local $16
+ (set_local $17
(i32.const -1)
)
(br $label$break$L1)
@@ -3288,19 +3279,19 @@
(i32.add
(get_local $4)
(i32.shl
- (get_local $17)
+ (get_local $18)
(i32.const 2)
)
)
(get_local $12)
)
- (set_local $13
+ (set_local $12
(i32.load offset=4
- (tee_local $12
+ (tee_local $8
(i32.add
(get_local $3)
(i32.shl
- (get_local $17)
+ (get_local $18)
(i32.const 3)
)
)
@@ -3308,33 +3299,31 @@
)
)
(i32.store
- (tee_local $8
- (get_local $19)
- )
+ (get_local $14)
(i32.load
- (get_local $12)
+ (get_local $8)
)
)
(i32.store offset=4
- (get_local $8)
- (get_local $13)
+ (get_local $14)
+ (get_local $12)
)
(br $__rjti$2)
)
)
(if
(i32.eqz
- (get_local $29)
+ (get_local $28)
)
(block
- (set_local $16
+ (set_local $17
(i32.const 0)
)
(br $label$break$L1)
)
)
(call $_pop_arg_336
- (get_local $19)
+ (get_local $14)
(get_local $12)
(get_local $2)
)
@@ -3344,7 +3333,7 @@
)
(if
(i32.eqz
- (get_local $29)
+ (get_local $28)
)
(block
(set_local $5
@@ -3372,7 +3361,7 @@
)
)
)
- (set_local $5
+ (set_local $7
(block $__rjto$8 (result i32)
(block $__rjti$8
(block $__rjti$7
@@ -3395,12 +3384,12 @@
(block $switch-case27
(br_table $switch-case42 $switch-default120 $switch-case40 $switch-default120 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case41 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case29 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case42 $switch-default120 $switch-case37 $switch-case34 $switch-case42 $switch-case42 $switch-case42 $switch-default120 $switch-case34 $switch-default120 $switch-default120 $switch-default120 $switch-case38 $switch-case27 $switch-case33 $switch-case28 $switch-default120 $switch-default120 $switch-case39 $switch-default120 $switch-case36 $switch-default120 $switch-default120 $switch-case29 $switch-default120
(i32.sub
- (tee_local $18
+ (tee_local $19
(select
(i32.and
(tee_local $12
(i32.load8_s
- (get_local $18)
+ (get_local $19)
)
)
(i32.const -33)
@@ -3439,9 +3428,9 @@
)
(i32.store
(i32.load
- (get_local $19)
+ (get_local $14)
)
- (get_local $16)
+ (get_local $17)
)
(set_local $5
(get_local $10)
@@ -3453,9 +3442,9 @@
)
(i32.store
(i32.load
- (get_local $19)
+ (get_local $14)
)
- (get_local $16)
+ (get_local $17)
)
(set_local $5
(get_local $10)
@@ -3468,17 +3457,17 @@
(i32.store
(tee_local $5
(i32.load
- (get_local $19)
+ (get_local $14)
)
)
- (get_local $16)
+ (get_local $17)
)
(i32.store offset=4
(get_local $5)
(i32.shr_s
(i32.shl
(i32.lt_s
- (get_local $16)
+ (get_local $17)
(i32.const 0)
)
(i32.const 31)
@@ -3496,9 +3485,9 @@
)
(i32.store16
(i32.load
- (get_local $19)
+ (get_local $14)
)
- (get_local $16)
+ (get_local $17)
)
(set_local $5
(get_local $10)
@@ -3510,9 +3499,9 @@
)
(i32.store8
(i32.load
- (get_local $19)
+ (get_local $14)
)
- (get_local $16)
+ (get_local $17)
)
(set_local $5
(get_local $10)
@@ -3524,9 +3513,9 @@
)
(i32.store
(i32.load
- (get_local $19)
+ (get_local $14)
)
- (get_local $16)
+ (get_local $17)
)
(set_local $5
(get_local $10)
@@ -3539,17 +3528,17 @@
(i32.store
(tee_local $5
(i32.load
- (get_local $19)
+ (get_local $14)
)
)
- (get_local $16)
+ (get_local $17)
)
(i32.store offset=4
(get_local $5)
(i32.shr_s
(i32.shl
(i32.lt_s
- (get_local $16)
+ (get_local $17)
(i32.const 0)
)
(i32.const 31)
@@ -3573,7 +3562,7 @@
)
(br $label$continue$L1)
)
- (set_local $7
+ (set_local $5
(i32.or
(get_local $11)
(i32.const 8)
@@ -3589,40 +3578,32 @@
)
)
)
- (set_local $18
+ (set_local $19
(i32.const 120)
)
(br $__rjti$3)
)
- (set_local $7
+ (set_local $5
(get_local $11)
)
(br $__rjti$3)
)
(if
(i32.or
- (tee_local $7
+ (tee_local $5
(i32.load
- (tee_local $5
- (get_local $19)
- )
+ (get_local $14)
)
)
- (tee_local $8
+ (tee_local $7
(i32.load offset=4
- (get_local $5)
+ (get_local $14)
)
)
)
(block
- (set_local $5
- (get_local $7)
- )
- (set_local $7
- (get_local $8)
- )
(set_local $8
- (get_local $26)
+ (get_local $25)
)
(loop $while-in32
(i32.store8
@@ -3657,7 +3638,7 @@
)
)
(set_local $8
- (get_local $26)
+ (get_local $25)
)
)
(if
@@ -3666,7 +3647,7 @@
(i32.const 8)
)
(block
- (set_local $7
+ (set_local $5
(get_local $11)
)
(set_local $6
@@ -3675,7 +3656,9 @@
(i32.add
(i32.sub
(get_local $39)
- (get_local $8)
+ (tee_local $7
+ (get_local $8)
+ )
)
(i32.const 1)
)
@@ -3688,13 +3671,15 @@
)
)
)
- (set_local $7
- (get_local $11)
+ (block
+ (set_local $7
+ (get_local $8)
+ )
+ (set_local $5
+ (get_local $11)
+ )
)
)
- (set_local $5
- (get_local $8)
- )
(set_local $8
(i32.const 0)
)
@@ -3705,25 +3690,21 @@
)
(set_local $5
(i32.load
- (tee_local $7
- (get_local $19)
- )
+ (get_local $14)
)
)
(if
(i32.lt_s
(tee_local $7
(i32.load offset=4
- (get_local $7)
+ (get_local $14)
)
)
(i32.const 0)
)
(block
(i32.store
- (tee_local $8
- (get_local $19)
- )
+ (get_local $14)
(tee_local $5
(call $_i64Subtract
(i32.const 0)
@@ -3734,7 +3715,7 @@
)
)
(i32.store offset=4
- (get_local $8)
+ (get_local $14)
(tee_local $7
(get_global $tempRet0)
)
@@ -3781,14 +3762,12 @@
)
(set_local $5
(i32.load
- (tee_local $7
- (get_local $19)
- )
+ (get_local $14)
)
)
(set_local $7
(i32.load offset=4
- (get_local $7)
+ (get_local $14)
)
)
(set_local $8
@@ -3801,18 +3780,16 @@
)
(drop
(i32.load offset=4
- (tee_local $5
- (get_local $19)
- )
+ (get_local $14)
)
)
(i32.store8
(get_local $40)
(i32.load
- (get_local $5)
+ (get_local $14)
)
)
- (set_local $7
+ (set_local $5
(get_local $40)
)
(set_local $11
@@ -3828,10 +3805,10 @@
(i32.const 4091)
)
(br $__rjto$8
- (get_local $26)
+ (get_local $25)
)
)
- (set_local $5
+ (set_local $7
(call $_strerror
(i32.load
(call $___errno_location)
@@ -3840,11 +3817,11 @@
)
(br $__rjti$5)
)
- (set_local $5
+ (set_local $7
(select
(tee_local $5
(i32.load
- (get_local $19)
+ (get_local $14)
)
)
(i32.const 4101)
@@ -3855,15 +3832,13 @@
)
(drop
(i32.load offset=4
- (tee_local $5
- (get_local $19)
- )
+ (get_local $14)
)
)
(i32.store
(get_local $41)
(i32.load
- (get_local $5)
+ (get_local $14)
)
)
(i32.store
@@ -3871,7 +3846,7 @@
(i32.const 0)
)
(i32.store
- (get_local $19)
+ (get_local $14)
(get_local $41)
)
(set_local $8
@@ -3891,7 +3866,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $14)
+ (get_local $15)
(i32.const 0)
(get_local $11)
)
@@ -3902,9 +3877,9 @@
)
)
)
- (set_local $15
+ (set_local $16
(f64.load
- (get_local $19)
+ (get_local $14)
)
)
(i32.store
@@ -3913,14 +3888,14 @@
)
(f64.store
(get_global $tempDoublePtr)
- (get_local $15)
+ (get_local $16)
)
(drop
(i32.load
(get_global $tempDoublePtr)
)
)
- (set_local $31
+ (set_local $30
(if (result i32)
(i32.lt_s
(i32.load offset=4
@@ -3929,12 +3904,12 @@
(i32.const 0)
)
(block (result i32)
- (set_local $27
+ (set_local $26
(i32.const 1)
)
- (set_local $15
+ (set_local $16
(f64.neg
- (get_local $15)
+ (get_local $16)
)
)
(i32.const 4108)
@@ -3945,13 +3920,13 @@
(i32.const 2048)
)
(block (result i32)
- (set_local $27
+ (set_local $26
(i32.const 1)
)
(i32.const 4111)
)
(block (result i32)
- (set_local $27
+ (set_local $26
(tee_local $5
(i32.and
(get_local $11)
@@ -3970,7 +3945,7 @@
)
(f64.store
(get_global $tempDoublePtr)
- (get_local $15)
+ (get_local $16)
)
(drop
(i32.load
@@ -3996,7 +3971,7 @@
(tee_local $23
(f64.mul
(call $_frexp
- (get_local $15)
+ (get_local $16)
(get_local $20)
)
(f64.const 2)
@@ -4019,7 +3994,7 @@
(i32.eq
(tee_local $24
(i32.or
- (get_local $18)
+ (get_local $19)
(i32.const 32)
)
)
@@ -4029,19 +4004,19 @@
(set_local $9
(select
(i32.add
- (get_local $31)
+ (get_local $30)
(i32.const 9)
)
- (get_local $31)
+ (get_local $30)
(tee_local $13
(i32.and
- (get_local $18)
+ (get_local $19)
(i32.const 32)
)
)
)
)
- (set_local $15
+ (set_local $16
(if (result f64)
(i32.or
(i32.gt_u
@@ -4059,13 +4034,13 @@
)
(get_local $23)
(block (result f64)
- (set_local $15
+ (set_local $16
(f64.const 8)
)
(loop $while-in54
- (set_local $15
+ (set_local $16
(f64.mul
- (get_local $15)
+ (get_local $16)
(f64.const 16)
)
)
@@ -4087,21 +4062,21 @@
)
(f64.neg
(f64.add
- (get_local $15)
+ (get_local $16)
(f64.sub
(f64.neg
(get_local $23)
)
- (get_local $15)
+ (get_local $16)
)
)
)
(f64.sub
(f64.add
(get_local $23)
- (get_local $15)
+ (get_local $16)
)
- (get_local $15)
+ (get_local $16)
)
)
)
@@ -4138,10 +4113,10 @@
)
(i32.const 31)
)
- (get_local $34)
+ (get_local $33)
)
)
- (get_local $34)
+ (get_local $33)
)
(block
(i32.store8
@@ -4155,7 +4130,7 @@
)
(set_local $12
(i32.or
- (get_local $27)
+ (get_local $26)
(i32.const 2)
)
)
@@ -4183,17 +4158,17 @@
)
)
(i32.add
- (get_local $18)
+ (get_local $19)
(i32.const 15)
)
)
- (set_local $18
+ (set_local $19
(i32.lt_s
(get_local $6)
(i32.const 1)
)
)
- (set_local $17
+ (set_local $18
(i32.eqz
(i32.and
(get_local $11)
@@ -4212,7 +4187,7 @@
(i32.add
(tee_local $7
(call $f64-to-int
- (get_local $15)
+ (get_local $16)
)
)
(i32.const 4075)
@@ -4221,10 +4196,10 @@
(get_local $13)
)
)
- (set_local $15
+ (set_local $16
(f64.mul
(f64.sub
- (get_local $15)
+ (get_local $16)
(f64.convert_s/i32
(get_local $7)
)
@@ -4252,11 +4227,11 @@
(br_if $do-once57
(get_local $7)
(i32.and
- (get_local $17)
+ (get_local $18)
(i32.and
- (get_local $18)
+ (get_local $19)
(f64.eq
- (get_local $15)
+ (get_local $16)
(f64.const 0)
)
)
@@ -4278,7 +4253,7 @@
)
(br_if $while-in56
(f64.ne
- (get_local $15)
+ (get_local $16)
(f64.const 0)
)
)
@@ -4286,7 +4261,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $14)
+ (get_local $15)
(tee_local $7
(i32.add
(tee_local $6
@@ -4345,7 +4320,7 @@
(call $_pad
(get_local $0)
(i32.const 48)
- (get_local $14)
+ (get_local $15)
(get_local $7)
(i32.xor
(get_local $11)
@@ -4384,7 +4359,7 @@
(get_local $5)
(tee_local $5
(i32.sub
- (get_local $28)
+ (get_local $27)
(get_local $8)
)
)
@@ -4413,7 +4388,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $14)
+ (get_local $15)
(get_local $7)
(i32.xor
(get_local $11)
@@ -4422,17 +4397,17 @@
)
(br $do-once49
(select
- (get_local $14)
+ (get_local $15)
(get_local $7)
(i32.lt_s
(get_local $7)
- (get_local $14)
+ (get_local $15)
)
)
)
)
)
- (set_local $15
+ (set_local $16
(if (result f64)
(get_local $5)
(block (result f64)
@@ -4479,7 +4454,7 @@
(get_local $7)
(tee_local $5
(call $f64-to-int
- (get_local $15)
+ (get_local $16)
)
)
)
@@ -4491,10 +4466,10 @@
)
(br_if $while-in60
(f64.ne
- (tee_local $15
+ (tee_local $16
(f64.mul
(f64.sub
- (get_local $15)
+ (get_local $16)
(f64.convert_u/i32
(get_local $5)
)
@@ -4563,7 +4538,7 @@
(i32.const 0)
)
)
- (tee_local $17
+ (tee_local $18
(get_global $tempRet0)
)
(i32.const 1000000000)
@@ -4573,7 +4548,7 @@
(set_local $12
(call $___udivdi3
(get_local $12)
- (get_local $17)
+ (get_local $18)
(i32.const 1000000000)
(i32.const 0)
)
@@ -4656,7 +4631,7 @@
(get_local $8)
)
)
- (set_local $17
+ (set_local $18
(select
(i32.const 6)
(get_local $6)
@@ -4676,7 +4651,7 @@
(i32.add
(call $i32s-div
(i32.add
- (get_local $17)
+ (get_local $18)
(i32.const 25)
)
(i32.const 9)
@@ -4684,7 +4659,7 @@
(i32.const 1)
)
)
- (set_local $32
+ (set_local $31
(i32.eq
(get_local $24)
(i32.const 102)
@@ -4745,7 +4720,7 @@
(get_local $7)
(i32.add
(i32.shr_u
- (tee_local $33
+ (tee_local $32
(i32.load
(get_local $7)
)
@@ -4758,7 +4733,7 @@
(set_local $9
(i32.mul
(i32.and
- (get_local $33)
+ (get_local $32)
(get_local $12)
)
(get_local $38)
@@ -4825,7 +4800,7 @@
(select
(get_local $8)
(get_local $7)
- (get_local $32)
+ (get_local $31)
)
)
(i32.shl
@@ -4952,7 +4927,7 @@
(tee_local $6
(i32.add
(i32.sub
- (get_local $17)
+ (get_local $18)
(select
(get_local $7)
(i32.const 0)
@@ -4965,9 +4940,9 @@
(i32.shr_s
(i32.shl
(i32.and
- (tee_local $32
+ (tee_local $31
(i32.ne
- (get_local $17)
+ (get_local $18)
(i32.const 0)
)
)
@@ -5076,7 +5051,7 @@
(if
(i32.eqz
(i32.and
- (tee_local $33
+ (tee_local $32
(i32.eq
(i32.add
(get_local $6)
@@ -5097,7 +5072,7 @@
(get_local $12)
)
)
- (set_local $15
+ (set_local $16
(if (result f64)
(i32.lt_u
(get_local $13)
@@ -5113,7 +5088,7 @@
(f64.const 1)
(f64.const 1.5)
(i32.and
- (get_local $33)
+ (get_local $32)
(i32.eq
(get_local $13)
(get_local $51)
@@ -5134,12 +5109,12 @@
)
(block $do-once83
(if
- (get_local $27)
+ (get_local $26)
(block
(br_if $do-once83
(i32.ne
(i32.load8_s
- (get_local $31)
+ (get_local $30)
)
(i32.const 45)
)
@@ -5149,9 +5124,9 @@
(get_local $23)
)
)
- (set_local $15
+ (set_local $16
(f64.neg
- (get_local $15)
+ (get_local $16)
)
)
)
@@ -5170,7 +5145,7 @@
(f64.eq
(f64.add
(get_local $23)
- (get_local $15)
+ (get_local $16)
)
(get_local $23)
)
@@ -5311,7 +5286,7 @@
)
)
)
- (set_local $33
+ (set_local $32
(i32.sub
(i32.const 0)
(get_local $13)
@@ -5362,13 +5337,13 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $14)
+ (get_local $15)
(tee_local $13
(i32.add
(i32.add
(i32.add
(i32.add
- (get_local $27)
+ (get_local $26)
(i32.const 1)
)
(tee_local $5
@@ -5383,10 +5358,10 @@
(tee_local $5
(i32.add
(i32.xor
- (get_local $32)
+ (get_local $31)
(i32.const 1)
)
- (get_local $17)
+ (get_local $18)
)
)
(get_local $13)
@@ -5397,7 +5372,7 @@
)
)
(block (result i32)
- (set_local $17
+ (set_local $18
(i32.sub
(i32.add
(get_local $5)
@@ -5407,19 +5382,19 @@
)
)
(i32.add
- (get_local $18)
+ (get_local $19)
(i32.const -1)
)
)
(block (result i32)
- (set_local $17
+ (set_local $18
(i32.add
(get_local $5)
(i32.const -1)
)
)
(i32.add
- (get_local $18)
+ (get_local $19)
(i32.const -2)
)
)
@@ -5437,7 +5412,7 @@
(get_local $5)
)
(br $do-once91
- (get_local $17)
+ (get_local $18)
)
)
)
@@ -5447,7 +5422,7 @@
(block
(if
(i32.eqz
- (tee_local $18
+ (tee_local $19
(i32.load
(i32.add
(get_local $9)
@@ -5466,7 +5441,7 @@
(set_local $5
(if (result i32)
(call $i32u-rem
- (get_local $18)
+ (get_local $19)
(i32.const 10)
)
(block
@@ -5493,7 +5468,7 @@
(br_if $while-in96
(i32.eqz
(call $i32u-rem
- (get_local $18)
+ (get_local $19)
(tee_local $6
(i32.mul
(get_local $6)
@@ -5538,7 +5513,7 @@
(i32.const 0)
)
(select
- (get_local $17)
+ (get_local $18)
(tee_local $5
(select
(i32.const 0)
@@ -5555,7 +5530,7 @@
)
)
(i32.lt_s
- (get_local $17)
+ (get_local $18)
(get_local $5)
)
)
@@ -5565,7 +5540,7 @@
(i32.const 0)
)
(select
- (get_local $17)
+ (get_local $18)
(tee_local $5
(select
(i32.const 0)
@@ -5585,7 +5560,7 @@
)
)
(i32.lt_s
- (get_local $17)
+ (get_local $18)
(get_local $5)
)
)
@@ -5600,16 +5575,16 @@
)
)
(set_local $7
- (get_local $18)
+ (get_local $19)
)
- (get_local $17)
+ (get_local $18)
)
)
)
)
)
(i32.ne
- (tee_local $32
+ (tee_local $31
(i32.or
(get_local $5)
(get_local $21)
@@ -5619,7 +5594,7 @@
)
)
(if (result i32)
- (tee_local $17
+ (tee_local $18
(i32.eq
(i32.or
(get_local $7)
@@ -5629,7 +5604,7 @@
)
)
(block (result i32)
- (set_local $18
+ (set_local $19
(i32.const 0)
)
(select
@@ -5645,12 +5620,12 @@
(if
(i32.lt_s
(i32.sub
- (get_local $28)
+ (get_local $27)
(tee_local $6
(call $_fmt_u
(tee_local $6
(select
- (get_local $33)
+ (get_local $32)
(get_local $13)
(i32.lt_s
(get_local $13)
@@ -5668,7 +5643,7 @@
)
(i32.const 31)
)
- (get_local $34)
+ (get_local $33)
)
)
)
@@ -5687,7 +5662,7 @@
(br_if $while-in98
(i32.lt_s
(i32.sub
- (get_local $28)
+ (get_local $27)
(get_local $6)
)
(i32.const 2)
@@ -5712,7 +5687,7 @@
)
)
(i32.store8
- (tee_local $6
+ (tee_local $19
(i32.add
(get_local $6)
(i32.const -2)
@@ -5720,12 +5695,9 @@
)
(get_local $7)
)
- (set_local $18
- (get_local $6)
- )
(i32.sub
- (get_local $28)
- (get_local $6)
+ (get_local $27)
+ (get_local $19)
)
)
)
@@ -5744,8 +5716,8 @@
)
(drop
(call $___fwritex
- (get_local $31)
- (get_local $27)
+ (get_local $30)
+ (get_local $26)
(get_local $0)
)
)
@@ -5753,7 +5725,7 @@
(call $_pad
(get_local $0)
(i32.const 48)
- (get_local $14)
+ (get_local $15)
(get_local $13)
(i32.xor
(get_local $11)
@@ -5762,7 +5734,7 @@
)
(block $do-once99
(if
- (get_local $17)
+ (get_local $18)
(block
(set_local $6
(tee_local $12
@@ -5783,7 +5755,7 @@
(get_local $6)
)
(i32.const 0)
- (get_local $30)
+ (get_local $29)
)
)
(block $do-once103
@@ -5796,15 +5768,15 @@
(br_if $do-once103
(i32.ne
(get_local $7)
- (get_local $30)
+ (get_local $29)
)
)
(i32.store8
- (get_local $35)
+ (get_local $34)
(i32.const 48)
)
(set_local $7
- (get_local $35)
+ (get_local $34)
)
)
(block
@@ -5874,7 +5846,7 @@
)
(block $do-once107
(if
- (get_local $32)
+ (get_local $31)
(block
(br_if $do-once107
(i32.and
@@ -5914,7 +5886,7 @@
(get_local $7)
)
(i32.const 0)
- (get_local $30)
+ (get_local $29)
)
)
(get_local $22)
@@ -6023,7 +5995,7 @@
(i32.const -1)
)
(block
- (set_local $17
+ (set_local $18
(i32.eqz
(get_local $21)
)
@@ -6043,18 +6015,18 @@
(get_local $6)
)
(i32.const 0)
- (get_local $30)
+ (get_local $29)
)
)
- (get_local $30)
+ (get_local $29)
)
(block
(i32.store8
- (get_local $35)
+ (get_local $34)
(i32.const 48)
)
(set_local $5
- (get_local $35)
+ (get_local $34)
)
)
)
@@ -6090,7 +6062,7 @@
)
(br_if $do-once115
(i32.and
- (get_local $17)
+ (get_local $18)
(i32.lt_s
(get_local $7)
(i32.const 1)
@@ -6218,10 +6190,10 @@
)
(drop
(call $___fwritex
- (get_local $18)
+ (get_local $19)
(i32.sub
- (get_local $28)
- (get_local $18)
+ (get_local $27)
+ (get_local $19)
)
(get_local $0)
)
@@ -6232,7 +6204,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $14)
+ (get_local $15)
(get_local $13)
(i32.xor
(get_local $11)
@@ -6240,11 +6212,11 @@
)
)
(select
- (get_local $14)
+ (get_local $15)
(get_local $13)
(i32.lt_s
(get_local $13)
- (get_local $14)
+ (get_local $15)
)
)
)
@@ -6252,17 +6224,17 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $14)
+ (get_local $15)
(tee_local $7
(i32.add
(tee_local $9
(select
(i32.const 0)
- (get_local $27)
+ (get_local $26)
(tee_local $6
(f64.ne
- (get_local $15)
- (get_local $15)
+ (get_local $16)
+ (get_local $16)
)
)
)
@@ -6286,7 +6258,7 @@
(block
(drop
(call $___fwritex
- (get_local $31)
+ (get_local $30)
(get_local $9)
(get_local $0)
)
@@ -6306,7 +6278,7 @@
(tee_local $8
(i32.ne
(i32.and
- (get_local $18)
+ (get_local $19)
(i32.const 32)
)
(i32.const 0)
@@ -6339,7 +6311,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $14)
+ (get_local $15)
(get_local $7)
(i32.xor
(get_local $11)
@@ -6347,11 +6319,11 @@
)
)
(select
- (get_local $14)
+ (get_local $15)
(get_local $7)
(i32.lt_s
(get_local $7)
- (get_local $14)
+ (get_local $15)
)
)
)
@@ -6366,9 +6338,6 @@
)
(br $label$continue$L1)
)
- (set_local $7
- (get_local $5)
- )
(set_local $12
(get_local $6)
)
@@ -6379,36 +6348,31 @@
(i32.const 4091)
)
(br $__rjto$8
- (get_local $26)
+ (get_local $25)
)
)
(set_local $9
(i32.and
- (get_local $18)
+ (get_local $19)
(i32.const 32)
)
)
(if
(i32.or
- (tee_local $8
+ (tee_local $7
(i32.load
- (tee_local $5
- (get_local $19)
- )
+ (get_local $14)
)
)
(tee_local $11
(i32.load offset=4
- (get_local $5)
+ (get_local $14)
)
)
)
(block
- (set_local $5
- (get_local $8)
- )
(set_local $8
- (get_local $26)
+ (get_local $25)
)
(loop $while-in123
(i32.store8
@@ -6422,7 +6386,7 @@
(i32.load8_u
(i32.add
(i32.and
- (get_local $5)
+ (get_local $7)
(i32.const 15)
)
(i32.const 4075)
@@ -6433,9 +6397,9 @@
)
(br_if $while-in123
(i32.or
- (tee_local $5
+ (tee_local $7
(call $_bitshift64Lshr
- (get_local $5)
+ (get_local $7)
(get_local $11)
(i32.const 4)
)
@@ -6445,7 +6409,7 @@
)
)
)
- (set_local $5
+ (set_local $7
(get_local $8)
)
)
@@ -6454,19 +6418,17 @@
(i32.or
(i32.eqz
(i32.and
- (get_local $7)
+ (get_local $5)
(i32.const 8)
)
)
(i32.eqz
(i32.or
(i32.load
- (tee_local $11
- (get_local $19)
- )
+ (get_local $14)
)
(i32.load offset=4
- (get_local $11)
+ (get_local $14)
)
)
)
@@ -6481,7 +6443,7 @@
(set_local $9
(i32.add
(i32.shr_s
- (get_local $18)
+ (get_local $19)
(i32.const 4)
)
(i32.const 4091)
@@ -6493,8 +6455,8 @@
)
)
(block
- (set_local $5
- (get_local $26)
+ (set_local $7
+ (get_local $25)
)
(set_local $8
(i32.const 0)
@@ -6506,32 +6468,29 @@
)
(br $__rjti$8)
)
- (set_local $5
+ (set_local $7
(call $_fmt_u
(get_local $5)
(get_local $7)
- (get_local $26)
+ (get_local $25)
)
)
- (set_local $7
+ (set_local $5
(get_local $11)
)
(br $__rjti$8)
)
- (set_local $18
+ (set_local $19
(i32.eqz
(tee_local $13
(call $_memchr
- (get_local $5)
+ (get_local $7)
(i32.const 0)
(get_local $6)
)
)
)
)
- (set_local $7
- (get_local $5)
- )
(set_local $11
(get_local $8)
)
@@ -6540,9 +6499,11 @@
(get_local $6)
(i32.sub
(get_local $13)
- (get_local $5)
+ (tee_local $5
+ (get_local $7)
+ )
)
- (get_local $18)
+ (get_local $19)
)
)
(set_local $8
@@ -6558,7 +6519,7 @@
(get_local $6)
)
(get_local $13)
- (get_local $18)
+ (get_local $19)
)
)
)
@@ -6570,7 +6531,7 @@
)
(set_local $6
(i32.load
- (get_local $19)
+ (get_local $14)
)
)
(loop $while-in125
@@ -6629,7 +6590,7 @@
(i32.const 0)
)
(block
- (set_local $16
+ (set_local $17
(i32.const -1)
)
(br $label$break$L1)
@@ -6638,7 +6599,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $14)
+ (get_local $15)
(get_local $5)
(get_local $11)
)
@@ -6650,7 +6611,7 @@
)
(set_local $7
(i32.load
- (get_local $19)
+ (get_local $14)
)
)
(loop $while-in127
@@ -6733,7 +6694,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $14)
+ (get_local $15)
(get_local $7)
(i32.xor
(get_local $11)
@@ -6745,10 +6706,10 @@
)
(set_local $10
(select
- (get_local $14)
+ (get_local $15)
(get_local $7)
(i32.gt_s
- (get_local $14)
+ (get_local $15)
(get_local $7)
)
)
@@ -6758,91 +6719,90 @@
(set_local $11
(select
(i32.and
- (get_local $7)
+ (get_local $5)
(i32.const -65537)
)
- (get_local $7)
+ (get_local $5)
(i32.gt_s
(get_local $6)
(i32.const -1)
)
)
)
- (set_local $12
- (if (result i32)
- (i32.or
- (get_local $6)
- (tee_local $12
- (i32.or
- (i32.ne
- (i32.load
- (tee_local $7
- (get_local $19)
- )
- )
- (i32.const 0)
+ (if (result i32)
+ (i32.or
+ (get_local $6)
+ (tee_local $5
+ (i32.or
+ (i32.ne
+ (i32.load
+ (get_local $14)
)
- (i32.ne
- (i32.load offset=4
- (get_local $7)
- )
- (i32.const 0)
+ (i32.const 0)
+ )
+ (i32.ne
+ (i32.load offset=4
+ (get_local $14)
)
+ (i32.const 0)
)
)
)
- (block (result i32)
- (set_local $7
- (get_local $5)
- )
+ )
+ (block (result i32)
+ (set_local $12
(select
(get_local $6)
- (tee_local $5
+ (tee_local $7
(i32.add
(i32.xor
(i32.and
- (get_local $12)
+ (get_local $5)
(i32.const 1)
)
(i32.const 1)
)
(i32.sub
(get_local $39)
- (get_local $5)
+ (tee_local $5
+ (get_local $7)
+ )
)
)
)
(i32.gt_s
(get_local $6)
- (get_local $5)
+ (get_local $7)
)
)
)
- (block (result i32)
- (set_local $7
- (get_local $26)
- )
+ (get_local $25)
+ )
+ (block (result i32)
+ (set_local $12
(i32.const 0)
)
+ (tee_local $5
+ (get_local $25)
+ )
)
)
- (get_local $26)
)
)
(call $_pad
(get_local $0)
(i32.const 32)
- (tee_local $6
+ (tee_local $7
(select
- (tee_local $5
+ (tee_local $6
(i32.add
(get_local $8)
(tee_local $12
(select
(tee_local $13
(i32.sub
- (get_local $5)
(get_local $7)
+ (get_local $5)
)
)
(get_local $12)
@@ -6854,14 +6814,14 @@
)
)
)
- (get_local $14)
+ (get_local $15)
(i32.lt_s
- (get_local $14)
- (get_local $5)
+ (get_local $15)
+ (get_local $6)
)
)
)
- (get_local $5)
+ (get_local $6)
(get_local $11)
)
(if
@@ -6884,8 +6844,8 @@
(call $_pad
(get_local $0)
(i32.const 48)
+ (get_local $7)
(get_local $6)
- (get_local $5)
(i32.xor
(get_local $11)
(i32.const 65536)
@@ -6909,7 +6869,7 @@
)
(drop
(call $___fwritex
- (get_local $7)
+ (get_local $5)
(get_local $13)
(get_local $0)
)
@@ -6918,8 +6878,8 @@
(call $_pad
(get_local $0)
(i32.const 32)
+ (get_local $7)
(get_local $6)
- (get_local $5)
(i32.xor
(get_local $11)
(i32.const 8192)
@@ -6929,7 +6889,7 @@
(get_local $10)
)
(set_local $10
- (get_local $6)
+ (get_local $7)
)
(br $label$continue$L1)
)
@@ -6982,7 +6942,7 @@
(i32.const 10)
)
)
- (set_local $16
+ (set_local $17
(i32.const 1)
)
(br $label$break$L343)
@@ -7006,7 +6966,7 @@
)
)
(block
- (set_local $16
+ (set_local $17
(i32.const -1)
)
(br $label$break$L343)
@@ -7023,25 +6983,25 @@
(i32.const 10)
)
)
- (set_local $16
+ (set_local $17
(i32.const 1)
)
)
- (set_local $16
+ (set_local $17
(i32.const 1)
)
)
)
- (set_local $16
+ (set_local $17
(i32.const 0)
)
)
)
)
(set_global $STACKTOP
- (get_local $25)
+ (get_local $35)
)
- (get_local $16)
+ (get_local $17)
)
(func $_pop_arg_336 (; 49 ;) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)
@@ -7743,16 +7703,16 @@
(block (result i32)
(if
(i32.and
- (tee_local $5
+ (tee_local $10
(i32.shr_u
- (tee_local $11
+ (tee_local $6
(i32.load
(i32.const 176)
)
)
(tee_local $13
(i32.shr_u
- (tee_local $4
+ (tee_local $2
(select
(i32.const 16)
(i32.and
@@ -7776,7 +7736,7 @@
(i32.const 3)
)
(block
- (set_local $10
+ (set_local $11
(i32.load
(tee_local $1
(i32.add
@@ -7791,7 +7751,7 @@
(i32.add
(i32.xor
(i32.and
- (get_local $5)
+ (get_local $10)
(i32.const 1)
)
(i32.const 1)
@@ -7817,12 +7777,12 @@
(if
(i32.eq
(get_local $2)
- (get_local $10)
+ (get_local $11)
)
(i32.store
(i32.const 176)
(i32.and
- (get_local $11)
+ (get_local $6)
(i32.xor
(i32.shl
(i32.const 1)
@@ -7835,7 +7795,7 @@
(block
(if
(i32.lt_u
- (get_local $10)
+ (get_local $11)
(i32.load
(i32.const 192)
)
@@ -7847,7 +7807,7 @@
(i32.load
(tee_local $0
(i32.add
- (get_local $10)
+ (get_local $11)
(i32.const 12)
)
)
@@ -7861,7 +7821,7 @@
)
(i32.store
(get_local $3)
- (get_local $10)
+ (get_local $11)
)
)
(call $_abort)
@@ -7904,7 +7864,7 @@
)
(if (result i32)
(i32.gt_u
- (get_local $4)
+ (get_local $2)
(tee_local $0
(i32.load
(i32.const 184)
@@ -7913,9 +7873,9 @@
)
(block (result i32)
(if
- (get_local $5)
+ (get_local $10)
(block
- (set_local $10
+ (set_local $7
(i32.and
(i32.shr_u
(tee_local $3
@@ -7924,7 +7884,7 @@
(tee_local $3
(i32.and
(i32.shl
- (get_local $5)
+ (get_local $10)
(get_local $13)
)
(i32.or
@@ -7954,18 +7914,18 @@
(i32.const 16)
)
)
- (set_local $9
+ (set_local $10
(i32.load
- (tee_local $7
+ (tee_local $4
(i32.add
- (tee_local $12
+ (tee_local $8
(i32.load
(tee_local $3
(i32.add
- (tee_local $10
+ (tee_local $7
(i32.add
(i32.shl
- (tee_local $5
+ (tee_local $11
(i32.add
(i32.or
(i32.or
@@ -7974,10 +7934,10 @@
(tee_local $3
(i32.and
(i32.shr_u
- (tee_local $7
+ (tee_local $4
(i32.shr_u
(get_local $3)
- (get_local $10)
+ (get_local $7)
)
)
(i32.const 5)
@@ -7985,14 +7945,14 @@
(i32.const 8)
)
)
- (get_local $10)
+ (get_local $7)
)
(tee_local $3
(i32.and
(i32.shr_u
- (tee_local $7
+ (tee_local $4
(i32.shr_u
- (get_local $7)
+ (get_local $4)
(get_local $3)
)
)
@@ -8005,9 +7965,9 @@
(tee_local $3
(i32.and
(i32.shr_u
- (tee_local $7
+ (tee_local $4
(i32.shr_u
- (get_local $7)
+ (get_local $4)
(get_local $3)
)
)
@@ -8020,9 +7980,9 @@
(tee_local $3
(i32.and
(i32.shr_u
- (tee_local $7
+ (tee_local $4
(i32.shr_u
- (get_local $7)
+ (get_local $4)
(get_local $3)
)
)
@@ -8033,7 +7993,7 @@
)
)
(i32.shr_u
- (get_local $7)
+ (get_local $4)
(get_local $3)
)
)
@@ -8055,31 +8015,31 @@
)
(if
(i32.eq
+ (get_local $7)
(get_local $10)
- (get_local $9)
)
(block
(i32.store
(i32.const 176)
(i32.and
- (get_local $11)
+ (get_local $6)
(i32.xor
(i32.shl
(i32.const 1)
- (get_local $5)
+ (get_local $11)
)
(i32.const -1)
)
)
)
- (set_local $8
+ (set_local $9
(get_local $0)
)
)
(block
(if
(i32.lt_u
- (get_local $9)
+ (get_local $10)
(i32.load
(i32.const 192)
)
@@ -8091,23 +8051,23 @@
(i32.load
(tee_local $0
(i32.add
- (get_local $9)
+ (get_local $10)
(i32.const 12)
)
)
)
- (get_local $12)
+ (get_local $8)
)
(block
(i32.store
(get_local $0)
- (get_local $10)
+ (get_local $7)
)
(i32.store
(get_local $3)
- (get_local $9)
+ (get_local $10)
)
- (set_local $8
+ (set_local $9
(i32.load
(i32.const 184)
)
@@ -8118,27 +8078,27 @@
)
)
(i32.store offset=4
- (get_local $12)
+ (get_local $8)
(i32.or
- (get_local $4)
+ (get_local $2)
(i32.const 3)
)
)
(i32.store offset=4
- (tee_local $10
+ (tee_local $7
(i32.add
- (get_local $12)
- (get_local $4)
+ (get_local $8)
+ (get_local $2)
)
)
(i32.or
- (tee_local $5
+ (tee_local $11
(i32.sub
(i32.shl
- (get_local $5)
+ (get_local $11)
(i32.const 3)
)
- (get_local $4)
+ (get_local $2)
)
)
(i32.const 1)
@@ -8146,25 +8106,25 @@
)
(i32.store
(i32.add
- (get_local $10)
- (get_local $5)
+ (get_local $7)
+ (get_local $11)
)
- (get_local $5)
+ (get_local $11)
)
(if
- (get_local $8)
+ (get_local $9)
(block
- (set_local $12
+ (set_local $6
(i32.load
(i32.const 196)
)
)
- (set_local $4
+ (set_local $2
(i32.add
(i32.shl
(tee_local $0
(i32.shr_u
- (get_local $8)
+ (get_local $9)
(i32.const 3)
)
)
@@ -8193,7 +8153,7 @@
(i32.load
(tee_local $3
(i32.add
- (get_local $4)
+ (get_local $2)
(i32.const 8)
)
)
@@ -8205,7 +8165,7 @@
)
(call $_abort)
(block
- (set_local $2
+ (set_local $5
(get_local $3)
)
(set_local $1
@@ -8221,45 +8181,45 @@
(get_local $0)
)
)
- (set_local $2
+ (set_local $5
(i32.add
- (get_local $4)
+ (get_local $2)
(i32.const 8)
)
)
(set_local $1
- (get_local $4)
+ (get_local $2)
)
)
)
(i32.store
- (get_local $2)
- (get_local $12)
+ (get_local $5)
+ (get_local $6)
)
(i32.store offset=12
(get_local $1)
- (get_local $12)
+ (get_local $6)
)
(i32.store offset=8
- (get_local $12)
+ (get_local $6)
(get_local $1)
)
(i32.store offset=12
- (get_local $12)
- (get_local $4)
+ (get_local $6)
+ (get_local $2)
)
)
)
(i32.store
(i32.const 184)
- (get_local $5)
+ (get_local $11)
)
(i32.store
(i32.const 196)
- (get_local $10)
+ (get_local $7)
)
(return
- (get_local $7)
+ (get_local $4)
)
)
)
@@ -8270,7 +8230,7 @@
)
)
(block
- (set_local $2
+ (set_local $7
(i32.and
(i32.shr_u
(tee_local $0
@@ -8290,7 +8250,7 @@
(i32.const 16)
)
)
- (set_local $7
+ (set_local $11
(i32.sub
(i32.and
(i32.load offset=4
@@ -8308,7 +8268,7 @@
(tee_local $1
(i32.shr_u
(get_local $0)
- (get_local $2)
+ (get_local $7)
)
)
(i32.const 5)
@@ -8316,7 +8276,7 @@
(i32.const 8)
)
)
- (get_local $2)
+ (get_local $7)
)
(tee_local $0
(i32.and
@@ -8375,45 +8335,43 @@
)
(i32.const -8)
)
- (get_local $4)
+ (get_local $2)
)
)
- (set_local $1
- (get_local $0)
- )
- (set_local $2
+ (set_local $7
(get_local $0)
)
(loop $while-in
(block $while-out
(if
- (i32.eqz
- (tee_local $0
- (i32.load offset=16
- (get_local $1)
- )
+ (tee_local $1
+ (i32.load offset=16
+ (get_local $0)
)
)
+ (set_local $0
+ (get_local $1)
+ )
(if
(i32.eqz
(tee_local $0
(i32.load offset=20
- (get_local $1)
+ (get_local $0)
)
)
)
(block
- (set_local $10
- (get_local $7)
+ (set_local $6
+ (get_local $11)
)
- (set_local $5
- (get_local $2)
+ (set_local $8
+ (get_local $7)
)
(br $while-out)
)
)
)
- (set_local $10
+ (set_local $6
(i32.lt_u
(tee_local $1
(i32.sub
@@ -8423,27 +8381,24 @@
)
(i32.const -8)
)
- (get_local $4)
+ (get_local $2)
)
)
- (get_local $7)
+ (get_local $11)
)
)
- (set_local $7
+ (set_local $11
(select
(get_local $1)
- (get_local $7)
- (get_local $10)
+ (get_local $11)
+ (get_local $6)
)
)
- (set_local $1
- (get_local $0)
- )
- (set_local $2
+ (set_local $7
(select
(get_local $0)
- (get_local $2)
- (get_local $10)
+ (get_local $7)
+ (get_local $6)
)
)
(br $while-in)
@@ -8451,8 +8406,8 @@
)
(if
(i32.lt_u
- (get_local $5)
- (tee_local $12
+ (get_local $8)
+ (tee_local $10
(i32.load
(i32.const 192)
)
@@ -8462,19 +8417,19 @@
)
(if
(i32.ge_u
- (get_local $5)
- (tee_local $11
+ (get_local $8)
+ (tee_local $5
(i32.add
- (get_local $5)
- (get_local $4)
+ (get_local $8)
+ (get_local $2)
)
)
)
(call $_abort)
)
- (set_local $8
+ (set_local $9
(i32.load offset=24
- (get_local $5)
+ (get_local $8)
)
)
(block $do-once4
@@ -8482,10 +8437,10 @@
(i32.eq
(tee_local $0
(i32.load offset=12
- (get_local $5)
+ (get_local $8)
)
)
- (get_local $5)
+ (get_local $8)
)
(block
(if
@@ -8494,7 +8449,7 @@
(i32.load
(tee_local $0
(i32.add
- (get_local $5)
+ (get_local $8)
(i32.const 20)
)
)
@@ -8507,7 +8462,7 @@
(i32.load
(tee_local $0
(i32.add
- (get_local $5)
+ (get_local $8)
(i32.const 16)
)
)
@@ -8518,9 +8473,9 @@
)
(loop $while-in7
(if
- (tee_local $2
+ (tee_local $7
(i32.load
- (tee_local $7
+ (tee_local $11
(i32.add
(get_local $1)
(i32.const 20)
@@ -8530,18 +8485,18 @@
)
(block
(set_local $1
- (get_local $2)
+ (get_local $7)
)
(set_local $0
- (get_local $7)
+ (get_local $11)
)
(br $while-in7)
)
)
(if
- (tee_local $2
+ (tee_local $7
(i32.load
- (tee_local $7
+ (tee_local $11
(i32.add
(get_local $1)
(i32.const 16)
@@ -8551,10 +8506,10 @@
)
(block
(set_local $1
- (get_local $2)
+ (get_local $7)
)
(set_local $0
- (get_local $7)
+ (get_local $11)
)
(br $while-in7)
)
@@ -8563,7 +8518,7 @@
(if
(i32.lt_u
(get_local $0)
- (get_local $12)
+ (get_local $10)
)
(call $_abort)
(block
@@ -8571,7 +8526,7 @@
(get_local $0)
(i32.const 0)
)
- (set_local $9
+ (set_local $4
(get_local $1)
)
)
@@ -8580,26 +8535,26 @@
(block
(if
(i32.lt_u
- (tee_local $7
+ (tee_local $11
(i32.load offset=8
- (get_local $5)
+ (get_local $8)
)
)
- (get_local $12)
+ (get_local $10)
)
(call $_abort)
)
(if
(i32.ne
(i32.load
- (tee_local $2
+ (tee_local $7
(i32.add
- (get_local $7)
+ (get_local $11)
(i32.const 12)
)
)
)
- (get_local $5)
+ (get_local $8)
)
(call $_abort)
)
@@ -8613,18 +8568,18 @@
)
)
)
- (get_local $5)
+ (get_local $8)
)
(block
(i32.store
- (get_local $2)
+ (get_local $7)
(get_local $0)
)
(i32.store
(get_local $1)
- (get_local $7)
+ (get_local $11)
)
- (set_local $9
+ (set_local $4
(get_local $0)
)
)
@@ -8635,18 +8590,18 @@
)
(block $do-once8
(if
- (get_local $8)
+ (get_local $9)
(block
(if
(i32.eq
- (get_local $5)
+ (get_local $8)
(i32.load
(tee_local $0
(i32.add
(i32.shl
(tee_local $1
(i32.load offset=28
- (get_local $5)
+ (get_local $8)
)
)
(i32.const 2)
@@ -8659,11 +8614,11 @@
(block
(i32.store
(get_local $0)
- (get_local $9)
+ (get_local $4)
)
(if
(i32.eqz
- (get_local $9)
+ (get_local $4)
)
(block
(i32.store
@@ -8688,7 +8643,7 @@
(block
(if
(i32.lt_u
- (get_local $8)
+ (get_local $9)
(i32.load
(i32.const 192)
)
@@ -8700,32 +8655,32 @@
(i32.load
(tee_local $0
(i32.add
- (get_local $8)
+ (get_local $9)
(i32.const 16)
)
)
)
- (get_local $5)
+ (get_local $8)
)
(i32.store
(get_local $0)
- (get_local $9)
+ (get_local $4)
)
(i32.store offset=20
- (get_local $8)
(get_local $9)
+ (get_local $4)
)
)
(br_if $do-once8
(i32.eqz
- (get_local $9)
+ (get_local $4)
)
)
)
)
(if
(i32.lt_u
- (get_local $9)
+ (get_local $4)
(tee_local $0
(i32.load
(i32.const 192)
@@ -8735,13 +8690,13 @@
(call $_abort)
)
(i32.store offset=24
+ (get_local $4)
(get_local $9)
- (get_local $8)
)
(if
(tee_local $1
(i32.load offset=16
- (get_local $5)
+ (get_local $8)
)
)
(if
@@ -8752,12 +8707,12 @@
(call $_abort)
(block
(i32.store offset=16
- (get_local $9)
+ (get_local $4)
(get_local $1)
)
(i32.store offset=24
(get_local $1)
- (get_local $9)
+ (get_local $4)
)
)
)
@@ -8765,7 +8720,7 @@
(if
(tee_local $0
(i32.load offset=20
- (get_local $5)
+ (get_local $8)
)
)
(if
@@ -8778,12 +8733,12 @@
(call $_abort)
(block
(i32.store offset=20
- (get_local $9)
+ (get_local $4)
(get_local $0)
)
(i32.store offset=24
(get_local $0)
- (get_local $9)
+ (get_local $4)
)
)
)
@@ -8793,17 +8748,17 @@
)
(if
(i32.lt_u
- (get_local $10)
+ (get_local $6)
(i32.const 16)
)
(block
(i32.store offset=4
- (get_local $5)
+ (get_local $8)
(i32.or
(tee_local $0
(i32.add
- (get_local $10)
- (get_local $4)
+ (get_local $6)
+ (get_local $2)
)
)
(i32.const 3)
@@ -8813,7 +8768,7 @@
(tee_local $0
(i32.add
(i32.add
- (get_local $5)
+ (get_local $8)
(get_local $0)
)
(i32.const 4)
@@ -8829,25 +8784,25 @@
)
(block
(i32.store offset=4
- (get_local $5)
+ (get_local $8)
(i32.or
- (get_local $4)
+ (get_local $2)
(i32.const 3)
)
)
(i32.store offset=4
- (get_local $11)
+ (get_local $5)
(i32.or
- (get_local $10)
+ (get_local $6)
(i32.const 1)
)
)
(i32.store
(i32.add
- (get_local $11)
- (get_local $10)
+ (get_local $5)
+ (get_local $6)
)
- (get_local $10)
+ (get_local $6)
)
(if
(tee_local $0
@@ -8907,7 +8862,7 @@
)
(call $_abort)
(block
- (set_local $6
+ (set_local $12
(get_local $1)
)
(set_local $3
@@ -8923,7 +8878,7 @@
(get_local $0)
)
)
- (set_local $6
+ (set_local $12
(i32.add
(get_local $2)
(i32.const 8)
@@ -8935,7 +8890,7 @@
)
)
(i32.store
- (get_local $6)
+ (get_local $12)
(get_local $4)
)
(i32.store offset=12
@@ -8954,25 +8909,25 @@
)
(i32.store
(i32.const 184)
- (get_local $10)
+ (get_local $6)
)
(i32.store
(i32.const 196)
- (get_local $11)
+ (get_local $5)
)
)
)
(return
(i32.add
- (get_local $5)
+ (get_local $8)
(i32.const 8)
)
)
)
- (get_local $4)
+ (get_local $2)
)
)
- (get_local $4)
+ (get_local $2)
)
)
(if (result i32)
@@ -9115,7 +9070,7 @@
)
)
(block
- (set_local $8
+ (set_local $9
(i32.shl
(get_local $2)
(select
@@ -9142,7 +9097,7 @@
(i32.lt_u
(tee_local $4
(i32.sub
- (tee_local $9
+ (tee_local $12
(i32.and
(i32.load offset=4
(get_local $0)
@@ -9158,7 +9113,7 @@
(set_local $1
(if (result i32)
(i32.eq
- (get_local $9)
+ (get_local $12)
(get_local $2)
)
(block
@@ -9181,7 +9136,7 @@
)
(set_local $0
(select
- (get_local $6)
+ (get_local $5)
(tee_local $4
(i32.load offset=20
(get_local $0)
@@ -9193,7 +9148,7 @@
)
(i32.eq
(get_local $4)
- (tee_local $9
+ (tee_local $12
(i32.load
(i32.add
(i32.add
@@ -9202,7 +9157,7 @@
)
(i32.shl
(i32.shr_u
- (get_local $8)
+ (get_local $9)
(i32.const 31)
)
(i32.const 2)
@@ -9216,11 +9171,11 @@
)
(set_local $4
(i32.shl
- (get_local $8)
+ (get_local $9)
(i32.xor
- (tee_local $6
+ (tee_local $5
(i32.eqz
- (get_local $9)
+ (get_local $12)
)
)
(i32.const 1)
@@ -9229,7 +9184,7 @@
)
(set_local $0
(if (result i32)
- (get_local $6)
+ (get_local $5)
(block (result i32)
(set_local $4
(get_local $0)
@@ -9237,14 +9192,14 @@
(get_local $1)
)
(block
- (set_local $6
+ (set_local $5
(get_local $0)
)
- (set_local $8
+ (set_local $9
(get_local $4)
)
(set_local $0
- (get_local $9)
+ (get_local $12)
)
(br $while-in14)
)
@@ -9288,7 +9243,7 @@
)
)
)
- (set_local $9
+ (set_local $12
(i32.and
(i32.shr_u
(tee_local $1
@@ -9322,7 +9277,7 @@
(tee_local $4
(i32.shr_u
(get_local $1)
- (get_local $9)
+ (get_local $12)
)
)
(i32.const 5)
@@ -9330,7 +9285,7 @@
(i32.const 8)
)
)
- (get_local $9)
+ (get_local $12)
)
(tee_local $1
(i32.and
@@ -9406,7 +9361,7 @@
(br $__rjto$3)
)
(loop $while-in16
- (set_local $9
+ (set_local $12
(i32.lt_u
(tee_local $4
(i32.sub
@@ -9426,14 +9381,14 @@
(select
(get_local $4)
(get_local $1)
- (get_local $9)
+ (get_local $12)
)
)
(set_local $0
(select
(get_local $3)
(get_local $0)
- (get_local $9)
+ (get_local $12)
)
)
(if
@@ -9480,7 +9435,7 @@
(if
(i32.lt_u
(get_local $4)
- (tee_local $12
+ (tee_local $8
(i32.load
(i32.const 192)
)
@@ -9491,7 +9446,7 @@
(if
(i32.ge_u
(get_local $4)
- (tee_local $6
+ (tee_local $5
(i32.add
(get_local $4)
(get_local $2)
@@ -9500,7 +9455,7 @@
)
(call $_abort)
)
- (set_local $9
+ (set_local $12
(i32.load offset=24
(get_local $4)
)
@@ -9548,7 +9503,7 @@
(if
(tee_local $7
(i32.load
- (tee_local $10
+ (tee_local $11
(i32.add
(get_local $1)
(i32.const 20)
@@ -9561,7 +9516,7 @@
(get_local $7)
)
(set_local $0
- (get_local $10)
+ (get_local $11)
)
(br $while-in20)
)
@@ -9569,7 +9524,7 @@
(if
(tee_local $7
(i32.load
- (tee_local $10
+ (tee_local $11
(i32.add
(get_local $1)
(i32.const 16)
@@ -9582,7 +9537,7 @@
(get_local $7)
)
(set_local $0
- (get_local $10)
+ (get_local $11)
)
(br $while-in20)
)
@@ -9591,7 +9546,7 @@
(if
(i32.lt_u
(get_local $0)
- (get_local $12)
+ (get_local $8)
)
(call $_abort)
(block
@@ -9599,7 +9554,7 @@
(get_local $0)
(i32.const 0)
)
- (set_local $11
+ (set_local $10
(get_local $1)
)
)
@@ -9608,12 +9563,12 @@
(block
(if
(i32.lt_u
- (tee_local $10
+ (tee_local $11
(i32.load offset=8
(get_local $4)
)
)
- (get_local $12)
+ (get_local $8)
)
(call $_abort)
)
@@ -9622,7 +9577,7 @@
(i32.load
(tee_local $7
(i32.add
- (get_local $10)
+ (get_local $11)
(i32.const 12)
)
)
@@ -9650,9 +9605,9 @@
)
(i32.store
(get_local $1)
- (get_local $10)
+ (get_local $11)
)
- (set_local $11
+ (set_local $10
(get_local $0)
)
)
@@ -9663,7 +9618,7 @@
)
(block $do-once21
(if
- (get_local $9)
+ (get_local $12)
(block
(if
(i32.eq
@@ -9687,11 +9642,11 @@
(block
(i32.store
(get_local $0)
- (get_local $11)
+ (get_local $10)
)
(if
(i32.eqz
- (get_local $11)
+ (get_local $10)
)
(block
(i32.store
@@ -9716,7 +9671,7 @@
(block
(if
(i32.lt_u
- (get_local $9)
+ (get_local $12)
(i32.load
(i32.const 192)
)
@@ -9728,7 +9683,7 @@
(i32.load
(tee_local $0
(i32.add
- (get_local $9)
+ (get_local $12)
(i32.const 16)
)
)
@@ -9737,23 +9692,23 @@
)
(i32.store
(get_local $0)
- (get_local $11)
+ (get_local $10)
)
(i32.store offset=20
- (get_local $9)
- (get_local $11)
+ (get_local $12)
+ (get_local $10)
)
)
(br_if $do-once21
(i32.eqz
- (get_local $11)
+ (get_local $10)
)
)
)
)
(if
(i32.lt_u
- (get_local $11)
+ (get_local $10)
(tee_local $0
(i32.load
(i32.const 192)
@@ -9763,8 +9718,8 @@
(call $_abort)
)
(i32.store offset=24
- (get_local $11)
- (get_local $9)
+ (get_local $10)
+ (get_local $12)
)
(if
(tee_local $1
@@ -9780,12 +9735,12 @@
(call $_abort)
(block
(i32.store offset=16
- (get_local $11)
+ (get_local $10)
(get_local $1)
)
(i32.store offset=24
(get_local $1)
- (get_local $11)
+ (get_local $10)
)
)
)
@@ -9806,12 +9761,12 @@
(call $_abort)
(block
(i32.store offset=20
- (get_local $11)
+ (get_local $10)
(get_local $0)
)
(i32.store offset=24
(get_local $0)
- (get_local $11)
+ (get_local $10)
)
)
)
@@ -9865,7 +9820,7 @@
)
)
(i32.store offset=4
- (get_local $6)
+ (get_local $5)
(i32.or
(get_local $3)
(i32.const 1)
@@ -9873,7 +9828,7 @@
)
(i32.store
(i32.add
- (get_local $6)
+ (get_local $5)
(get_local $3)
)
(get_local $3)
@@ -9934,7 +9889,7 @@
(set_local $13
(get_local $1)
)
- (set_local $5
+ (set_local $6
(get_local $0)
)
)
@@ -9953,25 +9908,25 @@
(i32.const 8)
)
)
- (set_local $5
+ (set_local $6
(get_local $3)
)
)
)
(i32.store
(get_local $13)
- (get_local $6)
+ (get_local $5)
)
(i32.store offset=12
- (get_local $5)
(get_local $6)
+ (get_local $5)
)
(i32.store offset=8
- (get_local $6)
(get_local $5)
+ (get_local $6)
)
(i32.store offset=12
- (get_local $6)
+ (get_local $5)
(get_local $3)
)
(br $do-once25)
@@ -10083,13 +10038,13 @@
)
)
(i32.store offset=28
- (get_local $6)
+ (get_local $5)
(get_local $7)
)
(i32.store offset=4
(tee_local $0
(i32.add
- (get_local $6)
+ (get_local $5)
(i32.const 16)
)
)
@@ -10125,19 +10080,19 @@
)
(i32.store
(get_local $2)
- (get_local $6)
+ (get_local $5)
)
(i32.store offset=24
- (get_local $6)
+ (get_local $5)
(get_local $2)
)
(i32.store offset=12
- (get_local $6)
- (get_local $6)
+ (get_local $5)
+ (get_local $5)
)
(i32.store offset=8
- (get_local $6)
- (get_local $6)
+ (get_local $5)
+ (get_local $5)
)
(br $do-once25)
)
@@ -10228,19 +10183,19 @@
(block
(i32.store
(get_local $7)
- (get_local $6)
+ (get_local $5)
)
(i32.store offset=24
- (get_local $6)
+ (get_local $5)
(get_local $0)
)
(i32.store offset=12
- (get_local $6)
- (get_local $6)
+ (get_local $5)
+ (get_local $5)
)
(i32.store offset=8
- (get_local $6)
- (get_local $6)
+ (get_local $5)
+ (get_local $5)
)
(br $do-once25)
)
@@ -10274,22 +10229,22 @@
(block
(i32.store offset=12
(get_local $2)
- (get_local $6)
+ (get_local $5)
)
(i32.store
(get_local $3)
- (get_local $6)
+ (get_local $5)
)
(i32.store offset=8
- (get_local $6)
+ (get_local $5)
(get_local $2)
)
(i32.store offset=12
- (get_local $6)
+ (get_local $5)
(get_local $0)
)
(i32.store offset=24
- (get_local $6)
+ (get_local $5)
(i32.const 0)
)
)
@@ -10493,16 +10448,16 @@
)
(if
(i32.le_u
- (tee_local $5
+ (tee_local $6
(i32.and
- (tee_local $6
+ (tee_local $5
(i32.add
(tee_local $1
(i32.load
(i32.const 656)
)
)
- (tee_local $8
+ (tee_local $9
(i32.add
(get_local $0)
(i32.const 47)
@@ -10510,7 +10465,7 @@
)
)
)
- (tee_local $9
+ (tee_local $12
(i32.sub
(i32.const 0)
(get_local $1)
@@ -10540,7 +10495,7 @@
(i32.const 608)
)
)
- (get_local $5)
+ (get_local $6)
)
)
(get_local $3)
@@ -10555,7 +10510,7 @@
)
)
)
- (set_local $11
+ (set_local $10
(i32.add
(get_local $0)
(i32.const 48)
@@ -10637,12 +10592,12 @@
(tee_local $3
(i32.and
(i32.sub
- (get_local $6)
+ (get_local $5)
(i32.load
(i32.const 188)
)
)
- (get_local $9)
+ (get_local $12)
)
)
(i32.const 2147483647)
@@ -10708,7 +10663,7 @@
)
(i32.add
(i32.sub
- (get_local $5)
+ (get_local $6)
(get_local $3)
)
(i32.and
@@ -10722,10 +10677,10 @@
)
)
)
- (get_local $5)
+ (get_local $6)
)
)
- (set_local $9
+ (set_local $12
(i32.add
(tee_local $4
(i32.load
@@ -10756,11 +10711,11 @@
(br_if $label$break$L279
(i32.or
(i32.le_u
- (get_local $9)
+ (get_local $12)
(get_local $4)
)
(i32.gt_u
- (get_local $9)
+ (get_local $12)
(get_local $2)
)
)
@@ -10796,7 +10751,7 @@
(if (result i32)
(i32.and
(i32.gt_u
- (get_local $11)
+ (get_local $10)
(get_local $1)
)
(i32.and
@@ -10816,7 +10771,7 @@
(i32.and
(i32.add
(i32.sub
- (get_local $8)
+ (get_local $9)
(get_local $1)
)
(tee_local $3
@@ -10884,7 +10839,7 @@
)
(if
(i32.lt_u
- (get_local $5)
+ (get_local $6)
(i32.const 2147483647)
)
(if
@@ -10892,7 +10847,7 @@
(i32.lt_u
(tee_local $1
(call $_sbrk
- (get_local $5)
+ (get_local $6)
)
)
(tee_local $3
@@ -10955,7 +10910,7 @@
)
(block $do-once40
(if
- (tee_local $6
+ (tee_local $5
(i32.load
(i32.const 200)
)
@@ -10971,12 +10926,12 @@
(i32.eq
(get_local $1)
(i32.add
- (tee_local $11
+ (tee_local $10
(i32.load
(get_local $2)
)
)
- (tee_local $5
+ (tee_local $6
(i32.load
(tee_local $4
(i32.add
@@ -11011,25 +10966,25 @@
(if
(i32.and
(i32.lt_u
- (get_local $6)
+ (get_local $5)
(get_local $1)
)
(i32.ge_u
- (get_local $6)
- (get_local $11)
+ (get_local $5)
+ (get_local $10)
)
)
(block
(i32.store
(get_local $4)
(i32.add
- (get_local $5)
+ (get_local $6)
(get_local $3)
)
)
(set_local $2
(i32.add
- (get_local $6)
+ (get_local $5)
(tee_local $1
(select
(i32.and
@@ -11037,7 +10992,7 @@
(i32.const 0)
(tee_local $1
(i32.add
- (get_local $6)
+ (get_local $5)
(i32.const 8)
)
)
@@ -11116,7 +11071,7 @@
)
)
)
- (set_local $11
+ (set_local $10
(i32.add
(get_local $1)
(get_local $3)
@@ -11133,10 +11088,10 @@
(i32.load
(get_local $2)
)
- (get_local $11)
+ (get_local $10)
)
(block
- (set_local $5
+ (set_local $6
(get_local $2)
)
(br $__rjti$11)
@@ -11166,7 +11121,7 @@
(i32.const 624)
(block
(i32.store
- (get_local $5)
+ (get_local $6)
(get_local $1)
)
(i32.store
@@ -11183,9 +11138,9 @@
(get_local $3)
)
)
- (set_local $8
+ (set_local $9
(i32.add
- (tee_local $9
+ (tee_local $12
(i32.add
(get_local $1)
(select
@@ -11215,16 +11170,16 @@
(set_local $7
(i32.sub
(i32.sub
- (tee_local $5
+ (tee_local $6
(i32.add
- (get_local $11)
+ (get_local $10)
(select
(i32.and
(i32.sub
(i32.const 0)
(tee_local $1
(i32.add
- (get_local $11)
+ (get_local $10)
(i32.const 8)
)
)
@@ -11239,13 +11194,13 @@
)
)
)
- (get_local $9)
+ (get_local $12)
)
(get_local $0)
)
)
(i32.store offset=4
- (get_local $9)
+ (get_local $12)
(i32.or
(get_local $0)
(i32.const 3)
@@ -11254,8 +11209,8 @@
(block $do-once48
(if
(i32.eq
- (get_local $5)
(get_local $6)
+ (get_local $5)
)
(block
(i32.store
@@ -11271,10 +11226,10 @@
)
(i32.store
(i32.const 200)
- (get_local $8)
+ (get_local $9)
)
(i32.store offset=4
- (get_local $8)
+ (get_local $9)
(i32.or
(get_local $0)
(i32.const 1)
@@ -11284,7 +11239,7 @@
(block
(if
(i32.eq
- (get_local $5)
+ (get_local $6)
(i32.load
(i32.const 196)
)
@@ -11303,10 +11258,10 @@
)
(i32.store
(i32.const 196)
- (get_local $8)
+ (get_local $9)
)
(i32.store offset=4
- (get_local $8)
+ (get_local $9)
(i32.or
(get_local $0)
(i32.const 1)
@@ -11314,7 +11269,7 @@
)
(i32.store
(i32.add
- (get_local $8)
+ (get_local $9)
(get_local $0)
)
(get_local $0)
@@ -11331,7 +11286,7 @@
(i32.and
(tee_local $0
(i32.load offset=4
- (get_local $5)
+ (get_local $6)
)
)
(i32.const 3)
@@ -11339,7 +11294,7 @@
(i32.const 1)
)
(block (result i32)
- (set_local $11
+ (set_local $10
(i32.and
(get_local $0)
(i32.const -8)
@@ -11360,7 +11315,7 @@
(block
(set_local $2
(i32.load offset=12
- (get_local $5)
+ (get_local $6)
)
)
(block $do-once51
@@ -11368,7 +11323,7 @@
(i32.ne
(tee_local $3
(i32.load offset=8
- (get_local $5)
+ (get_local $6)
)
)
(tee_local $0
@@ -11394,7 +11349,7 @@
(i32.load offset=12
(get_local $3)
)
- (get_local $5)
+ (get_local $6)
)
)
(call $_abort)
@@ -11455,7 +11410,7 @@
)
)
)
- (get_local $5)
+ (get_local $6)
)
(block
(set_local $15
@@ -11478,9 +11433,9 @@
)
)
(block
- (set_local $6
+ (set_local $5
(i32.load offset=24
- (get_local $5)
+ (get_local $6)
)
)
(block $do-once55
@@ -11488,10 +11443,10 @@
(i32.eq
(tee_local $0
(i32.load offset=12
- (get_local $5)
+ (get_local $6)
)
)
- (get_local $5)
+ (get_local $6)
)
(block
(if
@@ -11502,7 +11457,7 @@
(i32.add
(tee_local $3
(i32.add
- (get_local $5)
+ (get_local $6)
(i32.const 16)
)
)
@@ -11582,7 +11537,7 @@
(get_local $0)
(i32.const 0)
)
- (set_local $12
+ (set_local $8
(get_local $1)
)
)
@@ -11593,7 +11548,7 @@
(i32.lt_u
(tee_local $2
(i32.load offset=8
- (get_local $5)
+ (get_local $6)
)
)
(get_local $4)
@@ -11610,7 +11565,7 @@
)
)
)
- (get_local $5)
+ (get_local $6)
)
(call $_abort)
)
@@ -11624,7 +11579,7 @@
)
)
)
- (get_local $5)
+ (get_local $6)
)
(block
(i32.store
@@ -11635,7 +11590,7 @@
(get_local $1)
(get_local $2)
)
- (set_local $12
+ (set_local $8
(get_local $0)
)
)
@@ -11646,20 +11601,20 @@
)
(br_if $label$break$L331
(i32.eqz
- (get_local $6)
+ (get_local $5)
)
)
(block $do-once59
(if
(i32.eq
- (get_local $5)
+ (get_local $6)
(i32.load
(tee_local $0
(i32.add
(i32.shl
(tee_local $1
(i32.load offset=28
- (get_local $5)
+ (get_local $6)
)
)
(i32.const 2)
@@ -11672,10 +11627,10 @@
(block
(i32.store
(get_local $0)
- (get_local $12)
+ (get_local $8)
)
(br_if $do-once59
- (get_local $12)
+ (get_local $8)
)
(i32.store
(i32.const 180)
@@ -11697,7 +11652,7 @@
(block
(if
(i32.lt_u
- (get_local $6)
+ (get_local $5)
(i32.load
(i32.const 192)
)
@@ -11709,25 +11664,25 @@
(i32.load
(tee_local $0
(i32.add
- (get_local $6)
+ (get_local $5)
(i32.const 16)
)
)
)
- (get_local $5)
+ (get_local $6)
)
(i32.store
(get_local $0)
- (get_local $12)
+ (get_local $8)
)
(i32.store offset=20
- (get_local $6)
- (get_local $12)
+ (get_local $5)
+ (get_local $8)
)
)
(br_if $label$break$L331
(i32.eqz
- (get_local $12)
+ (get_local $8)
)
)
)
@@ -11735,7 +11690,7 @@
)
(if
(i32.lt_u
- (get_local $12)
+ (get_local $8)
(tee_local $1
(i32.load
(i32.const 192)
@@ -11745,15 +11700,15 @@
(call $_abort)
)
(i32.store offset=24
- (get_local $12)
- (get_local $6)
+ (get_local $8)
+ (get_local $5)
)
(if
(tee_local $3
(i32.load
(tee_local $0
(i32.add
- (get_local $5)
+ (get_local $6)
(i32.const 16)
)
)
@@ -11767,12 +11722,12 @@
(call $_abort)
(block
(i32.store offset=16
- (get_local $12)
+ (get_local $8)
(get_local $3)
)
(i32.store offset=24
(get_local $3)
- (get_local $12)
+ (get_local $8)
)
)
)
@@ -11796,12 +11751,12 @@
(call $_abort)
(block
(i32.store offset=20
- (get_local $12)
+ (get_local $8)
(get_local $0)
)
(i32.store offset=24
(get_local $0)
- (get_local $12)
+ (get_local $8)
)
)
)
@@ -11810,16 +11765,16 @@
)
(set_local $7
(i32.add
- (get_local $11)
+ (get_local $10)
(get_local $7)
)
)
(i32.add
- (get_local $5)
- (get_local $11)
+ (get_local $6)
+ (get_local $10)
)
)
- (get_local $5)
+ (get_local $6)
)
)
(i32.const 4)
@@ -11833,7 +11788,7 @@
)
)
(i32.store offset=4
- (get_local $8)
+ (get_local $9)
(i32.or
(get_local $7)
(i32.const 1)
@@ -11841,7 +11796,7 @@
)
(i32.store
(i32.add
- (get_local $8)
+ (get_local $9)
(get_local $7)
)
(get_local $7)
@@ -11903,7 +11858,7 @@
(set_local $16
(get_local $1)
)
- (set_local $10
+ (set_local $11
(get_local $0)
)
(br $do-once63)
@@ -11925,7 +11880,7 @@
(i32.const 8)
)
)
- (set_local $10
+ (set_local $11
(get_local $3)
)
)
@@ -11933,18 +11888,18 @@
)
(i32.store
(get_local $16)
- (get_local $8)
+ (get_local $9)
)
(i32.store offset=12
- (get_local $10)
- (get_local $8)
+ (get_local $11)
+ (get_local $9)
)
(i32.store offset=8
- (get_local $8)
- (get_local $10)
+ (get_local $9)
+ (get_local $11)
)
(i32.store offset=12
- (get_local $8)
+ (get_local $9)
(get_local $3)
)
(br $do-once48)
@@ -12062,13 +12017,13 @@
)
)
(i32.store offset=28
- (get_local $8)
+ (get_local $9)
(get_local $2)
)
(i32.store offset=4
(tee_local $0
(i32.add
- (get_local $8)
+ (get_local $9)
(i32.const 16)
)
)
@@ -12104,19 +12059,19 @@
)
(i32.store
(get_local $3)
- (get_local $8)
+ (get_local $9)
)
(i32.store offset=24
- (get_local $8)
+ (get_local $9)
(get_local $3)
)
(i32.store offset=12
- (get_local $8)
- (get_local $8)
+ (get_local $9)
+ (get_local $9)
)
(i32.store offset=8
- (get_local $8)
- (get_local $8)
+ (get_local $9)
+ (get_local $9)
)
(br $do-once48)
)
@@ -12207,19 +12162,19 @@
(block
(i32.store
(get_local $2)
- (get_local $8)
+ (get_local $9)
)
(i32.store offset=24
- (get_local $8)
+ (get_local $9)
(get_local $0)
)
(i32.store offset=12
- (get_local $8)
- (get_local $8)
+ (get_local $9)
+ (get_local $9)
)
(i32.store offset=8
- (get_local $8)
- (get_local $8)
+ (get_local $9)
+ (get_local $9)
)
(br $do-once48)
)
@@ -12253,22 +12208,22 @@
(block
(i32.store offset=12
(get_local $2)
- (get_local $8)
+ (get_local $9)
)
(i32.store
(get_local $3)
- (get_local $8)
+ (get_local $9)
)
(i32.store offset=8
- (get_local $8)
+ (get_local $9)
(get_local $2)
)
(i32.store offset=12
- (get_local $8)
+ (get_local $9)
(get_local $0)
)
(i32.store offset=24
- (get_local $8)
+ (get_local $9)
(i32.const 0)
)
)
@@ -12280,7 +12235,7 @@
)
(return
(i32.add
- (get_local $9)
+ (get_local $12)
(i32.const 8)
)
)
@@ -12297,7 +12252,7 @@
(get_local $4)
)
)
- (get_local $6)
+ (get_local $5)
)
(br_if $while-out69
(i32.gt_u
@@ -12309,7 +12264,7 @@
)
)
)
- (get_local $6)
+ (get_local $5)
)
)
)
@@ -12321,7 +12276,7 @@
(br $while-in70)
)
)
- (set_local $10
+ (set_local $11
(i32.add
(tee_local $4
(i32.add
@@ -12332,11 +12287,11 @@
(i32.const 8)
)
)
- (set_local $12
+ (set_local $8
(i32.add
- (tee_local $11
+ (tee_local $10
(select
- (get_local $6)
+ (get_local $5)
(tee_local $4
(i32.add
(get_local $4)
@@ -12344,13 +12299,13 @@
(i32.and
(i32.sub
(i32.const 0)
- (get_local $10)
+ (get_local $11)
)
(i32.const 7)
)
(i32.const 0)
(i32.and
- (get_local $10)
+ (get_local $11)
(i32.const 7)
)
)
@@ -12358,9 +12313,9 @@
)
(i32.lt_u
(get_local $4)
- (tee_local $10
+ (tee_local $11
(i32.add
- (get_local $6)
+ (get_local $5)
(i32.const 16)
)
)
@@ -12372,7 +12327,7 @@
)
(i32.store
(i32.const 200)
- (tee_local $5
+ (tee_local $6
(i32.add
(get_local $1)
(tee_local $4
@@ -12412,7 +12367,7 @@
)
)
(i32.store offset=4
- (get_local $5)
+ (get_local $6)
(i32.or
(get_local $4)
(i32.const 1)
@@ -12420,7 +12375,7 @@
)
(i32.store offset=4
(i32.add
- (get_local $5)
+ (get_local $6)
(get_local $4)
)
(i32.const 40)
@@ -12434,32 +12389,32 @@
(i32.store
(tee_local $4
(i32.add
- (get_local $11)
+ (get_local $10)
(i32.const 4)
)
)
(i32.const 27)
)
(i32.store
- (get_local $12)
+ (get_local $8)
(i32.load
(i32.const 624)
)
)
(i32.store offset=4
- (get_local $12)
+ (get_local $8)
(i32.load
(i32.const 628)
)
)
(i32.store offset=8
- (get_local $12)
+ (get_local $8)
(i32.load
(i32.const 632)
)
)
(i32.store offset=12
- (get_local $12)
+ (get_local $8)
(i32.load
(i32.const 636)
)
@@ -12478,11 +12433,11 @@
)
(i32.store
(i32.const 632)
- (get_local $12)
+ (get_local $8)
)
(set_local $1
(i32.add
- (get_local $11)
+ (get_local $10)
(i32.const 24)
)
)
@@ -12508,8 +12463,8 @@
)
(if
(i32.ne
- (get_local $11)
- (get_local $6)
+ (get_local $10)
+ (get_local $5)
)
(block
(i32.store
@@ -12522,30 +12477,30 @@
)
)
(i32.store offset=4
- (get_local $6)
+ (get_local $5)
(i32.or
- (tee_local $5
+ (tee_local $6
(i32.sub
- (get_local $11)
- (get_local $6)
+ (get_local $10)
+ (get_local $5)
)
)
(i32.const 1)
)
)
(i32.store
- (get_local $11)
- (get_local $5)
+ (get_local $10)
+ (get_local $6)
)
(set_local $1
(i32.shr_u
- (get_local $5)
+ (get_local $6)
(i32.const 3)
)
)
(if
(i32.lt_u
- (get_local $5)
+ (get_local $6)
(i32.const 256)
)
(block
@@ -12619,18 +12574,18 @@
)
(i32.store
(get_local $17)
- (get_local $6)
+ (get_local $5)
)
(i32.store offset=12
(get_local $7)
- (get_local $6)
+ (get_local $5)
)
(i32.store offset=8
- (get_local $6)
+ (get_local $5)
(get_local $7)
)
(i32.store offset=12
- (get_local $6)
+ (get_local $5)
(get_local $2)
)
(br $do-once40)
@@ -12643,20 +12598,20 @@
(if (result i32)
(tee_local $1
(i32.shr_u
- (get_local $5)
+ (get_local $6)
(i32.const 8)
)
)
(if (result i32)
(i32.gt_u
- (get_local $5)
+ (get_local $6)
(i32.const 16777215)
)
(i32.const 31)
(i32.or
(i32.and
(i32.shr_u
- (get_local $5)
+ (get_local $6)
(i32.add
(tee_local $1
(i32.add
@@ -12742,15 +12697,15 @@
)
)
(i32.store offset=28
- (get_local $6)
+ (get_local $5)
(get_local $4)
)
(i32.store offset=20
- (get_local $6)
+ (get_local $5)
(i32.const 0)
)
(i32.store
- (get_local $10)
+ (get_local $11)
(i32.const 0)
)
(if
@@ -12779,26 +12734,26 @@
)
(i32.store
(get_local $2)
- (get_local $6)
+ (get_local $5)
)
(i32.store offset=24
- (get_local $6)
+ (get_local $5)
(get_local $2)
)
(i32.store offset=12
- (get_local $6)
- (get_local $6)
+ (get_local $5)
+ (get_local $5)
)
(i32.store offset=8
- (get_local $6)
- (get_local $6)
+ (get_local $5)
+ (get_local $5)
)
(br $do-once40)
)
)
(set_local $4
(i32.shl
- (get_local $5)
+ (get_local $6)
(select
(i32.const 0)
(i32.sub
@@ -12831,7 +12786,7 @@
)
(i32.const -8)
)
- (get_local $5)
+ (get_local $6)
)
)
(set_local $2
@@ -12882,19 +12837,19 @@
(block
(i32.store
(get_local $4)
- (get_local $6)
+ (get_local $5)
)
(i32.store offset=24
- (get_local $6)
+ (get_local $5)
(get_local $1)
)
(i32.store offset=12
- (get_local $6)
- (get_local $6)
+ (get_local $5)
+ (get_local $5)
)
(i32.store offset=8
- (get_local $6)
- (get_local $6)
+ (get_local $5)
+ (get_local $5)
)
(br $do-once40)
)
@@ -12928,22 +12883,22 @@
(block
(i32.store offset=12
(get_local $4)
- (get_local $6)
+ (get_local $5)
)
(i32.store
(get_local $2)
- (get_local $6)
+ (get_local $5)
)
(i32.store offset=8
- (get_local $6)
+ (get_local $5)
(get_local $4)
)
(i32.store offset=12
- (get_local $6)
+ (get_local $5)
(get_local $1)
)
(i32.store offset=24
- (get_local $6)
+ (get_local $5)
(i32.const 0)
)
)
@@ -15393,9 +15348,7 @@
(get_local $1)
(get_local $2)
(get_local $3)
- (tee_local $0
- (get_local $4)
- )
+ (get_local $4)
)
)
(set_global $STACKTOP
@@ -15403,11 +15356,11 @@
)
(set_global $tempRet0
(i32.load offset=4
- (get_local $0)
+ (get_local $4)
)
)
(i32.load
- (get_local $0)
+ (get_local $4)
)
)
(func $___udivmoddi4 (; 63 ;) (param $xl i32) (param $xh i32) (param $yl i32) (param $yh i32) (param $r i32) (result i32)