summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ir/effects.h7
-rw-r--r--test/emcc_hello_world.fromasm4751
-rw-r--r--test/emcc_hello_world.fromasm.clamp4751
-rw-r--r--test/emcc_hello_world.fromasm.imprecise4719
-rw-r--r--test/passes/remove-unused-names_merge-blocks.txt12
5 files changed, 7119 insertions, 7121 deletions
diff --git a/src/ir/effects.h b/src/ir/effects.h
index 8c95f463d..394bf0116 100644
--- a/src/ir/effects.h
+++ b/src/ir/effects.h
@@ -74,9 +74,10 @@ struct EffectAnalyzer : public PostWalker<EffectAnalyzer> {
// checks if these effects would invalidate another set (e.g., if we write, we invalidate someone that reads, they can't be moved past us)
bool invalidates(EffectAnalyzer& other) {
- if (branches || other.branches
- || ((writesMemory || calls) && other.accessesMemory())
- || (accessesMemory() && (other.writesMemory || other.calls))) {
+ if ((branches && other.hasSideEffects()) ||
+ (other.branches && hasSideEffects()) ||
+ ((writesMemory || calls) && other.accessesMemory()) ||
+ (accessesMemory() && (other.writesMemory || other.calls))) {
return true;
}
// All atomics are sequentially consistent for now, and ordered wrt other
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index 4c533a8c0..5f8c33b38 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -3302,68 +3302,86 @@
(set_local $7
(block $__rjto$8 (result i32)
(block $__rjti$8
- (set_local $7
- (block $__rjti$7 (result i32)
- (block $__rjti$6
- (block $__rjti$5
- (block $__rjti$4
- (block $__rjti$3
- (block $switch-default120
- (block $switch-case119
- (block $switch-case41
- (block $switch-case40
- (block $switch-case39
- (block $switch-case38
- (block $switch-case37
- (block $switch-case36
- (block $switch-case35
- (block $switch-case33
- (block $switch-case30
- (block $switch-case28
- (block $switch-case27
- (br_table $switch-case119 $switch-default120 $switch-case40 $switch-default120 $switch-case119 $switch-case119 $switch-case119 $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-case30 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case119 $switch-default120 $switch-case37 $switch-case35 $switch-case119 $switch-case119 $switch-case119 $switch-default120 $switch-case35 $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-case30 $switch-default120
- (i32.sub
- (tee_local $19
- (select
- (i32.and
- (tee_local $12
- (i32.load8_s
- (get_local $19)
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $7
+ (block $__rjti$7 (result i32)
+ (block $__rjti$6
+ (block $__rjti$5
+ (block $__rjti$4
+ (block $__rjti$3
+ (block $switch-default120
+ (block $switch-case119
+ (block $switch-case41
+ (block $switch-case40
+ (block $switch-case39
+ (block $switch-case38
+ (block $switch-case37
+ (block $switch-case36
+ (block $switch-case35
+ (block $switch-case33
+ (block $switch-case30
+ (block $switch-case28
+ (block $switch-case27
+ (br_table $switch-case119 $switch-default120 $switch-case40 $switch-default120 $switch-case119 $switch-case119 $switch-case119 $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-case30 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case119 $switch-default120 $switch-case37 $switch-case35 $switch-case119 $switch-case119 $switch-case119 $switch-default120 $switch-case35 $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-case30 $switch-default120
+ (i32.sub
+ (tee_local $19
+ (select
+ (i32.and
+ (tee_local $12
+ (i32.load8_s
+ (get_local $19)
+ )
)
+ (i32.const -33)
)
- (i32.const -33)
- )
- (get_local $12)
- (i32.and
- (i32.ne
- (get_local $9)
- (i32.const 0)
- )
- (i32.eq
- (i32.and
- (get_local $12)
- (i32.const 15)
+ (get_local $12)
+ (i32.and
+ (i32.ne
+ (get_local $9)
+ (i32.const 0)
+ )
+ (i32.eq
+ (i32.and
+ (get_local $12)
+ (i32.const 15)
+ )
+ (i32.const 3)
)
- (i32.const 3)
)
)
)
+ (i32.const 65)
)
- (i32.const 65)
)
)
- )
- (block $switch-default26
- (block $switch-case25
- (block $switch-case24
- (block $switch-case23
- (block $switch-case22
- (block $switch-case21
- (block $switch-case20
- (block $switch-case19
- (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26
- (get_local $9)
+ (block $switch-default26
+ (block $switch-case25
+ (block $switch-case24
+ (block $switch-case23
+ (block $switch-case22
+ (block $switch-case21
+ (block $switch-case20
+ (block $switch-case19
+ (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26
+ (get_local $9)
+ )
+ )
+ (i32.store
+ (i32.load
+ (get_local $14)
+ )
+ (get_local $17)
)
+ (set_local $5
+ (get_local $10)
+ )
+ (set_local $10
+ (get_local $7)
+ )
+ (br $label$continue$L1)
)
(i32.store
(i32.load
@@ -3380,11 +3398,26 @@
(br $label$continue$L1)
)
(i32.store
- (i32.load
- (get_local $14)
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
(get_local $17)
)
+ (i32.store offset=4
+ (get_local $5)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $17)
+ (i32.const 0)
+ )
+ (i32.const 31)
+ )
+ (i32.const 31)
+ )
+ )
(set_local $5
(get_local $10)
)
@@ -3393,27 +3426,12 @@
)
(br $label$continue$L1)
)
- (i32.store
- (tee_local $5
- (i32.load
- (get_local $14)
- )
+ (i32.store16
+ (i32.load
+ (get_local $14)
)
(get_local $17)
)
- (i32.store offset=4
- (get_local $5)
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $17)
- (i32.const 0)
- )
- (i32.const 31)
- )
- (i32.const 31)
- )
- )
(set_local $5
(get_local $10)
)
@@ -3422,7 +3440,7 @@
)
(br $label$continue$L1)
)
- (i32.store16
+ (i32.store8
(i32.load
(get_local $14)
)
@@ -3436,7 +3454,7 @@
)
(br $label$continue$L1)
)
- (i32.store8
+ (i32.store
(i32.load
(get_local $14)
)
@@ -3451,11 +3469,26 @@
(br $label$continue$L1)
)
(i32.store
- (i32.load
- (get_local $14)
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
(get_local $17)
)
+ (i32.store offset=4
+ (get_local $5)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $17)
+ (i32.const 0)
+ )
+ (i32.const 31)
+ )
+ (i32.const 31)
+ )
+ )
(set_local $5
(get_local $10)
)
@@ -3464,27 +3497,6 @@
)
(br $label$continue$L1)
)
- (i32.store
- (tee_local $5
- (i32.load
- (get_local $14)
- )
- )
- (get_local $17)
- )
- (i32.store offset=4
- (get_local $5)
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $17)
- (i32.const 0)
- )
- (i32.const 31)
- )
- (i32.const 31)
- )
- )
(set_local $5
(get_local $10)
)
@@ -3494,1188 +3506,1208 @@
(br $label$continue$L1)
)
(set_local $5
- (get_local $10)
- )
- (set_local $10
- (get_local $7)
- )
- (br $label$continue$L1)
- )
- (set_local $5
- (i32.or
- (get_local $11)
- (i32.const 8)
+ (i32.or
+ (get_local $11)
+ (i32.const 8)
+ )
)
- )
- (set_local $6
- (select
- (get_local $6)
- (i32.const 8)
- (i32.gt_u
+ (set_local $6
+ (select
(get_local $6)
(i32.const 8)
+ (i32.gt_u
+ (get_local $6)
+ (i32.const 8)
+ )
)
)
+ (set_local $19
+ (i32.const 120)
+ )
+ (br $__rjti$3)
)
- (set_local $19
- (i32.const 120)
+ (set_local $5
+ (get_local $11)
)
(br $__rjti$3)
)
- (set_local $5
- (get_local $11)
- )
- (br $__rjti$3)
- )
- (if
- (i32.or
- (tee_local $5
- (i32.load
- (get_local $14)
+ (if
+ (i32.or
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
- )
- (tee_local $7
- (i32.load offset=4
- (get_local $14)
+ (tee_local $7
+ (i32.load offset=4
+ (get_local $14)
+ )
)
)
- )
- (block
- (set_local $8
- (get_local $25)
- )
- (loop $while-in32
- (i32.store8
- (tee_local $8
- (i32.add
- (get_local $8)
- (i32.const -1)
- )
- )
- (i32.or
- (i32.and
- (get_local $5)
- (i32.const 7)
- )
- (i32.const 48)
- )
+ (block
+ (set_local $8
+ (get_local $25)
)
- (br_if $while-in32
- (i32.or
- (tee_local $5
- (call $_bitshift64Lshr
+ (loop $while-in32
+ (i32.store8
+ (tee_local $8
+ (i32.add
+ (get_local $8)
+ (i32.const -1)
+ )
+ )
+ (i32.or
+ (i32.and
(get_local $5)
- (get_local $7)
- (i32.const 3)
+ (i32.const 7)
)
+ (i32.const 48)
)
- (tee_local $7
- (get_global $tempRet0)
+ )
+ (br_if $while-in32
+ (i32.or
+ (tee_local $5
+ (call $_bitshift64Lshr
+ (get_local $5)
+ (get_local $7)
+ (i32.const 3)
+ )
+ )
+ (tee_local $7
+ (get_global $tempRet0)
+ )
)
)
)
)
+ (set_local $8
+ (get_local $25)
+ )
)
- (set_local $8
- (get_local $25)
- )
- )
- (if
- (i32.and
- (get_local $11)
- (i32.const 8)
- )
- (block
- (set_local $5
+ (if
+ (i32.and
(get_local $11)
+ (i32.const 8)
)
- (set_local $6
- (select
- (tee_local $11
- (i32.add
- (i32.sub
- (get_local $39)
- (tee_local $7
- (get_local $8)
+ (block
+ (set_local $5
+ (get_local $11)
+ )
+ (set_local $6
+ (select
+ (tee_local $11
+ (i32.add
+ (i32.sub
+ (get_local $39)
+ (tee_local $7
+ (get_local $8)
+ )
)
+ (i32.const 1)
)
- (i32.const 1)
)
- )
- (get_local $6)
- (i32.lt_s
(get_local $6)
- (get_local $11)
+ (i32.lt_s
+ (get_local $6)
+ (get_local $11)
+ )
)
)
)
- )
- (block
- (set_local $7
- (get_local $8)
- )
- (set_local $5
- (get_local $11)
- )
- )
- )
- (set_local $8
- (i32.const 0)
- )
- (set_local $9
- (i32.const 4091)
- )
- (br $__rjti$8)
- )
- (set_local $5
- (i32.load
- (get_local $14)
- )
- )
- (if
- (i32.lt_s
- (tee_local $7
- (i32.load offset=4
- (get_local $14)
- )
- )
- (i32.const 0)
- )
- (block
- (i32.store
- (get_local $14)
- (tee_local $5
- (call $_i64Subtract
- (i32.const 0)
- (i32.const 0)
- (get_local $5)
- (get_local $7)
+ (block
+ (set_local $7
+ (get_local $8)
+ )
+ (set_local $5
+ (get_local $11)
)
- )
- )
- (i32.store offset=4
- (get_local $14)
- (tee_local $7
- (get_global $tempRet0)
)
)
(set_local $8
- (i32.const 1)
+ (i32.const 0)
)
(set_local $9
(i32.const 4091)
)
- (br $__rjti$4)
+ (br $__rjti$8)
)
- )
- (set_local $9
- (if (result i32)
- (i32.and
- (get_local $11)
- (i32.const 2048)
+ (set_local $5
+ (i32.load
+ (get_local $14)
)
- (block (result i32)
- (set_local $8
- (i32.const 1)
+ )
+ (if
+ (i32.lt_s
+ (tee_local $7
+ (i32.load offset=4
+ (get_local $14)
+ )
)
- (i32.const 4092)
+ (i32.const 0)
)
- (block (result i32)
- (set_local $8
- (tee_local $9
- (i32.and
- (get_local $11)
- (i32.const 1)
+ (block
+ (i32.store
+ (get_local $14)
+ (tee_local $5
+ (call $_i64Subtract
+ (i32.const 0)
+ (i32.const 0)
+ (get_local $5)
+ (get_local $7)
)
)
)
- (select
- (i32.const 4093)
+ (i32.store offset=4
+ (get_local $14)
+ (tee_local $7
+ (get_global $tempRet0)
+ )
+ )
+ (set_local $8
+ (i32.const 1)
+ )
+ (set_local $9
(i32.const 4091)
- (get_local $9)
)
+ (br $__rjti$4)
)
)
+ (set_local $9
+ (if (result i32)
+ (i32.and
+ (get_local $11)
+ (i32.const 2048)
+ )
+ (block (result i32)
+ (set_local $8
+ (i32.const 1)
+ )
+ (i32.const 4092)
+ )
+ (block (result i32)
+ (set_local $8
+ (tee_local $9
+ (i32.and
+ (get_local $11)
+ (i32.const 1)
+ )
+ )
+ )
+ (select
+ (i32.const 4093)
+ (i32.const 4091)
+ (get_local $9)
+ )
+ )
+ )
+ )
+ (br $__rjti$4)
+ )
+ (set_local $5
+ (i32.load
+ (get_local $14)
+ )
+ )
+ (set_local $7
+ (i32.load offset=4
+ (get_local $14)
+ )
+ )
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
)
(br $__rjti$4)
)
- (set_local $5
- (i32.load
+ (drop
+ (i32.load offset=4
(get_local $14)
)
)
- (set_local $7
- (i32.load offset=4
+ (i32.store8
+ (get_local $40)
+ (i32.load
(get_local $14)
)
)
+ (set_local $5
+ (get_local $40)
+ )
+ (set_local $11
+ (get_local $8)
+ )
+ (set_local $12
+ (i32.const 1)
+ )
(set_local $8
(i32.const 0)
)
(set_local $9
(i32.const 4091)
)
- (br $__rjti$4)
- )
- (drop
- (i32.load offset=4
- (get_local $14)
+ (br $__rjto$8
+ (get_local $25)
)
)
- (i32.store8
- (get_local $40)
- (i32.load
- (get_local $14)
+ (set_local $7
+ (call $_strerror
+ (i32.load
+ (call $___errno_location)
+ )
)
)
- (set_local $5
- (get_local $40)
- )
- (set_local $11
- (get_local $8)
- )
- (set_local $12
- (i32.const 1)
- )
- (set_local $8
- (i32.const 0)
- )
- (set_local $9
- (i32.const 4091)
- )
- (br $__rjto$8
- (get_local $25)
- )
+ (br $__rjti$5)
)
(set_local $7
- (call $_strerror
- (i32.load
- (call $___errno_location)
+ (select
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
+ (i32.const 4101)
+ (get_local $5)
)
)
(br $__rjti$5)
)
- (set_local $7
- (select
- (tee_local $5
- (i32.load
- (get_local $14)
- )
- )
- (i32.const 4101)
- (get_local $5)
+ (drop
+ (i32.load offset=4
+ (get_local $14)
)
)
- (br $__rjti$5)
- )
- (drop
- (i32.load offset=4
- (get_local $14)
+ (i32.store
+ (get_local $41)
+ (i32.load
+ (get_local $14)
+ )
)
- )
- (i32.store
- (get_local $41)
- (i32.load
+ (i32.store
+ (get_local $44)
+ (i32.const 0)
+ )
+ (i32.store
(get_local $14)
+ (get_local $41)
)
- )
- (i32.store
- (get_local $44)
- (i32.const 0)
- )
- (i32.store
- (get_local $14)
- (get_local $41)
- )
- (set_local $8
- (i32.const -1)
- )
- (br $__rjti$6)
- )
- (if
- (get_local $6)
- (block
(set_local $8
- (get_local $6)
+ (i32.const -1)
)
(br $__rjti$6)
)
- (block
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (i32.const 0)
- (get_local $11)
+ (if
+ (get_local $6)
+ (block
+ (set_local $8
+ (get_local $6)
+ )
+ (br $__rjti$6)
)
- (br $__rjti$7
- (i32.const 0)
+ (block
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (i32.const 0)
+ (get_local $11)
+ )
+ (br $__rjti$7
+ (i32.const 0)
+ )
)
)
)
- )
- (set_local $16
- (f64.load
- (get_local $14)
+ (set_local $16
+ (f64.load
+ (get_local $14)
+ )
)
- )
- (i32.store
- (get_local $20)
- (i32.const 0)
- )
- (f64.store
- (get_global $tempDoublePtr)
- (get_local $16)
- )
- (drop
- (i32.load
+ (i32.store
+ (get_local $20)
+ (i32.const 0)
+ )
+ (f64.store
(get_global $tempDoublePtr)
+ (get_local $16)
)
- )
- (set_local $30
- (if (result i32)
- (i32.lt_s
- (i32.load offset=4
- (get_global $tempDoublePtr)
- )
- (i32.const 0)
- )
- (block (result i32)
- (set_local $26
- (i32.const 1)
- )
- (set_local $16
- (f64.neg
- (get_local $16)
- )
- )
- (i32.const 4108)
+ (drop
+ (i32.load
+ (get_global $tempDoublePtr)
)
+ )
+ (set_local $30
(if (result i32)
- (i32.and
- (get_local $11)
- (i32.const 2048)
+ (i32.lt_s
+ (i32.load offset=4
+ (get_global $tempDoublePtr)
+ )
+ (i32.const 0)
)
(block (result i32)
(set_local $26
(i32.const 1)
)
- (i32.const 4111)
+ (set_local $16
+ (f64.neg
+ (get_local $16)
+ )
+ )
+ (i32.const 4108)
)
- (block (result i32)
- (set_local $26
- (tee_local $5
- (i32.and
- (get_local $11)
- (i32.const 1)
- )
+ (if (result i32)
+ (i32.and
+ (get_local $11)
+ (i32.const 2048)
+ )
+ (block (result i32)
+ (set_local $26
+ (i32.const 1)
)
+ (i32.const 4111)
)
- (select
- (i32.const 4114)
- (i32.const 4109)
- (get_local $5)
+ (block (result i32)
+ (set_local $26
+ (tee_local $5
+ (i32.and
+ (get_local $11)
+ (i32.const 1)
+ )
+ )
+ )
+ (select
+ (i32.const 4114)
+ (i32.const 4109)
+ (get_local $5)
+ )
)
)
)
)
- )
- (f64.store
- (get_global $tempDoublePtr)
- (get_local $16)
- )
- (drop
- (i32.load
+ (f64.store
(get_global $tempDoublePtr)
+ (get_local $16)
)
- )
- (set_local $7
- (if (result i32)
- (i32.lt_u
- (i32.and
- (i32.load offset=4
- (get_global $tempDoublePtr)
+ (drop
+ (i32.load
+ (get_global $tempDoublePtr)
+ )
+ )
+ (set_local $7
+ (if (result i32)
+ (i32.lt_u
+ (i32.and
+ (i32.load offset=4
+ (get_global $tempDoublePtr)
+ )
+ (i32.const 2146435072)
)
(i32.const 2146435072)
)
- (i32.const 2146435072)
- )
- (block $do-once49 (result i32)
- (if
- (tee_local $5
- (f64.ne
- (tee_local $23
- (f64.mul
- (call $_frexp
- (get_local $16)
- (get_local $20)
+ (block $do-once49 (result i32)
+ (if
+ (tee_local $5
+ (f64.ne
+ (tee_local $23
+ (f64.mul
+ (call $_frexp
+ (get_local $16)
+ (get_local $20)
+ )
+ (f64.const 2)
)
- (f64.const 2)
)
+ (f64.const 0)
)
- (f64.const 0)
)
- )
- (i32.store
- (get_local $20)
- (i32.add
- (i32.load
- (get_local $20)
- )
- (i32.const -1)
- )
- )
- )
- (if
- (i32.eq
- (tee_local $24
- (i32.or
- (get_local $19)
- (i32.const 32)
+ (i32.store
+ (get_local $20)
+ (i32.add
+ (i32.load
+ (get_local $20)
+ )
+ (i32.const -1)
)
)
- (i32.const 97)
)
- (block
- (set_local $9
- (select
- (i32.add
- (get_local $30)
- (i32.const 9)
- )
- (get_local $30)
- (tee_local $13
- (i32.and
- (get_local $19)
- (i32.const 32)
- )
+ (if
+ (i32.eq
+ (tee_local $24
+ (i32.or
+ (get_local $19)
+ (i32.const 32)
)
)
+ (i32.const 97)
)
- (set_local $16
- (if (result f64)
- (i32.or
- (i32.gt_u
- (get_local $6)
- (i32.const 11)
+ (block
+ (set_local $9
+ (select
+ (i32.add
+ (get_local $30)
+ (i32.const 9)
)
- (i32.eqz
- (tee_local $5
- (i32.sub
- (i32.const 12)
- (get_local $6)
- )
+ (get_local $30)
+ (tee_local $13
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
)
)
)
- (get_local $23)
- (block (result f64)
- (set_local $16
- (f64.const 8)
- )
- (loop $while-in54
- (set_local $16
- (f64.mul
- (get_local $16)
- (f64.const 16)
- )
+ )
+ (set_local $16
+ (if (result f64)
+ (i32.or
+ (i32.gt_u
+ (get_local $6)
+ (i32.const 11)
)
- (br_if $while-in54
+ (i32.eqz
(tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -1)
+ (i32.sub
+ (i32.const 12)
+ (get_local $6)
)
)
)
)
- (if (result f64)
- (i32.eq
- (i32.load8_s
- (get_local $9)
- )
- (i32.const 45)
+ (get_local $23)
+ (block (result f64)
+ (set_local $16
+ (f64.const 8)
)
- (f64.neg
- (f64.add
- (get_local $16)
- (f64.sub
- (f64.neg
- (get_local $23)
- )
+ (loop $while-in54
+ (set_local $16
+ (f64.mul
(get_local $16)
+ (f64.const 16)
+ )
+ )
+ (br_if $while-in54
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
)
)
)
- (f64.sub
- (f64.add
- (get_local $23)
+ (if (result f64)
+ (i32.eq
+ (i32.load8_s
+ (get_local $9)
+ )
+ (i32.const 45)
+ )
+ (f64.neg
+ (f64.add
+ (get_local $16)
+ (f64.sub
+ (f64.neg
+ (get_local $23)
+ )
+ (get_local $16)
+ )
+ )
+ )
+ (f64.sub
+ (f64.add
+ (get_local $23)
+ (get_local $16)
+ )
(get_local $16)
)
- (get_local $16)
)
)
)
)
- )
- (if
- (i32.eq
- (tee_local $5
- (call $_fmt_u
- (tee_local $5
- (select
- (i32.sub
- (i32.const 0)
- (tee_local $7
- (i32.load
- (get_local $20)
+ (if
+ (i32.eq
+ (tee_local $5
+ (call $_fmt_u
+ (tee_local $5
+ (select
+ (i32.sub
+ (i32.const 0)
+ (tee_local $7
+ (i32.load
+ (get_local $20)
+ )
)
)
- )
- (get_local $7)
- (i32.lt_s
(get_local $7)
- (i32.const 0)
+ (i32.lt_s
+ (get_local $7)
+ (i32.const 0)
+ )
)
)
- )
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ (i32.const 31)
)
(i32.const 31)
)
- (i32.const 31)
+ (get_local $32)
)
- (get_local $32)
)
+ (get_local $32)
)
- (get_local $32)
- )
- (block
- (i32.store8
- (get_local $42)
- (i32.const 48)
- )
- (set_local $5
- (get_local $42)
+ (block
+ (i32.store8
+ (get_local $42)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $42)
+ )
)
)
- )
- (set_local $12
- (i32.or
- (get_local $26)
- (i32.const 2)
- )
- )
- (i32.store8
- (i32.add
- (get_local $5)
- (i32.const -1)
- )
- (i32.add
- (i32.and
- (i32.shr_s
- (get_local $7)
- (i32.const 31)
- )
+ (set_local $12
+ (i32.or
+ (get_local $26)
(i32.const 2)
)
- (i32.const 43)
)
- )
- (i32.store8
- (tee_local $8
+ (i32.store8
(i32.add
(get_local $5)
- (i32.const -2)
+ (i32.const -1)
)
- )
- (i32.add
- (get_local $19)
- (i32.const 15)
- )
- )
- (set_local $19
- (i32.lt_s
- (get_local $6)
- (i32.const 1)
- )
- )
- (set_local $18
- (i32.eqz
- (i32.and
- (get_local $11)
- (i32.const 8)
+ (i32.add
+ (i32.and
+ (i32.shr_s
+ (get_local $7)
+ (i32.const 31)
+ )
+ (i32.const 2)
+ )
+ (i32.const 43)
)
)
- )
- (set_local $5
- (get_local $22)
- )
- (loop $while-in56
(i32.store8
- (get_local $5)
- (i32.or
- (i32.load8_u
- (i32.add
- (tee_local $7
- (call $f64-to-int
- (get_local $16)
- )
- )
- (i32.const 4075)
- )
+ (tee_local $8
+ (i32.add
+ (get_local $5)
+ (i32.const -2)
)
- (get_local $13)
+ )
+ (i32.add
+ (get_local $19)
+ (i32.const 15)
)
)
- (set_local $16
- (f64.mul
- (f64.sub
- (get_local $16)
- (f64.convert_s/i32
- (get_local $7)
- )
+ (set_local $19
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 1)
+ )
+ )
+ (set_local $18
+ (i32.eqz
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
)
- (f64.const 16)
)
)
(set_local $5
- (if (result i32)
- (i32.eq
- (i32.sub
- (tee_local $7
- (i32.add
- (get_local $5)
- (i32.const 1)
+ (get_local $22)
+ )
+ (loop $while-in56
+ (i32.store8
+ (get_local $5)
+ (i32.or
+ (i32.load8_u
+ (i32.add
+ (tee_local $7
+ (call $f64-to-int
+ (get_local $16)
+ )
)
+ (i32.const 4075)
)
- (get_local $36)
)
- (i32.const 1)
+ (get_local $13)
+ )
+ )
+ (set_local $16
+ (f64.mul
+ (f64.sub
+ (get_local $16)
+ (f64.convert_s/i32
+ (get_local $7)
+ )
+ )
+ (f64.const 16)
)
+ )
+ (set_local $5
(if (result i32)
- (i32.and
- (get_local $18)
- (i32.and
- (get_local $19)
- (f64.eq
- (get_local $16)
- (f64.const 0)
+ (i32.eq
+ (i32.sub
+ (tee_local $7
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
)
+ (get_local $36)
)
+ (i32.const 1)
)
- (get_local $7)
- (block (result i32)
- (i32.store8
- (get_local $7)
- (i32.const 46)
+ (if (result i32)
+ (i32.and
+ (get_local $18)
+ (i32.and
+ (get_local $19)
+ (f64.eq
+ (get_local $16)
+ (f64.const 0)
+ )
+ )
)
- (i32.add
- (get_local $5)
- (i32.const 2)
+ (get_local $7)
+ (block (result i32)
+ (i32.store8
+ (get_local $7)
+ (i32.const 46)
+ )
+ (i32.add
+ (get_local $5)
+ (i32.const 2)
+ )
)
)
+ (get_local $7)
)
- (get_local $7)
)
- )
- (br_if $while-in56
- (f64.ne
- (get_local $16)
- (f64.const 0)
+ (br_if $while-in56
+ (f64.ne
+ (get_local $16)
+ (f64.const 0)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (tee_local $7
- (i32.add
- (tee_local $6
- (select
- (i32.sub
- (i32.add
- (get_local $47)
- (get_local $6)
- )
- (get_local $8)
- )
- (i32.add
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $7
+ (i32.add
+ (tee_local $6
+ (select
(i32.sub
- (get_local $45)
+ (i32.add
+ (get_local $47)
+ (get_local $6)
+ )
(get_local $8)
)
- (get_local $5)
- )
- (i32.and
- (i32.ne
- (get_local $6)
- (i32.const 0)
+ (i32.add
+ (i32.sub
+ (get_local $45)
+ (get_local $8)
+ )
+ (get_local $5)
)
- (i32.lt_s
- (i32.add
- (get_local $46)
- (get_local $5)
+ (i32.and
+ (i32.ne
+ (get_local $6)
+ (i32.const 0)
+ )
+ (i32.lt_s
+ (i32.add
+ (get_local $46)
+ (get_local $5)
+ )
+ (get_local $6)
)
- (get_local $6)
)
)
)
+ (get_local $12)
)
- (get_local $12)
)
+ (get_local $11)
)
- (get_local $11)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $9)
+ (get_local $12)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $9)
- (get_local $12)
- (get_local $0)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (get_local $15)
+ (get_local $7)
+ (i32.xor
+ (get_local $11)
+ (i32.const 65536)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (get_local $15)
- (get_local $7)
- (i32.xor
- (get_local $11)
- (i32.const 65536)
- )
- )
- (set_local $5
- (i32.sub
- (get_local $5)
- (get_local $36)
+ (set_local $5
+ (i32.sub
+ (get_local $5)
+ (get_local $36)
+ )
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $22)
+ (get_local $5)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $22)
- (get_local $5)
- (get_local $0)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (i32.sub
+ (get_local $6)
+ (i32.add
+ (get_local $5)
+ (tee_local $5
+ (i32.sub
+ (get_local $27)
+ (get_local $8)
+ )
+ )
+ )
)
+ (i32.const 0)
+ (i32.const 0)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.sub
- (get_local $6)
- (i32.add
- (get_local $5)
- (tee_local $5
- (i32.sub
- (get_local $27)
- (get_local $8)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
)
+ (i32.const 32)
)
)
- )
- (i32.const 0)
- (i32.const 0)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (drop
+ (call $___fwritex
+ (get_local $8)
+ (get_local $5)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $8)
- (get_local $5)
- (get_local $0)
- )
- )
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $7)
- (i32.xor
- (get_local $11)
- (i32.const 8192)
- )
- )
- (br $do-once49
- (select
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
(get_local $15)
(get_local $7)
- (i32.lt_s
- (get_local $7)
+ (i32.xor
+ (get_local $11)
+ (i32.const 8192)
+ )
+ )
+ (br $do-once49
+ (select
(get_local $15)
+ (get_local $7)
+ (i32.lt_s
+ (get_local $7)
+ (get_local $15)
+ )
)
)
)
)
- )
- (set_local $16
- (if (result f64)
- (get_local $5)
- (block (result f64)
- (i32.store
- (get_local $20)
- (tee_local $5
- (i32.add
- (i32.load
- (get_local $20)
+ (set_local $16
+ (if (result f64)
+ (get_local $5)
+ (block (result f64)
+ (i32.store
+ (get_local $20)
+ (tee_local $5
+ (i32.add
+ (i32.load
+ (get_local $20)
+ )
+ (i32.const -28)
)
- (i32.const -28)
)
)
+ (f64.mul
+ (get_local $23)
+ (f64.const 268435456)
+ )
)
- (f64.mul
+ (block (result f64)
+ (set_local $5
+ (i32.load
+ (get_local $20)
+ )
+ )
(get_local $23)
- (f64.const 268435456)
)
)
- (block (result f64)
- (set_local $5
- (i32.load
- (get_local $20)
+ )
+ (set_local $7
+ (tee_local $8
+ (select
+ (get_local $48)
+ (get_local $49)
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
)
)
- (get_local $23)
)
)
- )
- (set_local $7
- (tee_local $8
- (select
- (get_local $48)
- (get_local $49)
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (loop $while-in60
+ (i32.store
+ (get_local $7)
+ (tee_local $5
+ (call $f64-to-int
+ (get_local $16)
+ )
)
)
- )
- )
- (loop $while-in60
- (i32.store
- (get_local $7)
- (tee_local $5
- (call $f64-to-int
- (get_local $16)
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
)
)
- )
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
- )
- (br_if $while-in60
- (f64.ne
- (tee_local $16
- (f64.mul
- (f64.sub
- (get_local $16)
- (f64.convert_u/i32
- (get_local $5)
+ (br_if $while-in60
+ (f64.ne
+ (tee_local $16
+ (f64.mul
+ (f64.sub
+ (get_local $16)
+ (f64.convert_u/i32
+ (get_local $5)
+ )
)
+ (f64.const 1e9)
)
- (f64.const 1e9)
)
+ (f64.const 0)
)
- (f64.const 0)
)
)
- )
- (if
- (i32.gt_s
- (tee_local $9
- (i32.load
- (get_local $20)
+ (if
+ (i32.gt_s
+ (tee_local $9
+ (i32.load
+ (get_local $20)
+ )
)
+ (i32.const 0)
)
- (i32.const 0)
- )
- (block
- (set_local $5
- (get_local $8)
- )
- (loop $while-in62
- (set_local $13
- (select
- (i32.const 29)
- (get_local $9)
- (i32.gt_s
- (get_local $9)
- (i32.const 29)
- )
- )
+ (block
+ (set_local $5
+ (get_local $8)
)
- (if
- (i32.ge_u
- (tee_local $9
- (i32.add
- (get_local $7)
- (i32.const -4)
+ (loop $while-in62
+ (set_local $13
+ (select
+ (i32.const 29)
+ (get_local $9)
+ (i32.gt_s
+ (get_local $9)
+ (i32.const 29)
)
)
- (get_local $5)
)
- (block $do-once63
- (set_local $12
- (i32.const 0)
+ (if
+ (i32.ge_u
+ (tee_local $9
+ (i32.add
+ (get_local $7)
+ (i32.const -4)
+ )
+ )
+ (get_local $5)
)
- (loop $while-in66
- (i32.store
- (get_local $9)
- (call $___uremdi3
- (tee_local $12
- (call $_i64Add
- (call $_bitshift64Shl
- (i32.load
- (get_local $9)
+ (block $do-once63
+ (set_local $12
+ (i32.const 0)
+ )
+ (loop $while-in66
+ (i32.store
+ (get_local $9)
+ (call $___uremdi3
+ (tee_local $12
+ (call $_i64Add
+ (call $_bitshift64Shl
+ (i32.load
+ (get_local $9)
+ )
+ (i32.const 0)
+ (get_local $13)
)
+ (get_global $tempRet0)
+ (get_local $12)
(i32.const 0)
- (get_local $13)
)
+ )
+ (tee_local $18
(get_global $tempRet0)
- (get_local $12)
- (i32.const 0)
)
+ (i32.const 1000000000)
)
- (tee_local $18
- (get_global $tempRet0)
+ )
+ (set_local $12
+ (call $___udivdi3
+ (get_local $12)
+ (get_local $18)
+ (i32.const 1000000000)
+ )
+ )
+ (br_if $while-in66
+ (i32.ge_u
+ (tee_local $9
+ (i32.add
+ (get_local $9)
+ (i32.const -4)
+ )
+ )
+ (get_local $5)
)
- (i32.const 1000000000)
)
)
- (set_local $12
- (call $___udivdi3
+ (br_if $do-once63
+ (i32.eqz
(get_local $12)
- (get_local $18)
- (i32.const 1000000000)
)
)
- (br_if $while-in66
- (i32.ge_u
- (tee_local $9
- (i32.add
- (get_local $9)
- (i32.const -4)
- )
+ (i32.store
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
)
- (get_local $5)
)
- )
- )
- (br_if $do-once63
- (i32.eqz
(get_local $12)
)
)
- (i32.store
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -4)
- )
- )
- (get_local $12)
- )
)
- )
- (loop $while-in68
- (if
- (i32.gt_u
- (get_local $7)
- (get_local $5)
- )
+ (loop $while-in68
(if
- (i32.eqz
- (i32.load
- (tee_local $9
- (i32.add
- (get_local $7)
- (i32.const -4)
+ (i32.gt_u
+ (get_local $7)
+ (get_local $5)
+ )
+ (if
+ (i32.eqz
+ (i32.load
+ (tee_local $9
+ (i32.add
+ (get_local $7)
+ (i32.const -4)
+ )
)
)
)
- )
- (block
- (set_local $7
- (get_local $9)
+ (block
+ (set_local $7
+ (get_local $9)
+ )
+ (br $while-in68)
)
- (br $while-in68)
)
)
)
- )
- (i32.store
- (get_local $20)
- (tee_local $9
- (i32.sub
- (i32.load
- (get_local $20)
+ (i32.store
+ (get_local $20)
+ (tee_local $9
+ (i32.sub
+ (i32.load
+ (get_local $20)
+ )
+ (get_local $13)
)
- (get_local $13)
)
)
- )
- (br_if $while-in62
- (i32.gt_s
- (get_local $9)
- (i32.const 0)
+ (br_if $while-in62
+ (i32.gt_s
+ (get_local $9)
+ (i32.const 0)
+ )
)
)
)
- )
- (set_local $5
- (get_local $8)
- )
- )
- (set_local $18
- (select
- (i32.const 6)
- (get_local $6)
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
+ (set_local $5
+ (get_local $8)
)
)
- )
- (if
- (i32.lt_s
- (get_local $9)
- (i32.const 0)
- )
- (block
- (set_local $21
- (i32.add
- (call $i32s-div
- (i32.add
- (get_local $18)
- (i32.const 25)
- )
- (i32.const 9)
- )
- (i32.const 1)
- )
- )
- (set_local $31
- (i32.eq
- (get_local $24)
- (i32.const 102)
+ (set_local $18
+ (select
+ (i32.const 6)
+ (get_local $6)
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 0)
)
)
- (set_local $6
- (get_local $5)
- )
- (set_local $5
- (get_local $7)
+ )
+ (if
+ (i32.lt_s
+ (get_local $9)
+ (i32.const 0)
)
- (loop $while-in70
- (set_local $13
- (select
- (i32.const 9)
- (tee_local $7
- (i32.sub
- (i32.const 0)
- (get_local $9)
+ (block
+ (set_local $21
+ (i32.add
+ (call $i32s-div
+ (i32.add
+ (get_local $18)
+ (i32.const 25)
)
- )
- (i32.gt_s
- (get_local $7)
(i32.const 9)
)
+ (i32.const 1)
)
)
- (if
- (i32.lt_u
- (get_local $6)
- (get_local $5)
+ (set_local $31
+ (i32.eq
+ (get_local $24)
+ (i32.const 102)
)
- (block $do-once71
- (set_local $12
- (i32.add
- (i32.shl
- (i32.const 1)
- (get_local $13)
+ )
+ (set_local $6
+ (get_local $5)
+ )
+ (set_local $5
+ (get_local $7)
+ )
+ (loop $while-in70
+ (set_local $13
+ (select
+ (i32.const 9)
+ (tee_local $7
+ (i32.sub
+ (i32.const 0)
+ (get_local $9)
)
- (i32.const -1)
)
- )
- (set_local $37
- (i32.shr_u
- (i32.const 1000000000)
- (get_local $13)
+ (i32.gt_s
+ (get_local $7)
+ (i32.const 9)
)
)
- (set_local $9
- (i32.const 0)
- )
- (set_local $7
+ )
+ (if
+ (i32.lt_u
(get_local $6)
+ (get_local $5)
)
- (loop $while-in74
- (i32.store
- (get_local $7)
+ (block $do-once71
+ (set_local $12
(i32.add
- (i32.shr_u
- (tee_local $38
- (i32.load
- (get_local $7)
- )
- )
+ (i32.shl
+ (i32.const 1)
(get_local $13)
)
- (get_local $9)
+ (i32.const -1)
+ )
+ )
+ (set_local $37
+ (i32.shr_u
+ (i32.const 1000000000)
+ (get_local $13)
)
)
(set_local $9
- (i32.mul
- (i32.and
- (get_local $38)
- (get_local $12)
+ (i32.const 0)
+ )
+ (set_local $7
+ (get_local $6)
+ )
+ (loop $while-in74
+ (i32.store
+ (get_local $7)
+ (i32.add
+ (i32.shr_u
+ (tee_local $38
+ (i32.load
+ (get_local $7)
+ )
+ )
+ (get_local $13)
+ )
+ (get_local $9)
)
- (get_local $37)
)
- )
- (br_if $while-in74
- (i32.lt_u
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
+ (set_local $9
+ (i32.mul
+ (i32.and
+ (get_local $38)
+ (get_local $12)
)
+ (get_local $37)
+ )
+ )
+ (br_if $while-in74
+ (i32.lt_u
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
+ )
+ )
+ (get_local $5)
+ )
+ )
+ )
+ (set_local $7
+ (select
+ (get_local $6)
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ (i32.load
+ (get_local $6)
)
+ )
+ )
+ (br_if $do-once71
+ (i32.eqz
+ (get_local $9)
+ )
+ )
+ (i32.store
+ (get_local $5)
+ (get_local $9)
+ )
+ (set_local $5
+ (i32.add
(get_local $5)
+ (i32.const 4)
)
)
)
@@ -4691,1139 +4723,1050 @@
)
)
)
- (br_if $do-once71
- (i32.eqz
- (get_local $9)
- )
- )
- (i32.store
- (get_local $5)
- (get_local $9)
- )
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 4)
- )
- )
)
- (set_local $7
+ (set_local $12
(select
- (get_local $6)
(i32.add
- (get_local $6)
- (i32.const 4)
- )
- (i32.load
- (get_local $6)
- )
- )
- )
- )
- (set_local $12
- (select
- (i32.add
- (tee_local $6
- (select
- (get_local $8)
- (get_local $7)
- (get_local $31)
+ (tee_local $6
+ (select
+ (get_local $8)
+ (get_local $7)
+ (get_local $31)
+ )
+ )
+ (i32.shl
+ (get_local $21)
+ (i32.const 2)
)
)
- (i32.shl
- (get_local $21)
- (i32.const 2)
- )
- )
- (get_local $5)
- (i32.gt_s
- (i32.shr_s
- (i32.sub
- (get_local $5)
- (get_local $6)
+ (get_local $5)
+ (i32.gt_s
+ (i32.shr_s
+ (i32.sub
+ (get_local $5)
+ (get_local $6)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (get_local $21)
)
- (get_local $21)
)
)
- )
- (i32.store
- (get_local $20)
- (tee_local $9
- (i32.add
- (i32.load
- (get_local $20)
+ (i32.store
+ (get_local $20)
+ (tee_local $9
+ (i32.add
+ (i32.load
+ (get_local $20)
+ )
+ (get_local $13)
)
- (get_local $13)
)
)
- )
- (set_local $5
- (if (result i32)
- (i32.lt_s
- (get_local $9)
- (i32.const 0)
- )
- (block
- (set_local $6
- (get_local $7)
+ (set_local $5
+ (if (result i32)
+ (i32.lt_s
+ (get_local $9)
+ (i32.const 0)
)
- (set_local $5
- (get_local $12)
+ (block
+ (set_local $6
+ (get_local $7)
+ )
+ (set_local $5
+ (get_local $12)
+ )
+ (br $while-in70)
)
- (br $while-in70)
- )
- (block (result i32)
- (set_local $9
- (get_local $12)
+ (block (result i32)
+ (set_local $9
+ (get_local $12)
+ )
+ (get_local $7)
)
- (get_local $7)
)
)
)
)
+ (set_local $9
+ (get_local $7)
+ )
)
- (set_local $9
- (get_local $7)
- )
- )
- (set_local $21
- (get_local $8)
- )
- (if
- (i32.lt_u
- (get_local $5)
- (get_local $9)
+ (set_local $21
+ (get_local $8)
)
- (block $do-once75
- (set_local $7
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $21)
- (get_local $5)
+ (if
+ (i32.lt_u
+ (get_local $5)
+ (get_local $9)
+ )
+ (block $do-once75
+ (set_local $7
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $21)
+ (get_local $5)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (i32.const 9)
)
- (i32.const 9)
)
- )
- (br_if $do-once75
- (i32.lt_u
- (tee_local $12
- (i32.load
- (get_local $5)
+ (br_if $do-once75
+ (i32.lt_u
+ (tee_local $12
+ (i32.load
+ (get_local $5)
+ )
)
+ (i32.const 10)
)
+ )
+ (set_local $6
(i32.const 10)
)
- )
- (set_local $6
- (i32.const 10)
- )
- (loop $while-in78
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 1)
+ (loop $while-in78
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 1)
+ )
)
- )
- (br_if $while-in78
- (i32.ge_u
- (get_local $12)
- (tee_local $6
- (i32.mul
- (get_local $6)
- (i32.const 10)
+ (br_if $while-in78
+ (i32.ge_u
+ (get_local $12)
+ (tee_local $6
+ (i32.mul
+ (get_local $6)
+ (i32.const 10)
+ )
)
)
)
)
)
+ (set_local $7
+ (i32.const 0)
+ )
)
- (set_local $7
- (i32.const 0)
- )
- )
- (set_local $5
- (if (result i32)
- (i32.lt_s
- (tee_local $6
- (i32.add
- (i32.sub
- (get_local $18)
- (select
- (get_local $7)
- (i32.const 0)
- (i32.ne
- (get_local $24)
- (i32.const 102)
+ (set_local $5
+ (if (result i32)
+ (i32.lt_s
+ (tee_local $6
+ (i32.add
+ (i32.sub
+ (get_local $18)
+ (select
+ (get_local $7)
+ (i32.const 0)
+ (i32.ne
+ (get_local $24)
+ (i32.const 102)
+ )
)
)
- )
- (i32.shr_s
- (i32.shl
- (i32.and
- (tee_local $31
- (i32.ne
- (get_local $18)
- (i32.const 0)
+ (i32.shr_s
+ (i32.shl
+ (i32.and
+ (tee_local $31
+ (i32.ne
+ (get_local $18)
+ (i32.const 0)
+ )
)
- )
- (tee_local $37
- (i32.eq
- (get_local $24)
- (i32.const 103)
+ (tee_local $37
+ (i32.eq
+ (get_local $24)
+ (i32.const 103)
+ )
)
)
+ (i32.const 31)
)
(i32.const 31)
)
- (i32.const 31)
)
)
- )
- (i32.add
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $9)
- (get_local $21)
- )
- (i32.const 2)
- )
- (i32.const 9)
- )
- (i32.const -9)
- )
- )
- (block (result i32)
- (set_local $13
- (call $i32s-div
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 9216)
+ (i32.add
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $9)
+ (get_local $21)
+ )
+ (i32.const 2)
)
+ (i32.const 9)
)
- (i32.const 9)
+ (i32.const -9)
)
)
- (if
- (i32.lt_s
- (tee_local $6
- (i32.add
- (i32.rem_s
+ (block (result i32)
+ (set_local $13
+ (call $i32s-div
+ (tee_local $6
+ (i32.add
(get_local $6)
- (i32.const 9)
+ (i32.const 9216)
)
- (i32.const 1)
)
+ (i32.const 9)
)
- (i32.const 9)
)
- (block
- (set_local $12
- (i32.const 10)
+ (if
+ (i32.lt_s
+ (tee_local $6
+ (i32.add
+ (i32.rem_s
+ (get_local $6)
+ (i32.const 9)
+ )
+ (i32.const 1)
+ )
+ )
+ (i32.const 9)
)
- (loop $while-in80
+ (block
(set_local $12
- (i32.mul
- (get_local $12)
- (i32.const 10)
- )
+ (i32.const 10)
)
- (br_if $while-in80
- (i32.ne
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 1)
+ (loop $while-in80
+ (set_local $12
+ (i32.mul
+ (get_local $12)
+ (i32.const 10)
+ )
+ )
+ (br_if $while-in80
+ (i32.ne
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 1)
+ )
)
+ (i32.const 9)
)
- (i32.const 9)
)
)
)
+ (set_local $12
+ (i32.const 10)
+ )
)
- (set_local $12
- (i32.const 10)
- )
- )
- (set_local $13
- (call $i32u-rem
- (tee_local $24
- (i32.load
- (tee_local $6
- (i32.add
+ (set_local $13
+ (call $i32u-rem
+ (tee_local $24
+ (i32.load
+ (tee_local $6
(i32.add
- (get_local $8)
- (i32.shl
- (get_local $13)
- (i32.const 2)
+ (i32.add
+ (get_local $8)
+ (i32.shl
+ (get_local $13)
+ (i32.const 2)
+ )
)
+ (i32.const -4092)
)
- (i32.const -4092)
)
)
)
+ (get_local $12)
)
- (get_local $12)
)
- )
- (if
- (i32.eqz
- (i32.and
- (tee_local $38
- (i32.eq
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $38
+ (i32.eq
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ (get_local $9)
)
- (get_local $9)
)
- )
- (i32.eqz
- (get_local $13)
+ (i32.eqz
+ (get_local $13)
+ )
)
)
- )
- (block $do-once81
- (set_local $50
- (call $i32u-div
- (get_local $24)
- (get_local $12)
+ (block $do-once81
+ (set_local $50
+ (call $i32u-div
+ (get_local $24)
+ (get_local $12)
+ )
)
- )
- (set_local $16
- (if (result f64)
- (i32.lt_u
- (get_local $13)
- (tee_local $51
- (call $i32s-div
- (get_local $12)
- (i32.const 2)
+ (set_local $16
+ (if (result f64)
+ (i32.lt_u
+ (get_local $13)
+ (tee_local $51
+ (call $i32s-div
+ (get_local $12)
+ (i32.const 2)
+ )
)
)
- )
- (f64.const 0.5)
- (select
- (f64.const 1)
- (f64.const 1.5)
- (i32.and
- (get_local $38)
- (i32.eq
- (get_local $13)
- (get_local $51)
+ (f64.const 0.5)
+ (select
+ (f64.const 1)
+ (f64.const 1.5)
+ (i32.and
+ (get_local $38)
+ (i32.eq
+ (get_local $13)
+ (get_local $51)
+ )
)
)
)
)
- )
- (set_local $23
- (select
- (f64.const 9007199254740994)
- (f64.const 9007199254740992)
- (i32.and
- (get_local $50)
- (i32.const 1)
+ (set_local $23
+ (select
+ (f64.const 9007199254740994)
+ (f64.const 9007199254740992)
+ (i32.and
+ (get_local $50)
+ (i32.const 1)
+ )
)
)
- )
- (if
- (get_local $26)
(if
- (i32.eq
- (i32.load8_s
- (get_local $30)
- )
- (i32.const 45)
- )
- (block
- (set_local $23
- (f64.neg
- (get_local $23)
+ (get_local $26)
+ (if
+ (i32.eq
+ (i32.load8_s
+ (get_local $30)
)
+ (i32.const 45)
)
- (set_local $16
- (f64.neg
- (get_local $16)
+ (block
+ (set_local $23
+ (f64.neg
+ (get_local $23)
+ )
+ )
+ (set_local $16
+ (f64.neg
+ (get_local $16)
+ )
)
)
)
)
- )
- (i32.store
- (get_local $6)
- (tee_local $13
- (i32.sub
- (get_local $24)
- (get_local $13)
+ (i32.store
+ (get_local $6)
+ (tee_local $13
+ (i32.sub
+ (get_local $24)
+ (get_local $13)
+ )
)
)
- )
- (br_if $do-once81
- (f64.eq
- (f64.add
+ (br_if $do-once81
+ (f64.eq
+ (f64.add
+ (get_local $23)
+ (get_local $16)
+ )
(get_local $23)
- (get_local $16)
)
- (get_local $23)
)
- )
- (i32.store
- (get_local $6)
- (tee_local $7
- (i32.add
- (get_local $13)
- (get_local $12)
+ (i32.store
+ (get_local $6)
+ (tee_local $7
+ (i32.add
+ (get_local $13)
+ (get_local $12)
+ )
)
)
- )
- (if
- (i32.gt_u
- (get_local $7)
- (i32.const 999999999)
- )
- (loop $while-in86
- (i32.store
- (get_local $6)
- (i32.const 0)
+ (if
+ (i32.gt_u
+ (get_local $7)
+ (i32.const 999999999)
)
- (if
- (i32.lt_u
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -4)
+ (loop $while-in86
+ (i32.store
+ (get_local $6)
+ (i32.const 0)
+ )
+ (if
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -4)
+ )
)
+ (get_local $5)
+ )
+ (i32.store
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
+ )
+ )
+ (i32.const 0)
)
- (get_local $5)
)
(i32.store
- (tee_local $5
+ (get_local $6)
+ (tee_local $7
(i32.add
- (get_local $5)
- (i32.const -4)
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 1)
)
)
- (i32.const 0)
)
- )
- (i32.store
- (get_local $6)
- (tee_local $7
- (i32.add
- (i32.load
- (get_local $6)
- )
- (i32.const 1)
+ (br_if $while-in86
+ (i32.gt_u
+ (get_local $7)
+ (i32.const 999999999)
)
)
)
- (br_if $while-in86
- (i32.gt_u
- (get_local $7)
- (i32.const 999999999)
- )
- )
)
- )
- (set_local $7
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $21)
- (get_local $5)
+ (set_local $7
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $21)
+ (get_local $5)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (i32.const 9)
)
- (i32.const 9)
)
- )
- (br_if $do-once81
- (i32.lt_u
- (tee_local $13
- (i32.load
- (get_local $5)
+ (br_if $do-once81
+ (i32.lt_u
+ (tee_local $13
+ (i32.load
+ (get_local $5)
+ )
)
+ (i32.const 10)
)
+ )
+ (set_local $12
(i32.const 10)
)
- )
- (set_local $12
- (i32.const 10)
- )
- (loop $while-in88
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 1)
+ (loop $while-in88
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 1)
+ )
)
- )
- (br_if $while-in88
- (i32.ge_u
- (get_local $13)
- (tee_local $12
- (i32.mul
- (get_local $12)
- (i32.const 10)
+ (br_if $while-in88
+ (i32.ge_u
+ (get_local $13)
+ (tee_local $12
+ (i32.mul
+ (get_local $12)
+ (i32.const 10)
+ )
)
)
)
)
)
)
- )
- (set_local $12
- (get_local $5)
- )
- (set_local $13
- (get_local $7)
- )
- (select
- (tee_local $5
- (i32.add
- (get_local $6)
- (i32.const 4)
- )
+ (set_local $12
+ (get_local $5)
)
- (get_local $9)
- (i32.gt_u
+ (set_local $13
+ (get_local $7)
+ )
+ (select
+ (tee_local $5
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ )
(get_local $9)
- (get_local $5)
+ (i32.gt_u
+ (get_local $9)
+ (get_local $5)
+ )
)
)
- )
- (block (result i32)
- (set_local $12
- (get_local $5)
- )
- (set_local $13
- (get_local $7)
+ (block (result i32)
+ (set_local $12
+ (get_local $5)
+ )
+ (set_local $13
+ (get_local $7)
+ )
+ (get_local $9)
)
- (get_local $9)
)
)
- )
- (set_local $9
- (loop $while-in90 (result i32)
- (block $while-out89 (result i32)
- (if
- (i32.le_u
- (get_local $5)
- (get_local $12)
- )
- (block
- (set_local $24
- (i32.const 0)
- )
- (br $while-out89
+ (set_local $9
+ (loop $while-in90 (result i32)
+ (block $while-out89 (result i32)
+ (if
+ (i32.le_u
(get_local $5)
+ (get_local $12)
)
- )
- )
- (if (result i32)
- (i32.load
- (tee_local $7
- (i32.add
+ (block
+ (set_local $24
+ (i32.const 0)
+ )
+ (br $while-out89
(get_local $5)
- (i32.const -4)
)
)
)
- (block (result i32)
- (set_local $24
- (i32.const 1)
+ (if (result i32)
+ (i32.load
+ (tee_local $7
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
+ )
+ )
)
- (get_local $5)
- )
- (block
- (set_local $5
- (get_local $7)
+ (block (result i32)
+ (set_local $24
+ (i32.const 1)
+ )
+ (get_local $5)
+ )
+ (block
+ (set_local $5
+ (get_local $7)
+ )
+ (br $while-in90)
)
- (br $while-in90)
)
)
)
)
- )
- (set_local $5
- (if (result i32)
- (get_local $37)
- (block $do-once91 (result i32)
- (set_local $7
- (if (result i32)
- (i32.and
- (i32.gt_s
- (tee_local $5
- (i32.add
- (i32.xor
- (get_local $31)
- (i32.const 1)
+ (set_local $5
+ (if (result i32)
+ (get_local $37)
+ (block $do-once91 (result i32)
+ (set_local $7
+ (if (result i32)
+ (i32.and
+ (i32.gt_s
+ (tee_local $5
+ (i32.add
+ (i32.xor
+ (get_local $31)
+ (i32.const 1)
+ )
+ (get_local $18)
)
- (get_local $18)
)
+ (get_local $13)
+ )
+ (i32.gt_s
+ (get_local $13)
+ (i32.const -5)
)
- (get_local $13)
)
- (i32.gt_s
- (get_local $13)
- (i32.const -5)
+ (block (result i32)
+ (set_local $18
+ (i32.sub
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
+ (get_local $13)
+ )
+ )
+ (i32.add
+ (get_local $19)
+ (i32.const -1)
+ )
)
- )
- (block (result i32)
- (set_local $18
- (i32.sub
+ (block (result i32)
+ (set_local $18
(i32.add
(get_local $5)
(i32.const -1)
)
- (get_local $13)
)
- )
- (i32.add
- (get_local $19)
- (i32.const -1)
- )
- )
- (block (result i32)
- (set_local $18
(i32.add
- (get_local $5)
- (i32.const -1)
+ (get_local $19)
+ (i32.const -2)
)
)
- (i32.add
- (get_local $19)
- (i32.const -2)
- )
- )
- )
- )
- (if
- (tee_local $5
- (i32.and
- (get_local $11)
- (i32.const 8)
)
)
- (block
- (set_local $21
- (get_local $5)
+ (if
+ (tee_local $5
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
+ )
)
- (br $do-once91
- (get_local $18)
+ (block
+ (set_local $21
+ (get_local $5)
+ )
+ (br $do-once91
+ (get_local $18)
+ )
)
)
- )
- (if
- (get_local $24)
- (block $do-once93
- (if
- (i32.eqz
- (tee_local $19
- (i32.load
- (i32.add
- (get_local $9)
- (i32.const -4)
+ (if
+ (get_local $24)
+ (block $do-once93
+ (if
+ (i32.eqz
+ (tee_local $19
+ (i32.load
+ (i32.add
+ (get_local $9)
+ (i32.const -4)
+ )
)
)
)
- )
- (block
- (set_local $5
- (i32.const 9)
- )
- (br $do-once93)
- )
- )
- (set_local $5
- (if (result i32)
- (call $i32u-rem
- (get_local $19)
- (i32.const 10)
- )
(block
(set_local $5
- (i32.const 0)
+ (i32.const 9)
)
(br $do-once93)
)
- (block (result i32)
- (set_local $6
+ )
+ (set_local $5
+ (if (result i32)
+ (call $i32u-rem
+ (get_local $19)
(i32.const 10)
)
- (i32.const 0)
+ (block
+ (set_local $5
+ (i32.const 0)
+ )
+ (br $do-once93)
+ )
+ (block (result i32)
+ (set_local $6
+ (i32.const 10)
+ )
+ (i32.const 0)
+ )
)
)
- )
- (loop $while-in96
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 1)
+ (loop $while-in96
+ (set_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
)
- )
- (br_if $while-in96
- (i32.eqz
- (call $i32u-rem
- (get_local $19)
- (tee_local $6
- (i32.mul
- (get_local $6)
- (i32.const 10)
+ (br_if $while-in96
+ (i32.eqz
+ (call $i32u-rem
+ (get_local $19)
+ (tee_local $6
+ (i32.mul
+ (get_local $6)
+ (i32.const 10)
+ )
)
)
)
)
)
)
- )
- (set_local $5
- (i32.const 9)
- )
- )
- (set_local $6
- (i32.add
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $9)
- (get_local $21)
- )
- (i32.const 2)
- )
+ (set_local $5
(i32.const 9)
)
- (i32.const -9)
)
- )
- (if (result i32)
- (i32.eq
- (i32.or
- (get_local $7)
- (i32.const 32)
- )
- (i32.const 102)
- )
- (block (result i32)
- (set_local $21
- (i32.const 0)
- )
- (select
- (get_local $18)
- (tee_local $5
- (select
- (i32.const 0)
- (tee_local $5
- (i32.sub
- (get_local $6)
- (get_local $5)
- )
- )
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (set_local $6
+ (i32.add
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $9)
+ (get_local $21)
)
+ (i32.const 2)
)
+ (i32.const 9)
)
- (i32.lt_s
- (get_local $18)
- (get_local $5)
- )
+ (i32.const -9)
)
)
- (block (result i32)
- (set_local $21
- (i32.const 0)
+ (if (result i32)
+ (i32.eq
+ (i32.or
+ (get_local $7)
+ (i32.const 32)
+ )
+ (i32.const 102)
)
- (select
- (get_local $18)
- (tee_local $5
- (select
- (i32.const 0)
- (tee_local $5
- (i32.sub
- (i32.add
+ (block (result i32)
+ (set_local $21
+ (i32.const 0)
+ )
+ (select
+ (get_local $18)
+ (tee_local $5
+ (select
+ (i32.const 0)
+ (tee_local $5
+ (i32.sub
(get_local $6)
- (get_local $13)
+ (get_local $5)
)
+ )
+ (i32.lt_s
(get_local $5)
+ (i32.const 0)
)
)
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
- )
+ )
+ (i32.lt_s
+ (get_local $18)
+ (get_local $5)
)
)
- (i32.lt_s
+ )
+ (block (result i32)
+ (set_local $21
+ (i32.const 0)
+ )
+ (select
(get_local $18)
- (get_local $5)
+ (tee_local $5
+ (select
+ (i32.const 0)
+ (tee_local $5
+ (i32.sub
+ (i32.add
+ (get_local $6)
+ (get_local $13)
+ )
+ (get_local $5)
+ )
+ )
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ )
+ )
+ (i32.lt_s
+ (get_local $18)
+ (get_local $5)
+ )
)
)
)
)
- )
- (block (result i32)
- (set_local $21
- (i32.and
- (get_local $11)
- (i32.const 8)
+ (block (result i32)
+ (set_local $21
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
+ )
)
+ (set_local $7
+ (get_local $19)
+ )
+ (get_local $18)
)
- (set_local $7
- (get_local $19)
- )
- (get_local $18)
)
)
- )
- (set_local $6
- (i32.sub
- (i32.const 0)
- (get_local $13)
+ (set_local $6
+ (i32.sub
+ (i32.const 0)
+ (get_local $13)
+ )
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (tee_local $13
- (i32.add
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $13
(i32.add
(i32.add
(i32.add
- (get_local $26)
- (i32.const 1)
- )
- (get_local $5)
- )
- (i32.ne
- (tee_local $31
- (i32.or
- (get_local $5)
- (get_local $21)
+ (i32.add
+ (get_local $26)
+ (i32.const 1)
)
+ (get_local $5)
)
- (i32.const 0)
- )
- )
- (if (result i32)
- (tee_local $18
- (i32.eq
- (i32.or
- (get_local $7)
- (i32.const 32)
+ (i32.ne
+ (tee_local $31
+ (i32.or
+ (get_local $5)
+ (get_local $21)
+ )
)
- (i32.const 102)
+ (i32.const 0)
)
)
- (block (result i32)
- (set_local $19
- (i32.const 0)
+ (if (result i32)
+ (tee_local $18
+ (i32.eq
+ (i32.or
+ (get_local $7)
+ (i32.const 32)
+ )
+ (i32.const 102)
+ )
)
- (select
- (get_local $13)
- (i32.const 0)
- (i32.gt_s
+ (block (result i32)
+ (set_local $19
+ (i32.const 0)
+ )
+ (select
(get_local $13)
(i32.const 0)
+ (i32.gt_s
+ (get_local $13)
+ (i32.const 0)
+ )
)
)
- )
- (block (result i32)
- (if
- (i32.lt_s
- (i32.sub
- (get_local $27)
- (tee_local $6
- (call $_fmt_u
- (tee_local $6
- (select
- (get_local $6)
- (get_local $13)
- (i32.lt_s
+ (block (result i32)
+ (if
+ (i32.lt_s
+ (i32.sub
+ (get_local $27)
+ (tee_local $6
+ (call $_fmt_u
+ (tee_local $6
+ (select
+ (get_local $6)
(get_local $13)
- (i32.const 0)
+ (i32.lt_s
+ (get_local $13)
+ (i32.const 0)
+ )
)
)
- )
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 0)
+ )
+ (i32.const 31)
)
(i32.const 31)
)
- (i32.const 31)
+ (get_local $32)
)
- (get_local $32)
)
)
+ (i32.const 2)
)
- (i32.const 2)
- )
- (loop $while-in98
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
+ (loop $while-in98
+ (i32.store8
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
+ )
+ )
+ (i32.const 48)
+ )
+ (br_if $while-in98
+ (i32.lt_s
+ (i32.sub
+ (get_local $27)
+ (get_local $6)
+ )
+ (i32.const 2)
)
)
- (i32.const 48)
)
- (br_if $while-in98
- (i32.lt_s
- (i32.sub
- (get_local $27)
- (get_local $6)
+ )
+ (i32.store8
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
+ )
+ (i32.add
+ (i32.and
+ (i32.shr_s
+ (get_local $13)
+ (i32.const 31)
)
(i32.const 2)
)
+ (i32.const 43)
)
)
- )
- (i32.store8
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
- (i32.add
- (i32.and
- (i32.shr_s
- (get_local $13)
- (i32.const 31)
+ (i32.store8
+ (tee_local $19
+ (i32.add
+ (get_local $6)
+ (i32.const -2)
)
- (i32.const 2)
)
- (i32.const 43)
+ (get_local $7)
)
- )
- (i32.store8
- (tee_local $19
- (i32.add
- (get_local $6)
- (i32.const -2)
- )
+ (i32.sub
+ (get_local $27)
+ (get_local $19)
)
- (get_local $7)
- )
- (i32.sub
- (get_local $27)
- (get_local $19)
)
)
)
)
+ (get_local $11)
)
- (get_local $11)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $30)
+ (get_local $26)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $26)
- (get_local $0)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (get_local $15)
+ (get_local $13)
+ (i32.xor
+ (get_local $11)
+ (i32.const 65536)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (get_local $15)
- (get_local $13)
- (i32.xor
- (get_local $11)
- (i32.const 65536)
- )
- )
- (if
- (get_local $18)
- (block
- (set_local $6
- (tee_local $12
- (select
- (get_local $8)
- (get_local $12)
- (i32.gt_u
- (get_local $12)
+ (if
+ (get_local $18)
+ (block
+ (set_local $6
+ (tee_local $12
+ (select
(get_local $8)
+ (get_local $12)
+ (i32.gt_u
+ (get_local $12)
+ (get_local $8)
+ )
)
)
)
- )
- (loop $while-in102
- (set_local $7
- (call $_fmt_u
- (i32.load
- (get_local $6)
+ (loop $while-in102
+ (set_local $7
+ (call $_fmt_u
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 0)
+ (get_local $29)
)
- (i32.const 0)
- (get_local $29)
)
- )
- (block $do-once103
- (if
- (i32.eq
- (get_local $6)
- (get_local $12)
- )
- (block
- (br_if $do-once103
- (i32.ne
- (get_local $7)
- (get_local $29)
- )
- )
- (i32.store8
- (get_local $33)
- (i32.const 48)
- )
- (set_local $7
- (get_local $33)
+ (block $do-once103
+ (if
+ (i32.eq
+ (get_local $6)
+ (get_local $12)
)
- )
- (block
- (br_if $do-once103
- (i32.le_u
- (get_local $7)
- (get_local $22)
+ (block
+ (br_if $do-once103
+ (i32.ne
+ (get_local $7)
+ (get_local $29)
+ )
)
- )
- (loop $while-in106
(i32.store8
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const -1)
- )
- )
+ (get_local $33)
(i32.const 48)
)
- (br_if $while-in106
- (i32.gt_u
+ (set_local $7
+ (get_local $33)
+ )
+ )
+ (block
+ (br_if $do-once103
+ (i32.le_u
(get_local $7)
(get_local $22)
)
)
+ (loop $while-in106
+ (i32.store8
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const -1)
+ )
+ )
+ (i32.const 48)
+ )
+ (br_if $while-in106
+ (i32.gt_u
+ (get_local $7)
+ (get_local $22)
+ )
+ )
+ )
)
)
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $7)
- (i32.sub
- (get_local $43)
+ (drop
+ (call $___fwritex
(get_local $7)
- )
- (get_local $0)
- )
- )
- )
- (if
- (i32.le_u
- (tee_local $7
- (i32.add
- (get_local $6)
- (i32.const 4)
- )
- )
- (get_local $8)
- )
- (block
- (set_local $6
- (get_local $7)
- )
- (br $while-in102)
- )
- )
- )
- (if
- (get_local $31)
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (i32.sub
+ (get_local $43)
+ (get_local $7)
+ )
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (i32.const 4143)
- (i32.const 1)
- (get_local $0)
- )
- )
- )
- )
- (if
- (i32.and
- (i32.gt_s
- (get_local $5)
- (i32.const 0)
- )
- (i32.lt_u
- (get_local $7)
- (get_local $9)
- )
- )
- (loop $while-in110
(if
- (i32.gt_u
- (tee_local $6
- (call $_fmt_u
- (i32.load
- (get_local $7)
- )
- (i32.const 0)
- (get_local $29)
+ (i32.le_u
+ (tee_local $7
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
)
)
- (get_local $22)
+ (get_local $8)
)
- (loop $while-in112
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-in112
- (i32.gt_u
- (get_local $6)
- (get_local $22)
- )
+ (block
+ (set_local $6
+ (get_local $7)
)
+ (br $while-in102)
)
)
+ )
+ (if
+ (get_local $31)
(if
(i32.eqz
(i32.and
@@ -5835,125 +5778,217 @@
)
(drop
(call $___fwritex
- (get_local $6)
- (select
- (i32.const 9)
- (get_local $5)
- (i32.gt_s
- (get_local $5)
- (i32.const 9)
- )
- )
+ (i32.const 4143)
+ (i32.const 1)
(get_local $0)
)
)
)
- (set_local $6
- (i32.add
+ )
+ (if
+ (i32.and
+ (i32.gt_s
(get_local $5)
- (i32.const -9)
+ (i32.const 0)
+ )
+ (i32.lt_u
+ (get_local $7)
+ (get_local $9)
)
)
- (set_local $5
- (if (result i32)
- (i32.and
- (i32.gt_s
- (get_local $5)
- (i32.const 9)
+ (loop $while-in110
+ (if
+ (i32.gt_u
+ (tee_local $6
+ (call $_fmt_u
+ (i32.load
+ (get_local $7)
+ )
+ (i32.const 0)
+ (get_local $29)
+ )
)
- (i32.lt_u
- (tee_local $7
+ (get_local $22)
+ )
+ (loop $while-in112
+ (i32.store8
+ (tee_local $6
(i32.add
- (get_local $7)
- (i32.const 4)
+ (get_local $6)
+ (i32.const -1)
)
)
- (get_local $9)
+ (i32.const 48)
+ )
+ (br_if $while-in112
+ (i32.gt_u
+ (get_local $6)
+ (get_local $22)
+ )
)
)
- (block
- (set_local $5
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
(get_local $6)
+ (select
+ (i32.const 9)
+ (get_local $5)
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 9)
+ )
+ )
+ (get_local $0)
)
- (br $while-in110)
)
- (get_local $6)
+ )
+ (set_local $6
+ (i32.add
+ (get_local $5)
+ (i32.const -9)
+ )
+ )
+ (set_local $5
+ (if (result i32)
+ (i32.and
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 9)
+ )
+ (i32.lt_u
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
+ )
+ )
+ (get_local $9)
+ )
+ )
+ (block
+ (set_local $5
+ (get_local $6)
+ )
+ (br $while-in110)
+ )
+ (get_local $6)
+ )
)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.add
- (get_local $5)
- (i32.const 9)
- )
- (i32.const 9)
- (i32.const 0)
- )
- )
- (block $do-once99
- (set_local $9
- (select
- (get_local $9)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
(i32.add
- (get_local $12)
- (i32.const 4)
+ (get_local $5)
+ (i32.const 9)
)
- (get_local $24)
+ (i32.const 9)
+ (i32.const 0)
)
)
- (if
- (i32.gt_s
- (get_local $5)
- (i32.const -1)
- )
- (block
- (set_local $18
- (i32.eqz
- (get_local $21)
+ (block $do-once99
+ (set_local $9
+ (select
+ (get_local $9)
+ (i32.add
+ (get_local $12)
+ (i32.const 4)
)
+ (get_local $24)
)
- (set_local $6
- (get_local $12)
- )
- (set_local $7
+ )
+ (if
+ (i32.gt_s
(get_local $5)
+ (i32.const -1)
)
- (loop $while-in114
- (if
- (i32.eq
- (tee_local $5
- (call $_fmt_u
- (i32.load
- (get_local $6)
- )
- (i32.const 0)
- (get_local $29)
- )
- )
- (get_local $29)
- )
- (block
- (i32.store8
- (get_local $33)
- (i32.const 48)
- )
- (set_local $5
- (get_local $33)
- )
+ (block
+ (set_local $18
+ (i32.eqz
+ (get_local $21)
)
)
- (block $do-once115
+ (set_local $6
+ (get_local $12)
+ )
+ (set_local $7
+ (get_local $5)
+ )
+ (loop $while-in114
(if
(i32.eq
- (get_local $6)
- (get_local $12)
+ (tee_local $5
+ (call $_fmt_u
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 0)
+ (get_local $29)
+ )
+ )
+ (get_local $29)
)
(block
- (if
- (i32.eqz
+ (i32.store8
+ (get_local $33)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $33)
+ )
+ )
+ )
+ (block $do-once115
+ (if
+ (i32.eq
+ (get_local $6)
+ (get_local $12)
+ )
+ (block
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (i32.const 1)
+ (get_local $0)
+ )
+ )
+ )
+ (set_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
+ )
+ (br_if $do-once115
+ (i32.and
+ (get_local $18)
+ (i32.lt_s
+ (get_local $7)
+ (i32.const 1)
+ )
+ )
+ )
+ (br_if $do-once115
(i32.and
(i32.load
(get_local $0)
@@ -5963,642 +5998,606 @@
)
(drop
(call $___fwritex
- (get_local $5)
+ (i32.const 4143)
(i32.const 1)
(get_local $0)
)
)
)
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 1)
- )
- )
- (br_if $do-once115
- (i32.and
- (get_local $18)
- (i32.lt_s
- (get_local $7)
- (i32.const 1)
+ (block
+ (br_if $do-once115
+ (i32.le_u
+ (get_local $5)
+ (get_local $22)
)
)
- )
- (br_if $do-once115
- (i32.and
- (i32.load
- (get_local $0)
+ (loop $while-in118
+ (i32.store8
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
+ )
+ (i32.const 48)
)
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (i32.const 4143)
- (i32.const 1)
- (get_local $0)
- )
- )
- )
- (block
- (br_if $do-once115
- (i32.le_u
- (get_local $5)
- (get_local $22)
- )
- )
- (loop $while-in118
- (i32.store8
- (tee_local $5
- (i32.add
+ (br_if $while-in118
+ (i32.gt_u
(get_local $5)
- (i32.const -1)
+ (get_local $22)
)
)
- (i32.const 48)
- )
- (br_if $while-in118
- (i32.gt_u
- (get_local $5)
- (get_local $22)
- )
)
)
)
)
- )
- (set_local $8
- (i32.sub
- (get_local $43)
- (get_local $5)
+ (set_local $8
+ (i32.sub
+ (get_local $43)
+ (get_local $5)
+ )
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $5)
- (select
- (get_local $8)
- (get_local $7)
- (i32.gt_s
- (get_local $7)
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (select
(get_local $8)
+ (get_local $7)
+ (i32.gt_s
+ (get_local $7)
+ (get_local $8)
+ )
)
+ (get_local $0)
)
- (get_local $0)
)
)
- )
- (br_if $while-in114
- (i32.and
- (i32.lt_u
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (br_if $while-in114
+ (i32.and
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
)
+ (get_local $9)
)
- (get_local $9)
- )
- (i32.gt_s
- (tee_local $7
- (i32.sub
- (get_local $7)
- (get_local $8)
+ (i32.gt_s
+ (tee_local $7
+ (i32.sub
+ (get_local $7)
+ (get_local $8)
+ )
)
+ (i32.const -1)
)
- (i32.const -1)
)
)
)
- )
- (set_local $5
- (get_local $7)
+ (set_local $5
+ (get_local $7)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.add
- (get_local $5)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (i32.add
+ (get_local $5)
+ (i32.const 18)
+ )
(i32.const 18)
+ (i32.const 0)
)
- (i32.const 18)
- (i32.const 0)
- )
- (br_if $do-once99
- (i32.and
- (i32.load
- (get_local $0)
+ (br_if $do-once99
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $19)
- (i32.sub
- (get_local $27)
+ (drop
+ (call $___fwritex
(get_local $19)
+ (i32.sub
+ (get_local $27)
+ (get_local $19)
+ )
+ (get_local $0)
)
- (get_local $0)
)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $13)
- (i32.xor
- (get_local $11)
- (i32.const 8192)
- )
- )
- (select
- (get_local $15)
- (get_local $13)
- (i32.lt_s
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
(get_local $13)
+ (i32.xor
+ (get_local $11)
+ (i32.const 8192)
+ )
+ )
+ (select
(get_local $15)
+ (get_local $13)
+ (i32.lt_s
+ (get_local $13)
+ (get_local $15)
+ )
)
)
- )
- (block (result i32)
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (tee_local $7
- (i32.add
- (tee_local $9
- (select
- (i32.const 0)
- (get_local $26)
- (tee_local $6
- (f64.ne
- (get_local $16)
- (get_local $16)
+ (block (result i32)
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $7
+ (i32.add
+ (tee_local $9
+ (select
+ (i32.const 0)
+ (get_local $26)
+ (tee_local $6
+ (f64.ne
+ (get_local $16)
+ (get_local $16)
+ )
)
)
)
+ (i32.const 3)
)
- (i32.const 3)
)
+ (get_local $8)
)
- (get_local $8)
- )
- (if
- (i32.eqz
- (i32.and
- (tee_local $5
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $5
+ (i32.load
+ (get_local $0)
+ )
)
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (block
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $9)
- (get_local $0)
+ (block
+ (drop
+ (call $___fwritex
+ (get_local $30)
+ (get_local $9)
+ (get_local $0)
+ )
)
- )
- (set_local $5
- (i32.load
- (get_local $0)
+ (set_local $5
+ (i32.load
+ (get_local $0)
+ )
)
)
)
- )
- (set_local $6
- (select
+ (set_local $6
(select
- (i32.const 4135)
- (i32.const 4139)
- (tee_local $8
- (i32.ne
- (i32.and
- (get_local $19)
- (i32.const 32)
+ (select
+ (i32.const 4135)
+ (i32.const 4139)
+ (tee_local $8
+ (i32.ne
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
+ )
+ (i32.const 0)
)
- (i32.const 0)
)
)
+ (select
+ (i32.const 4127)
+ (i32.const 4131)
+ (get_local $8)
+ )
+ (get_local $6)
)
- (select
- (i32.const 4127)
- (i32.const 4131)
- (get_local $8)
- )
- (get_local $6)
)
- )
- (if
- (i32.eqz
- (i32.and
- (get_local $5)
- (i32.const 32)
+ (if
+ (i32.eqz
+ (i32.and
+ (get_local $5)
+ (i32.const 32)
+ )
)
- )
- (drop
- (call $___fwritex
- (get_local $6)
- (i32.const 3)
- (get_local $0)
+ (drop
+ (call $___fwritex
+ (get_local $6)
+ (i32.const 3)
+ (get_local $0)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $7)
- (i32.xor
- (get_local $11)
- (i32.const 8192)
- )
- )
- (select
- (get_local $15)
- (get_local $7)
- (i32.lt_s
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
(get_local $7)
+ (i32.xor
+ (get_local $11)
+ (i32.const 8192)
+ )
+ )
+ (select
(get_local $15)
+ (get_local $7)
+ (i32.lt_s
+ (get_local $7)
+ (get_local $15)
+ )
)
)
)
)
+ (set_local $5
+ (get_local $10)
+ )
+ (set_local $10
+ (get_local $7)
+ )
+ (br $label$continue$L1)
)
- (set_local $5
- (get_local $10)
+ (set_local $12
+ (get_local $6)
)
- (set_local $10
- (get_local $7)
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
+ )
+ (br $__rjto$8
+ (get_local $25)
)
- (br $label$continue$L1)
- )
- (set_local $12
- (get_local $6)
- )
- (set_local $8
- (i32.const 0)
)
(set_local $9
- (i32.const 4091)
- )
- (br $__rjto$8
- (get_local $25)
- )
- )
- (set_local $9
- (i32.and
- (get_local $19)
- (i32.const 32)
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
+ )
)
- )
- (if
- (i32.or
- (tee_local $7
- (i32.load
- (get_local $14)
+ (if
+ (i32.or
+ (tee_local $7
+ (i32.load
+ (get_local $14)
+ )
)
- )
- (tee_local $11
- (i32.load offset=4
- (get_local $14)
+ (tee_local $11
+ (i32.load offset=4
+ (get_local $14)
+ )
)
)
- )
- (block
- (set_local $8
- (get_local $25)
- )
- (loop $while-in123
- (i32.store8
- (tee_local $8
- (i32.add
- (get_local $8)
- (i32.const -1)
- )
- )
- (i32.or
- (i32.load8_u
+ (block
+ (set_local $8
+ (get_local $25)
+ )
+ (loop $while-in123
+ (i32.store8
+ (tee_local $8
(i32.add
- (i32.and
- (get_local $7)
- (i32.const 15)
+ (get_local $8)
+ (i32.const -1)
+ )
+ )
+ (i32.or
+ (i32.load8_u
+ (i32.add
+ (i32.and
+ (get_local $7)
+ (i32.const 15)
+ )
+ (i32.const 4075)
)
- (i32.const 4075)
)
+ (get_local $9)
)
- (get_local $9)
)
- )
- (br_if $while-in123
- (i32.or
- (tee_local $7
- (call $_bitshift64Lshr
- (get_local $7)
- (get_local $11)
- (i32.const 4)
+ (br_if $while-in123
+ (i32.or
+ (tee_local $7
+ (call $_bitshift64Lshr
+ (get_local $7)
+ (get_local $11)
+ (i32.const 4)
+ )
+ )
+ (tee_local $11
+ (get_global $tempRet0)
)
- )
- (tee_local $11
- (get_global $tempRet0)
)
)
)
- )
- (set_local $7
- (get_local $8)
- )
- (set_local $8
- (if (result i32)
- (i32.or
- (i32.eqz
- (i32.and
- (get_local $5)
- (i32.const 8)
- )
- )
- (i32.eqz
- (i32.or
- (i32.load
- (get_local $14)
+ (set_local $7
+ (get_local $8)
+ )
+ (set_local $8
+ (if (result i32)
+ (i32.or
+ (i32.eqz
+ (i32.and
+ (get_local $5)
+ (i32.const 8)
)
- (i32.load offset=4
- (get_local $14)
+ )
+ (i32.eqz
+ (i32.or
+ (i32.load
+ (get_local $14)
+ )
+ (i32.load offset=4
+ (get_local $14)
+ )
)
)
)
- )
- (block (result i32)
- (set_local $9
- (i32.const 4091)
+ (block (result i32)
+ (set_local $9
+ (i32.const 4091)
+ )
+ (i32.const 0)
)
- (i32.const 0)
- )
- (block (result i32)
- (set_local $9
- (i32.add
- (i32.shr_s
- (get_local $19)
- (i32.const 4)
+ (block (result i32)
+ (set_local $9
+ (i32.add
+ (i32.shr_s
+ (get_local $19)
+ (i32.const 4)
+ )
+ (i32.const 4091)
)
- (i32.const 4091)
)
+ (i32.const 2)
)
- (i32.const 2)
)
)
)
- )
- (block
- (set_local $7
- (get_local $25)
- )
- (set_local $8
- (i32.const 0)
- )
- (set_local $9
- (i32.const 4091)
+ (block
+ (set_local $7
+ (get_local $25)
+ )
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
+ )
)
)
+ (br $__rjti$8)
+ )
+ (set_local $7
+ (call $_fmt_u
+ (get_local $5)
+ (get_local $7)
+ (get_local $25)
+ )
+ )
+ (set_local $5
+ (get_local $11)
)
(br $__rjti$8)
)
- (set_local $7
- (call $_fmt_u
- (get_local $5)
- (get_local $7)
- (get_local $25)
+ (set_local $19
+ (i32.eqz
+ (tee_local $13
+ (call $_memchr
+ (get_local $7)
+ (get_local $6)
+ )
+ )
)
)
- (set_local $5
- (get_local $11)
+ (set_local $11
+ (get_local $8)
)
- (br $__rjti$8)
- )
- (set_local $19
- (i32.eqz
- (tee_local $13
- (call $_memchr
- (get_local $7)
- (get_local $6)
+ (set_local $12
+ (select
+ (get_local $6)
+ (i32.sub
+ (get_local $13)
+ (tee_local $5
+ (get_local $7)
+ )
)
+ (get_local $19)
)
)
- )
- (set_local $11
- (get_local $8)
- )
- (set_local $12
- (select
- (get_local $6)
- (i32.sub
- (get_local $13)
- (tee_local $5
- (get_local $7)
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
+ )
+ (br $__rjto$8
+ (select
+ (i32.add
+ (get_local $5)
+ (get_local $6)
)
+ (get_local $13)
+ (get_local $19)
)
- (get_local $19)
)
)
- (set_local $8
+ (set_local $5
(i32.const 0)
)
- (set_local $9
- (i32.const 4091)
+ (set_local $7
+ (i32.const 0)
)
- (br $__rjto$8
- (select
- (i32.add
- (get_local $5)
- (get_local $6)
- )
- (get_local $13)
- (get_local $19)
+ (set_local $6
+ (i32.load
+ (get_local $14)
)
)
- )
- (set_local $5
- (i32.const 0)
- )
- (set_local $7
- (i32.const 0)
- )
- (set_local $6
- (i32.load
- (get_local $14)
- )
- )
- (loop $while-in125
- (block $while-out124
- (br_if $while-out124
- (i32.eqz
- (tee_local $9
- (i32.load
- (get_local $6)
+ (loop $while-in125
+ (block $while-out124
+ (br_if $while-out124
+ (i32.eqz
+ (tee_local $9
+ (i32.load
+ (get_local $6)
+ )
)
)
)
- )
- (br_if $while-out124
- (i32.or
- (i32.lt_s
- (tee_local $7
- (call $_wctomb
- (get_local $35)
- (get_local $9)
+ (br_if $while-out124
+ (i32.or
+ (i32.lt_s
+ (tee_local $7
+ (call $_wctomb
+ (get_local $35)
+ (get_local $9)
+ )
)
+ (i32.const 0)
)
- (i32.const 0)
- )
- (i32.gt_u
- (get_local $7)
- (i32.sub
- (get_local $8)
- (get_local $5)
+ (i32.gt_u
+ (get_local $7)
+ (i32.sub
+ (get_local $8)
+ (get_local $5)
+ )
)
)
)
- )
- (set_local $6
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (set_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
)
- )
- (br_if $while-in125
- (i32.gt_u
- (get_local $8)
- (tee_local $5
- (i32.add
- (get_local $7)
- (get_local $5)
+ (br_if $while-in125
+ (i32.gt_u
+ (get_local $8)
+ (tee_local $5
+ (i32.add
+ (get_local $7)
+ (get_local $5)
+ )
)
)
)
)
)
- )
- (if
- (i32.lt_s
- (get_local $7)
- (i32.const 0)
- )
- (block
- (set_local $17
- (i32.const -1)
- )
- (br $label$break$L1)
- )
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $5)
- (get_local $11)
- )
- (if (result i32)
- (get_local $5)
- (block (result i32)
- (set_local $6
+ (if
+ (i32.lt_s
+ (get_local $7)
(i32.const 0)
)
- (set_local $7
- (i32.load
- (get_local $14)
+ (block
+ (set_local $17
+ (i32.const -1)
)
+ (br $label$break$L1)
)
- (loop $while-in127
- (drop
- (br_if $__rjti$7
- (get_local $5)
- (i32.eqz
- (tee_local $8
- (i32.load
- (get_local $7)
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (get_local $5)
+ (get_local $11)
+ )
+ (if (result i32)
+ (get_local $5)
+ (block (result i32)
+ (set_local $6
+ (i32.const 0)
+ )
+ (set_local $7
+ (i32.load
+ (get_local $14)
+ )
+ )
+ (loop $while-in127
+ (drop
+ (br_if $__rjti$7
+ (get_local $5)
+ (i32.eqz
+ (tee_local $8
+ (i32.load
+ (get_local $7)
+ )
)
)
)
)
- )
- (drop
- (br_if $__rjti$7
- (get_local $5)
- (i32.gt_s
- (tee_local $6
- (i32.add
- (tee_local $8
- (call $_wctomb
- (get_local $35)
- (get_local $8)
+ (drop
+ (br_if $__rjti$7
+ (get_local $5)
+ (i32.gt_s
+ (tee_local $6
+ (i32.add
+ (tee_local $8
+ (call $_wctomb
+ (get_local $35)
+ (get_local $8)
+ )
)
+ (get_local $6)
)
- (get_local $6)
)
+ (get_local $5)
)
- (get_local $5)
)
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $35)
+ (get_local $8)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $35)
- (get_local $8)
- (get_local $0)
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
)
)
- )
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
- )
- (br_if $while-in127
- (i32.lt_u
- (get_local $6)
- (get_local $5)
+ (br_if $while-in127
+ (i32.lt_u
+ (get_local $6)
+ (get_local $5)
+ )
)
)
+ (get_local $5)
)
- (get_local $5)
+ (i32.const 0)
)
- (i32.const 0)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $7)
(i32.xor
(get_local $11)
(i32.const 8192)
diff --git a/test/emcc_hello_world.fromasm.clamp b/test/emcc_hello_world.fromasm.clamp
index 91f1fedd4..4b46f897c 100644
--- a/test/emcc_hello_world.fromasm.clamp
+++ b/test/emcc_hello_world.fromasm.clamp
@@ -3352,68 +3352,86 @@
(set_local $7
(block $__rjto$8 (result i32)
(block $__rjti$8
- (set_local $7
- (block $__rjti$7 (result i32)
- (block $__rjti$6
- (block $__rjti$5
- (block $__rjti$4
- (block $__rjti$3
- (block $switch-default120
- (block $switch-case119
- (block $switch-case41
- (block $switch-case40
- (block $switch-case39
- (block $switch-case38
- (block $switch-case37
- (block $switch-case36
- (block $switch-case35
- (block $switch-case33
- (block $switch-case30
- (block $switch-case28
- (block $switch-case27
- (br_table $switch-case119 $switch-default120 $switch-case40 $switch-default120 $switch-case119 $switch-case119 $switch-case119 $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-case30 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case119 $switch-default120 $switch-case37 $switch-case35 $switch-case119 $switch-case119 $switch-case119 $switch-default120 $switch-case35 $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-case30 $switch-default120
- (i32.sub
- (tee_local $19
- (select
- (i32.and
- (tee_local $12
- (i32.load8_s
- (get_local $19)
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $7
+ (block $__rjti$7 (result i32)
+ (block $__rjti$6
+ (block $__rjti$5
+ (block $__rjti$4
+ (block $__rjti$3
+ (block $switch-default120
+ (block $switch-case119
+ (block $switch-case41
+ (block $switch-case40
+ (block $switch-case39
+ (block $switch-case38
+ (block $switch-case37
+ (block $switch-case36
+ (block $switch-case35
+ (block $switch-case33
+ (block $switch-case30
+ (block $switch-case28
+ (block $switch-case27
+ (br_table $switch-case119 $switch-default120 $switch-case40 $switch-default120 $switch-case119 $switch-case119 $switch-case119 $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-case30 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case119 $switch-default120 $switch-case37 $switch-case35 $switch-case119 $switch-case119 $switch-case119 $switch-default120 $switch-case35 $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-case30 $switch-default120
+ (i32.sub
+ (tee_local $19
+ (select
+ (i32.and
+ (tee_local $12
+ (i32.load8_s
+ (get_local $19)
+ )
)
+ (i32.const -33)
)
- (i32.const -33)
- )
- (get_local $12)
- (i32.and
- (i32.ne
- (get_local $9)
- (i32.const 0)
- )
- (i32.eq
- (i32.and
- (get_local $12)
- (i32.const 15)
+ (get_local $12)
+ (i32.and
+ (i32.ne
+ (get_local $9)
+ (i32.const 0)
+ )
+ (i32.eq
+ (i32.and
+ (get_local $12)
+ (i32.const 15)
+ )
+ (i32.const 3)
)
- (i32.const 3)
)
)
)
+ (i32.const 65)
)
- (i32.const 65)
)
)
- )
- (block $switch-default26
- (block $switch-case25
- (block $switch-case24
- (block $switch-case23
- (block $switch-case22
- (block $switch-case21
- (block $switch-case20
- (block $switch-case19
- (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26
- (get_local $9)
+ (block $switch-default26
+ (block $switch-case25
+ (block $switch-case24
+ (block $switch-case23
+ (block $switch-case22
+ (block $switch-case21
+ (block $switch-case20
+ (block $switch-case19
+ (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26
+ (get_local $9)
+ )
+ )
+ (i32.store
+ (i32.load
+ (get_local $14)
+ )
+ (get_local $17)
)
+ (set_local $5
+ (get_local $10)
+ )
+ (set_local $10
+ (get_local $7)
+ )
+ (br $label$continue$L1)
)
(i32.store
(i32.load
@@ -3430,11 +3448,26 @@
(br $label$continue$L1)
)
(i32.store
- (i32.load
- (get_local $14)
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
(get_local $17)
)
+ (i32.store offset=4
+ (get_local $5)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $17)
+ (i32.const 0)
+ )
+ (i32.const 31)
+ )
+ (i32.const 31)
+ )
+ )
(set_local $5
(get_local $10)
)
@@ -3443,27 +3476,12 @@
)
(br $label$continue$L1)
)
- (i32.store
- (tee_local $5
- (i32.load
- (get_local $14)
- )
+ (i32.store16
+ (i32.load
+ (get_local $14)
)
(get_local $17)
)
- (i32.store offset=4
- (get_local $5)
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $17)
- (i32.const 0)
- )
- (i32.const 31)
- )
- (i32.const 31)
- )
- )
(set_local $5
(get_local $10)
)
@@ -3472,7 +3490,7 @@
)
(br $label$continue$L1)
)
- (i32.store16
+ (i32.store8
(i32.load
(get_local $14)
)
@@ -3486,7 +3504,7 @@
)
(br $label$continue$L1)
)
- (i32.store8
+ (i32.store
(i32.load
(get_local $14)
)
@@ -3501,11 +3519,26 @@
(br $label$continue$L1)
)
(i32.store
- (i32.load
- (get_local $14)
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
(get_local $17)
)
+ (i32.store offset=4
+ (get_local $5)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $17)
+ (i32.const 0)
+ )
+ (i32.const 31)
+ )
+ (i32.const 31)
+ )
+ )
(set_local $5
(get_local $10)
)
@@ -3514,27 +3547,6 @@
)
(br $label$continue$L1)
)
- (i32.store
- (tee_local $5
- (i32.load
- (get_local $14)
- )
- )
- (get_local $17)
- )
- (i32.store offset=4
- (get_local $5)
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $17)
- (i32.const 0)
- )
- (i32.const 31)
- )
- (i32.const 31)
- )
- )
(set_local $5
(get_local $10)
)
@@ -3544,1188 +3556,1208 @@
(br $label$continue$L1)
)
(set_local $5
- (get_local $10)
- )
- (set_local $10
- (get_local $7)
- )
- (br $label$continue$L1)
- )
- (set_local $5
- (i32.or
- (get_local $11)
- (i32.const 8)
+ (i32.or
+ (get_local $11)
+ (i32.const 8)
+ )
)
- )
- (set_local $6
- (select
- (get_local $6)
- (i32.const 8)
- (i32.gt_u
+ (set_local $6
+ (select
(get_local $6)
(i32.const 8)
+ (i32.gt_u
+ (get_local $6)
+ (i32.const 8)
+ )
)
)
+ (set_local $19
+ (i32.const 120)
+ )
+ (br $__rjti$3)
)
- (set_local $19
- (i32.const 120)
+ (set_local $5
+ (get_local $11)
)
(br $__rjti$3)
)
- (set_local $5
- (get_local $11)
- )
- (br $__rjti$3)
- )
- (if
- (i32.or
- (tee_local $5
- (i32.load
- (get_local $14)
+ (if
+ (i32.or
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
- )
- (tee_local $7
- (i32.load offset=4
- (get_local $14)
+ (tee_local $7
+ (i32.load offset=4
+ (get_local $14)
+ )
)
)
- )
- (block
- (set_local $8
- (get_local $25)
- )
- (loop $while-in32
- (i32.store8
- (tee_local $8
- (i32.add
- (get_local $8)
- (i32.const -1)
- )
- )
- (i32.or
- (i32.and
- (get_local $5)
- (i32.const 7)
- )
- (i32.const 48)
- )
+ (block
+ (set_local $8
+ (get_local $25)
)
- (br_if $while-in32
- (i32.or
- (tee_local $5
- (call $_bitshift64Lshr
+ (loop $while-in32
+ (i32.store8
+ (tee_local $8
+ (i32.add
+ (get_local $8)
+ (i32.const -1)
+ )
+ )
+ (i32.or
+ (i32.and
(get_local $5)
- (get_local $7)
- (i32.const 3)
+ (i32.const 7)
)
+ (i32.const 48)
)
- (tee_local $7
- (get_global $tempRet0)
+ )
+ (br_if $while-in32
+ (i32.or
+ (tee_local $5
+ (call $_bitshift64Lshr
+ (get_local $5)
+ (get_local $7)
+ (i32.const 3)
+ )
+ )
+ (tee_local $7
+ (get_global $tempRet0)
+ )
)
)
)
)
+ (set_local $8
+ (get_local $25)
+ )
)
- (set_local $8
- (get_local $25)
- )
- )
- (if
- (i32.and
- (get_local $11)
- (i32.const 8)
- )
- (block
- (set_local $5
+ (if
+ (i32.and
(get_local $11)
+ (i32.const 8)
)
- (set_local $6
- (select
- (tee_local $11
- (i32.add
- (i32.sub
- (get_local $39)
- (tee_local $7
- (get_local $8)
+ (block
+ (set_local $5
+ (get_local $11)
+ )
+ (set_local $6
+ (select
+ (tee_local $11
+ (i32.add
+ (i32.sub
+ (get_local $39)
+ (tee_local $7
+ (get_local $8)
+ )
)
+ (i32.const 1)
)
- (i32.const 1)
)
- )
- (get_local $6)
- (i32.lt_s
(get_local $6)
- (get_local $11)
+ (i32.lt_s
+ (get_local $6)
+ (get_local $11)
+ )
)
)
)
- )
- (block
- (set_local $7
- (get_local $8)
- )
- (set_local $5
- (get_local $11)
- )
- )
- )
- (set_local $8
- (i32.const 0)
- )
- (set_local $9
- (i32.const 4091)
- )
- (br $__rjti$8)
- )
- (set_local $5
- (i32.load
- (get_local $14)
- )
- )
- (if
- (i32.lt_s
- (tee_local $7
- (i32.load offset=4
- (get_local $14)
- )
- )
- (i32.const 0)
- )
- (block
- (i32.store
- (get_local $14)
- (tee_local $5
- (call $_i64Subtract
- (i32.const 0)
- (i32.const 0)
- (get_local $5)
- (get_local $7)
+ (block
+ (set_local $7
+ (get_local $8)
+ )
+ (set_local $5
+ (get_local $11)
)
- )
- )
- (i32.store offset=4
- (get_local $14)
- (tee_local $7
- (get_global $tempRet0)
)
)
(set_local $8
- (i32.const 1)
+ (i32.const 0)
)
(set_local $9
(i32.const 4091)
)
- (br $__rjti$4)
+ (br $__rjti$8)
)
- )
- (set_local $9
- (if (result i32)
- (i32.and
- (get_local $11)
- (i32.const 2048)
+ (set_local $5
+ (i32.load
+ (get_local $14)
)
- (block (result i32)
- (set_local $8
- (i32.const 1)
+ )
+ (if
+ (i32.lt_s
+ (tee_local $7
+ (i32.load offset=4
+ (get_local $14)
+ )
)
- (i32.const 4092)
+ (i32.const 0)
)
- (block (result i32)
- (set_local $8
- (tee_local $9
- (i32.and
- (get_local $11)
- (i32.const 1)
+ (block
+ (i32.store
+ (get_local $14)
+ (tee_local $5
+ (call $_i64Subtract
+ (i32.const 0)
+ (i32.const 0)
+ (get_local $5)
+ (get_local $7)
)
)
)
- (select
- (i32.const 4093)
+ (i32.store offset=4
+ (get_local $14)
+ (tee_local $7
+ (get_global $tempRet0)
+ )
+ )
+ (set_local $8
+ (i32.const 1)
+ )
+ (set_local $9
(i32.const 4091)
- (get_local $9)
)
+ (br $__rjti$4)
)
)
+ (set_local $9
+ (if (result i32)
+ (i32.and
+ (get_local $11)
+ (i32.const 2048)
+ )
+ (block (result i32)
+ (set_local $8
+ (i32.const 1)
+ )
+ (i32.const 4092)
+ )
+ (block (result i32)
+ (set_local $8
+ (tee_local $9
+ (i32.and
+ (get_local $11)
+ (i32.const 1)
+ )
+ )
+ )
+ (select
+ (i32.const 4093)
+ (i32.const 4091)
+ (get_local $9)
+ )
+ )
+ )
+ )
+ (br $__rjti$4)
+ )
+ (set_local $5
+ (i32.load
+ (get_local $14)
+ )
+ )
+ (set_local $7
+ (i32.load offset=4
+ (get_local $14)
+ )
+ )
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
)
(br $__rjti$4)
)
- (set_local $5
- (i32.load
+ (drop
+ (i32.load offset=4
(get_local $14)
)
)
- (set_local $7
- (i32.load offset=4
+ (i32.store8
+ (get_local $40)
+ (i32.load
(get_local $14)
)
)
+ (set_local $5
+ (get_local $40)
+ )
+ (set_local $11
+ (get_local $8)
+ )
+ (set_local $12
+ (i32.const 1)
+ )
(set_local $8
(i32.const 0)
)
(set_local $9
(i32.const 4091)
)
- (br $__rjti$4)
- )
- (drop
- (i32.load offset=4
- (get_local $14)
+ (br $__rjto$8
+ (get_local $25)
)
)
- (i32.store8
- (get_local $40)
- (i32.load
- (get_local $14)
+ (set_local $7
+ (call $_strerror
+ (i32.load
+ (call $___errno_location)
+ )
)
)
- (set_local $5
- (get_local $40)
- )
- (set_local $11
- (get_local $8)
- )
- (set_local $12
- (i32.const 1)
- )
- (set_local $8
- (i32.const 0)
- )
- (set_local $9
- (i32.const 4091)
- )
- (br $__rjto$8
- (get_local $25)
- )
+ (br $__rjti$5)
)
(set_local $7
- (call $_strerror
- (i32.load
- (call $___errno_location)
+ (select
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
+ (i32.const 4101)
+ (get_local $5)
)
)
(br $__rjti$5)
)
- (set_local $7
- (select
- (tee_local $5
- (i32.load
- (get_local $14)
- )
- )
- (i32.const 4101)
- (get_local $5)
+ (drop
+ (i32.load offset=4
+ (get_local $14)
)
)
- (br $__rjti$5)
- )
- (drop
- (i32.load offset=4
- (get_local $14)
+ (i32.store
+ (get_local $41)
+ (i32.load
+ (get_local $14)
+ )
)
- )
- (i32.store
- (get_local $41)
- (i32.load
+ (i32.store
+ (get_local $44)
+ (i32.const 0)
+ )
+ (i32.store
(get_local $14)
+ (get_local $41)
)
- )
- (i32.store
- (get_local $44)
- (i32.const 0)
- )
- (i32.store
- (get_local $14)
- (get_local $41)
- )
- (set_local $8
- (i32.const -1)
- )
- (br $__rjti$6)
- )
- (if
- (get_local $6)
- (block
(set_local $8
- (get_local $6)
+ (i32.const -1)
)
(br $__rjti$6)
)
- (block
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (i32.const 0)
- (get_local $11)
+ (if
+ (get_local $6)
+ (block
+ (set_local $8
+ (get_local $6)
+ )
+ (br $__rjti$6)
)
- (br $__rjti$7
- (i32.const 0)
+ (block
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (i32.const 0)
+ (get_local $11)
+ )
+ (br $__rjti$7
+ (i32.const 0)
+ )
)
)
)
- )
- (set_local $16
- (f64.load
- (get_local $14)
+ (set_local $16
+ (f64.load
+ (get_local $14)
+ )
)
- )
- (i32.store
- (get_local $20)
- (i32.const 0)
- )
- (f64.store
- (get_global $tempDoublePtr)
- (get_local $16)
- )
- (drop
- (i32.load
+ (i32.store
+ (get_local $20)
+ (i32.const 0)
+ )
+ (f64.store
(get_global $tempDoublePtr)
+ (get_local $16)
)
- )
- (set_local $30
- (if (result i32)
- (i32.lt_s
- (i32.load offset=4
- (get_global $tempDoublePtr)
- )
- (i32.const 0)
- )
- (block (result i32)
- (set_local $26
- (i32.const 1)
- )
- (set_local $16
- (f64.neg
- (get_local $16)
- )
- )
- (i32.const 4108)
+ (drop
+ (i32.load
+ (get_global $tempDoublePtr)
)
+ )
+ (set_local $30
(if (result i32)
- (i32.and
- (get_local $11)
- (i32.const 2048)
+ (i32.lt_s
+ (i32.load offset=4
+ (get_global $tempDoublePtr)
+ )
+ (i32.const 0)
)
(block (result i32)
(set_local $26
(i32.const 1)
)
- (i32.const 4111)
+ (set_local $16
+ (f64.neg
+ (get_local $16)
+ )
+ )
+ (i32.const 4108)
)
- (block (result i32)
- (set_local $26
- (tee_local $5
- (i32.and
- (get_local $11)
- (i32.const 1)
- )
+ (if (result i32)
+ (i32.and
+ (get_local $11)
+ (i32.const 2048)
+ )
+ (block (result i32)
+ (set_local $26
+ (i32.const 1)
)
+ (i32.const 4111)
)
- (select
- (i32.const 4114)
- (i32.const 4109)
- (get_local $5)
+ (block (result i32)
+ (set_local $26
+ (tee_local $5
+ (i32.and
+ (get_local $11)
+ (i32.const 1)
+ )
+ )
+ )
+ (select
+ (i32.const 4114)
+ (i32.const 4109)
+ (get_local $5)
+ )
)
)
)
)
- )
- (f64.store
- (get_global $tempDoublePtr)
- (get_local $16)
- )
- (drop
- (i32.load
+ (f64.store
(get_global $tempDoublePtr)
+ (get_local $16)
)
- )
- (set_local $7
- (if (result i32)
- (i32.lt_u
- (i32.and
- (i32.load offset=4
- (get_global $tempDoublePtr)
+ (drop
+ (i32.load
+ (get_global $tempDoublePtr)
+ )
+ )
+ (set_local $7
+ (if (result i32)
+ (i32.lt_u
+ (i32.and
+ (i32.load offset=4
+ (get_global $tempDoublePtr)
+ )
+ (i32.const 2146435072)
)
(i32.const 2146435072)
)
- (i32.const 2146435072)
- )
- (block $do-once49 (result i32)
- (if
- (tee_local $5
- (f64.ne
- (tee_local $23
- (f64.mul
- (call $_frexp
- (get_local $16)
- (get_local $20)
+ (block $do-once49 (result i32)
+ (if
+ (tee_local $5
+ (f64.ne
+ (tee_local $23
+ (f64.mul
+ (call $_frexp
+ (get_local $16)
+ (get_local $20)
+ )
+ (f64.const 2)
)
- (f64.const 2)
)
+ (f64.const 0)
)
- (f64.const 0)
)
- )
- (i32.store
- (get_local $20)
- (i32.add
- (i32.load
- (get_local $20)
- )
- (i32.const -1)
- )
- )
- )
- (if
- (i32.eq
- (tee_local $24
- (i32.or
- (get_local $19)
- (i32.const 32)
+ (i32.store
+ (get_local $20)
+ (i32.add
+ (i32.load
+ (get_local $20)
+ )
+ (i32.const -1)
)
)
- (i32.const 97)
)
- (block
- (set_local $9
- (select
- (i32.add
- (get_local $30)
- (i32.const 9)
- )
- (get_local $30)
- (tee_local $13
- (i32.and
- (get_local $19)
- (i32.const 32)
- )
+ (if
+ (i32.eq
+ (tee_local $24
+ (i32.or
+ (get_local $19)
+ (i32.const 32)
)
)
+ (i32.const 97)
)
- (set_local $16
- (if (result f64)
- (i32.or
- (i32.gt_u
- (get_local $6)
- (i32.const 11)
+ (block
+ (set_local $9
+ (select
+ (i32.add
+ (get_local $30)
+ (i32.const 9)
)
- (i32.eqz
- (tee_local $5
- (i32.sub
- (i32.const 12)
- (get_local $6)
- )
+ (get_local $30)
+ (tee_local $13
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
)
)
)
- (get_local $23)
- (block (result f64)
- (set_local $16
- (f64.const 8)
- )
- (loop $while-in54
- (set_local $16
- (f64.mul
- (get_local $16)
- (f64.const 16)
- )
+ )
+ (set_local $16
+ (if (result f64)
+ (i32.or
+ (i32.gt_u
+ (get_local $6)
+ (i32.const 11)
)
- (br_if $while-in54
+ (i32.eqz
(tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -1)
+ (i32.sub
+ (i32.const 12)
+ (get_local $6)
)
)
)
)
- (if (result f64)
- (i32.eq
- (i32.load8_s
- (get_local $9)
- )
- (i32.const 45)
+ (get_local $23)
+ (block (result f64)
+ (set_local $16
+ (f64.const 8)
)
- (f64.neg
- (f64.add
- (get_local $16)
- (f64.sub
- (f64.neg
- (get_local $23)
- )
+ (loop $while-in54
+ (set_local $16
+ (f64.mul
(get_local $16)
+ (f64.const 16)
+ )
+ )
+ (br_if $while-in54
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
)
)
)
- (f64.sub
- (f64.add
- (get_local $23)
+ (if (result f64)
+ (i32.eq
+ (i32.load8_s
+ (get_local $9)
+ )
+ (i32.const 45)
+ )
+ (f64.neg
+ (f64.add
+ (get_local $16)
+ (f64.sub
+ (f64.neg
+ (get_local $23)
+ )
+ (get_local $16)
+ )
+ )
+ )
+ (f64.sub
+ (f64.add
+ (get_local $23)
+ (get_local $16)
+ )
(get_local $16)
)
- (get_local $16)
)
)
)
)
- )
- (if
- (i32.eq
- (tee_local $5
- (call $_fmt_u
- (tee_local $5
- (select
- (i32.sub
- (i32.const 0)
- (tee_local $7
- (i32.load
- (get_local $20)
+ (if
+ (i32.eq
+ (tee_local $5
+ (call $_fmt_u
+ (tee_local $5
+ (select
+ (i32.sub
+ (i32.const 0)
+ (tee_local $7
+ (i32.load
+ (get_local $20)
+ )
)
)
- )
- (get_local $7)
- (i32.lt_s
(get_local $7)
- (i32.const 0)
+ (i32.lt_s
+ (get_local $7)
+ (i32.const 0)
+ )
)
)
- )
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ (i32.const 31)
)
(i32.const 31)
)
- (i32.const 31)
+ (get_local $32)
)
- (get_local $32)
)
+ (get_local $32)
)
- (get_local $32)
- )
- (block
- (i32.store8
- (get_local $42)
- (i32.const 48)
- )
- (set_local $5
- (get_local $42)
+ (block
+ (i32.store8
+ (get_local $42)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $42)
+ )
)
)
- )
- (set_local $12
- (i32.or
- (get_local $26)
- (i32.const 2)
- )
- )
- (i32.store8
- (i32.add
- (get_local $5)
- (i32.const -1)
- )
- (i32.add
- (i32.and
- (i32.shr_s
- (get_local $7)
- (i32.const 31)
- )
+ (set_local $12
+ (i32.or
+ (get_local $26)
(i32.const 2)
)
- (i32.const 43)
)
- )
- (i32.store8
- (tee_local $8
+ (i32.store8
(i32.add
(get_local $5)
- (i32.const -2)
+ (i32.const -1)
)
- )
- (i32.add
- (get_local $19)
- (i32.const 15)
- )
- )
- (set_local $19
- (i32.lt_s
- (get_local $6)
- (i32.const 1)
- )
- )
- (set_local $18
- (i32.eqz
- (i32.and
- (get_local $11)
- (i32.const 8)
+ (i32.add
+ (i32.and
+ (i32.shr_s
+ (get_local $7)
+ (i32.const 31)
+ )
+ (i32.const 2)
+ )
+ (i32.const 43)
)
)
- )
- (set_local $5
- (get_local $22)
- )
- (loop $while-in56
(i32.store8
- (get_local $5)
- (i32.or
- (i32.load8_u
- (i32.add
- (tee_local $7
- (call $f64-to-int
- (get_local $16)
- )
- )
- (i32.const 4075)
- )
+ (tee_local $8
+ (i32.add
+ (get_local $5)
+ (i32.const -2)
)
- (get_local $13)
+ )
+ (i32.add
+ (get_local $19)
+ (i32.const 15)
)
)
- (set_local $16
- (f64.mul
- (f64.sub
- (get_local $16)
- (f64.convert_s/i32
- (get_local $7)
- )
+ (set_local $19
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 1)
+ )
+ )
+ (set_local $18
+ (i32.eqz
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
)
- (f64.const 16)
)
)
(set_local $5
- (if (result i32)
- (i32.eq
- (i32.sub
- (tee_local $7
- (i32.add
- (get_local $5)
- (i32.const 1)
+ (get_local $22)
+ )
+ (loop $while-in56
+ (i32.store8
+ (get_local $5)
+ (i32.or
+ (i32.load8_u
+ (i32.add
+ (tee_local $7
+ (call $f64-to-int
+ (get_local $16)
+ )
)
+ (i32.const 4075)
)
- (get_local $36)
)
- (i32.const 1)
+ (get_local $13)
+ )
+ )
+ (set_local $16
+ (f64.mul
+ (f64.sub
+ (get_local $16)
+ (f64.convert_s/i32
+ (get_local $7)
+ )
+ )
+ (f64.const 16)
)
+ )
+ (set_local $5
(if (result i32)
- (i32.and
- (get_local $18)
- (i32.and
- (get_local $19)
- (f64.eq
- (get_local $16)
- (f64.const 0)
+ (i32.eq
+ (i32.sub
+ (tee_local $7
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
)
+ (get_local $36)
)
+ (i32.const 1)
)
- (get_local $7)
- (block (result i32)
- (i32.store8
- (get_local $7)
- (i32.const 46)
+ (if (result i32)
+ (i32.and
+ (get_local $18)
+ (i32.and
+ (get_local $19)
+ (f64.eq
+ (get_local $16)
+ (f64.const 0)
+ )
+ )
)
- (i32.add
- (get_local $5)
- (i32.const 2)
+ (get_local $7)
+ (block (result i32)
+ (i32.store8
+ (get_local $7)
+ (i32.const 46)
+ )
+ (i32.add
+ (get_local $5)
+ (i32.const 2)
+ )
)
)
+ (get_local $7)
)
- (get_local $7)
)
- )
- (br_if $while-in56
- (f64.ne
- (get_local $16)
- (f64.const 0)
+ (br_if $while-in56
+ (f64.ne
+ (get_local $16)
+ (f64.const 0)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (tee_local $7
- (i32.add
- (tee_local $6
- (select
- (i32.sub
- (i32.add
- (get_local $47)
- (get_local $6)
- )
- (get_local $8)
- )
- (i32.add
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $7
+ (i32.add
+ (tee_local $6
+ (select
(i32.sub
- (get_local $45)
+ (i32.add
+ (get_local $47)
+ (get_local $6)
+ )
(get_local $8)
)
- (get_local $5)
- )
- (i32.and
- (i32.ne
- (get_local $6)
- (i32.const 0)
+ (i32.add
+ (i32.sub
+ (get_local $45)
+ (get_local $8)
+ )
+ (get_local $5)
)
- (i32.lt_s
- (i32.add
- (get_local $46)
- (get_local $5)
+ (i32.and
+ (i32.ne
+ (get_local $6)
+ (i32.const 0)
+ )
+ (i32.lt_s
+ (i32.add
+ (get_local $46)
+ (get_local $5)
+ )
+ (get_local $6)
)
- (get_local $6)
)
)
)
+ (get_local $12)
)
- (get_local $12)
)
+ (get_local $11)
)
- (get_local $11)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $9)
+ (get_local $12)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $9)
- (get_local $12)
- (get_local $0)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (get_local $15)
+ (get_local $7)
+ (i32.xor
+ (get_local $11)
+ (i32.const 65536)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (get_local $15)
- (get_local $7)
- (i32.xor
- (get_local $11)
- (i32.const 65536)
- )
- )
- (set_local $5
- (i32.sub
- (get_local $5)
- (get_local $36)
+ (set_local $5
+ (i32.sub
+ (get_local $5)
+ (get_local $36)
+ )
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $22)
+ (get_local $5)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $22)
- (get_local $5)
- (get_local $0)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (i32.sub
+ (get_local $6)
+ (i32.add
+ (get_local $5)
+ (tee_local $5
+ (i32.sub
+ (get_local $27)
+ (get_local $8)
+ )
+ )
+ )
)
+ (i32.const 0)
+ (i32.const 0)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.sub
- (get_local $6)
- (i32.add
- (get_local $5)
- (tee_local $5
- (i32.sub
- (get_local $27)
- (get_local $8)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
)
+ (i32.const 32)
)
)
- )
- (i32.const 0)
- (i32.const 0)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (drop
+ (call $___fwritex
+ (get_local $8)
+ (get_local $5)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $8)
- (get_local $5)
- (get_local $0)
- )
- )
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $7)
- (i32.xor
- (get_local $11)
- (i32.const 8192)
- )
- )
- (br $do-once49
- (select
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
(get_local $15)
(get_local $7)
- (i32.lt_s
- (get_local $7)
+ (i32.xor
+ (get_local $11)
+ (i32.const 8192)
+ )
+ )
+ (br $do-once49
+ (select
(get_local $15)
+ (get_local $7)
+ (i32.lt_s
+ (get_local $7)
+ (get_local $15)
+ )
)
)
)
)
- )
- (set_local $16
- (if (result f64)
- (get_local $5)
- (block (result f64)
- (i32.store
- (get_local $20)
- (tee_local $5
- (i32.add
- (i32.load
- (get_local $20)
+ (set_local $16
+ (if (result f64)
+ (get_local $5)
+ (block (result f64)
+ (i32.store
+ (get_local $20)
+ (tee_local $5
+ (i32.add
+ (i32.load
+ (get_local $20)
+ )
+ (i32.const -28)
)
- (i32.const -28)
)
)
+ (f64.mul
+ (get_local $23)
+ (f64.const 268435456)
+ )
)
- (f64.mul
+ (block (result f64)
+ (set_local $5
+ (i32.load
+ (get_local $20)
+ )
+ )
(get_local $23)
- (f64.const 268435456)
)
)
- (block (result f64)
- (set_local $5
- (i32.load
- (get_local $20)
+ )
+ (set_local $7
+ (tee_local $8
+ (select
+ (get_local $48)
+ (get_local $49)
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
)
)
- (get_local $23)
)
)
- )
- (set_local $7
- (tee_local $8
- (select
- (get_local $48)
- (get_local $49)
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (loop $while-in60
+ (i32.store
+ (get_local $7)
+ (tee_local $5
+ (call $f64-to-uint
+ (get_local $16)
+ )
)
)
- )
- )
- (loop $while-in60
- (i32.store
- (get_local $7)
- (tee_local $5
- (call $f64-to-uint
- (get_local $16)
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
)
)
- )
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
- )
- (br_if $while-in60
- (f64.ne
- (tee_local $16
- (f64.mul
- (f64.sub
- (get_local $16)
- (f64.convert_u/i32
- (get_local $5)
+ (br_if $while-in60
+ (f64.ne
+ (tee_local $16
+ (f64.mul
+ (f64.sub
+ (get_local $16)
+ (f64.convert_u/i32
+ (get_local $5)
+ )
)
+ (f64.const 1e9)
)
- (f64.const 1e9)
)
+ (f64.const 0)
)
- (f64.const 0)
)
)
- )
- (if
- (i32.gt_s
- (tee_local $9
- (i32.load
- (get_local $20)
+ (if
+ (i32.gt_s
+ (tee_local $9
+ (i32.load
+ (get_local $20)
+ )
)
+ (i32.const 0)
)
- (i32.const 0)
- )
- (block
- (set_local $5
- (get_local $8)
- )
- (loop $while-in62
- (set_local $13
- (select
- (i32.const 29)
- (get_local $9)
- (i32.gt_s
- (get_local $9)
- (i32.const 29)
- )
- )
+ (block
+ (set_local $5
+ (get_local $8)
)
- (if
- (i32.ge_u
- (tee_local $9
- (i32.add
- (get_local $7)
- (i32.const -4)
+ (loop $while-in62
+ (set_local $13
+ (select
+ (i32.const 29)
+ (get_local $9)
+ (i32.gt_s
+ (get_local $9)
+ (i32.const 29)
)
)
- (get_local $5)
)
- (block $do-once63
- (set_local $12
- (i32.const 0)
+ (if
+ (i32.ge_u
+ (tee_local $9
+ (i32.add
+ (get_local $7)
+ (i32.const -4)
+ )
+ )
+ (get_local $5)
)
- (loop $while-in66
- (i32.store
- (get_local $9)
- (call $___uremdi3
- (tee_local $12
- (call $_i64Add
- (call $_bitshift64Shl
- (i32.load
- (get_local $9)
+ (block $do-once63
+ (set_local $12
+ (i32.const 0)
+ )
+ (loop $while-in66
+ (i32.store
+ (get_local $9)
+ (call $___uremdi3
+ (tee_local $12
+ (call $_i64Add
+ (call $_bitshift64Shl
+ (i32.load
+ (get_local $9)
+ )
+ (i32.const 0)
+ (get_local $13)
)
+ (get_global $tempRet0)
+ (get_local $12)
(i32.const 0)
- (get_local $13)
)
+ )
+ (tee_local $18
(get_global $tempRet0)
- (get_local $12)
- (i32.const 0)
)
+ (i32.const 1000000000)
)
- (tee_local $18
- (get_global $tempRet0)
+ )
+ (set_local $12
+ (call $___udivdi3
+ (get_local $12)
+ (get_local $18)
+ (i32.const 1000000000)
+ )
+ )
+ (br_if $while-in66
+ (i32.ge_u
+ (tee_local $9
+ (i32.add
+ (get_local $9)
+ (i32.const -4)
+ )
+ )
+ (get_local $5)
)
- (i32.const 1000000000)
)
)
- (set_local $12
- (call $___udivdi3
+ (br_if $do-once63
+ (i32.eqz
(get_local $12)
- (get_local $18)
- (i32.const 1000000000)
)
)
- (br_if $while-in66
- (i32.ge_u
- (tee_local $9
- (i32.add
- (get_local $9)
- (i32.const -4)
- )
+ (i32.store
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
)
- (get_local $5)
)
- )
- )
- (br_if $do-once63
- (i32.eqz
(get_local $12)
)
)
- (i32.store
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -4)
- )
- )
- (get_local $12)
- )
)
- )
- (loop $while-in68
- (if
- (i32.gt_u
- (get_local $7)
- (get_local $5)
- )
+ (loop $while-in68
(if
- (i32.eqz
- (i32.load
- (tee_local $9
- (i32.add
- (get_local $7)
- (i32.const -4)
+ (i32.gt_u
+ (get_local $7)
+ (get_local $5)
+ )
+ (if
+ (i32.eqz
+ (i32.load
+ (tee_local $9
+ (i32.add
+ (get_local $7)
+ (i32.const -4)
+ )
)
)
)
- )
- (block
- (set_local $7
- (get_local $9)
+ (block
+ (set_local $7
+ (get_local $9)
+ )
+ (br $while-in68)
)
- (br $while-in68)
)
)
)
- )
- (i32.store
- (get_local $20)
- (tee_local $9
- (i32.sub
- (i32.load
- (get_local $20)
+ (i32.store
+ (get_local $20)
+ (tee_local $9
+ (i32.sub
+ (i32.load
+ (get_local $20)
+ )
+ (get_local $13)
)
- (get_local $13)
)
)
- )
- (br_if $while-in62
- (i32.gt_s
- (get_local $9)
- (i32.const 0)
+ (br_if $while-in62
+ (i32.gt_s
+ (get_local $9)
+ (i32.const 0)
+ )
)
)
)
- )
- (set_local $5
- (get_local $8)
- )
- )
- (set_local $18
- (select
- (i32.const 6)
- (get_local $6)
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
+ (set_local $5
+ (get_local $8)
)
)
- )
- (if
- (i32.lt_s
- (get_local $9)
- (i32.const 0)
- )
- (block
- (set_local $21
- (i32.add
- (call $i32s-div
- (i32.add
- (get_local $18)
- (i32.const 25)
- )
- (i32.const 9)
- )
- (i32.const 1)
- )
- )
- (set_local $31
- (i32.eq
- (get_local $24)
- (i32.const 102)
+ (set_local $18
+ (select
+ (i32.const 6)
+ (get_local $6)
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 0)
)
)
- (set_local $6
- (get_local $5)
- )
- (set_local $5
- (get_local $7)
+ )
+ (if
+ (i32.lt_s
+ (get_local $9)
+ (i32.const 0)
)
- (loop $while-in70
- (set_local $13
- (select
- (i32.const 9)
- (tee_local $7
- (i32.sub
- (i32.const 0)
- (get_local $9)
+ (block
+ (set_local $21
+ (i32.add
+ (call $i32s-div
+ (i32.add
+ (get_local $18)
+ (i32.const 25)
)
- )
- (i32.gt_s
- (get_local $7)
(i32.const 9)
)
+ (i32.const 1)
)
)
- (if
- (i32.lt_u
- (get_local $6)
- (get_local $5)
+ (set_local $31
+ (i32.eq
+ (get_local $24)
+ (i32.const 102)
)
- (block $do-once71
- (set_local $12
- (i32.add
- (i32.shl
- (i32.const 1)
- (get_local $13)
+ )
+ (set_local $6
+ (get_local $5)
+ )
+ (set_local $5
+ (get_local $7)
+ )
+ (loop $while-in70
+ (set_local $13
+ (select
+ (i32.const 9)
+ (tee_local $7
+ (i32.sub
+ (i32.const 0)
+ (get_local $9)
)
- (i32.const -1)
)
- )
- (set_local $37
- (i32.shr_u
- (i32.const 1000000000)
- (get_local $13)
+ (i32.gt_s
+ (get_local $7)
+ (i32.const 9)
)
)
- (set_local $9
- (i32.const 0)
- )
- (set_local $7
+ )
+ (if
+ (i32.lt_u
(get_local $6)
+ (get_local $5)
)
- (loop $while-in74
- (i32.store
- (get_local $7)
+ (block $do-once71
+ (set_local $12
(i32.add
- (i32.shr_u
- (tee_local $38
- (i32.load
- (get_local $7)
- )
- )
+ (i32.shl
+ (i32.const 1)
(get_local $13)
)
- (get_local $9)
+ (i32.const -1)
+ )
+ )
+ (set_local $37
+ (i32.shr_u
+ (i32.const 1000000000)
+ (get_local $13)
)
)
(set_local $9
- (i32.mul
- (i32.and
- (get_local $38)
- (get_local $12)
+ (i32.const 0)
+ )
+ (set_local $7
+ (get_local $6)
+ )
+ (loop $while-in74
+ (i32.store
+ (get_local $7)
+ (i32.add
+ (i32.shr_u
+ (tee_local $38
+ (i32.load
+ (get_local $7)
+ )
+ )
+ (get_local $13)
+ )
+ (get_local $9)
)
- (get_local $37)
)
- )
- (br_if $while-in74
- (i32.lt_u
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
+ (set_local $9
+ (i32.mul
+ (i32.and
+ (get_local $38)
+ (get_local $12)
)
+ (get_local $37)
+ )
+ )
+ (br_if $while-in74
+ (i32.lt_u
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
+ )
+ )
+ (get_local $5)
+ )
+ )
+ )
+ (set_local $7
+ (select
+ (get_local $6)
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ (i32.load
+ (get_local $6)
)
+ )
+ )
+ (br_if $do-once71
+ (i32.eqz
+ (get_local $9)
+ )
+ )
+ (i32.store
+ (get_local $5)
+ (get_local $9)
+ )
+ (set_local $5
+ (i32.add
(get_local $5)
+ (i32.const 4)
)
)
)
@@ -4741,1139 +4773,1050 @@
)
)
)
- (br_if $do-once71
- (i32.eqz
- (get_local $9)
- )
- )
- (i32.store
- (get_local $5)
- (get_local $9)
- )
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 4)
- )
- )
)
- (set_local $7
+ (set_local $12
(select
- (get_local $6)
(i32.add
- (get_local $6)
- (i32.const 4)
- )
- (i32.load
- (get_local $6)
- )
- )
- )
- )
- (set_local $12
- (select
- (i32.add
- (tee_local $6
- (select
- (get_local $8)
- (get_local $7)
- (get_local $31)
+ (tee_local $6
+ (select
+ (get_local $8)
+ (get_local $7)
+ (get_local $31)
+ )
+ )
+ (i32.shl
+ (get_local $21)
+ (i32.const 2)
)
)
- (i32.shl
- (get_local $21)
- (i32.const 2)
- )
- )
- (get_local $5)
- (i32.gt_s
- (i32.shr_s
- (i32.sub
- (get_local $5)
- (get_local $6)
+ (get_local $5)
+ (i32.gt_s
+ (i32.shr_s
+ (i32.sub
+ (get_local $5)
+ (get_local $6)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (get_local $21)
)
- (get_local $21)
)
)
- )
- (i32.store
- (get_local $20)
- (tee_local $9
- (i32.add
- (i32.load
- (get_local $20)
+ (i32.store
+ (get_local $20)
+ (tee_local $9
+ (i32.add
+ (i32.load
+ (get_local $20)
+ )
+ (get_local $13)
)
- (get_local $13)
)
)
- )
- (set_local $5
- (if (result i32)
- (i32.lt_s
- (get_local $9)
- (i32.const 0)
- )
- (block
- (set_local $6
- (get_local $7)
+ (set_local $5
+ (if (result i32)
+ (i32.lt_s
+ (get_local $9)
+ (i32.const 0)
)
- (set_local $5
- (get_local $12)
+ (block
+ (set_local $6
+ (get_local $7)
+ )
+ (set_local $5
+ (get_local $12)
+ )
+ (br $while-in70)
)
- (br $while-in70)
- )
- (block (result i32)
- (set_local $9
- (get_local $12)
+ (block (result i32)
+ (set_local $9
+ (get_local $12)
+ )
+ (get_local $7)
)
- (get_local $7)
)
)
)
)
+ (set_local $9
+ (get_local $7)
+ )
)
- (set_local $9
- (get_local $7)
- )
- )
- (set_local $21
- (get_local $8)
- )
- (if
- (i32.lt_u
- (get_local $5)
- (get_local $9)
+ (set_local $21
+ (get_local $8)
)
- (block $do-once75
- (set_local $7
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $21)
- (get_local $5)
+ (if
+ (i32.lt_u
+ (get_local $5)
+ (get_local $9)
+ )
+ (block $do-once75
+ (set_local $7
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $21)
+ (get_local $5)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (i32.const 9)
)
- (i32.const 9)
)
- )
- (br_if $do-once75
- (i32.lt_u
- (tee_local $12
- (i32.load
- (get_local $5)
+ (br_if $do-once75
+ (i32.lt_u
+ (tee_local $12
+ (i32.load
+ (get_local $5)
+ )
)
+ (i32.const 10)
)
+ )
+ (set_local $6
(i32.const 10)
)
- )
- (set_local $6
- (i32.const 10)
- )
- (loop $while-in78
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 1)
+ (loop $while-in78
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 1)
+ )
)
- )
- (br_if $while-in78
- (i32.ge_u
- (get_local $12)
- (tee_local $6
- (i32.mul
- (get_local $6)
- (i32.const 10)
+ (br_if $while-in78
+ (i32.ge_u
+ (get_local $12)
+ (tee_local $6
+ (i32.mul
+ (get_local $6)
+ (i32.const 10)
+ )
)
)
)
)
)
+ (set_local $7
+ (i32.const 0)
+ )
)
- (set_local $7
- (i32.const 0)
- )
- )
- (set_local $5
- (if (result i32)
- (i32.lt_s
- (tee_local $6
- (i32.add
- (i32.sub
- (get_local $18)
- (select
- (get_local $7)
- (i32.const 0)
- (i32.ne
- (get_local $24)
- (i32.const 102)
+ (set_local $5
+ (if (result i32)
+ (i32.lt_s
+ (tee_local $6
+ (i32.add
+ (i32.sub
+ (get_local $18)
+ (select
+ (get_local $7)
+ (i32.const 0)
+ (i32.ne
+ (get_local $24)
+ (i32.const 102)
+ )
)
)
- )
- (i32.shr_s
- (i32.shl
- (i32.and
- (tee_local $31
- (i32.ne
- (get_local $18)
- (i32.const 0)
+ (i32.shr_s
+ (i32.shl
+ (i32.and
+ (tee_local $31
+ (i32.ne
+ (get_local $18)
+ (i32.const 0)
+ )
)
- )
- (tee_local $37
- (i32.eq
- (get_local $24)
- (i32.const 103)
+ (tee_local $37
+ (i32.eq
+ (get_local $24)
+ (i32.const 103)
+ )
)
)
+ (i32.const 31)
)
(i32.const 31)
)
- (i32.const 31)
)
)
- )
- (i32.add
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $9)
- (get_local $21)
- )
- (i32.const 2)
- )
- (i32.const 9)
- )
- (i32.const -9)
- )
- )
- (block (result i32)
- (set_local $13
- (call $i32s-div
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 9216)
+ (i32.add
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $9)
+ (get_local $21)
+ )
+ (i32.const 2)
)
+ (i32.const 9)
)
- (i32.const 9)
+ (i32.const -9)
)
)
- (if
- (i32.lt_s
- (tee_local $6
- (i32.add
- (i32.rem_s
+ (block (result i32)
+ (set_local $13
+ (call $i32s-div
+ (tee_local $6
+ (i32.add
(get_local $6)
- (i32.const 9)
+ (i32.const 9216)
)
- (i32.const 1)
)
+ (i32.const 9)
)
- (i32.const 9)
)
- (block
- (set_local $12
- (i32.const 10)
+ (if
+ (i32.lt_s
+ (tee_local $6
+ (i32.add
+ (i32.rem_s
+ (get_local $6)
+ (i32.const 9)
+ )
+ (i32.const 1)
+ )
+ )
+ (i32.const 9)
)
- (loop $while-in80
+ (block
(set_local $12
- (i32.mul
- (get_local $12)
- (i32.const 10)
- )
+ (i32.const 10)
)
- (br_if $while-in80
- (i32.ne
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 1)
+ (loop $while-in80
+ (set_local $12
+ (i32.mul
+ (get_local $12)
+ (i32.const 10)
+ )
+ )
+ (br_if $while-in80
+ (i32.ne
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 1)
+ )
)
+ (i32.const 9)
)
- (i32.const 9)
)
)
)
+ (set_local $12
+ (i32.const 10)
+ )
)
- (set_local $12
- (i32.const 10)
- )
- )
- (set_local $13
- (call $i32u-rem
- (tee_local $24
- (i32.load
- (tee_local $6
- (i32.add
+ (set_local $13
+ (call $i32u-rem
+ (tee_local $24
+ (i32.load
+ (tee_local $6
(i32.add
- (get_local $8)
- (i32.shl
- (get_local $13)
- (i32.const 2)
+ (i32.add
+ (get_local $8)
+ (i32.shl
+ (get_local $13)
+ (i32.const 2)
+ )
)
+ (i32.const -4092)
)
- (i32.const -4092)
)
)
)
+ (get_local $12)
)
- (get_local $12)
)
- )
- (if
- (i32.eqz
- (i32.and
- (tee_local $38
- (i32.eq
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $38
+ (i32.eq
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ (get_local $9)
)
- (get_local $9)
)
- )
- (i32.eqz
- (get_local $13)
+ (i32.eqz
+ (get_local $13)
+ )
)
)
- )
- (block $do-once81
- (set_local $50
- (call $i32u-div
- (get_local $24)
- (get_local $12)
+ (block $do-once81
+ (set_local $50
+ (call $i32u-div
+ (get_local $24)
+ (get_local $12)
+ )
)
- )
- (set_local $16
- (if (result f64)
- (i32.lt_u
- (get_local $13)
- (tee_local $51
- (call $i32s-div
- (get_local $12)
- (i32.const 2)
+ (set_local $16
+ (if (result f64)
+ (i32.lt_u
+ (get_local $13)
+ (tee_local $51
+ (call $i32s-div
+ (get_local $12)
+ (i32.const 2)
+ )
)
)
- )
- (f64.const 0.5)
- (select
- (f64.const 1)
- (f64.const 1.5)
- (i32.and
- (get_local $38)
- (i32.eq
- (get_local $13)
- (get_local $51)
+ (f64.const 0.5)
+ (select
+ (f64.const 1)
+ (f64.const 1.5)
+ (i32.and
+ (get_local $38)
+ (i32.eq
+ (get_local $13)
+ (get_local $51)
+ )
)
)
)
)
- )
- (set_local $23
- (select
- (f64.const 9007199254740994)
- (f64.const 9007199254740992)
- (i32.and
- (get_local $50)
- (i32.const 1)
+ (set_local $23
+ (select
+ (f64.const 9007199254740994)
+ (f64.const 9007199254740992)
+ (i32.and
+ (get_local $50)
+ (i32.const 1)
+ )
)
)
- )
- (if
- (get_local $26)
(if
- (i32.eq
- (i32.load8_s
- (get_local $30)
- )
- (i32.const 45)
- )
- (block
- (set_local $23
- (f64.neg
- (get_local $23)
+ (get_local $26)
+ (if
+ (i32.eq
+ (i32.load8_s
+ (get_local $30)
)
+ (i32.const 45)
)
- (set_local $16
- (f64.neg
- (get_local $16)
+ (block
+ (set_local $23
+ (f64.neg
+ (get_local $23)
+ )
+ )
+ (set_local $16
+ (f64.neg
+ (get_local $16)
+ )
)
)
)
)
- )
- (i32.store
- (get_local $6)
- (tee_local $13
- (i32.sub
- (get_local $24)
- (get_local $13)
+ (i32.store
+ (get_local $6)
+ (tee_local $13
+ (i32.sub
+ (get_local $24)
+ (get_local $13)
+ )
)
)
- )
- (br_if $do-once81
- (f64.eq
- (f64.add
+ (br_if $do-once81
+ (f64.eq
+ (f64.add
+ (get_local $23)
+ (get_local $16)
+ )
(get_local $23)
- (get_local $16)
)
- (get_local $23)
)
- )
- (i32.store
- (get_local $6)
- (tee_local $7
- (i32.add
- (get_local $13)
- (get_local $12)
+ (i32.store
+ (get_local $6)
+ (tee_local $7
+ (i32.add
+ (get_local $13)
+ (get_local $12)
+ )
)
)
- )
- (if
- (i32.gt_u
- (get_local $7)
- (i32.const 999999999)
- )
- (loop $while-in86
- (i32.store
- (get_local $6)
- (i32.const 0)
+ (if
+ (i32.gt_u
+ (get_local $7)
+ (i32.const 999999999)
)
- (if
- (i32.lt_u
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -4)
+ (loop $while-in86
+ (i32.store
+ (get_local $6)
+ (i32.const 0)
+ )
+ (if
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -4)
+ )
)
+ (get_local $5)
+ )
+ (i32.store
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
+ )
+ )
+ (i32.const 0)
)
- (get_local $5)
)
(i32.store
- (tee_local $5
+ (get_local $6)
+ (tee_local $7
(i32.add
- (get_local $5)
- (i32.const -4)
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 1)
)
)
- (i32.const 0)
)
- )
- (i32.store
- (get_local $6)
- (tee_local $7
- (i32.add
- (i32.load
- (get_local $6)
- )
- (i32.const 1)
+ (br_if $while-in86
+ (i32.gt_u
+ (get_local $7)
+ (i32.const 999999999)
)
)
)
- (br_if $while-in86
- (i32.gt_u
- (get_local $7)
- (i32.const 999999999)
- )
- )
)
- )
- (set_local $7
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $21)
- (get_local $5)
+ (set_local $7
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $21)
+ (get_local $5)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (i32.const 9)
)
- (i32.const 9)
)
- )
- (br_if $do-once81
- (i32.lt_u
- (tee_local $13
- (i32.load
- (get_local $5)
+ (br_if $do-once81
+ (i32.lt_u
+ (tee_local $13
+ (i32.load
+ (get_local $5)
+ )
)
+ (i32.const 10)
)
+ )
+ (set_local $12
(i32.const 10)
)
- )
- (set_local $12
- (i32.const 10)
- )
- (loop $while-in88
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 1)
+ (loop $while-in88
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 1)
+ )
)
- )
- (br_if $while-in88
- (i32.ge_u
- (get_local $13)
- (tee_local $12
- (i32.mul
- (get_local $12)
- (i32.const 10)
+ (br_if $while-in88
+ (i32.ge_u
+ (get_local $13)
+ (tee_local $12
+ (i32.mul
+ (get_local $12)
+ (i32.const 10)
+ )
)
)
)
)
)
)
- )
- (set_local $12
- (get_local $5)
- )
- (set_local $13
- (get_local $7)
- )
- (select
- (tee_local $5
- (i32.add
- (get_local $6)
- (i32.const 4)
- )
+ (set_local $12
+ (get_local $5)
)
- (get_local $9)
- (i32.gt_u
+ (set_local $13
+ (get_local $7)
+ )
+ (select
+ (tee_local $5
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ )
(get_local $9)
- (get_local $5)
+ (i32.gt_u
+ (get_local $9)
+ (get_local $5)
+ )
)
)
- )
- (block (result i32)
- (set_local $12
- (get_local $5)
- )
- (set_local $13
- (get_local $7)
+ (block (result i32)
+ (set_local $12
+ (get_local $5)
+ )
+ (set_local $13
+ (get_local $7)
+ )
+ (get_local $9)
)
- (get_local $9)
)
)
- )
- (set_local $9
- (loop $while-in90 (result i32)
- (block $while-out89 (result i32)
- (if
- (i32.le_u
- (get_local $5)
- (get_local $12)
- )
- (block
- (set_local $24
- (i32.const 0)
- )
- (br $while-out89
+ (set_local $9
+ (loop $while-in90 (result i32)
+ (block $while-out89 (result i32)
+ (if
+ (i32.le_u
(get_local $5)
+ (get_local $12)
)
- )
- )
- (if (result i32)
- (i32.load
- (tee_local $7
- (i32.add
+ (block
+ (set_local $24
+ (i32.const 0)
+ )
+ (br $while-out89
(get_local $5)
- (i32.const -4)
)
)
)
- (block (result i32)
- (set_local $24
- (i32.const 1)
+ (if (result i32)
+ (i32.load
+ (tee_local $7
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
+ )
+ )
)
- (get_local $5)
- )
- (block
- (set_local $5
- (get_local $7)
+ (block (result i32)
+ (set_local $24
+ (i32.const 1)
+ )
+ (get_local $5)
+ )
+ (block
+ (set_local $5
+ (get_local $7)
+ )
+ (br $while-in90)
)
- (br $while-in90)
)
)
)
)
- )
- (set_local $5
- (if (result i32)
- (get_local $37)
- (block $do-once91 (result i32)
- (set_local $7
- (if (result i32)
- (i32.and
- (i32.gt_s
- (tee_local $5
- (i32.add
- (i32.xor
- (get_local $31)
- (i32.const 1)
+ (set_local $5
+ (if (result i32)
+ (get_local $37)
+ (block $do-once91 (result i32)
+ (set_local $7
+ (if (result i32)
+ (i32.and
+ (i32.gt_s
+ (tee_local $5
+ (i32.add
+ (i32.xor
+ (get_local $31)
+ (i32.const 1)
+ )
+ (get_local $18)
)
- (get_local $18)
)
+ (get_local $13)
+ )
+ (i32.gt_s
+ (get_local $13)
+ (i32.const -5)
)
- (get_local $13)
)
- (i32.gt_s
- (get_local $13)
- (i32.const -5)
+ (block (result i32)
+ (set_local $18
+ (i32.sub
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
+ (get_local $13)
+ )
+ )
+ (i32.add
+ (get_local $19)
+ (i32.const -1)
+ )
)
- )
- (block (result i32)
- (set_local $18
- (i32.sub
+ (block (result i32)
+ (set_local $18
(i32.add
(get_local $5)
(i32.const -1)
)
- (get_local $13)
)
- )
- (i32.add
- (get_local $19)
- (i32.const -1)
- )
- )
- (block (result i32)
- (set_local $18
(i32.add
- (get_local $5)
- (i32.const -1)
+ (get_local $19)
+ (i32.const -2)
)
)
- (i32.add
- (get_local $19)
- (i32.const -2)
- )
- )
- )
- )
- (if
- (tee_local $5
- (i32.and
- (get_local $11)
- (i32.const 8)
)
)
- (block
- (set_local $21
- (get_local $5)
+ (if
+ (tee_local $5
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
+ )
)
- (br $do-once91
- (get_local $18)
+ (block
+ (set_local $21
+ (get_local $5)
+ )
+ (br $do-once91
+ (get_local $18)
+ )
)
)
- )
- (if
- (get_local $24)
- (block $do-once93
- (if
- (i32.eqz
- (tee_local $19
- (i32.load
- (i32.add
- (get_local $9)
- (i32.const -4)
+ (if
+ (get_local $24)
+ (block $do-once93
+ (if
+ (i32.eqz
+ (tee_local $19
+ (i32.load
+ (i32.add
+ (get_local $9)
+ (i32.const -4)
+ )
)
)
)
- )
- (block
- (set_local $5
- (i32.const 9)
- )
- (br $do-once93)
- )
- )
- (set_local $5
- (if (result i32)
- (call $i32u-rem
- (get_local $19)
- (i32.const 10)
- )
(block
(set_local $5
- (i32.const 0)
+ (i32.const 9)
)
(br $do-once93)
)
- (block (result i32)
- (set_local $6
+ )
+ (set_local $5
+ (if (result i32)
+ (call $i32u-rem
+ (get_local $19)
(i32.const 10)
)
- (i32.const 0)
+ (block
+ (set_local $5
+ (i32.const 0)
+ )
+ (br $do-once93)
+ )
+ (block (result i32)
+ (set_local $6
+ (i32.const 10)
+ )
+ (i32.const 0)
+ )
)
)
- )
- (loop $while-in96
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 1)
+ (loop $while-in96
+ (set_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
)
- )
- (br_if $while-in96
- (i32.eqz
- (call $i32u-rem
- (get_local $19)
- (tee_local $6
- (i32.mul
- (get_local $6)
- (i32.const 10)
+ (br_if $while-in96
+ (i32.eqz
+ (call $i32u-rem
+ (get_local $19)
+ (tee_local $6
+ (i32.mul
+ (get_local $6)
+ (i32.const 10)
+ )
)
)
)
)
)
)
- )
- (set_local $5
- (i32.const 9)
- )
- )
- (set_local $6
- (i32.add
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $9)
- (get_local $21)
- )
- (i32.const 2)
- )
+ (set_local $5
(i32.const 9)
)
- (i32.const -9)
)
- )
- (if (result i32)
- (i32.eq
- (i32.or
- (get_local $7)
- (i32.const 32)
- )
- (i32.const 102)
- )
- (block (result i32)
- (set_local $21
- (i32.const 0)
- )
- (select
- (get_local $18)
- (tee_local $5
- (select
- (i32.const 0)
- (tee_local $5
- (i32.sub
- (get_local $6)
- (get_local $5)
- )
- )
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (set_local $6
+ (i32.add
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $9)
+ (get_local $21)
)
+ (i32.const 2)
)
+ (i32.const 9)
)
- (i32.lt_s
- (get_local $18)
- (get_local $5)
- )
+ (i32.const -9)
)
)
- (block (result i32)
- (set_local $21
- (i32.const 0)
+ (if (result i32)
+ (i32.eq
+ (i32.or
+ (get_local $7)
+ (i32.const 32)
+ )
+ (i32.const 102)
)
- (select
- (get_local $18)
- (tee_local $5
- (select
- (i32.const 0)
- (tee_local $5
- (i32.sub
- (i32.add
+ (block (result i32)
+ (set_local $21
+ (i32.const 0)
+ )
+ (select
+ (get_local $18)
+ (tee_local $5
+ (select
+ (i32.const 0)
+ (tee_local $5
+ (i32.sub
(get_local $6)
- (get_local $13)
+ (get_local $5)
)
+ )
+ (i32.lt_s
(get_local $5)
+ (i32.const 0)
)
)
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
- )
+ )
+ (i32.lt_s
+ (get_local $18)
+ (get_local $5)
)
)
- (i32.lt_s
+ )
+ (block (result i32)
+ (set_local $21
+ (i32.const 0)
+ )
+ (select
(get_local $18)
- (get_local $5)
+ (tee_local $5
+ (select
+ (i32.const 0)
+ (tee_local $5
+ (i32.sub
+ (i32.add
+ (get_local $6)
+ (get_local $13)
+ )
+ (get_local $5)
+ )
+ )
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ )
+ )
+ (i32.lt_s
+ (get_local $18)
+ (get_local $5)
+ )
)
)
)
)
- )
- (block (result i32)
- (set_local $21
- (i32.and
- (get_local $11)
- (i32.const 8)
+ (block (result i32)
+ (set_local $21
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
+ )
)
+ (set_local $7
+ (get_local $19)
+ )
+ (get_local $18)
)
- (set_local $7
- (get_local $19)
- )
- (get_local $18)
)
)
- )
- (set_local $6
- (i32.sub
- (i32.const 0)
- (get_local $13)
+ (set_local $6
+ (i32.sub
+ (i32.const 0)
+ (get_local $13)
+ )
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (tee_local $13
- (i32.add
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $13
(i32.add
(i32.add
(i32.add
- (get_local $26)
- (i32.const 1)
- )
- (get_local $5)
- )
- (i32.ne
- (tee_local $31
- (i32.or
- (get_local $5)
- (get_local $21)
+ (i32.add
+ (get_local $26)
+ (i32.const 1)
)
+ (get_local $5)
)
- (i32.const 0)
- )
- )
- (if (result i32)
- (tee_local $18
- (i32.eq
- (i32.or
- (get_local $7)
- (i32.const 32)
+ (i32.ne
+ (tee_local $31
+ (i32.or
+ (get_local $5)
+ (get_local $21)
+ )
)
- (i32.const 102)
+ (i32.const 0)
)
)
- (block (result i32)
- (set_local $19
- (i32.const 0)
+ (if (result i32)
+ (tee_local $18
+ (i32.eq
+ (i32.or
+ (get_local $7)
+ (i32.const 32)
+ )
+ (i32.const 102)
+ )
)
- (select
- (get_local $13)
- (i32.const 0)
- (i32.gt_s
+ (block (result i32)
+ (set_local $19
+ (i32.const 0)
+ )
+ (select
(get_local $13)
(i32.const 0)
+ (i32.gt_s
+ (get_local $13)
+ (i32.const 0)
+ )
)
)
- )
- (block (result i32)
- (if
- (i32.lt_s
- (i32.sub
- (get_local $27)
- (tee_local $6
- (call $_fmt_u
- (tee_local $6
- (select
- (get_local $6)
- (get_local $13)
- (i32.lt_s
+ (block (result i32)
+ (if
+ (i32.lt_s
+ (i32.sub
+ (get_local $27)
+ (tee_local $6
+ (call $_fmt_u
+ (tee_local $6
+ (select
+ (get_local $6)
(get_local $13)
- (i32.const 0)
+ (i32.lt_s
+ (get_local $13)
+ (i32.const 0)
+ )
)
)
- )
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 0)
+ )
+ (i32.const 31)
)
(i32.const 31)
)
- (i32.const 31)
+ (get_local $32)
)
- (get_local $32)
)
)
+ (i32.const 2)
)
- (i32.const 2)
- )
- (loop $while-in98
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
+ (loop $while-in98
+ (i32.store8
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
+ )
+ )
+ (i32.const 48)
+ )
+ (br_if $while-in98
+ (i32.lt_s
+ (i32.sub
+ (get_local $27)
+ (get_local $6)
+ )
+ (i32.const 2)
)
)
- (i32.const 48)
)
- (br_if $while-in98
- (i32.lt_s
- (i32.sub
- (get_local $27)
- (get_local $6)
+ )
+ (i32.store8
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
+ )
+ (i32.add
+ (i32.and
+ (i32.shr_s
+ (get_local $13)
+ (i32.const 31)
)
(i32.const 2)
)
+ (i32.const 43)
)
)
- )
- (i32.store8
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
- (i32.add
- (i32.and
- (i32.shr_s
- (get_local $13)
- (i32.const 31)
+ (i32.store8
+ (tee_local $19
+ (i32.add
+ (get_local $6)
+ (i32.const -2)
)
- (i32.const 2)
)
- (i32.const 43)
+ (get_local $7)
)
- )
- (i32.store8
- (tee_local $19
- (i32.add
- (get_local $6)
- (i32.const -2)
- )
+ (i32.sub
+ (get_local $27)
+ (get_local $19)
)
- (get_local $7)
- )
- (i32.sub
- (get_local $27)
- (get_local $19)
)
)
)
)
+ (get_local $11)
)
- (get_local $11)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $30)
+ (get_local $26)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $26)
- (get_local $0)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (get_local $15)
+ (get_local $13)
+ (i32.xor
+ (get_local $11)
+ (i32.const 65536)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (get_local $15)
- (get_local $13)
- (i32.xor
- (get_local $11)
- (i32.const 65536)
- )
- )
- (if
- (get_local $18)
- (block
- (set_local $6
- (tee_local $12
- (select
- (get_local $8)
- (get_local $12)
- (i32.gt_u
- (get_local $12)
+ (if
+ (get_local $18)
+ (block
+ (set_local $6
+ (tee_local $12
+ (select
(get_local $8)
+ (get_local $12)
+ (i32.gt_u
+ (get_local $12)
+ (get_local $8)
+ )
)
)
)
- )
- (loop $while-in102
- (set_local $7
- (call $_fmt_u
- (i32.load
- (get_local $6)
+ (loop $while-in102
+ (set_local $7
+ (call $_fmt_u
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 0)
+ (get_local $29)
)
- (i32.const 0)
- (get_local $29)
)
- )
- (block $do-once103
- (if
- (i32.eq
- (get_local $6)
- (get_local $12)
- )
- (block
- (br_if $do-once103
- (i32.ne
- (get_local $7)
- (get_local $29)
- )
- )
- (i32.store8
- (get_local $33)
- (i32.const 48)
- )
- (set_local $7
- (get_local $33)
+ (block $do-once103
+ (if
+ (i32.eq
+ (get_local $6)
+ (get_local $12)
)
- )
- (block
- (br_if $do-once103
- (i32.le_u
- (get_local $7)
- (get_local $22)
+ (block
+ (br_if $do-once103
+ (i32.ne
+ (get_local $7)
+ (get_local $29)
+ )
)
- )
- (loop $while-in106
(i32.store8
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const -1)
- )
- )
+ (get_local $33)
(i32.const 48)
)
- (br_if $while-in106
- (i32.gt_u
+ (set_local $7
+ (get_local $33)
+ )
+ )
+ (block
+ (br_if $do-once103
+ (i32.le_u
(get_local $7)
(get_local $22)
)
)
+ (loop $while-in106
+ (i32.store8
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const -1)
+ )
+ )
+ (i32.const 48)
+ )
+ (br_if $while-in106
+ (i32.gt_u
+ (get_local $7)
+ (get_local $22)
+ )
+ )
+ )
)
)
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $7)
- (i32.sub
- (get_local $43)
+ (drop
+ (call $___fwritex
(get_local $7)
- )
- (get_local $0)
- )
- )
- )
- (if
- (i32.le_u
- (tee_local $7
- (i32.add
- (get_local $6)
- (i32.const 4)
- )
- )
- (get_local $8)
- )
- (block
- (set_local $6
- (get_local $7)
- )
- (br $while-in102)
- )
- )
- )
- (if
- (get_local $31)
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (i32.sub
+ (get_local $43)
+ (get_local $7)
+ )
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (i32.const 4143)
- (i32.const 1)
- (get_local $0)
- )
- )
- )
- )
- (if
- (i32.and
- (i32.gt_s
- (get_local $5)
- (i32.const 0)
- )
- (i32.lt_u
- (get_local $7)
- (get_local $9)
- )
- )
- (loop $while-in110
(if
- (i32.gt_u
- (tee_local $6
- (call $_fmt_u
- (i32.load
- (get_local $7)
- )
- (i32.const 0)
- (get_local $29)
+ (i32.le_u
+ (tee_local $7
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
)
)
- (get_local $22)
+ (get_local $8)
)
- (loop $while-in112
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-in112
- (i32.gt_u
- (get_local $6)
- (get_local $22)
- )
+ (block
+ (set_local $6
+ (get_local $7)
)
+ (br $while-in102)
)
)
+ )
+ (if
+ (get_local $31)
(if
(i32.eqz
(i32.and
@@ -5885,125 +5828,217 @@
)
(drop
(call $___fwritex
- (get_local $6)
- (select
- (i32.const 9)
- (get_local $5)
- (i32.gt_s
- (get_local $5)
- (i32.const 9)
- )
- )
+ (i32.const 4143)
+ (i32.const 1)
(get_local $0)
)
)
)
- (set_local $6
- (i32.add
+ )
+ (if
+ (i32.and
+ (i32.gt_s
(get_local $5)
- (i32.const -9)
+ (i32.const 0)
+ )
+ (i32.lt_u
+ (get_local $7)
+ (get_local $9)
)
)
- (set_local $5
- (if (result i32)
- (i32.and
- (i32.gt_s
- (get_local $5)
- (i32.const 9)
+ (loop $while-in110
+ (if
+ (i32.gt_u
+ (tee_local $6
+ (call $_fmt_u
+ (i32.load
+ (get_local $7)
+ )
+ (i32.const 0)
+ (get_local $29)
+ )
)
- (i32.lt_u
- (tee_local $7
+ (get_local $22)
+ )
+ (loop $while-in112
+ (i32.store8
+ (tee_local $6
(i32.add
- (get_local $7)
- (i32.const 4)
+ (get_local $6)
+ (i32.const -1)
)
)
- (get_local $9)
+ (i32.const 48)
+ )
+ (br_if $while-in112
+ (i32.gt_u
+ (get_local $6)
+ (get_local $22)
+ )
)
)
- (block
- (set_local $5
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
(get_local $6)
+ (select
+ (i32.const 9)
+ (get_local $5)
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 9)
+ )
+ )
+ (get_local $0)
)
- (br $while-in110)
)
- (get_local $6)
+ )
+ (set_local $6
+ (i32.add
+ (get_local $5)
+ (i32.const -9)
+ )
+ )
+ (set_local $5
+ (if (result i32)
+ (i32.and
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 9)
+ )
+ (i32.lt_u
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
+ )
+ )
+ (get_local $9)
+ )
+ )
+ (block
+ (set_local $5
+ (get_local $6)
+ )
+ (br $while-in110)
+ )
+ (get_local $6)
+ )
)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.add
- (get_local $5)
- (i32.const 9)
- )
- (i32.const 9)
- (i32.const 0)
- )
- )
- (block $do-once99
- (set_local $9
- (select
- (get_local $9)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
(i32.add
- (get_local $12)
- (i32.const 4)
+ (get_local $5)
+ (i32.const 9)
)
- (get_local $24)
+ (i32.const 9)
+ (i32.const 0)
)
)
- (if
- (i32.gt_s
- (get_local $5)
- (i32.const -1)
- )
- (block
- (set_local $18
- (i32.eqz
- (get_local $21)
+ (block $do-once99
+ (set_local $9
+ (select
+ (get_local $9)
+ (i32.add
+ (get_local $12)
+ (i32.const 4)
)
+ (get_local $24)
)
- (set_local $6
- (get_local $12)
- )
- (set_local $7
+ )
+ (if
+ (i32.gt_s
(get_local $5)
+ (i32.const -1)
)
- (loop $while-in114
- (if
- (i32.eq
- (tee_local $5
- (call $_fmt_u
- (i32.load
- (get_local $6)
- )
- (i32.const 0)
- (get_local $29)
- )
- )
- (get_local $29)
- )
- (block
- (i32.store8
- (get_local $33)
- (i32.const 48)
- )
- (set_local $5
- (get_local $33)
- )
+ (block
+ (set_local $18
+ (i32.eqz
+ (get_local $21)
)
)
- (block $do-once115
+ (set_local $6
+ (get_local $12)
+ )
+ (set_local $7
+ (get_local $5)
+ )
+ (loop $while-in114
(if
(i32.eq
- (get_local $6)
- (get_local $12)
+ (tee_local $5
+ (call $_fmt_u
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 0)
+ (get_local $29)
+ )
+ )
+ (get_local $29)
)
(block
- (if
- (i32.eqz
+ (i32.store8
+ (get_local $33)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $33)
+ )
+ )
+ )
+ (block $do-once115
+ (if
+ (i32.eq
+ (get_local $6)
+ (get_local $12)
+ )
+ (block
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (i32.const 1)
+ (get_local $0)
+ )
+ )
+ )
+ (set_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
+ )
+ (br_if $do-once115
+ (i32.and
+ (get_local $18)
+ (i32.lt_s
+ (get_local $7)
+ (i32.const 1)
+ )
+ )
+ )
+ (br_if $do-once115
(i32.and
(i32.load
(get_local $0)
@@ -6013,642 +6048,606 @@
)
(drop
(call $___fwritex
- (get_local $5)
+ (i32.const 4143)
(i32.const 1)
(get_local $0)
)
)
)
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 1)
- )
- )
- (br_if $do-once115
- (i32.and
- (get_local $18)
- (i32.lt_s
- (get_local $7)
- (i32.const 1)
+ (block
+ (br_if $do-once115
+ (i32.le_u
+ (get_local $5)
+ (get_local $22)
)
)
- )
- (br_if $do-once115
- (i32.and
- (i32.load
- (get_local $0)
+ (loop $while-in118
+ (i32.store8
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
+ )
+ (i32.const 48)
)
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (i32.const 4143)
- (i32.const 1)
- (get_local $0)
- )
- )
- )
- (block
- (br_if $do-once115
- (i32.le_u
- (get_local $5)
- (get_local $22)
- )
- )
- (loop $while-in118
- (i32.store8
- (tee_local $5
- (i32.add
+ (br_if $while-in118
+ (i32.gt_u
(get_local $5)
- (i32.const -1)
+ (get_local $22)
)
)
- (i32.const 48)
- )
- (br_if $while-in118
- (i32.gt_u
- (get_local $5)
- (get_local $22)
- )
)
)
)
)
- )
- (set_local $8
- (i32.sub
- (get_local $43)
- (get_local $5)
+ (set_local $8
+ (i32.sub
+ (get_local $43)
+ (get_local $5)
+ )
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $5)
- (select
- (get_local $8)
- (get_local $7)
- (i32.gt_s
- (get_local $7)
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (select
(get_local $8)
+ (get_local $7)
+ (i32.gt_s
+ (get_local $7)
+ (get_local $8)
+ )
)
+ (get_local $0)
)
- (get_local $0)
)
)
- )
- (br_if $while-in114
- (i32.and
- (i32.lt_u
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (br_if $while-in114
+ (i32.and
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
)
+ (get_local $9)
)
- (get_local $9)
- )
- (i32.gt_s
- (tee_local $7
- (i32.sub
- (get_local $7)
- (get_local $8)
+ (i32.gt_s
+ (tee_local $7
+ (i32.sub
+ (get_local $7)
+ (get_local $8)
+ )
)
+ (i32.const -1)
)
- (i32.const -1)
)
)
)
- )
- (set_local $5
- (get_local $7)
+ (set_local $5
+ (get_local $7)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.add
- (get_local $5)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (i32.add
+ (get_local $5)
+ (i32.const 18)
+ )
(i32.const 18)
+ (i32.const 0)
)
- (i32.const 18)
- (i32.const 0)
- )
- (br_if $do-once99
- (i32.and
- (i32.load
- (get_local $0)
+ (br_if $do-once99
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $19)
- (i32.sub
- (get_local $27)
+ (drop
+ (call $___fwritex
(get_local $19)
+ (i32.sub
+ (get_local $27)
+ (get_local $19)
+ )
+ (get_local $0)
)
- (get_local $0)
)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $13)
- (i32.xor
- (get_local $11)
- (i32.const 8192)
- )
- )
- (select
- (get_local $15)
- (get_local $13)
- (i32.lt_s
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
(get_local $13)
+ (i32.xor
+ (get_local $11)
+ (i32.const 8192)
+ )
+ )
+ (select
(get_local $15)
+ (get_local $13)
+ (i32.lt_s
+ (get_local $13)
+ (get_local $15)
+ )
)
)
- )
- (block (result i32)
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (tee_local $7
- (i32.add
- (tee_local $9
- (select
- (i32.const 0)
- (get_local $26)
- (tee_local $6
- (f64.ne
- (get_local $16)
- (get_local $16)
+ (block (result i32)
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $7
+ (i32.add
+ (tee_local $9
+ (select
+ (i32.const 0)
+ (get_local $26)
+ (tee_local $6
+ (f64.ne
+ (get_local $16)
+ (get_local $16)
+ )
)
)
)
+ (i32.const 3)
)
- (i32.const 3)
)
+ (get_local $8)
)
- (get_local $8)
- )
- (if
- (i32.eqz
- (i32.and
- (tee_local $5
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $5
+ (i32.load
+ (get_local $0)
+ )
)
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (block
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $9)
- (get_local $0)
+ (block
+ (drop
+ (call $___fwritex
+ (get_local $30)
+ (get_local $9)
+ (get_local $0)
+ )
)
- )
- (set_local $5
- (i32.load
- (get_local $0)
+ (set_local $5
+ (i32.load
+ (get_local $0)
+ )
)
)
)
- )
- (set_local $6
- (select
+ (set_local $6
(select
- (i32.const 4135)
- (i32.const 4139)
- (tee_local $8
- (i32.ne
- (i32.and
- (get_local $19)
- (i32.const 32)
+ (select
+ (i32.const 4135)
+ (i32.const 4139)
+ (tee_local $8
+ (i32.ne
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
+ )
+ (i32.const 0)
)
- (i32.const 0)
)
)
+ (select
+ (i32.const 4127)
+ (i32.const 4131)
+ (get_local $8)
+ )
+ (get_local $6)
)
- (select
- (i32.const 4127)
- (i32.const 4131)
- (get_local $8)
- )
- (get_local $6)
)
- )
- (if
- (i32.eqz
- (i32.and
- (get_local $5)
- (i32.const 32)
+ (if
+ (i32.eqz
+ (i32.and
+ (get_local $5)
+ (i32.const 32)
+ )
)
- )
- (drop
- (call $___fwritex
- (get_local $6)
- (i32.const 3)
- (get_local $0)
+ (drop
+ (call $___fwritex
+ (get_local $6)
+ (i32.const 3)
+ (get_local $0)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $7)
- (i32.xor
- (get_local $11)
- (i32.const 8192)
- )
- )
- (select
- (get_local $15)
- (get_local $7)
- (i32.lt_s
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
(get_local $7)
+ (i32.xor
+ (get_local $11)
+ (i32.const 8192)
+ )
+ )
+ (select
(get_local $15)
+ (get_local $7)
+ (i32.lt_s
+ (get_local $7)
+ (get_local $15)
+ )
)
)
)
)
+ (set_local $5
+ (get_local $10)
+ )
+ (set_local $10
+ (get_local $7)
+ )
+ (br $label$continue$L1)
)
- (set_local $5
- (get_local $10)
+ (set_local $12
+ (get_local $6)
)
- (set_local $10
- (get_local $7)
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
+ )
+ (br $__rjto$8
+ (get_local $25)
)
- (br $label$continue$L1)
- )
- (set_local $12
- (get_local $6)
- )
- (set_local $8
- (i32.const 0)
)
(set_local $9
- (i32.const 4091)
- )
- (br $__rjto$8
- (get_local $25)
- )
- )
- (set_local $9
- (i32.and
- (get_local $19)
- (i32.const 32)
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
+ )
)
- )
- (if
- (i32.or
- (tee_local $7
- (i32.load
- (get_local $14)
+ (if
+ (i32.or
+ (tee_local $7
+ (i32.load
+ (get_local $14)
+ )
)
- )
- (tee_local $11
- (i32.load offset=4
- (get_local $14)
+ (tee_local $11
+ (i32.load offset=4
+ (get_local $14)
+ )
)
)
- )
- (block
- (set_local $8
- (get_local $25)
- )
- (loop $while-in123
- (i32.store8
- (tee_local $8
- (i32.add
- (get_local $8)
- (i32.const -1)
- )
- )
- (i32.or
- (i32.load8_u
+ (block
+ (set_local $8
+ (get_local $25)
+ )
+ (loop $while-in123
+ (i32.store8
+ (tee_local $8
(i32.add
- (i32.and
- (get_local $7)
- (i32.const 15)
+ (get_local $8)
+ (i32.const -1)
+ )
+ )
+ (i32.or
+ (i32.load8_u
+ (i32.add
+ (i32.and
+ (get_local $7)
+ (i32.const 15)
+ )
+ (i32.const 4075)
)
- (i32.const 4075)
)
+ (get_local $9)
)
- (get_local $9)
)
- )
- (br_if $while-in123
- (i32.or
- (tee_local $7
- (call $_bitshift64Lshr
- (get_local $7)
- (get_local $11)
- (i32.const 4)
+ (br_if $while-in123
+ (i32.or
+ (tee_local $7
+ (call $_bitshift64Lshr
+ (get_local $7)
+ (get_local $11)
+ (i32.const 4)
+ )
+ )
+ (tee_local $11
+ (get_global $tempRet0)
)
- )
- (tee_local $11
- (get_global $tempRet0)
)
)
)
- )
- (set_local $7
- (get_local $8)
- )
- (set_local $8
- (if (result i32)
- (i32.or
- (i32.eqz
- (i32.and
- (get_local $5)
- (i32.const 8)
- )
- )
- (i32.eqz
- (i32.or
- (i32.load
- (get_local $14)
+ (set_local $7
+ (get_local $8)
+ )
+ (set_local $8
+ (if (result i32)
+ (i32.or
+ (i32.eqz
+ (i32.and
+ (get_local $5)
+ (i32.const 8)
)
- (i32.load offset=4
- (get_local $14)
+ )
+ (i32.eqz
+ (i32.or
+ (i32.load
+ (get_local $14)
+ )
+ (i32.load offset=4
+ (get_local $14)
+ )
)
)
)
- )
- (block (result i32)
- (set_local $9
- (i32.const 4091)
+ (block (result i32)
+ (set_local $9
+ (i32.const 4091)
+ )
+ (i32.const 0)
)
- (i32.const 0)
- )
- (block (result i32)
- (set_local $9
- (i32.add
- (i32.shr_s
- (get_local $19)
- (i32.const 4)
+ (block (result i32)
+ (set_local $9
+ (i32.add
+ (i32.shr_s
+ (get_local $19)
+ (i32.const 4)
+ )
+ (i32.const 4091)
)
- (i32.const 4091)
)
+ (i32.const 2)
)
- (i32.const 2)
)
)
)
- )
- (block
- (set_local $7
- (get_local $25)
- )
- (set_local $8
- (i32.const 0)
- )
- (set_local $9
- (i32.const 4091)
+ (block
+ (set_local $7
+ (get_local $25)
+ )
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
+ )
)
)
+ (br $__rjti$8)
+ )
+ (set_local $7
+ (call $_fmt_u
+ (get_local $5)
+ (get_local $7)
+ (get_local $25)
+ )
+ )
+ (set_local $5
+ (get_local $11)
)
(br $__rjti$8)
)
- (set_local $7
- (call $_fmt_u
- (get_local $5)
- (get_local $7)
- (get_local $25)
+ (set_local $19
+ (i32.eqz
+ (tee_local $13
+ (call $_memchr
+ (get_local $7)
+ (get_local $6)
+ )
+ )
)
)
- (set_local $5
- (get_local $11)
+ (set_local $11
+ (get_local $8)
)
- (br $__rjti$8)
- )
- (set_local $19
- (i32.eqz
- (tee_local $13
- (call $_memchr
- (get_local $7)
- (get_local $6)
+ (set_local $12
+ (select
+ (get_local $6)
+ (i32.sub
+ (get_local $13)
+ (tee_local $5
+ (get_local $7)
+ )
)
+ (get_local $19)
)
)
- )
- (set_local $11
- (get_local $8)
- )
- (set_local $12
- (select
- (get_local $6)
- (i32.sub
- (get_local $13)
- (tee_local $5
- (get_local $7)
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
+ )
+ (br $__rjto$8
+ (select
+ (i32.add
+ (get_local $5)
+ (get_local $6)
)
+ (get_local $13)
+ (get_local $19)
)
- (get_local $19)
)
)
- (set_local $8
+ (set_local $5
(i32.const 0)
)
- (set_local $9
- (i32.const 4091)
+ (set_local $7
+ (i32.const 0)
)
- (br $__rjto$8
- (select
- (i32.add
- (get_local $5)
- (get_local $6)
- )
- (get_local $13)
- (get_local $19)
+ (set_local $6
+ (i32.load
+ (get_local $14)
)
)
- )
- (set_local $5
- (i32.const 0)
- )
- (set_local $7
- (i32.const 0)
- )
- (set_local $6
- (i32.load
- (get_local $14)
- )
- )
- (loop $while-in125
- (block $while-out124
- (br_if $while-out124
- (i32.eqz
- (tee_local $9
- (i32.load
- (get_local $6)
+ (loop $while-in125
+ (block $while-out124
+ (br_if $while-out124
+ (i32.eqz
+ (tee_local $9
+ (i32.load
+ (get_local $6)
+ )
)
)
)
- )
- (br_if $while-out124
- (i32.or
- (i32.lt_s
- (tee_local $7
- (call $_wctomb
- (get_local $35)
- (get_local $9)
+ (br_if $while-out124
+ (i32.or
+ (i32.lt_s
+ (tee_local $7
+ (call $_wctomb
+ (get_local $35)
+ (get_local $9)
+ )
)
+ (i32.const 0)
)
- (i32.const 0)
- )
- (i32.gt_u
- (get_local $7)
- (i32.sub
- (get_local $8)
- (get_local $5)
+ (i32.gt_u
+ (get_local $7)
+ (i32.sub
+ (get_local $8)
+ (get_local $5)
+ )
)
)
)
- )
- (set_local $6
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (set_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
)
- )
- (br_if $while-in125
- (i32.gt_u
- (get_local $8)
- (tee_local $5
- (i32.add
- (get_local $7)
- (get_local $5)
+ (br_if $while-in125
+ (i32.gt_u
+ (get_local $8)
+ (tee_local $5
+ (i32.add
+ (get_local $7)
+ (get_local $5)
+ )
)
)
)
)
)
- )
- (if
- (i32.lt_s
- (get_local $7)
- (i32.const 0)
- )
- (block
- (set_local $17
- (i32.const -1)
- )
- (br $label$break$L1)
- )
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $5)
- (get_local $11)
- )
- (if (result i32)
- (get_local $5)
- (block (result i32)
- (set_local $6
+ (if
+ (i32.lt_s
+ (get_local $7)
(i32.const 0)
)
- (set_local $7
- (i32.load
- (get_local $14)
+ (block
+ (set_local $17
+ (i32.const -1)
)
+ (br $label$break$L1)
)
- (loop $while-in127
- (drop
- (br_if $__rjti$7
- (get_local $5)
- (i32.eqz
- (tee_local $8
- (i32.load
- (get_local $7)
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (get_local $5)
+ (get_local $11)
+ )
+ (if (result i32)
+ (get_local $5)
+ (block (result i32)
+ (set_local $6
+ (i32.const 0)
+ )
+ (set_local $7
+ (i32.load
+ (get_local $14)
+ )
+ )
+ (loop $while-in127
+ (drop
+ (br_if $__rjti$7
+ (get_local $5)
+ (i32.eqz
+ (tee_local $8
+ (i32.load
+ (get_local $7)
+ )
)
)
)
)
- )
- (drop
- (br_if $__rjti$7
- (get_local $5)
- (i32.gt_s
- (tee_local $6
- (i32.add
- (tee_local $8
- (call $_wctomb
- (get_local $35)
- (get_local $8)
+ (drop
+ (br_if $__rjti$7
+ (get_local $5)
+ (i32.gt_s
+ (tee_local $6
+ (i32.add
+ (tee_local $8
+ (call $_wctomb
+ (get_local $35)
+ (get_local $8)
+ )
)
+ (get_local $6)
)
- (get_local $6)
)
+ (get_local $5)
)
- (get_local $5)
)
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $35)
+ (get_local $8)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $35)
- (get_local $8)
- (get_local $0)
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
)
)
- )
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
- )
- (br_if $while-in127
- (i32.lt_u
- (get_local $6)
- (get_local $5)
+ (br_if $while-in127
+ (i32.lt_u
+ (get_local $6)
+ (get_local $5)
+ )
)
)
+ (get_local $5)
)
- (get_local $5)
+ (i32.const 0)
)
- (i32.const 0)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $7)
(i32.xor
(get_local $11)
(i32.const 8192)
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index de06484f2..a0d1b78a5 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -3242,68 +3242,86 @@
(set_local $7
(block $__rjto$8 (result i32)
(block $__rjti$8
- (set_local $7
- (block $__rjti$7 (result i32)
- (block $__rjti$6
- (block $__rjti$5
- (block $__rjti$4
- (block $__rjti$3
- (block $switch-default120
- (block $switch-case119
- (block $switch-case41
- (block $switch-case40
- (block $switch-case39
- (block $switch-case38
- (block $switch-case37
- (block $switch-case36
- (block $switch-case35
- (block $switch-case33
- (block $switch-case30
- (block $switch-case28
- (block $switch-case27
- (br_table $switch-case119 $switch-default120 $switch-case40 $switch-default120 $switch-case119 $switch-case119 $switch-case119 $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-case30 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case119 $switch-default120 $switch-case37 $switch-case35 $switch-case119 $switch-case119 $switch-case119 $switch-default120 $switch-case35 $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-case30 $switch-default120
- (i32.sub
- (tee_local $19
- (select
- (i32.and
- (tee_local $12
- (i32.load8_s
- (get_local $19)
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $7
+ (block $__rjti$7 (result i32)
+ (block $__rjti$6
+ (block $__rjti$5
+ (block $__rjti$4
+ (block $__rjti$3
+ (block $switch-default120
+ (block $switch-case119
+ (block $switch-case41
+ (block $switch-case40
+ (block $switch-case39
+ (block $switch-case38
+ (block $switch-case37
+ (block $switch-case36
+ (block $switch-case35
+ (block $switch-case33
+ (block $switch-case30
+ (block $switch-case28
+ (block $switch-case27
+ (br_table $switch-case119 $switch-default120 $switch-case40 $switch-default120 $switch-case119 $switch-case119 $switch-case119 $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-case30 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-default120 $switch-case119 $switch-default120 $switch-case37 $switch-case35 $switch-case119 $switch-case119 $switch-case119 $switch-default120 $switch-case35 $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-case30 $switch-default120
+ (i32.sub
+ (tee_local $19
+ (select
+ (i32.and
+ (tee_local $12
+ (i32.load8_s
+ (get_local $19)
+ )
)
+ (i32.const -33)
)
- (i32.const -33)
- )
- (get_local $12)
- (i32.and
- (i32.ne
- (get_local $9)
- (i32.const 0)
- )
- (i32.eq
- (i32.and
- (get_local $12)
- (i32.const 15)
+ (get_local $12)
+ (i32.and
+ (i32.ne
+ (get_local $9)
+ (i32.const 0)
+ )
+ (i32.eq
+ (i32.and
+ (get_local $12)
+ (i32.const 15)
+ )
+ (i32.const 3)
)
- (i32.const 3)
)
)
)
+ (i32.const 65)
)
- (i32.const 65)
)
)
- )
- (block $switch-default26
- (block $switch-case25
- (block $switch-case24
- (block $switch-case23
- (block $switch-case22
- (block $switch-case21
- (block $switch-case20
- (block $switch-case19
- (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26
- (get_local $9)
+ (block $switch-default26
+ (block $switch-case25
+ (block $switch-case24
+ (block $switch-case23
+ (block $switch-case22
+ (block $switch-case21
+ (block $switch-case20
+ (block $switch-case19
+ (br_table $switch-case19 $switch-case20 $switch-case21 $switch-case22 $switch-case23 $switch-default26 $switch-case24 $switch-case25 $switch-default26
+ (get_local $9)
+ )
+ )
+ (i32.store
+ (i32.load
+ (get_local $14)
+ )
+ (get_local $17)
)
+ (set_local $5
+ (get_local $10)
+ )
+ (set_local $10
+ (get_local $7)
+ )
+ (br $label$continue$L1)
)
(i32.store
(i32.load
@@ -3320,11 +3338,26 @@
(br $label$continue$L1)
)
(i32.store
- (i32.load
- (get_local $14)
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
(get_local $17)
)
+ (i32.store offset=4
+ (get_local $5)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $17)
+ (i32.const 0)
+ )
+ (i32.const 31)
+ )
+ (i32.const 31)
+ )
+ )
(set_local $5
(get_local $10)
)
@@ -3333,27 +3366,12 @@
)
(br $label$continue$L1)
)
- (i32.store
- (tee_local $5
- (i32.load
- (get_local $14)
- )
+ (i32.store16
+ (i32.load
+ (get_local $14)
)
(get_local $17)
)
- (i32.store offset=4
- (get_local $5)
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $17)
- (i32.const 0)
- )
- (i32.const 31)
- )
- (i32.const 31)
- )
- )
(set_local $5
(get_local $10)
)
@@ -3362,7 +3380,7 @@
)
(br $label$continue$L1)
)
- (i32.store16
+ (i32.store8
(i32.load
(get_local $14)
)
@@ -3376,7 +3394,7 @@
)
(br $label$continue$L1)
)
- (i32.store8
+ (i32.store
(i32.load
(get_local $14)
)
@@ -3391,11 +3409,26 @@
(br $label$continue$L1)
)
(i32.store
- (i32.load
- (get_local $14)
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
(get_local $17)
)
+ (i32.store offset=4
+ (get_local $5)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $17)
+ (i32.const 0)
+ )
+ (i32.const 31)
+ )
+ (i32.const 31)
+ )
+ )
(set_local $5
(get_local $10)
)
@@ -3404,27 +3437,6 @@
)
(br $label$continue$L1)
)
- (i32.store
- (tee_local $5
- (i32.load
- (get_local $14)
- )
- )
- (get_local $17)
- )
- (i32.store offset=4
- (get_local $5)
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $17)
- (i32.const 0)
- )
- (i32.const 31)
- )
- (i32.const 31)
- )
- )
(set_local $5
(get_local $10)
)
@@ -3434,220 +3446,235 @@
(br $label$continue$L1)
)
(set_local $5
- (get_local $10)
- )
- (set_local $10
- (get_local $7)
- )
- (br $label$continue$L1)
- )
- (set_local $5
- (i32.or
- (get_local $11)
- (i32.const 8)
+ (i32.or
+ (get_local $11)
+ (i32.const 8)
+ )
)
- )
- (set_local $6
- (select
- (get_local $6)
- (i32.const 8)
- (i32.gt_u
+ (set_local $6
+ (select
(get_local $6)
(i32.const 8)
+ (i32.gt_u
+ (get_local $6)
+ (i32.const 8)
+ )
)
)
+ (set_local $19
+ (i32.const 120)
+ )
+ (br $__rjti$3)
)
- (set_local $19
- (i32.const 120)
+ (set_local $5
+ (get_local $11)
)
(br $__rjti$3)
)
- (set_local $5
- (get_local $11)
- )
- (br $__rjti$3)
- )
- (if
- (i32.or
- (tee_local $5
- (i32.load
- (get_local $14)
+ (if
+ (i32.or
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
- )
- (tee_local $7
- (i32.load offset=4
- (get_local $14)
+ (tee_local $7
+ (i32.load offset=4
+ (get_local $14)
+ )
)
)
- )
- (block
- (set_local $8
- (get_local $25)
- )
- (loop $while-in32
- (i32.store8
- (tee_local $8
- (i32.add
- (get_local $8)
- (i32.const -1)
- )
- )
- (i32.or
- (i32.and
- (get_local $5)
- (i32.const 7)
- )
- (i32.const 48)
- )
+ (block
+ (set_local $8
+ (get_local $25)
)
- (br_if $while-in32
- (i32.or
- (tee_local $5
- (call $_bitshift64Lshr
+ (loop $while-in32
+ (i32.store8
+ (tee_local $8
+ (i32.add
+ (get_local $8)
+ (i32.const -1)
+ )
+ )
+ (i32.or
+ (i32.and
(get_local $5)
- (get_local $7)
- (i32.const 3)
+ (i32.const 7)
)
+ (i32.const 48)
)
- (tee_local $7
- (get_global $tempRet0)
+ )
+ (br_if $while-in32
+ (i32.or
+ (tee_local $5
+ (call $_bitshift64Lshr
+ (get_local $5)
+ (get_local $7)
+ (i32.const 3)
+ )
+ )
+ (tee_local $7
+ (get_global $tempRet0)
+ )
)
)
)
)
+ (set_local $8
+ (get_local $25)
+ )
)
- (set_local $8
- (get_local $25)
- )
- )
- (if
- (i32.and
- (get_local $11)
- (i32.const 8)
- )
- (block
- (set_local $5
+ (if
+ (i32.and
(get_local $11)
+ (i32.const 8)
)
- (set_local $6
- (select
- (tee_local $11
- (i32.add
- (i32.sub
- (get_local $39)
- (tee_local $7
- (get_local $8)
+ (block
+ (set_local $5
+ (get_local $11)
+ )
+ (set_local $6
+ (select
+ (tee_local $11
+ (i32.add
+ (i32.sub
+ (get_local $39)
+ (tee_local $7
+ (get_local $8)
+ )
)
+ (i32.const 1)
)
- (i32.const 1)
)
- )
- (get_local $6)
- (i32.lt_s
(get_local $6)
- (get_local $11)
+ (i32.lt_s
+ (get_local $6)
+ (get_local $11)
+ )
)
)
)
- )
- (block
- (set_local $7
- (get_local $8)
- )
- (set_local $5
- (get_local $11)
- )
- )
- )
- (set_local $8
- (i32.const 0)
- )
- (set_local $9
- (i32.const 4091)
- )
- (br $__rjti$8)
- )
- (set_local $5
- (i32.load
- (get_local $14)
- )
- )
- (if
- (i32.lt_s
- (tee_local $7
- (i32.load offset=4
- (get_local $14)
- )
- )
- (i32.const 0)
- )
- (block
- (i32.store
- (get_local $14)
- (tee_local $5
- (call $_i64Subtract
- (i32.const 0)
- (i32.const 0)
- (get_local $5)
- (get_local $7)
+ (block
+ (set_local $7
+ (get_local $8)
+ )
+ (set_local $5
+ (get_local $11)
)
- )
- )
- (i32.store offset=4
- (get_local $14)
- (tee_local $7
- (get_global $tempRet0)
)
)
(set_local $8
- (i32.const 1)
+ (i32.const 0)
)
(set_local $9
(i32.const 4091)
)
- (br $__rjti$4)
+ (br $__rjti$8)
)
- )
- (set_local $9
- (if (result i32)
- (i32.and
- (get_local $11)
- (i32.const 2048)
+ (set_local $5
+ (i32.load
+ (get_local $14)
)
- (block (result i32)
- (set_local $8
- (i32.const 1)
+ )
+ (if
+ (i32.lt_s
+ (tee_local $7
+ (i32.load offset=4
+ (get_local $14)
+ )
)
- (i32.const 4092)
+ (i32.const 0)
)
- (block (result i32)
- (set_local $8
- (tee_local $9
- (i32.and
- (get_local $11)
- (i32.const 1)
+ (block
+ (i32.store
+ (get_local $14)
+ (tee_local $5
+ (call $_i64Subtract
+ (i32.const 0)
+ (i32.const 0)
+ (get_local $5)
+ (get_local $7)
)
)
)
- (select
- (i32.const 4093)
+ (i32.store offset=4
+ (get_local $14)
+ (tee_local $7
+ (get_global $tempRet0)
+ )
+ )
+ (set_local $8
+ (i32.const 1)
+ )
+ (set_local $9
(i32.const 4091)
- (get_local $9)
)
+ (br $__rjti$4)
)
)
+ (set_local $9
+ (if (result i32)
+ (i32.and
+ (get_local $11)
+ (i32.const 2048)
+ )
+ (block (result i32)
+ (set_local $8
+ (i32.const 1)
+ )
+ (i32.const 4092)
+ )
+ (block (result i32)
+ (set_local $8
+ (tee_local $9
+ (i32.and
+ (get_local $11)
+ (i32.const 1)
+ )
+ )
+ )
+ (select
+ (i32.const 4093)
+ (i32.const 4091)
+ (get_local $9)
+ )
+ )
+ )
+ )
+ (br $__rjti$4)
+ )
+ (set_local $5
+ (i32.load
+ (get_local $14)
+ )
+ )
+ (set_local $7
+ (i32.load offset=4
+ (get_local $14)
+ )
+ )
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
)
(br $__rjti$4)
)
- (set_local $5
+ (i32.store8
+ (get_local $40)
(i32.load
(get_local $14)
)
)
- (set_local $7
- (i32.load offset=4
- (get_local $14)
- )
+ (set_local $5
+ (get_local $40)
+ )
+ (set_local $11
+ (get_local $8)
+ )
+ (set_local $12
+ (i32.const 1)
)
(set_local $8
(i32.const 0)
@@ -3655,947 +3682,952 @@
(set_local $9
(i32.const 4091)
)
- (br $__rjti$4)
- )
- (i32.store8
- (get_local $40)
- (i32.load
- (get_local $14)
+ (br $__rjto$8
+ (get_local $25)
)
)
- (set_local $5
- (get_local $40)
- )
- (set_local $11
- (get_local $8)
- )
- (set_local $12
- (i32.const 1)
- )
- (set_local $8
- (i32.const 0)
- )
- (set_local $9
- (i32.const 4091)
- )
- (br $__rjto$8
- (get_local $25)
+ (set_local $7
+ (call $_strerror
+ (i32.load
+ (call $___errno_location)
+ )
+ )
)
+ (br $__rjti$5)
)
(set_local $7
- (call $_strerror
- (i32.load
- (call $___errno_location)
+ (select
+ (tee_local $5
+ (i32.load
+ (get_local $14)
+ )
)
+ (i32.const 4101)
+ (get_local $5)
)
)
(br $__rjti$5)
)
- (set_local $7
- (select
- (tee_local $5
- (i32.load
- (get_local $14)
- )
- )
- (i32.const 4101)
- (get_local $5)
+ (i32.store
+ (get_local $41)
+ (i32.load
+ (get_local $14)
)
)
- (br $__rjti$5)
- )
- (i32.store
- (get_local $41)
- (i32.load
+ (i32.store
+ (get_local $44)
+ (i32.const 0)
+ )
+ (i32.store
(get_local $14)
+ (get_local $41)
)
- )
- (i32.store
- (get_local $44)
- (i32.const 0)
- )
- (i32.store
- (get_local $14)
- (get_local $41)
- )
- (set_local $8
- (i32.const -1)
- )
- (br $__rjti$6)
- )
- (if
- (get_local $6)
- (block
(set_local $8
- (get_local $6)
+ (i32.const -1)
)
(br $__rjti$6)
)
- (block
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (i32.const 0)
- (get_local $11)
+ (if
+ (get_local $6)
+ (block
+ (set_local $8
+ (get_local $6)
+ )
+ (br $__rjti$6)
)
- (br $__rjti$7
- (i32.const 0)
+ (block
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (i32.const 0)
+ (get_local $11)
+ )
+ (br $__rjti$7
+ (i32.const 0)
+ )
)
)
)
- )
- (set_local $16
- (f64.load
- (get_local $14)
- )
- )
- (i32.store
- (get_local $20)
- (i32.const 0)
- )
- (f64.store
- (get_global $tempDoublePtr)
- (get_local $16)
- )
- (set_local $30
- (if (result i32)
- (i32.lt_s
- (i32.load offset=4
- (get_global $tempDoublePtr)
- )
- (i32.const 0)
- )
- (block (result i32)
- (set_local $26
- (i32.const 1)
- )
- (set_local $16
- (f64.neg
- (get_local $16)
- )
- )
- (i32.const 4108)
+ (set_local $16
+ (f64.load
+ (get_local $14)
)
+ )
+ (i32.store
+ (get_local $20)
+ (i32.const 0)
+ )
+ (f64.store
+ (get_global $tempDoublePtr)
+ (get_local $16)
+ )
+ (set_local $30
(if (result i32)
- (i32.and
- (get_local $11)
- (i32.const 2048)
+ (i32.lt_s
+ (i32.load offset=4
+ (get_global $tempDoublePtr)
+ )
+ (i32.const 0)
)
(block (result i32)
(set_local $26
(i32.const 1)
)
- (i32.const 4111)
+ (set_local $16
+ (f64.neg
+ (get_local $16)
+ )
+ )
+ (i32.const 4108)
)
- (block (result i32)
- (set_local $26
- (tee_local $5
- (i32.and
- (get_local $11)
- (i32.const 1)
- )
+ (if (result i32)
+ (i32.and
+ (get_local $11)
+ (i32.const 2048)
+ )
+ (block (result i32)
+ (set_local $26
+ (i32.const 1)
)
+ (i32.const 4111)
)
- (select
- (i32.const 4114)
- (i32.const 4109)
- (get_local $5)
+ (block (result i32)
+ (set_local $26
+ (tee_local $5
+ (i32.and
+ (get_local $11)
+ (i32.const 1)
+ )
+ )
+ )
+ (select
+ (i32.const 4114)
+ (i32.const 4109)
+ (get_local $5)
+ )
)
)
)
)
- )
- (f64.store
- (get_global $tempDoublePtr)
- (get_local $16)
- )
- (set_local $7
- (if (result i32)
- (i32.lt_u
- (i32.and
- (i32.load offset=4
- (get_global $tempDoublePtr)
+ (f64.store
+ (get_global $tempDoublePtr)
+ (get_local $16)
+ )
+ (set_local $7
+ (if (result i32)
+ (i32.lt_u
+ (i32.and
+ (i32.load offset=4
+ (get_global $tempDoublePtr)
+ )
+ (i32.const 2146435072)
)
(i32.const 2146435072)
)
- (i32.const 2146435072)
- )
- (block $do-once49 (result i32)
- (if
- (tee_local $5
- (f64.ne
- (tee_local $23
- (f64.mul
- (call $_frexp
- (get_local $16)
- (get_local $20)
+ (block $do-once49 (result i32)
+ (if
+ (tee_local $5
+ (f64.ne
+ (tee_local $23
+ (f64.mul
+ (call $_frexp
+ (get_local $16)
+ (get_local $20)
+ )
+ (f64.const 2)
)
- (f64.const 2)
)
+ (f64.const 0)
)
- (f64.const 0)
)
- )
- (i32.store
- (get_local $20)
- (i32.add
- (i32.load
- (get_local $20)
- )
- (i32.const -1)
- )
- )
- )
- (if
- (i32.eq
- (tee_local $24
- (i32.or
- (get_local $19)
- (i32.const 32)
+ (i32.store
+ (get_local $20)
+ (i32.add
+ (i32.load
+ (get_local $20)
+ )
+ (i32.const -1)
)
)
- (i32.const 97)
)
- (block
- (set_local $9
- (select
- (i32.add
- (get_local $30)
- (i32.const 9)
- )
- (get_local $30)
- (tee_local $13
- (i32.and
- (get_local $19)
- (i32.const 32)
- )
+ (if
+ (i32.eq
+ (tee_local $24
+ (i32.or
+ (get_local $19)
+ (i32.const 32)
)
)
+ (i32.const 97)
)
- (set_local $16
- (if (result f64)
- (i32.or
- (i32.gt_u
- (get_local $6)
- (i32.const 11)
+ (block
+ (set_local $9
+ (select
+ (i32.add
+ (get_local $30)
+ (i32.const 9)
)
- (i32.eqz
- (tee_local $5
- (i32.sub
- (i32.const 12)
- (get_local $6)
- )
+ (get_local $30)
+ (tee_local $13
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
)
)
)
- (get_local $23)
- (block (result f64)
- (set_local $16
- (f64.const 8)
- )
- (loop $while-in54
- (set_local $16
- (f64.mul
- (get_local $16)
- (f64.const 16)
- )
+ )
+ (set_local $16
+ (if (result f64)
+ (i32.or
+ (i32.gt_u
+ (get_local $6)
+ (i32.const 11)
)
- (br_if $while-in54
+ (i32.eqz
(tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -1)
+ (i32.sub
+ (i32.const 12)
+ (get_local $6)
)
)
)
)
- (select
- (f64.neg
- (f64.add
- (get_local $16)
- (f64.sub
- (f64.neg
- (get_local $23)
- )
+ (get_local $23)
+ (block (result f64)
+ (set_local $16
+ (f64.const 8)
+ )
+ (loop $while-in54
+ (set_local $16
+ (f64.mul
(get_local $16)
+ (f64.const 16)
+ )
+ )
+ (br_if $while-in54
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
)
)
)
- (f64.sub
- (f64.add
- (get_local $23)
+ (select
+ (f64.neg
+ (f64.add
+ (get_local $16)
+ (f64.sub
+ (f64.neg
+ (get_local $23)
+ )
+ (get_local $16)
+ )
+ )
+ )
+ (f64.sub
+ (f64.add
+ (get_local $23)
+ (get_local $16)
+ )
(get_local $16)
)
- (get_local $16)
- )
- (i32.eq
- (i32.load8_s
- (get_local $9)
+ (i32.eq
+ (i32.load8_s
+ (get_local $9)
+ )
+ (i32.const 45)
)
- (i32.const 45)
)
)
)
)
- )
- (if
- (i32.eq
- (tee_local $5
- (call $_fmt_u
- (tee_local $5
- (select
- (i32.sub
- (i32.const 0)
- (tee_local $7
- (i32.load
- (get_local $20)
+ (if
+ (i32.eq
+ (tee_local $5
+ (call $_fmt_u
+ (tee_local $5
+ (select
+ (i32.sub
+ (i32.const 0)
+ (tee_local $7
+ (i32.load
+ (get_local $20)
+ )
)
)
- )
- (get_local $7)
- (i32.lt_s
(get_local $7)
- (i32.const 0)
+ (i32.lt_s
+ (get_local $7)
+ (i32.const 0)
+ )
)
)
- )
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ (i32.const 31)
)
(i32.const 31)
)
- (i32.const 31)
+ (get_local $32)
)
- (get_local $32)
)
+ (get_local $32)
)
- (get_local $32)
- )
- (block
- (i32.store8
- (get_local $42)
- (i32.const 48)
- )
- (set_local $5
- (get_local $42)
+ (block
+ (i32.store8
+ (get_local $42)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $42)
+ )
)
)
- )
- (set_local $12
- (i32.or
- (get_local $26)
- (i32.const 2)
- )
- )
- (i32.store8
- (i32.add
- (get_local $5)
- (i32.const -1)
- )
- (i32.add
- (i32.and
- (i32.shr_s
- (get_local $7)
- (i32.const 31)
- )
+ (set_local $12
+ (i32.or
+ (get_local $26)
(i32.const 2)
)
- (i32.const 43)
)
- )
- (i32.store8
- (tee_local $8
+ (i32.store8
(i32.add
(get_local $5)
- (i32.const -2)
+ (i32.const -1)
)
- )
- (i32.add
- (get_local $19)
- (i32.const 15)
- )
- )
- (set_local $19
- (i32.lt_s
- (get_local $6)
- (i32.const 1)
- )
- )
- (set_local $18
- (i32.eqz
- (i32.and
- (get_local $11)
- (i32.const 8)
+ (i32.add
+ (i32.and
+ (i32.shr_s
+ (get_local $7)
+ (i32.const 31)
+ )
+ (i32.const 2)
+ )
+ (i32.const 43)
)
)
- )
- (set_local $5
- (get_local $22)
- )
- (loop $while-in56
(i32.store8
- (get_local $5)
- (i32.or
- (i32.load8_u
- (i32.add
- (tee_local $7
- (i32.trunc_s/f64
- (get_local $16)
- )
- )
- (i32.const 4075)
- )
+ (tee_local $8
+ (i32.add
+ (get_local $5)
+ (i32.const -2)
)
- (get_local $13)
+ )
+ (i32.add
+ (get_local $19)
+ (i32.const 15)
)
)
- (set_local $16
- (f64.mul
- (f64.sub
- (get_local $16)
- (f64.convert_s/i32
- (get_local $7)
- )
+ (set_local $19
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 1)
+ )
+ )
+ (set_local $18
+ (i32.eqz
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
)
- (f64.const 16)
)
)
(set_local $5
- (if (result i32)
- (i32.eq
- (i32.sub
- (tee_local $7
- (i32.add
- (get_local $5)
- (i32.const 1)
+ (get_local $22)
+ )
+ (loop $while-in56
+ (i32.store8
+ (get_local $5)
+ (i32.or
+ (i32.load8_u
+ (i32.add
+ (tee_local $7
+ (i32.trunc_s/f64
+ (get_local $16)
+ )
)
+ (i32.const 4075)
)
- (get_local $36)
)
- (i32.const 1)
+ (get_local $13)
)
+ )
+ (set_local $16
+ (f64.mul
+ (f64.sub
+ (get_local $16)
+ (f64.convert_s/i32
+ (get_local $7)
+ )
+ )
+ (f64.const 16)
+ )
+ )
+ (set_local $5
(if (result i32)
- (i32.and
- (get_local $18)
- (i32.and
- (get_local $19)
- (f64.eq
- (get_local $16)
- (f64.const 0)
+ (i32.eq
+ (i32.sub
+ (tee_local $7
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
)
+ (get_local $36)
)
+ (i32.const 1)
)
- (get_local $7)
- (block (result i32)
- (i32.store8
- (get_local $7)
- (i32.const 46)
+ (if (result i32)
+ (i32.and
+ (get_local $18)
+ (i32.and
+ (get_local $19)
+ (f64.eq
+ (get_local $16)
+ (f64.const 0)
+ )
+ )
)
- (i32.add
- (get_local $5)
- (i32.const 2)
+ (get_local $7)
+ (block (result i32)
+ (i32.store8
+ (get_local $7)
+ (i32.const 46)
+ )
+ (i32.add
+ (get_local $5)
+ (i32.const 2)
+ )
)
)
+ (get_local $7)
)
- (get_local $7)
)
- )
- (br_if $while-in56
- (f64.ne
- (get_local $16)
- (f64.const 0)
+ (br_if $while-in56
+ (f64.ne
+ (get_local $16)
+ (f64.const 0)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (tee_local $7
- (i32.add
- (tee_local $6
- (select
- (i32.sub
- (i32.add
- (get_local $47)
- (get_local $6)
- )
- (get_local $8)
- )
- (i32.add
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $7
+ (i32.add
+ (tee_local $6
+ (select
(i32.sub
- (get_local $45)
+ (i32.add
+ (get_local $47)
+ (get_local $6)
+ )
(get_local $8)
)
- (get_local $5)
- )
- (i32.and
- (i32.ne
- (get_local $6)
- (i32.const 0)
+ (i32.add
+ (i32.sub
+ (get_local $45)
+ (get_local $8)
+ )
+ (get_local $5)
)
- (i32.lt_s
- (i32.add
- (get_local $46)
- (get_local $5)
+ (i32.and
+ (i32.ne
+ (get_local $6)
+ (i32.const 0)
+ )
+ (i32.lt_s
+ (i32.add
+ (get_local $46)
+ (get_local $5)
+ )
+ (get_local $6)
)
- (get_local $6)
)
)
)
+ (get_local $12)
)
- (get_local $12)
)
+ (get_local $11)
)
- (get_local $11)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $9)
+ (get_local $12)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $9)
- (get_local $12)
- (get_local $0)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (get_local $15)
+ (get_local $7)
+ (i32.xor
+ (get_local $11)
+ (i32.const 65536)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (get_local $15)
- (get_local $7)
- (i32.xor
- (get_local $11)
- (i32.const 65536)
- )
- )
- (set_local $5
- (i32.sub
- (get_local $5)
- (get_local $36)
+ (set_local $5
+ (i32.sub
+ (get_local $5)
+ (get_local $36)
+ )
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $22)
+ (get_local $5)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $22)
- (get_local $5)
- (get_local $0)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (i32.sub
+ (get_local $6)
+ (i32.add
+ (get_local $5)
+ (tee_local $5
+ (i32.sub
+ (get_local $27)
+ (get_local $8)
+ )
+ )
+ )
)
+ (i32.const 0)
+ (i32.const 0)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.sub
- (get_local $6)
- (i32.add
- (get_local $5)
- (tee_local $5
- (i32.sub
- (get_local $27)
- (get_local $8)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
)
+ (i32.const 32)
)
)
- )
- (i32.const 0)
- (i32.const 0)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (drop
+ (call $___fwritex
+ (get_local $8)
+ (get_local $5)
(get_local $0)
)
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (get_local $8)
- (get_local $5)
- (get_local $0)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $7)
- (i32.xor
- (get_local $11)
- (i32.const 8192)
- )
- )
- (br $do-once49
- (select
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
(get_local $15)
(get_local $7)
- (i32.lt_s
- (get_local $7)
+ (i32.xor
+ (get_local $11)
+ (i32.const 8192)
+ )
+ )
+ (br $do-once49
+ (select
(get_local $15)
+ (get_local $7)
+ (i32.lt_s
+ (get_local $7)
+ (get_local $15)
+ )
)
)
)
)
- )
- (set_local $16
- (if (result f64)
- (get_local $5)
- (block (result f64)
- (i32.store
- (get_local $20)
- (tee_local $5
- (i32.add
- (i32.load
- (get_local $20)
+ (set_local $16
+ (if (result f64)
+ (get_local $5)
+ (block (result f64)
+ (i32.store
+ (get_local $20)
+ (tee_local $5
+ (i32.add
+ (i32.load
+ (get_local $20)
+ )
+ (i32.const -28)
)
- (i32.const -28)
)
)
+ (f64.mul
+ (get_local $23)
+ (f64.const 268435456)
+ )
)
- (f64.mul
+ (block (result f64)
+ (set_local $5
+ (i32.load
+ (get_local $20)
+ )
+ )
(get_local $23)
- (f64.const 268435456)
)
)
- (block (result f64)
- (set_local $5
- (i32.load
- (get_local $20)
+ )
+ (set_local $7
+ (tee_local $8
+ (select
+ (get_local $48)
+ (get_local $49)
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
)
)
- (get_local $23)
)
)
- )
- (set_local $7
- (tee_local $8
- (select
- (get_local $48)
- (get_local $49)
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (loop $while-in60
+ (i32.store
+ (get_local $7)
+ (tee_local $5
+ (i32.trunc_u/f64
+ (get_local $16)
+ )
)
)
- )
- )
- (loop $while-in60
- (i32.store
- (get_local $7)
- (tee_local $5
- (i32.trunc_u/f64
- (get_local $16)
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
)
)
- )
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
- )
- (br_if $while-in60
- (f64.ne
- (tee_local $16
- (f64.mul
- (f64.sub
- (get_local $16)
- (f64.convert_u/i32
- (get_local $5)
+ (br_if $while-in60
+ (f64.ne
+ (tee_local $16
+ (f64.mul
+ (f64.sub
+ (get_local $16)
+ (f64.convert_u/i32
+ (get_local $5)
+ )
)
+ (f64.const 1e9)
)
- (f64.const 1e9)
)
+ (f64.const 0)
)
- (f64.const 0)
)
)
- )
- (if
- (i32.gt_s
- (tee_local $9
- (i32.load
- (get_local $20)
+ (if
+ (i32.gt_s
+ (tee_local $9
+ (i32.load
+ (get_local $20)
+ )
)
+ (i32.const 0)
)
- (i32.const 0)
- )
- (block
- (set_local $5
- (get_local $8)
- )
- (loop $while-in62
- (set_local $13
- (select
- (i32.const 29)
- (get_local $9)
- (i32.gt_s
- (get_local $9)
- (i32.const 29)
- )
- )
+ (block
+ (set_local $5
+ (get_local $8)
)
- (if
- (i32.ge_u
- (tee_local $9
- (i32.add
- (get_local $7)
- (i32.const -4)
+ (loop $while-in62
+ (set_local $13
+ (select
+ (i32.const 29)
+ (get_local $9)
+ (i32.gt_s
+ (get_local $9)
+ (i32.const 29)
)
)
- (get_local $5)
)
- (block $do-once63
- (set_local $12
- (i32.const 0)
+ (if
+ (i32.ge_u
+ (tee_local $9
+ (i32.add
+ (get_local $7)
+ (i32.const -4)
+ )
+ )
+ (get_local $5)
)
- (loop $while-in66
- (i32.store
- (get_local $9)
- (call $___uremdi3
- (tee_local $12
- (call $_i64Add
- (call $_bitshift64Shl
- (i32.load
- (get_local $9)
+ (block $do-once63
+ (set_local $12
+ (i32.const 0)
+ )
+ (loop $while-in66
+ (i32.store
+ (get_local $9)
+ (call $___uremdi3
+ (tee_local $12
+ (call $_i64Add
+ (call $_bitshift64Shl
+ (i32.load
+ (get_local $9)
+ )
+ (i32.const 0)
+ (get_local $13)
)
+ (get_global $tempRet0)
+ (get_local $12)
(i32.const 0)
- (get_local $13)
)
+ )
+ (tee_local $18
(get_global $tempRet0)
- (get_local $12)
- (i32.const 0)
)
+ (i32.const 1000000000)
)
- (tee_local $18
- (get_global $tempRet0)
+ )
+ (set_local $12
+ (call $___udivdi3
+ (get_local $12)
+ (get_local $18)
+ (i32.const 1000000000)
+ )
+ )
+ (br_if $while-in66
+ (i32.ge_u
+ (tee_local $9
+ (i32.add
+ (get_local $9)
+ (i32.const -4)
+ )
+ )
+ (get_local $5)
)
- (i32.const 1000000000)
)
)
- (set_local $12
- (call $___udivdi3
+ (br_if $do-once63
+ (i32.eqz
(get_local $12)
- (get_local $18)
- (i32.const 1000000000)
)
)
- (br_if $while-in66
- (i32.ge_u
- (tee_local $9
- (i32.add
- (get_local $9)
- (i32.const -4)
- )
+ (i32.store
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
)
- (get_local $5)
)
- )
- )
- (br_if $do-once63
- (i32.eqz
(get_local $12)
)
)
- (i32.store
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -4)
- )
- )
- (get_local $12)
- )
)
- )
- (loop $while-in68
- (if
- (i32.gt_u
- (get_local $7)
- (get_local $5)
- )
+ (loop $while-in68
(if
- (i32.eqz
- (i32.load
- (tee_local $9
- (i32.add
- (get_local $7)
- (i32.const -4)
+ (i32.gt_u
+ (get_local $7)
+ (get_local $5)
+ )
+ (if
+ (i32.eqz
+ (i32.load
+ (tee_local $9
+ (i32.add
+ (get_local $7)
+ (i32.const -4)
+ )
)
)
)
- )
- (block
- (set_local $7
- (get_local $9)
+ (block
+ (set_local $7
+ (get_local $9)
+ )
+ (br $while-in68)
)
- (br $while-in68)
)
)
)
- )
- (i32.store
- (get_local $20)
- (tee_local $9
- (i32.sub
- (i32.load
- (get_local $20)
+ (i32.store
+ (get_local $20)
+ (tee_local $9
+ (i32.sub
+ (i32.load
+ (get_local $20)
+ )
+ (get_local $13)
)
- (get_local $13)
)
)
- )
- (br_if $while-in62
- (i32.gt_s
- (get_local $9)
- (i32.const 0)
+ (br_if $while-in62
+ (i32.gt_s
+ (get_local $9)
+ (i32.const 0)
+ )
)
)
)
- )
- (set_local $5
- (get_local $8)
- )
- )
- (set_local $18
- (select
- (i32.const 6)
- (get_local $6)
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
+ (set_local $5
+ (get_local $8)
)
)
- )
- (if
- (i32.lt_s
- (get_local $9)
- (i32.const 0)
- )
- (block
- (set_local $21
- (i32.add
- (i32.div_s
- (i32.add
- (get_local $18)
- (i32.const 25)
- )
- (i32.const 9)
- )
- (i32.const 1)
- )
- )
- (set_local $31
- (i32.eq
- (get_local $24)
- (i32.const 102)
+ (set_local $18
+ (select
+ (i32.const 6)
+ (get_local $6)
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 0)
)
)
- (set_local $6
- (get_local $5)
- )
- (set_local $5
- (get_local $7)
+ )
+ (if
+ (i32.lt_s
+ (get_local $9)
+ (i32.const 0)
)
- (loop $while-in70
- (set_local $13
- (select
- (i32.const 9)
- (tee_local $7
- (i32.sub
- (i32.const 0)
- (get_local $9)
+ (block
+ (set_local $21
+ (i32.add
+ (i32.div_s
+ (i32.add
+ (get_local $18)
+ (i32.const 25)
)
- )
- (i32.gt_s
- (get_local $7)
(i32.const 9)
)
+ (i32.const 1)
)
)
- (if
- (i32.lt_u
- (get_local $6)
- (get_local $5)
+ (set_local $31
+ (i32.eq
+ (get_local $24)
+ (i32.const 102)
)
- (block $do-once71
- (set_local $12
- (i32.add
- (i32.shl
- (i32.const 1)
- (get_local $13)
+ )
+ (set_local $6
+ (get_local $5)
+ )
+ (set_local $5
+ (get_local $7)
+ )
+ (loop $while-in70
+ (set_local $13
+ (select
+ (i32.const 9)
+ (tee_local $7
+ (i32.sub
+ (i32.const 0)
+ (get_local $9)
)
- (i32.const -1)
)
- )
- (set_local $37
- (i32.shr_u
- (i32.const 1000000000)
- (get_local $13)
+ (i32.gt_s
+ (get_local $7)
+ (i32.const 9)
)
)
- (set_local $9
- (i32.const 0)
- )
- (set_local $7
+ )
+ (if
+ (i32.lt_u
(get_local $6)
+ (get_local $5)
)
- (loop $while-in74
- (i32.store
- (get_local $7)
+ (block $do-once71
+ (set_local $12
(i32.add
- (i32.shr_u
- (tee_local $38
- (i32.load
- (get_local $7)
- )
- )
+ (i32.shl
+ (i32.const 1)
(get_local $13)
)
- (get_local $9)
+ (i32.const -1)
+ )
+ )
+ (set_local $37
+ (i32.shr_u
+ (i32.const 1000000000)
+ (get_local $13)
)
)
(set_local $9
- (i32.mul
- (i32.and
- (get_local $38)
- (get_local $12)
+ (i32.const 0)
+ )
+ (set_local $7
+ (get_local $6)
+ )
+ (loop $while-in74
+ (i32.store
+ (get_local $7)
+ (i32.add
+ (i32.shr_u
+ (tee_local $38
+ (i32.load
+ (get_local $7)
+ )
+ )
+ (get_local $13)
+ )
+ (get_local $9)
)
- (get_local $37)
)
- )
- (br_if $while-in74
- (i32.lt_u
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
+ (set_local $9
+ (i32.mul
+ (i32.and
+ (get_local $38)
+ (get_local $12)
)
+ (get_local $37)
+ )
+ )
+ (br_if $while-in74
+ (i32.lt_u
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
+ )
+ )
+ (get_local $5)
+ )
+ )
+ )
+ (set_local $7
+ (select
+ (get_local $6)
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ (i32.load
+ (get_local $6)
)
+ )
+ )
+ (br_if $do-once71
+ (i32.eqz
+ (get_local $9)
+ )
+ )
+ (i32.store
+ (get_local $5)
+ (get_local $9)
+ )
+ (set_local $5
+ (i32.add
(get_local $5)
+ (i32.const 4)
)
)
)
@@ -4611,1133 +4643,1044 @@
)
)
)
- (br_if $do-once71
- (i32.eqz
- (get_local $9)
- )
- )
- (i32.store
- (get_local $5)
- (get_local $9)
- )
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 4)
- )
- )
)
- (set_local $7
+ (set_local $12
(select
- (get_local $6)
(i32.add
- (get_local $6)
- (i32.const 4)
- )
- (i32.load
- (get_local $6)
- )
- )
- )
- )
- (set_local $12
- (select
- (i32.add
- (tee_local $6
- (select
- (get_local $8)
- (get_local $7)
- (get_local $31)
+ (tee_local $6
+ (select
+ (get_local $8)
+ (get_local $7)
+ (get_local $31)
+ )
+ )
+ (i32.shl
+ (get_local $21)
+ (i32.const 2)
)
)
- (i32.shl
- (get_local $21)
- (i32.const 2)
- )
- )
- (get_local $5)
- (i32.gt_s
- (i32.shr_s
- (i32.sub
- (get_local $5)
- (get_local $6)
+ (get_local $5)
+ (i32.gt_s
+ (i32.shr_s
+ (i32.sub
+ (get_local $5)
+ (get_local $6)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (get_local $21)
)
- (get_local $21)
)
)
- )
- (i32.store
- (get_local $20)
- (tee_local $9
- (i32.add
- (i32.load
- (get_local $20)
+ (i32.store
+ (get_local $20)
+ (tee_local $9
+ (i32.add
+ (i32.load
+ (get_local $20)
+ )
+ (get_local $13)
)
- (get_local $13)
)
)
- )
- (set_local $5
- (if (result i32)
- (i32.lt_s
- (get_local $9)
- (i32.const 0)
- )
- (block
- (set_local $6
- (get_local $7)
+ (set_local $5
+ (if (result i32)
+ (i32.lt_s
+ (get_local $9)
+ (i32.const 0)
)
- (set_local $5
- (get_local $12)
+ (block
+ (set_local $6
+ (get_local $7)
+ )
+ (set_local $5
+ (get_local $12)
+ )
+ (br $while-in70)
)
- (br $while-in70)
- )
- (block (result i32)
- (set_local $9
- (get_local $12)
+ (block (result i32)
+ (set_local $9
+ (get_local $12)
+ )
+ (get_local $7)
)
- (get_local $7)
)
)
)
)
+ (set_local $9
+ (get_local $7)
+ )
)
- (set_local $9
- (get_local $7)
- )
- )
- (set_local $21
- (get_local $8)
- )
- (if
- (i32.lt_u
- (get_local $5)
- (get_local $9)
+ (set_local $21
+ (get_local $8)
)
- (block $do-once75
- (set_local $7
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $21)
- (get_local $5)
+ (if
+ (i32.lt_u
+ (get_local $5)
+ (get_local $9)
+ )
+ (block $do-once75
+ (set_local $7
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $21)
+ (get_local $5)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (i32.const 9)
)
- (i32.const 9)
)
- )
- (br_if $do-once75
- (i32.lt_u
- (tee_local $12
- (i32.load
- (get_local $5)
+ (br_if $do-once75
+ (i32.lt_u
+ (tee_local $12
+ (i32.load
+ (get_local $5)
+ )
)
+ (i32.const 10)
)
+ )
+ (set_local $6
(i32.const 10)
)
- )
- (set_local $6
- (i32.const 10)
- )
- (loop $while-in78
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 1)
+ (loop $while-in78
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 1)
+ )
)
- )
- (br_if $while-in78
- (i32.ge_u
- (get_local $12)
- (tee_local $6
- (i32.mul
- (get_local $6)
- (i32.const 10)
+ (br_if $while-in78
+ (i32.ge_u
+ (get_local $12)
+ (tee_local $6
+ (i32.mul
+ (get_local $6)
+ (i32.const 10)
+ )
)
)
)
)
)
+ (set_local $7
+ (i32.const 0)
+ )
)
- (set_local $7
- (i32.const 0)
- )
- )
- (set_local $5
- (if (result i32)
- (i32.lt_s
- (tee_local $6
- (i32.add
- (i32.sub
- (get_local $18)
- (select
- (get_local $7)
- (i32.const 0)
- (i32.ne
- (get_local $24)
- (i32.const 102)
+ (set_local $5
+ (if (result i32)
+ (i32.lt_s
+ (tee_local $6
+ (i32.add
+ (i32.sub
+ (get_local $18)
+ (select
+ (get_local $7)
+ (i32.const 0)
+ (i32.ne
+ (get_local $24)
+ (i32.const 102)
+ )
)
)
- )
- (i32.shr_s
- (i32.shl
- (i32.and
- (tee_local $31
- (i32.ne
- (get_local $18)
- (i32.const 0)
+ (i32.shr_s
+ (i32.shl
+ (i32.and
+ (tee_local $31
+ (i32.ne
+ (get_local $18)
+ (i32.const 0)
+ )
)
- )
- (tee_local $37
- (i32.eq
- (get_local $24)
- (i32.const 103)
+ (tee_local $37
+ (i32.eq
+ (get_local $24)
+ (i32.const 103)
+ )
)
)
+ (i32.const 31)
)
(i32.const 31)
)
- (i32.const 31)
)
)
- )
- (i32.add
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $9)
- (get_local $21)
+ (i32.add
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $9)
+ (get_local $21)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (i32.const 9)
)
- (i32.const 9)
+ (i32.const -9)
)
- (i32.const -9)
)
- )
- (block (result i32)
- (if
- (i32.lt_s
- (tee_local $6
- (i32.add
- (i32.rem_s
- (tee_local $13
- (i32.add
- (get_local $6)
- (i32.const 9216)
+ (block (result i32)
+ (if
+ (i32.lt_s
+ (tee_local $6
+ (i32.add
+ (i32.rem_s
+ (tee_local $13
+ (i32.add
+ (get_local $6)
+ (i32.const 9216)
+ )
)
+ (i32.const 9)
)
- (i32.const 9)
+ (i32.const 1)
)
- (i32.const 1)
)
+ (i32.const 9)
)
- (i32.const 9)
- )
- (block
- (set_local $12
- (i32.const 10)
- )
- (loop $while-in80
+ (block
(set_local $12
- (i32.mul
- (get_local $12)
- (i32.const 10)
- )
+ (i32.const 10)
)
- (br_if $while-in80
- (i32.ne
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 1)
+ (loop $while-in80
+ (set_local $12
+ (i32.mul
+ (get_local $12)
+ (i32.const 10)
+ )
+ )
+ (br_if $while-in80
+ (i32.ne
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 1)
+ )
)
+ (i32.const 9)
)
- (i32.const 9)
)
)
)
+ (set_local $12
+ (i32.const 10)
+ )
)
- (set_local $12
- (i32.const 10)
- )
- )
- (set_local $13
- (i32.rem_u
- (tee_local $24
- (i32.load
- (tee_local $6
- (i32.add
+ (set_local $13
+ (i32.rem_u
+ (tee_local $24
+ (i32.load
+ (tee_local $6
(i32.add
- (get_local $8)
- (i32.shl
- (i32.div_s
- (get_local $13)
- (i32.const 9)
+ (i32.add
+ (get_local $8)
+ (i32.shl
+ (i32.div_s
+ (get_local $13)
+ (i32.const 9)
+ )
+ (i32.const 2)
)
- (i32.const 2)
)
+ (i32.const -4092)
)
- (i32.const -4092)
)
)
)
+ (get_local $12)
)
- (get_local $12)
)
- )
- (if
- (i32.eqz
- (i32.and
- (tee_local $38
- (i32.eq
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $38
+ (i32.eq
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ (get_local $9)
)
- (get_local $9)
)
- )
- (i32.eqz
- (get_local $13)
+ (i32.eqz
+ (get_local $13)
+ )
)
)
- )
- (block $do-once81
- (set_local $16
- (if (result f64)
- (i32.lt_u
- (get_local $13)
- (tee_local $50
- (i32.div_s
- (get_local $12)
- (i32.const 2)
+ (block $do-once81
+ (set_local $16
+ (if (result f64)
+ (i32.lt_u
+ (get_local $13)
+ (tee_local $50
+ (i32.div_s
+ (get_local $12)
+ (i32.const 2)
+ )
)
)
- )
- (f64.const 0.5)
- (select
- (f64.const 1)
- (f64.const 1.5)
- (i32.and
- (get_local $38)
- (i32.eq
- (get_local $13)
- (get_local $50)
+ (f64.const 0.5)
+ (select
+ (f64.const 1)
+ (f64.const 1.5)
+ (i32.and
+ (get_local $38)
+ (i32.eq
+ (get_local $13)
+ (get_local $50)
+ )
)
)
)
)
- )
- (set_local $23
- (select
- (f64.const 9007199254740994)
- (f64.const 9007199254740992)
- (i32.and
- (i32.div_u
- (get_local $24)
- (get_local $12)
+ (set_local $23
+ (select
+ (f64.const 9007199254740994)
+ (f64.const 9007199254740992)
+ (i32.and
+ (i32.div_u
+ (get_local $24)
+ (get_local $12)
+ )
+ (i32.const 1)
)
- (i32.const 1)
)
)
- )
- (if
- (get_local $26)
(if
- (i32.eq
- (i32.load8_s
- (get_local $30)
- )
- (i32.const 45)
- )
- (block
- (set_local $23
- (f64.neg
- (get_local $23)
+ (get_local $26)
+ (if
+ (i32.eq
+ (i32.load8_s
+ (get_local $30)
)
+ (i32.const 45)
)
- (set_local $16
- (f64.neg
- (get_local $16)
+ (block
+ (set_local $23
+ (f64.neg
+ (get_local $23)
+ )
+ )
+ (set_local $16
+ (f64.neg
+ (get_local $16)
+ )
)
)
)
)
- )
- (i32.store
- (get_local $6)
- (tee_local $13
- (i32.sub
- (get_local $24)
- (get_local $13)
+ (i32.store
+ (get_local $6)
+ (tee_local $13
+ (i32.sub
+ (get_local $24)
+ (get_local $13)
+ )
)
)
- )
- (br_if $do-once81
- (f64.eq
- (f64.add
+ (br_if $do-once81
+ (f64.eq
+ (f64.add
+ (get_local $23)
+ (get_local $16)
+ )
(get_local $23)
- (get_local $16)
)
- (get_local $23)
)
- )
- (i32.store
- (get_local $6)
- (tee_local $7
- (i32.add
- (get_local $13)
- (get_local $12)
+ (i32.store
+ (get_local $6)
+ (tee_local $7
+ (i32.add
+ (get_local $13)
+ (get_local $12)
+ )
)
)
- )
- (if
- (i32.gt_u
- (get_local $7)
- (i32.const 999999999)
- )
- (loop $while-in86
- (i32.store
- (get_local $6)
- (i32.const 0)
+ (if
+ (i32.gt_u
+ (get_local $7)
+ (i32.const 999999999)
)
- (if
- (i32.lt_u
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -4)
+ (loop $while-in86
+ (i32.store
+ (get_local $6)
+ (i32.const 0)
+ )
+ (if
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -4)
+ )
)
+ (get_local $5)
+ )
+ (i32.store
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
+ )
+ )
+ (i32.const 0)
)
- (get_local $5)
)
(i32.store
- (tee_local $5
+ (get_local $6)
+ (tee_local $7
(i32.add
- (get_local $5)
- (i32.const -4)
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 1)
)
)
- (i32.const 0)
)
- )
- (i32.store
- (get_local $6)
- (tee_local $7
- (i32.add
- (i32.load
- (get_local $6)
- )
- (i32.const 1)
+ (br_if $while-in86
+ (i32.gt_u
+ (get_local $7)
+ (i32.const 999999999)
)
)
)
- (br_if $while-in86
- (i32.gt_u
- (get_local $7)
- (i32.const 999999999)
- )
- )
)
- )
- (set_local $7
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $21)
- (get_local $5)
+ (set_local $7
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $21)
+ (get_local $5)
+ )
+ (i32.const 2)
)
- (i32.const 2)
+ (i32.const 9)
)
- (i32.const 9)
)
- )
- (br_if $do-once81
- (i32.lt_u
- (tee_local $13
- (i32.load
- (get_local $5)
+ (br_if $do-once81
+ (i32.lt_u
+ (tee_local $13
+ (i32.load
+ (get_local $5)
+ )
)
+ (i32.const 10)
)
+ )
+ (set_local $12
(i32.const 10)
)
- )
- (set_local $12
- (i32.const 10)
- )
- (loop $while-in88
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 1)
+ (loop $while-in88
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 1)
+ )
)
- )
- (br_if $while-in88
- (i32.ge_u
- (get_local $13)
- (tee_local $12
- (i32.mul
- (get_local $12)
- (i32.const 10)
+ (br_if $while-in88
+ (i32.ge_u
+ (get_local $13)
+ (tee_local $12
+ (i32.mul
+ (get_local $12)
+ (i32.const 10)
+ )
)
)
)
)
)
)
- )
- (set_local $12
- (get_local $5)
- )
- (set_local $13
- (get_local $7)
- )
- (select
- (tee_local $5
- (i32.add
- (get_local $6)
- (i32.const 4)
- )
+ (set_local $12
+ (get_local $5)
)
- (get_local $9)
- (i32.gt_u
+ (set_local $13
+ (get_local $7)
+ )
+ (select
+ (tee_local $5
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ )
(get_local $9)
+ (i32.gt_u
+ (get_local $9)
+ (get_local $5)
+ )
+ )
+ )
+ (block (result i32)
+ (set_local $12
(get_local $5)
)
+ (set_local $13
+ (get_local $7)
+ )
+ (get_local $9)
)
)
- (block (result i32)
- (set_local $12
- (get_local $5)
- )
- (set_local $13
- (get_local $7)
- )
- (get_local $9)
- )
)
- )
- (set_local $9
- (loop $while-in90 (result i32)
- (block $while-out89 (result i32)
- (if
- (i32.le_u
- (get_local $5)
- (get_local $12)
- )
- (block
- (set_local $24
- (i32.const 0)
- )
- (br $while-out89
+ (set_local $9
+ (loop $while-in90 (result i32)
+ (block $while-out89 (result i32)
+ (if
+ (i32.le_u
(get_local $5)
+ (get_local $12)
)
- )
- )
- (if (result i32)
- (i32.load
- (tee_local $7
- (i32.add
+ (block
+ (set_local $24
+ (i32.const 0)
+ )
+ (br $while-out89
(get_local $5)
- (i32.const -4)
)
)
)
- (block (result i32)
- (set_local $24
- (i32.const 1)
+ (if (result i32)
+ (i32.load
+ (tee_local $7
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
+ )
+ )
)
- (get_local $5)
- )
- (block
- (set_local $5
- (get_local $7)
+ (block (result i32)
+ (set_local $24
+ (i32.const 1)
+ )
+ (get_local $5)
+ )
+ (block
+ (set_local $5
+ (get_local $7)
+ )
+ (br $while-in90)
)
- (br $while-in90)
)
)
)
)
- )
- (set_local $5
- (if (result i32)
- (get_local $37)
- (block $do-once91 (result i32)
- (set_local $7
- (if (result i32)
- (i32.and
- (i32.gt_s
- (tee_local $5
- (i32.add
- (i32.xor
- (get_local $31)
- (i32.const 1)
+ (set_local $5
+ (if (result i32)
+ (get_local $37)
+ (block $do-once91 (result i32)
+ (set_local $7
+ (if (result i32)
+ (i32.and
+ (i32.gt_s
+ (tee_local $5
+ (i32.add
+ (i32.xor
+ (get_local $31)
+ (i32.const 1)
+ )
+ (get_local $18)
)
- (get_local $18)
)
+ (get_local $13)
+ )
+ (i32.gt_s
+ (get_local $13)
+ (i32.const -5)
)
- (get_local $13)
)
- (i32.gt_s
- (get_local $13)
- (i32.const -5)
+ (block (result i32)
+ (set_local $18
+ (i32.sub
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
+ (get_local $13)
+ )
+ )
+ (i32.add
+ (get_local $19)
+ (i32.const -1)
+ )
)
- )
- (block (result i32)
- (set_local $18
- (i32.sub
+ (block (result i32)
+ (set_local $18
(i32.add
(get_local $5)
(i32.const -1)
)
- (get_local $13)
)
- )
- (i32.add
- (get_local $19)
- (i32.const -1)
- )
- )
- (block (result i32)
- (set_local $18
(i32.add
- (get_local $5)
- (i32.const -1)
+ (get_local $19)
+ (i32.const -2)
)
)
- (i32.add
- (get_local $19)
- (i32.const -2)
- )
)
)
- )
- (if
- (tee_local $5
- (i32.and
- (get_local $11)
- (i32.const 8)
- )
- )
- (block
- (set_local $21
- (get_local $5)
+ (if
+ (tee_local $5
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
+ )
)
- (br $do-once91
- (get_local $18)
+ (block
+ (set_local $21
+ (get_local $5)
+ )
+ (br $do-once91
+ (get_local $18)
+ )
)
)
- )
- (if
- (get_local $24)
- (block $do-once93
- (if
- (i32.eqz
- (tee_local $19
- (i32.load
- (i32.add
- (get_local $9)
- (i32.const -4)
+ (if
+ (get_local $24)
+ (block $do-once93
+ (if
+ (i32.eqz
+ (tee_local $19
+ (i32.load
+ (i32.add
+ (get_local $9)
+ (i32.const -4)
+ )
)
)
)
- )
- (block
- (set_local $5
- (i32.const 9)
- )
- (br $do-once93)
- )
- )
- (set_local $5
- (if (result i32)
- (i32.rem_u
- (get_local $19)
- (i32.const 10)
- )
(block
(set_local $5
- (i32.const 0)
+ (i32.const 9)
)
(br $do-once93)
)
- (block (result i32)
- (set_local $6
+ )
+ (set_local $5
+ (if (result i32)
+ (i32.rem_u
+ (get_local $19)
(i32.const 10)
)
- (i32.const 0)
+ (block
+ (set_local $5
+ (i32.const 0)
+ )
+ (br $do-once93)
+ )
+ (block (result i32)
+ (set_local $6
+ (i32.const 10)
+ )
+ (i32.const 0)
+ )
)
)
- )
- (loop $while-in96
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 1)
+ (loop $while-in96
+ (set_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const 1)
+ )
)
- )
- (br_if $while-in96
- (i32.eqz
- (i32.rem_u
- (get_local $19)
- (tee_local $6
- (i32.mul
- (get_local $6)
- (i32.const 10)
+ (br_if $while-in96
+ (i32.eqz
+ (i32.rem_u
+ (get_local $19)
+ (tee_local $6
+ (i32.mul
+ (get_local $6)
+ (i32.const 10)
+ )
)
)
)
)
)
)
- )
- (set_local $5
- (i32.const 9)
- )
- )
- (set_local $6
- (i32.add
- (i32.mul
- (i32.shr_s
- (i32.sub
- (get_local $9)
- (get_local $21)
- )
- (i32.const 2)
- )
+ (set_local $5
(i32.const 9)
)
- (i32.const -9)
)
- )
- (if (result i32)
- (i32.eq
- (i32.or
- (get_local $7)
- (i32.const 32)
- )
- (i32.const 102)
- )
- (block (result i32)
- (set_local $21
- (i32.const 0)
- )
- (select
- (get_local $18)
- (tee_local $5
- (select
- (i32.const 0)
- (tee_local $5
- (i32.sub
- (get_local $6)
- (get_local $5)
- )
- )
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
+ (set_local $6
+ (i32.add
+ (i32.mul
+ (i32.shr_s
+ (i32.sub
+ (get_local $9)
+ (get_local $21)
)
+ (i32.const 2)
)
+ (i32.const 9)
)
- (i32.lt_s
- (get_local $18)
- (get_local $5)
- )
+ (i32.const -9)
)
)
- (block (result i32)
- (set_local $21
- (i32.const 0)
+ (if (result i32)
+ (i32.eq
+ (i32.or
+ (get_local $7)
+ (i32.const 32)
+ )
+ (i32.const 102)
)
- (select
- (get_local $18)
- (tee_local $5
- (select
- (i32.const 0)
- (tee_local $5
- (i32.sub
- (i32.add
+ (block (result i32)
+ (set_local $21
+ (i32.const 0)
+ )
+ (select
+ (get_local $18)
+ (tee_local $5
+ (select
+ (i32.const 0)
+ (tee_local $5
+ (i32.sub
(get_local $6)
- (get_local $13)
+ (get_local $5)
)
+ )
+ (i32.lt_s
(get_local $5)
+ (i32.const 0)
)
)
- (i32.lt_s
- (get_local $5)
- (i32.const 0)
- )
+ )
+ (i32.lt_s
+ (get_local $18)
+ (get_local $5)
)
)
- (i32.lt_s
+ )
+ (block (result i32)
+ (set_local $21
+ (i32.const 0)
+ )
+ (select
(get_local $18)
- (get_local $5)
+ (tee_local $5
+ (select
+ (i32.const 0)
+ (tee_local $5
+ (i32.sub
+ (i32.add
+ (get_local $6)
+ (get_local $13)
+ )
+ (get_local $5)
+ )
+ )
+ (i32.lt_s
+ (get_local $5)
+ (i32.const 0)
+ )
+ )
+ )
+ (i32.lt_s
+ (get_local $18)
+ (get_local $5)
+ )
)
)
)
)
- )
- (block (result i32)
- (set_local $21
- (i32.and
- (get_local $11)
- (i32.const 8)
+ (block (result i32)
+ (set_local $21
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
+ )
)
+ (set_local $7
+ (get_local $19)
+ )
+ (get_local $18)
)
- (set_local $7
- (get_local $19)
- )
- (get_local $18)
)
)
- )
- (set_local $6
- (i32.sub
- (i32.const 0)
- (get_local $13)
+ (set_local $6
+ (i32.sub
+ (i32.const 0)
+ (get_local $13)
+ )
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (tee_local $13
- (i32.add
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $13
(i32.add
(i32.add
(i32.add
- (get_local $26)
- (i32.const 1)
- )
- (get_local $5)
- )
- (i32.ne
- (tee_local $31
- (i32.or
- (get_local $5)
- (get_local $21)
+ (i32.add
+ (get_local $26)
+ (i32.const 1)
)
+ (get_local $5)
)
- (i32.const 0)
- )
- )
- (if (result i32)
- (tee_local $18
- (i32.eq
- (i32.or
- (get_local $7)
- (i32.const 32)
+ (i32.ne
+ (tee_local $31
+ (i32.or
+ (get_local $5)
+ (get_local $21)
+ )
)
- (i32.const 102)
+ (i32.const 0)
)
)
- (block (result i32)
- (set_local $19
- (i32.const 0)
+ (if (result i32)
+ (tee_local $18
+ (i32.eq
+ (i32.or
+ (get_local $7)
+ (i32.const 32)
+ )
+ (i32.const 102)
+ )
)
- (select
- (get_local $13)
- (i32.const 0)
- (i32.gt_s
+ (block (result i32)
+ (set_local $19
+ (i32.const 0)
+ )
+ (select
(get_local $13)
(i32.const 0)
+ (i32.gt_s
+ (get_local $13)
+ (i32.const 0)
+ )
)
)
- )
- (block (result i32)
- (if
- (i32.lt_s
- (i32.sub
- (get_local $27)
- (tee_local $6
- (call $_fmt_u
- (tee_local $6
- (select
- (get_local $6)
- (get_local $13)
- (i32.lt_s
+ (block (result i32)
+ (if
+ (i32.lt_s
+ (i32.sub
+ (get_local $27)
+ (tee_local $6
+ (call $_fmt_u
+ (tee_local $6
+ (select
+ (get_local $6)
(get_local $13)
- (i32.const 0)
+ (i32.lt_s
+ (get_local $13)
+ (i32.const 0)
+ )
)
)
- )
- (i32.shr_s
- (i32.shl
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
+ (i32.shr_s
+ (i32.shl
+ (i32.lt_s
+ (get_local $6)
+ (i32.const 0)
+ )
+ (i32.const 31)
)
(i32.const 31)
)
- (i32.const 31)
+ (get_local $32)
)
- (get_local $32)
)
)
+ (i32.const 2)
)
- (i32.const 2)
- )
- (loop $while-in98
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
+ (loop $while-in98
+ (i32.store8
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
+ )
+ )
+ (i32.const 48)
+ )
+ (br_if $while-in98
+ (i32.lt_s
+ (i32.sub
+ (get_local $27)
+ (get_local $6)
+ )
+ (i32.const 2)
)
)
- (i32.const 48)
)
- (br_if $while-in98
- (i32.lt_s
- (i32.sub
- (get_local $27)
- (get_local $6)
+ )
+ (i32.store8
+ (i32.add
+ (get_local $6)
+ (i32.const -1)
+ )
+ (i32.add
+ (i32.and
+ (i32.shr_s
+ (get_local $13)
+ (i32.const 31)
)
(i32.const 2)
)
+ (i32.const 43)
)
)
- )
- (i32.store8
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
- (i32.add
- (i32.and
- (i32.shr_s
- (get_local $13)
- (i32.const 31)
+ (i32.store8
+ (tee_local $19
+ (i32.add
+ (get_local $6)
+ (i32.const -2)
)
- (i32.const 2)
)
- (i32.const 43)
+ (get_local $7)
)
- )
- (i32.store8
- (tee_local $19
- (i32.add
- (get_local $6)
- (i32.const -2)
- )
+ (i32.sub
+ (get_local $27)
+ (get_local $19)
)
- (get_local $7)
- )
- (i32.sub
- (get_local $27)
- (get_local $19)
)
)
)
)
+ (get_local $11)
)
- (get_local $11)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $30)
+ (get_local $26)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $26)
- (get_local $0)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (get_local $15)
+ (get_local $13)
+ (i32.xor
+ (get_local $11)
+ (i32.const 65536)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (get_local $15)
- (get_local $13)
- (i32.xor
- (get_local $11)
- (i32.const 65536)
- )
- )
- (if
- (get_local $18)
- (block
- (set_local $6
- (tee_local $12
- (select
- (get_local $8)
- (get_local $12)
- (i32.gt_u
- (get_local $12)
+ (if
+ (get_local $18)
+ (block
+ (set_local $6
+ (tee_local $12
+ (select
(get_local $8)
+ (get_local $12)
+ (i32.gt_u
+ (get_local $12)
+ (get_local $8)
+ )
)
)
)
- )
- (loop $while-in102
- (set_local $7
- (call $_fmt_u
- (i32.load
- (get_local $6)
+ (loop $while-in102
+ (set_local $7
+ (call $_fmt_u
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 0)
+ (get_local $29)
)
- (i32.const 0)
- (get_local $29)
)
- )
- (block $do-once103
- (if
- (i32.eq
- (get_local $6)
- (get_local $12)
- )
- (block
- (br_if $do-once103
- (i32.ne
- (get_local $7)
- (get_local $29)
- )
- )
- (i32.store8
- (get_local $33)
- (i32.const 48)
- )
- (set_local $7
- (get_local $33)
+ (block $do-once103
+ (if
+ (i32.eq
+ (get_local $6)
+ (get_local $12)
)
- )
- (block
- (br_if $do-once103
- (i32.le_u
- (get_local $7)
- (get_local $22)
+ (block
+ (br_if $do-once103
+ (i32.ne
+ (get_local $7)
+ (get_local $29)
+ )
)
- )
- (loop $while-in106
(i32.store8
- (tee_local $7
- (i32.add
- (get_local $7)
- (i32.const -1)
- )
- )
+ (get_local $33)
(i32.const 48)
)
- (br_if $while-in106
- (i32.gt_u
+ (set_local $7
+ (get_local $33)
+ )
+ )
+ (block
+ (br_if $do-once103
+ (i32.le_u
(get_local $7)
(get_local $22)
)
)
+ (loop $while-in106
+ (i32.store8
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const -1)
+ )
+ )
+ (i32.const 48)
+ )
+ (br_if $while-in106
+ (i32.gt_u
+ (get_local $7)
+ (get_local $22)
+ )
+ )
+ )
)
)
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $7)
- (i32.sub
- (get_local $43)
+ (drop
+ (call $___fwritex
(get_local $7)
- )
- (get_local $0)
- )
- )
- )
- (if
- (i32.le_u
- (tee_local $7
- (i32.add
- (get_local $6)
- (i32.const 4)
- )
- )
- (get_local $8)
- )
- (block
- (set_local $6
- (get_local $7)
- )
- (br $while-in102)
- )
- )
- )
- (if
- (get_local $31)
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (i32.sub
+ (get_local $43)
+ (get_local $7)
+ )
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (i32.const 4143)
- (i32.const 1)
- (get_local $0)
- )
- )
- )
- )
- (if
- (i32.and
- (i32.gt_s
- (get_local $5)
- (i32.const 0)
- )
- (i32.lt_u
- (get_local $7)
- (get_local $9)
- )
- )
- (loop $while-in110
(if
- (i32.gt_u
- (tee_local $6
- (call $_fmt_u
- (i32.load
- (get_local $7)
- )
- (i32.const 0)
- (get_local $29)
+ (i32.le_u
+ (tee_local $7
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
)
)
- (get_local $22)
+ (get_local $8)
)
- (loop $while-in112
- (i32.store8
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const -1)
- )
- )
- (i32.const 48)
- )
- (br_if $while-in112
- (i32.gt_u
- (get_local $6)
- (get_local $22)
- )
+ (block
+ (set_local $6
+ (get_local $7)
)
+ (br $while-in102)
)
)
+ )
+ (if
+ (get_local $31)
(if
(i32.eqz
(i32.and
@@ -5749,770 +5692,826 @@
)
(drop
(call $___fwritex
- (get_local $6)
- (select
- (i32.const 9)
- (get_local $5)
- (i32.gt_s
- (get_local $5)
- (i32.const 9)
- )
- )
+ (i32.const 4143)
+ (i32.const 1)
(get_local $0)
)
)
)
- (set_local $6
- (i32.add
+ )
+ (if
+ (i32.and
+ (i32.gt_s
(get_local $5)
- (i32.const -9)
+ (i32.const 0)
+ )
+ (i32.lt_u
+ (get_local $7)
+ (get_local $9)
)
)
- (set_local $5
- (if (result i32)
- (i32.and
- (i32.gt_s
- (get_local $5)
- (i32.const 9)
+ (loop $while-in110
+ (if
+ (i32.gt_u
+ (tee_local $6
+ (call $_fmt_u
+ (i32.load
+ (get_local $7)
+ )
+ (i32.const 0)
+ (get_local $29)
+ )
)
- (i32.lt_u
- (tee_local $7
+ (get_local $22)
+ )
+ (loop $while-in112
+ (i32.store8
+ (tee_local $6
(i32.add
- (get_local $7)
- (i32.const 4)
+ (get_local $6)
+ (i32.const -1)
)
)
- (get_local $9)
+ (i32.const 48)
+ )
+ (br_if $while-in112
+ (i32.gt_u
+ (get_local $6)
+ (get_local $22)
+ )
)
)
- (block
- (set_local $5
+ )
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
(get_local $6)
+ (select
+ (i32.const 9)
+ (get_local $5)
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 9)
+ )
+ )
+ (get_local $0)
)
- (br $while-in110)
)
- (get_local $6)
+ )
+ (set_local $6
+ (i32.add
+ (get_local $5)
+ (i32.const -9)
+ )
+ )
+ (set_local $5
+ (if (result i32)
+ (i32.and
+ (i32.gt_s
+ (get_local $5)
+ (i32.const 9)
+ )
+ (i32.lt_u
+ (tee_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
+ )
+ )
+ (get_local $9)
+ )
+ )
+ (block
+ (set_local $5
+ (get_local $6)
+ )
+ (br $while-in110)
+ )
+ (get_local $6)
+ )
)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.add
- (get_local $5)
- (i32.const 9)
- )
- (i32.const 9)
- (i32.const 0)
- )
- )
- (block $do-once99
- (set_local $9
- (select
- (get_local $9)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
(i32.add
- (get_local $12)
- (i32.const 4)
+ (get_local $5)
+ (i32.const 9)
)
- (get_local $24)
+ (i32.const 9)
+ (i32.const 0)
)
)
- (if
- (i32.gt_s
- (get_local $5)
- (i32.const -1)
- )
- (block
- (set_local $18
- (i32.eqz
- (get_local $21)
+ (block $do-once99
+ (set_local $9
+ (select
+ (get_local $9)
+ (i32.add
+ (get_local $12)
+ (i32.const 4)
)
+ (get_local $24)
)
- (set_local $6
- (get_local $12)
- )
- (set_local $7
+ )
+ (if
+ (i32.gt_s
(get_local $5)
+ (i32.const -1)
)
- (loop $while-in114
- (if
- (i32.eq
- (tee_local $5
- (call $_fmt_u
- (i32.load
- (get_local $6)
- )
- (i32.const 0)
- (get_local $29)
- )
- )
- (get_local $29)
- )
- (block
- (i32.store8
- (get_local $33)
- (i32.const 48)
- )
- (set_local $5
- (get_local $33)
- )
+ (block
+ (set_local $18
+ (i32.eqz
+ (get_local $21)
)
)
- (block $do-once115
+ (set_local $6
+ (get_local $12)
+ )
+ (set_local $7
+ (get_local $5)
+ )
+ (loop $while-in114
(if
(i32.eq
- (get_local $6)
- (get_local $12)
+ (tee_local $5
+ (call $_fmt_u
+ (i32.load
+ (get_local $6)
+ )
+ (i32.const 0)
+ (get_local $29)
+ )
+ )
+ (get_local $29)
)
(block
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (i32.store8
+ (get_local $33)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $33)
+ )
+ )
+ )
+ (block $do-once115
+ (if
+ (i32.eq
+ (get_local $6)
+ (get_local $12)
+ )
+ (block
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (i32.const 1)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
+ (set_local $5
+ (i32.add
(get_local $5)
(i32.const 1)
- (get_local $0)
)
)
- )
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 1)
- )
- )
- (br_if $do-once115
- (i32.or
- (i32.and
- (get_local $18)
- (i32.lt_s
- (get_local $7)
- (i32.const 1)
+ (br_if $do-once115
+ (i32.or
+ (i32.and
+ (get_local $18)
+ (i32.lt_s
+ (get_local $7)
+ (i32.const 1)
+ )
)
- )
- (i32.and
- (i32.load
- (get_local $0)
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
)
- )
- (drop
- (call $___fwritex
- (i32.const 4143)
- (i32.const 1)
- (get_local $0)
+ (drop
+ (call $___fwritex
+ (i32.const 4143)
+ (i32.const 1)
+ (get_local $0)
+ )
)
)
- )
- (block
- (br_if $do-once115
- (i32.le_u
- (get_local $5)
- (get_local $22)
+ (block
+ (br_if $do-once115
+ (i32.le_u
+ (get_local $5)
+ (get_local $22)
+ )
)
- )
- (loop $while-in118
- (i32.store8
- (tee_local $5
- (i32.add
- (get_local $5)
- (i32.const -1)
+ (loop $while-in118
+ (i32.store8
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
)
+ (i32.const 48)
)
- (i32.const 48)
- )
- (br_if $while-in118
- (i32.gt_u
- (get_local $5)
- (get_local $22)
+ (br_if $while-in118
+ (i32.gt_u
+ (get_local $5)
+ (get_local $22)
+ )
)
)
)
)
)
- )
- (set_local $8
- (i32.sub
- (get_local $43)
- (get_local $5)
+ (set_local $8
+ (i32.sub
+ (get_local $43)
+ (get_local $5)
+ )
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $5)
- (select
- (get_local $8)
- (get_local $7)
- (i32.gt_s
- (get_local $7)
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (select
(get_local $8)
+ (get_local $7)
+ (i32.gt_s
+ (get_local $7)
+ (get_local $8)
+ )
)
+ (get_local $0)
)
- (get_local $0)
)
)
- )
- (br_if $while-in114
- (i32.and
- (i32.lt_u
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (br_if $while-in114
+ (i32.and
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
)
+ (get_local $9)
)
- (get_local $9)
- )
- (i32.gt_s
- (tee_local $7
- (i32.sub
- (get_local $7)
- (get_local $8)
+ (i32.gt_s
+ (tee_local $7
+ (i32.sub
+ (get_local $7)
+ (get_local $8)
+ )
)
+ (i32.const -1)
)
- (i32.const -1)
)
)
)
- )
- (set_local $5
- (get_local $7)
+ (set_local $5
+ (get_local $7)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.add
- (get_local $5)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (i32.add
+ (get_local $5)
+ (i32.const 18)
+ )
(i32.const 18)
+ (i32.const 0)
)
- (i32.const 18)
- (i32.const 0)
- )
- (br_if $do-once99
- (i32.and
- (i32.load
- (get_local $0)
+ (br_if $do-once99
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $19)
- (i32.sub
- (get_local $27)
+ (drop
+ (call $___fwritex
(get_local $19)
+ (i32.sub
+ (get_local $27)
+ (get_local $19)
+ )
+ (get_local $0)
)
- (get_local $0)
)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $13)
- (i32.xor
- (get_local $11)
- (i32.const 8192)
- )
- )
- (select
- (get_local $15)
- (get_local $13)
- (i32.lt_s
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
(get_local $13)
+ (i32.xor
+ (get_local $11)
+ (i32.const 8192)
+ )
+ )
+ (select
(get_local $15)
+ (get_local $13)
+ (i32.lt_s
+ (get_local $13)
+ (get_local $15)
+ )
)
)
- )
- (block (result i32)
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (tee_local $7
- (i32.add
- (tee_local $9
- (select
- (i32.const 0)
- (get_local $26)
- (tee_local $6
- (f64.ne
- (get_local $16)
- (get_local $16)
+ (block (result i32)
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (tee_local $7
+ (i32.add
+ (tee_local $9
+ (select
+ (i32.const 0)
+ (get_local $26)
+ (tee_local $6
+ (f64.ne
+ (get_local $16)
+ (get_local $16)
+ )
)
)
)
+ (i32.const 3)
)
- (i32.const 3)
)
+ (get_local $8)
)
- (get_local $8)
- )
- (if
- (i32.eqz
- (i32.and
- (tee_local $5
- (i32.load
- (get_local $0)
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $5
+ (i32.load
+ (get_local $0)
+ )
)
+ (i32.const 32)
)
- (i32.const 32)
)
- )
- (block
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $9)
- (get_local $0)
+ (block
+ (drop
+ (call $___fwritex
+ (get_local $30)
+ (get_local $9)
+ (get_local $0)
+ )
)
- )
- (set_local $5
- (i32.load
- (get_local $0)
+ (set_local $5
+ (i32.load
+ (get_local $0)
+ )
)
)
)
- )
- (set_local $6
- (select
+ (set_local $6
(select
- (i32.const 4135)
- (i32.const 4139)
- (tee_local $8
- (i32.ne
- (i32.and
- (get_local $19)
- (i32.const 32)
+ (select
+ (i32.const 4135)
+ (i32.const 4139)
+ (tee_local $8
+ (i32.ne
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
+ )
+ (i32.const 0)
)
- (i32.const 0)
)
)
+ (select
+ (i32.const 4127)
+ (i32.const 4131)
+ (get_local $8)
+ )
+ (get_local $6)
)
- (select
- (i32.const 4127)
- (i32.const 4131)
- (get_local $8)
- )
- (get_local $6)
)
- )
- (if
- (i32.eqz
- (i32.and
- (get_local $5)
- (i32.const 32)
+ (if
+ (i32.eqz
+ (i32.and
+ (get_local $5)
+ (i32.const 32)
+ )
)
- )
- (drop
- (call $___fwritex
- (get_local $6)
- (i32.const 3)
- (get_local $0)
+ (drop
+ (call $___fwritex
+ (get_local $6)
+ (i32.const 3)
+ (get_local $0)
+ )
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $7)
- (i32.xor
- (get_local $11)
- (i32.const 8192)
- )
- )
- (select
- (get_local $15)
- (get_local $7)
- (i32.lt_s
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
(get_local $7)
+ (i32.xor
+ (get_local $11)
+ (i32.const 8192)
+ )
+ )
+ (select
(get_local $15)
+ (get_local $7)
+ (i32.lt_s
+ (get_local $7)
+ (get_local $15)
+ )
)
)
)
)
+ (set_local $5
+ (get_local $10)
+ )
+ (set_local $10
+ (get_local $7)
+ )
+ (br $label$continue$L1)
)
- (set_local $5
- (get_local $10)
+ (set_local $12
+ (get_local $6)
)
- (set_local $10
- (get_local $7)
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
+ )
+ (br $__rjto$8
+ (get_local $25)
)
- (br $label$continue$L1)
- )
- (set_local $12
- (get_local $6)
- )
- (set_local $8
- (i32.const 0)
)
(set_local $9
- (i32.const 4091)
- )
- (br $__rjto$8
- (get_local $25)
- )
- )
- (set_local $9
- (i32.and
- (get_local $19)
- (i32.const 32)
+ (i32.and
+ (get_local $19)
+ (i32.const 32)
+ )
)
- )
- (if
- (i32.or
- (tee_local $7
- (i32.load
- (get_local $14)
+ (if
+ (i32.or
+ (tee_local $7
+ (i32.load
+ (get_local $14)
+ )
)
- )
- (tee_local $11
- (i32.load offset=4
- (get_local $14)
+ (tee_local $11
+ (i32.load offset=4
+ (get_local $14)
+ )
)
)
- )
- (block
- (set_local $8
- (get_local $25)
- )
- (loop $while-in123
- (i32.store8
- (tee_local $8
- (i32.add
- (get_local $8)
- (i32.const -1)
- )
- )
- (i32.or
- (i32.load8_u
+ (block
+ (set_local $8
+ (get_local $25)
+ )
+ (loop $while-in123
+ (i32.store8
+ (tee_local $8
(i32.add
- (i32.and
- (get_local $7)
- (i32.const 15)
+ (get_local $8)
+ (i32.const -1)
+ )
+ )
+ (i32.or
+ (i32.load8_u
+ (i32.add
+ (i32.and
+ (get_local $7)
+ (i32.const 15)
+ )
+ (i32.const 4075)
)
- (i32.const 4075)
)
+ (get_local $9)
)
- (get_local $9)
)
- )
- (br_if $while-in123
- (i32.or
- (tee_local $7
- (call $_bitshift64Lshr
- (get_local $7)
- (get_local $11)
- (i32.const 4)
+ (br_if $while-in123
+ (i32.or
+ (tee_local $7
+ (call $_bitshift64Lshr
+ (get_local $7)
+ (get_local $11)
+ (i32.const 4)
+ )
+ )
+ (tee_local $11
+ (get_global $tempRet0)
)
- )
- (tee_local $11
- (get_global $tempRet0)
)
)
)
- )
- (set_local $7
- (get_local $8)
- )
- (set_local $8
- (if (result i32)
- (i32.or
- (i32.eqz
- (i32.and
- (get_local $5)
- (i32.const 8)
- )
- )
- (i32.eqz
- (i32.or
- (i32.load
- (get_local $14)
+ (set_local $7
+ (get_local $8)
+ )
+ (set_local $8
+ (if (result i32)
+ (i32.or
+ (i32.eqz
+ (i32.and
+ (get_local $5)
+ (i32.const 8)
)
- (i32.load offset=4
- (get_local $14)
+ )
+ (i32.eqz
+ (i32.or
+ (i32.load
+ (get_local $14)
+ )
+ (i32.load offset=4
+ (get_local $14)
+ )
)
)
)
- )
- (block (result i32)
- (set_local $9
- (i32.const 4091)
+ (block (result i32)
+ (set_local $9
+ (i32.const 4091)
+ )
+ (i32.const 0)
)
- (i32.const 0)
- )
- (block (result i32)
- (set_local $9
- (i32.add
- (i32.shr_s
- (get_local $19)
- (i32.const 4)
+ (block (result i32)
+ (set_local $9
+ (i32.add
+ (i32.shr_s
+ (get_local $19)
+ (i32.const 4)
+ )
+ (i32.const 4091)
)
- (i32.const 4091)
)
+ (i32.const 2)
)
- (i32.const 2)
)
)
)
- )
- (block
- (set_local $7
- (get_local $25)
- )
- (set_local $8
- (i32.const 0)
- )
- (set_local $9
- (i32.const 4091)
+ (block
+ (set_local $7
+ (get_local $25)
+ )
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
+ )
)
)
+ (br $__rjti$8)
+ )
+ (set_local $7
+ (call $_fmt_u
+ (get_local $5)
+ (get_local $7)
+ (get_local $25)
+ )
+ )
+ (set_local $5
+ (get_local $11)
)
(br $__rjti$8)
)
- (set_local $7
- (call $_fmt_u
- (get_local $5)
- (get_local $7)
- (get_local $25)
+ (set_local $19
+ (i32.eqz
+ (tee_local $13
+ (call $_memchr
+ (get_local $7)
+ (get_local $6)
+ )
+ )
)
)
- (set_local $5
- (get_local $11)
+ (set_local $11
+ (get_local $8)
)
- (br $__rjti$8)
- )
- (set_local $19
- (i32.eqz
- (tee_local $13
- (call $_memchr
- (get_local $7)
- (get_local $6)
+ (set_local $12
+ (select
+ (get_local $6)
+ (i32.sub
+ (get_local $13)
+ (tee_local $5
+ (get_local $7)
+ )
)
+ (get_local $19)
)
)
- )
- (set_local $11
- (get_local $8)
- )
- (set_local $12
- (select
- (get_local $6)
- (i32.sub
- (get_local $13)
- (tee_local $5
- (get_local $7)
+ (set_local $8
+ (i32.const 0)
+ )
+ (set_local $9
+ (i32.const 4091)
+ )
+ (br $__rjto$8
+ (select
+ (i32.add
+ (get_local $5)
+ (get_local $6)
)
+ (get_local $13)
+ (get_local $19)
)
- (get_local $19)
)
)
- (set_local $8
+ (set_local $5
(i32.const 0)
)
- (set_local $9
- (i32.const 4091)
+ (set_local $7
+ (i32.const 0)
)
- (br $__rjto$8
- (select
- (i32.add
- (get_local $5)
- (get_local $6)
- )
- (get_local $13)
- (get_local $19)
+ (set_local $6
+ (i32.load
+ (get_local $14)
)
)
- )
- (set_local $5
- (i32.const 0)
- )
- (set_local $7
- (i32.const 0)
- )
- (set_local $6
- (i32.load
- (get_local $14)
- )
- )
- (loop $while-in125
- (block $while-out124
- (br_if $while-out124
- (i32.eqz
- (tee_local $9
- (i32.load
- (get_local $6)
+ (loop $while-in125
+ (block $while-out124
+ (br_if $while-out124
+ (i32.eqz
+ (tee_local $9
+ (i32.load
+ (get_local $6)
+ )
)
)
)
- )
- (br_if $while-out124
- (i32.or
- (i32.lt_s
- (tee_local $7
- (call $_wctomb
- (get_local $35)
- (get_local $9)
+ (br_if $while-out124
+ (i32.or
+ (i32.lt_s
+ (tee_local $7
+ (call $_wctomb
+ (get_local $35)
+ (get_local $9)
+ )
)
+ (i32.const 0)
)
- (i32.const 0)
- )
- (i32.gt_u
- (get_local $7)
- (i32.sub
- (get_local $8)
- (get_local $5)
+ (i32.gt_u
+ (get_local $7)
+ (i32.sub
+ (get_local $8)
+ (get_local $5)
+ )
)
)
)
- )
- (set_local $6
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (set_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
)
- )
- (br_if $while-in125
- (i32.gt_u
- (get_local $8)
- (tee_local $5
- (i32.add
- (get_local $7)
- (get_local $5)
+ (br_if $while-in125
+ (i32.gt_u
+ (get_local $8)
+ (tee_local $5
+ (i32.add
+ (get_local $7)
+ (get_local $5)
+ )
)
)
)
)
)
- )
- (if
- (i32.lt_s
- (get_local $7)
- (i32.const 0)
- )
- (block
- (set_local $17
- (i32.const -1)
- )
- (br $label$break$L1)
- )
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $5)
- (get_local $11)
- )
- (if (result i32)
- (get_local $5)
- (block (result i32)
- (set_local $6
+ (if
+ (i32.lt_s
+ (get_local $7)
(i32.const 0)
)
- (set_local $7
- (i32.load
- (get_local $14)
+ (block
+ (set_local $17
+ (i32.const -1)
)
+ (br $label$break$L1)
)
- (loop $while-in127
- (drop
- (br_if $__rjti$7
- (get_local $5)
- (i32.eqz
- (tee_local $8
- (i32.load
- (get_local $7)
+ )
+ (call $_pad
+ (get_local $0)
+ (i32.const 32)
+ (get_local $15)
+ (get_local $5)
+ (get_local $11)
+ )
+ (if (result i32)
+ (get_local $5)
+ (block (result i32)
+ (set_local $6
+ (i32.const 0)
+ )
+ (set_local $7
+ (i32.load
+ (get_local $14)
+ )
+ )
+ (loop $while-in127
+ (drop
+ (br_if $__rjti$7
+ (get_local $5)
+ (i32.eqz
+ (tee_local $8
+ (i32.load
+ (get_local $7)
+ )
)
)
)
)
- )
- (drop
- (br_if $__rjti$7
- (get_local $5)
- (i32.gt_s
- (tee_local $6
- (i32.add
- (tee_local $8
- (call $_wctomb
- (get_local $35)
- (get_local $8)
+ (drop
+ (br_if $__rjti$7
+ (get_local $5)
+ (i32.gt_s
+ (tee_local $6
+ (i32.add
+ (tee_local $8
+ (call $_wctomb
+ (get_local $35)
+ (get_local $8)
+ )
)
+ (get_local $6)
)
- (get_local $6)
)
+ (get_local $5)
)
- (get_local $5)
)
)
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $35)
+ (get_local $8)
(get_local $0)
)
- (i32.const 32)
)
)
- (drop
- (call $___fwritex
- (get_local $35)
- (get_local $8)
- (get_local $0)
+ (set_local $7
+ (i32.add
+ (get_local $7)
+ (i32.const 4)
)
)
- )
- (set_local $7
- (i32.add
- (get_local $7)
- (i32.const 4)
- )
- )
- (br_if $while-in127
- (i32.lt_u
- (get_local $6)
- (get_local $5)
+ (br_if $while-in127
+ (i32.lt_u
+ (get_local $6)
+ (get_local $5)
+ )
)
)
+ (get_local $5)
)
- (get_local $5)
+ (i32.const 0)
)
- (i32.const 0)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 32)
- (get_local $15)
- (get_local $7)
(i32.xor
(get_local $11)
(i32.const 8192)
diff --git a/test/passes/remove-unused-names_merge-blocks.txt b/test/passes/remove-unused-names_merge-blocks.txt
index 974ac4d91..bc588d1d7 100644
--- a/test/passes/remove-unused-names_merge-blocks.txt
+++ b/test/passes/remove-unused-names_merge-blocks.txt
@@ -289,12 +289,12 @@
(i32.const 30)
)
(drop
- (i32.add
- (unreachable)
- (block (result i32)
- (drop
- (i32.const 10)
- )
+ (block
+ (drop
+ (i32.const 10)
+ )
+ (i32.add
+ (unreachable)
(i32.const 20)
)
)