summaryrefslogtreecommitdiff
path: root/test/memorygrowth.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/memorygrowth.fromasm.imprecise')
-rw-r--r--test/memorygrowth.fromasm.imprecise3462
1 files changed, 1735 insertions, 1727 deletions
diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise
index 5482b08f6..aea127692 100644
--- a/test/memorygrowth.fromasm.imprecise
+++ b/test/memorygrowth.fromasm.imprecise
@@ -1,44 +1,77 @@
(module
(memory 256 256)
- (export "memory" memory)
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$vi (func (param i32)))
(type $FUNCSIG$v (func))
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
- (import $ja "env" "abort" (param i32))
- (import $oa "env" "_pthread_cleanup_pop" (param i32))
- (import $pa "env" "___lock" (param i32))
- (import $qa "env" "_abort")
- (import $ra "env" "_pthread_cleanup_push" (param i32 i32))
- (import $sa "env" "___syscall6" (param i32 i32) (result i32))
- (import $ta "env" "_sbrk" (param i32) (result i32))
- (import $ua "env" "___syscall140" (param i32 i32) (result i32))
- (import $va "env" "_emscripten_memcpy_big" (param i32 i32 i32) (result i32))
- (import $wa "env" "___syscall54" (param i32 i32) (result i32))
- (import $xa "env" "___unlock" (param i32))
- (import $ya "env" "___syscall146" (param i32 i32) (result i32))
- (export "_free" $fb)
- (export "_main" $Na)
- (export "_pthread_self" $ib)
- (export "_memset" $hb)
- (export "_malloc" $eb)
- (export "_memcpy" $jb)
- (export "_fflush" $_a)
- (export "___errno_location" $Qa)
- (export "runPostSets" $gb)
- (export "stackAlloc" $Ea)
- (export "stackSave" $Fa)
- (export "stackRestore" $Ga)
- (export "establishStackSpace" $Ha)
- (export "setThrew" $Ia)
- (export "setTempRet0" $La)
- (export "getTempRet0" $Ma)
- (export "dynCall_ii" $kb)
- (export "dynCall_iiii" $lb)
- (export "dynCall_vi" $mb)
- (export "__growWasmMemory" $__growWasmMemory)
+ (import "env" "STACKTOP" (global $r i32))
+ (import "env" "STACK_MAX" (global $s i32))
+ (import "env" "tempDoublePtr" (global $t i32))
+ (import "env" "ABORT" (global $u i32))
+ (import "global" "NaN" (global $z f64))
+ (import "global" "Infinity" (global $A f64))
+ (import "env" "abort" (func $ja (param i32)))
+ (import "env" "_pthread_cleanup_pop" (func $oa (param i32)))
+ (import "env" "___lock" (func $pa (param i32)))
+ (import "env" "_abort" (func $qa))
+ (import "env" "_pthread_cleanup_push" (func $ra (param i32 i32)))
+ (import "env" "___syscall6" (func $sa (param i32 i32) (result i32)))
+ (import "env" "_sbrk" (func $ta (param i32) (result i32)))
+ (import "env" "___syscall140" (func $ua (param i32 i32) (result i32)))
+ (import "env" "_emscripten_memcpy_big" (func $va (param i32 i32 i32) (result i32)))
+ (import "env" "___syscall54" (func $wa (param i32 i32) (result i32)))
+ (import "env" "___unlock" (func $xa (param i32)))
+ (import "env" "___syscall146" (func $ya (param i32 i32) (result i32)))
+ (import "env" "memory" (memory $memory))
+ (import "env" "table" (table $table))
+ (import "env" "memoryBase" (global $memoryBase i32))
+ (import "env" "tableBase" (global $tableBase i32))
+ (export "_free" (func $fb))
+ (export "_main" (func $Na))
+ (export "_pthread_self" (func $ib))
+ (export "_memset" (func $hb))
+ (export "_malloc" (func $eb))
+ (export "_memcpy" (func $jb))
+ (export "_fflush" (func $_a))
+ (export "___errno_location" (func $Qa))
+ (export "runPostSets" (func $gb))
+ (export "stackAlloc" (func $Ea))
+ (export "stackSave" (func $Fa))
+ (export "stackRestore" (func $Ga))
+ (export "establishStackSpace" (func $Ha))
+ (export "setThrew" (func $Ia))
+ (export "setTempRet0" (func $La))
+ (export "getTempRet0" (func $Ma))
+ (export "dynCall_ii" (func $kb))
+ (export "dynCall_iiii" (func $lb))
+ (export "dynCall_vi" (func $mb))
+ (export "__growWasmMemory" (func $__growWasmMemory))
+ (global $v i32 (i32.const 0))
+ (global $w i32 (i32.const 0))
+ (global $x i32 (i32.const 0))
+ (global $y i32 (i32.const 0))
+ (global $B i32 (i32.const 0))
+ (global $C i32 (i32.const 0))
+ (global $D i32 (i32.const 0))
+ (global $E i32 (i32.const 0))
+ (global $F f64 (f64.const 0))
+ (global $G i32 (i32.const 0))
+ (global $H i32 (i32.const 0))
+ (global $I i32 (i32.const 0))
+ (global $J f64 (f64.const 0))
+ (global $K i32 (i32.const 0))
+ (global $L i32 (i32.const 0))
+ (global $M i32 (i32.const 0))
+ (global $N i32 (i32.const 0))
+ (global $O i32 (i32.const 0))
+ (global $P i32 (i32.const 0))
+ (global $Q i32 (i32.const 0))
+ (global $R i32 (i32.const 0))
+ (global $S i32 (i32.const 0))
+ (global $T i32 (i32.const 0))
+ (global $za f64 (f64.const 0))
(table 8 8 anyfunc)
(elem (i32.const 0) $nb $Oa $ob $Va $Ua $Ra $pb $Sa)
(func $eb (param $0 i32) (result i32)
@@ -97,16 +130,11 @@
(local $53 i32)
(local $54 i32)
(set_local $31
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(i32.add
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
(i32.const 16)
)
)
@@ -122,16 +150,16 @@
(block
(if
(i32.and
- (set_local $12
+ (tee_local $12
(i32.shr_u
- (set_local $16
+ (tee_local $16
(i32.load
(i32.const 1208)
)
)
- (set_local $2
+ (tee_local $2
(i32.shr_u
- (set_local $14
+ (tee_local $14
(select
(i32.const 16)
(i32.and
@@ -157,18 +185,18 @@
(block
(set_local $11
(i32.load
- (set_local $27
+ (tee_local $27
(i32.add
- (set_local $29
+ (tee_local $29
(i32.load
- (set_local $25
+ (tee_local $25
(i32.add
- (set_local $5
+ (tee_local $5
(i32.add
(i32.const 1248)
(i32.shl
(i32.shl
- (set_local $0
+ (tee_local $0
(i32.add
(i32.xor
(i32.and
@@ -227,7 +255,7 @@
(if
(i32.eq
(i32.load
- (set_local $19
+ (tee_local $19
(i32.add
(get_local $11)
(i32.const 12)
@@ -253,7 +281,7 @@
(i32.store offset=4
(get_local $29)
(i32.or
- (set_local $11
+ (tee_local $11
(i32.shl
(get_local $0)
(i32.const 3)
@@ -263,7 +291,7 @@
)
)
(i32.store
- (set_local $25
+ (tee_local $25
(i32.add
(i32.add
(get_local $29)
@@ -279,8 +307,7 @@
(i32.const 1)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -291,7 +318,7 @@
(if
(i32.gt_u
(get_local $14)
- (set_local $25
+ (tee_local $25
(i32.load
(i32.const 1216)
)
@@ -304,17 +331,17 @@
(set_local $5
(i32.and
(i32.shr_u
- (set_local $11
+ (tee_local $11
(i32.add
(i32.and
- (set_local $5
+ (tee_local $5
(i32.and
(i32.shl
(get_local $12)
(get_local $2)
)
(i32.or
- (set_local $11
+ (tee_local $11
(i32.shl
(i32.const 2)
(get_local $2)
@@ -342,27 +369,27 @@
)
(set_local $5
(i32.load
- (set_local $19
+ (tee_local $19
(i32.add
- (set_local $8
+ (tee_local $8
(i32.load
- (set_local $0
+ (tee_local $0
(i32.add
- (set_local $3
+ (tee_local $3
(i32.add
(i32.const 1248)
(i32.shl
(i32.shl
- (set_local $7
+ (tee_local $7
(i32.add
(i32.or
(i32.or
(i32.or
(i32.or
- (set_local $11
+ (tee_local $11
(i32.and
(i32.shr_u
- (set_local $19
+ (tee_local $19
(i32.shr_u
(get_local $11)
(get_local $5)
@@ -375,10 +402,10 @@
)
(get_local $5)
)
- (set_local $19
+ (tee_local $19
(i32.and
(i32.shr_u
- (set_local $8
+ (tee_local $8
(i32.shr_u
(get_local $19)
(get_local $11)
@@ -390,10 +417,10 @@
)
)
)
- (set_local $8
+ (tee_local $8
(i32.and
(i32.shr_u
- (set_local $3
+ (tee_local $3
(i32.shr_u
(get_local $8)
(get_local $19)
@@ -405,10 +432,10 @@
)
)
)
- (set_local $3
+ (tee_local $3
(i32.and
(i32.shr_u
- (set_local $0
+ (tee_local $0
(i32.shr_u
(get_local $3)
(get_local $8)
@@ -478,7 +505,7 @@
(if
(i32.eq
(i32.load
- (set_local $11
+ (tee_local $11
(i32.add
(get_local $5)
(i32.const 12)
@@ -514,14 +541,14 @@
)
)
(i32.store offset=4
- (set_local $0
+ (tee_local $0
(i32.add
(get_local $8)
(get_local $14)
)
)
(i32.or
- (set_local $5
+ (tee_local $5
(i32.sub
(i32.shl
(get_local $7)
@@ -553,7 +580,7 @@
(i32.const 1248)
(i32.shl
(i32.shl
- (set_local $25
+ (tee_local $25
(i32.shr_u
(get_local $39)
(i32.const 3)
@@ -567,12 +594,12 @@
)
(if
(i32.and
- (set_local $2
+ (tee_local $2
(i32.load
(i32.const 1208)
)
)
- (set_local $12
+ (tee_local $12
(i32.shl
(i32.const 1)
(get_local $25)
@@ -581,9 +608,9 @@
)
(if
(i32.lt_u
- (set_local $2
+ (tee_local $2
(i32.load
- (set_local $12
+ (tee_local $12
(i32.add
(get_local $16)
(i32.const 8)
@@ -650,8 +677,7 @@
(i32.const 1228)
(get_local $0)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -660,7 +686,7 @@
)
)
(if
- (set_local $0
+ (tee_local $0
(i32.load
(i32.const 1212)
)
@@ -669,7 +695,7 @@
(set_local $0
(i32.and
(i32.shr_u
- (set_local $5
+ (tee_local $5
(i32.add
(i32.and
(get_local $0)
@@ -690,7 +716,7 @@
(i32.sub
(i32.and
(i32.load offset=4
- (set_local $25
+ (tee_local $25
(i32.load
(i32.add
(i32.shl
@@ -699,10 +725,10 @@
(i32.or
(i32.or
(i32.or
- (set_local $5
+ (tee_local $5
(i32.and
(i32.shr_u
- (set_local $16
+ (tee_local $16
(i32.shr_u
(get_local $5)
(get_local $0)
@@ -715,10 +741,10 @@
)
(get_local $0)
)
- (set_local $16
+ (tee_local $16
(i32.and
(i32.shr_u
- (set_local $3
+ (tee_local $3
(i32.shr_u
(get_local $16)
(get_local $5)
@@ -730,10 +756,10 @@
)
)
)
- (set_local $3
+ (tee_local $3
(i32.and
(i32.shr_u
- (set_local $2
+ (tee_local $2
(i32.shr_u
(get_local $3)
(get_local $16)
@@ -745,10 +771,10 @@
)
)
)
- (set_local $2
+ (tee_local $2
(i32.and
(i32.shr_u
- (set_local $12
+ (tee_local $12
(i32.shr_u
(get_local $2)
(get_local $3)
@@ -783,75 +809,77 @@
(set_local $3
(get_local $25)
)
- (loop $while-out$6 $while-in$7
- (if
- (set_local $25
- (i32.load offset=16
- (get_local $12)
- )
- )
- (set_local $0
- (get_local $25)
- )
+ (loop $while-in$7
+ (block $while-out$6
(if
- (set_local $16
- (i32.load offset=20
+ (tee_local $25
+ (i32.load offset=16
(get_local $12)
)
)
(set_local $0
- (get_local $16)
+ (get_local $25)
)
- (block
- (set_local $32
- (get_local $2)
+ (if
+ (tee_local $16
+ (i32.load offset=20
+ (get_local $12)
+ )
)
- (set_local $26
- (get_local $3)
+ (set_local $0
+ (get_local $16)
+ )
+ (block
+ (set_local $32
+ (get_local $2)
+ )
+ (set_local $26
+ (get_local $3)
+ )
+ (br $while-out$6)
)
- (br $while-out$6)
)
)
- )
- (set_local $16
- (i32.lt_u
- (set_local $25
- (i32.sub
- (i32.and
- (i32.load offset=4
- (get_local $0)
+ (set_local $16
+ (i32.lt_u
+ (tee_local $25
+ (i32.sub
+ (i32.and
+ (i32.load offset=4
+ (get_local $0)
+ )
+ (i32.const -8)
)
- (i32.const -8)
+ (get_local $14)
)
- (get_local $14)
)
+ (get_local $2)
)
- (get_local $2)
)
- )
- (set_local $2
- (select
- (get_local $25)
- (get_local $2)
- (get_local $16)
+ (set_local $2
+ (select
+ (get_local $25)
+ (get_local $2)
+ (get_local $16)
+ )
)
- )
- (set_local $12
- (get_local $0)
- )
- (set_local $3
- (select
+ (set_local $12
(get_local $0)
- (get_local $3)
- (get_local $16)
)
+ (set_local $3
+ (select
+ (get_local $0)
+ (get_local $3)
+ (get_local $16)
+ )
+ )
+ (br $while-in$7)
)
- (br $while-in$7)
)
(if
(i32.lt_u
(get_local $26)
- (set_local $3
+ (tee_local $3
(i32.load
(i32.const 1224)
)
@@ -862,7 +890,7 @@
(if
(i32.ge_u
(get_local $26)
- (set_local $12
+ (tee_local $12
(i32.add
(get_local $26)
(get_local $14)
@@ -879,7 +907,7 @@
(block $do-once$8
(if
(i32.eq
- (set_local $19
+ (tee_local $19
(i32.load offset=12
(get_local $26)
)
@@ -888,9 +916,9 @@
)
(block
(if
- (set_local $7
+ (tee_local $7
(i32.load
- (set_local $8
+ (tee_local $8
(i32.add
(get_local $26)
(i32.const 20)
@@ -907,9 +935,9 @@
)
)
(if
- (set_local $25
+ (tee_local $25
(i32.load
- (set_local $16
+ (tee_local $16
(i32.add
(get_local $26)
(i32.const 16)
@@ -933,50 +961,52 @@
)
)
)
- (loop $while-out$10 $while-in$11
- (if
- (set_local $7
- (i32.load
- (set_local $8
- (i32.add
- (get_local $11)
- (i32.const 20)
+ (loop $while-in$11
+ (block $while-out$10
+ (if
+ (tee_local $7
+ (i32.load
+ (tee_local $8
+ (i32.add
+ (get_local $11)
+ (i32.const 20)
+ )
)
)
)
- )
- (block
- (set_local $11
- (get_local $7)
- )
- (set_local $0
- (get_local $8)
+ (block
+ (set_local $11
+ (get_local $7)
+ )
+ (set_local $0
+ (get_local $8)
+ )
+ (br $while-in$11)
)
- (br $while-in$11)
)
- )
- (if
- (set_local $7
- (i32.load
- (set_local $8
- (i32.add
- (get_local $11)
- (i32.const 16)
+ (if
+ (tee_local $7
+ (i32.load
+ (tee_local $8
+ (i32.add
+ (get_local $11)
+ (i32.const 16)
+ )
)
)
)
- )
- (block
- (set_local $11
- (get_local $7)
- )
- (set_local $0
- (get_local $8)
+ (block
+ (set_local $11
+ (get_local $7)
+ )
+ (set_local $0
+ (get_local $8)
+ )
)
+ (br $while-out$10)
)
- (br $while-out$10)
+ (br $while-in$11)
)
- (br $while-in$11)
)
(if
(i32.lt_u
@@ -998,7 +1028,7 @@
(block
(if
(i32.lt_u
- (set_local $8
+ (tee_local $8
(i32.load offset=8
(get_local $26)
)
@@ -1010,7 +1040,7 @@
(if
(i32.ne
(i32.load
- (set_local $7
+ (tee_local $7
(i32.add
(get_local $8)
(i32.const 12)
@@ -1024,7 +1054,7 @@
(if
(i32.eq
(i32.load
- (set_local $16
+ (tee_local $16
(i32.add
(get_local $19)
(i32.const 8)
@@ -1059,11 +1089,11 @@
(i32.eq
(get_local $26)
(i32.load
- (set_local $3
+ (tee_local $3
(i32.add
(i32.const 1512)
(i32.shl
- (set_local $19
+ (tee_local $19
(i32.load offset=28
(get_local $26)
)
@@ -1116,7 +1146,7 @@
(if
(i32.eq
(i32.load
- (set_local $19
+ (tee_local $19
(i32.add
(get_local $2)
(i32.const 16)
@@ -1144,7 +1174,7 @@
(if
(i32.lt_u
(get_local $27)
- (set_local $19
+ (tee_local $19
(i32.load
(i32.const 1224)
)
@@ -1157,7 +1187,7 @@
(get_local $2)
)
(if
- (set_local $3
+ (tee_local $3
(i32.load offset=16
(get_local $26)
)
@@ -1181,7 +1211,7 @@
)
)
(if
- (set_local $3
+ (tee_local $3
(i32.load offset=20
(get_local $26)
)
@@ -1218,7 +1248,7 @@
(i32.store offset=4
(get_local $26)
(i32.or
- (set_local $2
+ (tee_local $2
(i32.add
(get_local $32)
(get_local $14)
@@ -1228,7 +1258,7 @@
)
)
(i32.store
- (set_local $3
+ (tee_local $3
(i32.add
(i32.add
(get_local $26)
@@ -1268,7 +1298,7 @@
(get_local $32)
)
(if
- (set_local $3
+ (tee_local $3
(i32.load
(i32.const 1216)
)
@@ -1284,7 +1314,7 @@
(i32.const 1248)
(i32.shl
(i32.shl
- (set_local $19
+ (tee_local $19
(i32.shr_u
(get_local $3)
(i32.const 3)
@@ -1298,12 +1328,12 @@
)
(if
(i32.and
- (set_local $8
+ (tee_local $8
(i32.load
(i32.const 1208)
)
)
- (set_local $16
+ (tee_local $16
(i32.shl
(i32.const 1)
(get_local $19)
@@ -1312,9 +1342,9 @@
)
(if
(i32.lt_u
- (set_local $8
+ (tee_local $8
(i32.load
- (set_local $16
+ (tee_local $16
(i32.add
(get_local $3)
(i32.const 8)
@@ -1383,8 +1413,7 @@
)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -1415,7 +1444,7 @@
(block
(set_local $2
(i32.and
- (set_local $3
+ (tee_local $3
(i32.add
(get_local $0)
(i32.const 11)
@@ -1425,7 +1454,7 @@
)
)
(if
- (set_local $8
+ (tee_local $8
(i32.load
(i32.const 1212)
)
@@ -1439,13 +1468,13 @@
)
(block $label$break$a
(if
- (set_local $0
+ (tee_local $0
(i32.load
(i32.add
(i32.shl
- (set_local $34
+ (tee_local $34
(if
- (set_local $19
+ (tee_local $19
(i32.shr_u
(get_local $3)
(i32.const 8)
@@ -1462,20 +1491,20 @@
(i32.shr_u
(get_local $2)
(i32.add
- (set_local $0
+ (tee_local $0
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
- (set_local $19
+ (tee_local $19
(i32.and
(i32.shr_u
(i32.add
- (set_local $7
+ (tee_local $7
(i32.shl
(get_local $19)
- (set_local $3
+ (tee_local $3
(i32.and
(i32.shr_u
(i32.add
@@ -1498,11 +1527,11 @@
)
(get_local $3)
)
- (set_local $7
+ (tee_local $7
(i32.and
(i32.shr_u
(i32.add
- (set_local $25
+ (tee_local $25
(i32.shl
(get_local $7)
(get_local $19)
@@ -1578,90 +1607,92 @@
(set_local $5
(i32.const 0)
)
- (loop $while-out$17 $while-in$18
- (if
- (i32.lt_u
- (set_local $29
- (i32.sub
- (set_local $27
- (i32.and
- (i32.load offset=4
- (get_local $19)
+ (loop $while-in$18
+ (block $while-out$17
+ (if
+ (i32.lt_u
+ (tee_local $29
+ (i32.sub
+ (tee_local $27
+ (i32.and
+ (i32.load offset=4
+ (get_local $19)
+ )
+ (i32.const -8)
)
- (i32.const -8)
)
+ (get_local $2)
)
- (get_local $2)
)
+ (get_local $7)
)
- (get_local $7)
- )
- (if
- (i32.eq
- (get_local $27)
- (get_local $2)
- )
- (block
- (set_local $36
- (get_local $29)
- )
- (set_local $18
- (get_local $19)
+ (if
+ (i32.eq
+ (get_local $27)
+ (get_local $2)
)
- (set_local $17
- (get_local $19)
+ (block
+ (set_local $36
+ (get_local $29)
+ )
+ (set_local $18
+ (get_local $19)
+ )
+ (set_local $17
+ (get_local $19)
+ )
+ (set_local $7
+ (i32.const 90)
+ )
+ (br $label$break$a)
)
- (set_local $7
- (i32.const 90)
+ (block
+ (set_local $4
+ (get_local $29)
+ )
+ (set_local $0
+ (get_local $19)
+ )
)
- (br $label$break$a)
)
(block
(set_local $4
- (get_local $29)
+ (get_local $7)
)
(set_local $0
- (get_local $19)
+ (get_local $5)
)
)
)
- (block
- (set_local $4
- (get_local $7)
- )
- (set_local $0
- (get_local $5)
- )
- )
- )
- (set_local $27
- (select
- (get_local $25)
- (set_local $29
- (i32.load offset=20
- (get_local $19)
- )
- )
- (i32.or
- (i32.eq
- (get_local $29)
- (i32.const 0)
+ (set_local $27
+ (select
+ (get_local $25)
+ (tee_local $29
+ (i32.load offset=20
+ (get_local $19)
+ )
)
- (i32.eq
- (get_local $29)
- (set_local $19
- (i32.load
- (i32.add
+ (i32.or
+ (i32.eq
+ (get_local $29)
+ (i32.const 0)
+ )
+ (i32.eq
+ (get_local $29)
+ (tee_local $19
+ (i32.load
(i32.add
- (get_local $19)
- (i32.const 16)
- )
- (i32.shl
- (i32.shr_u
- (get_local $3)
- (i32.const 31)
+ (i32.add
+ (get_local $19)
+ (i32.const 16)
+ )
+ (i32.shl
+ (i32.shr_u
+ (get_local $3)
+ (i32.const 31)
+ )
+ (i32.const 2)
)
- (i32.const 2)
)
)
)
@@ -1669,54 +1700,54 @@
)
)
)
- )
- (if
- (set_local $29
- (i32.eq
- (get_local $19)
- (i32.const 0)
- )
- )
- (block
- (set_local $40
- (get_local $4)
- )
- (set_local $12
- (get_local $27)
- )
- (set_local $38
- (get_local $0)
- )
- (set_local $7
- (i32.const 86)
- )
- (br $while-out$17)
- )
- (block
- (set_local $7
- (get_local $4)
+ (if
+ (tee_local $29
+ (i32.eq
+ (get_local $19)
+ (i32.const 0)
+ )
)
- (set_local $25
- (get_local $27)
+ (block
+ (set_local $40
+ (get_local $4)
+ )
+ (set_local $12
+ (get_local $27)
+ )
+ (set_local $38
+ (get_local $0)
+ )
+ (set_local $7
+ (i32.const 86)
+ )
+ (br $while-out$17)
)
- (set_local $3
- (i32.shl
- (get_local $3)
- (i32.xor
- (i32.and
- (get_local $29)
+ (block
+ (set_local $7
+ (get_local $4)
+ )
+ (set_local $25
+ (get_local $27)
+ )
+ (set_local $3
+ (i32.shl
+ (get_local $3)
+ (i32.xor
+ (i32.and
+ (get_local $29)
+ (i32.const 1)
+ )
(i32.const 1)
)
- (i32.const 1)
)
)
- )
- (set_local $5
- (get_local $0)
+ (set_local $5
+ (get_local $0)
+ )
)
)
+ (br $while-in$18)
)
- (br $while-in$18)
)
)
(block
@@ -1741,7 +1772,7 @@
(i32.const 86)
)
(if
- (set_local $0
+ (tee_local $0
(if
(i32.and
(i32.eq
@@ -1756,11 +1787,11 @@
(block
(if
(i32.eqz
- (set_local $16
+ (tee_local $16
(i32.and
(get_local $8)
(i32.or
- (set_local $0
+ (tee_local $0
(i32.shl
(i32.const 2)
(get_local $34)
@@ -1784,7 +1815,7 @@
(set_local $16
(i32.and
(i32.shr_u
- (set_local $0
+ (tee_local $0
(i32.add
(i32.and
(get_local $16)
@@ -1809,10 +1840,10 @@
(i32.or
(i32.or
(i32.or
- (set_local $0
+ (tee_local $0
(i32.and
(i32.shr_u
- (set_local $14
+ (tee_local $14
(i32.shr_u
(get_local $0)
(get_local $16)
@@ -1825,10 +1856,10 @@
)
(get_local $16)
)
- (set_local $14
+ (tee_local $14
(i32.and
(i32.shr_u
- (set_local $12
+ (tee_local $12
(i32.shr_u
(get_local $14)
(get_local $0)
@@ -1840,10 +1871,10 @@
)
)
)
- (set_local $12
+ (tee_local $12
(i32.and
(i32.shr_u
- (set_local $5
+ (tee_local $5
(i32.shr_u
(get_local $12)
(get_local $14)
@@ -1855,10 +1886,10 @@
)
)
)
- (set_local $5
+ (tee_local $5
(i32.and
(i32.shr_u
- (set_local $3
+ (tee_local $3
(i32.shr_u
(get_local $5)
(get_local $12)
@@ -1913,84 +1944,86 @@
(get_local $7)
(i32.const 90)
)
- (loop $while-out$19 $while-in$20
- (set_local $7
- (i32.const 0)
- )
- (set_local $3
- (i32.lt_u
- (set_local $5
- (i32.sub
- (i32.and
- (i32.load offset=4
- (get_local $18)
+ (loop $while-in$20
+ (block $while-out$19
+ (set_local $7
+ (i32.const 0)
+ )
+ (set_local $3
+ (i32.lt_u
+ (tee_local $5
+ (i32.sub
+ (i32.and
+ (i32.load offset=4
+ (get_local $18)
+ )
+ (i32.const -8)
)
- (i32.const -8)
+ (get_local $2)
)
- (get_local $2)
)
- )
- (get_local $36)
- )
- )
- (set_local $12
- (select
- (get_local $5)
- (get_local $36)
- (get_local $3)
- )
- )
- (set_local $5
- (select
- (get_local $18)
- (get_local $17)
- (get_local $3)
- )
- )
- (if
- (set_local $3
- (i32.load offset=16
- (get_local $18)
+ (get_local $36)
)
)
- (block
- (set_local $36
- (get_local $12)
- )
- (set_local $18
- (get_local $3)
- )
- (set_local $17
+ (set_local $12
+ (select
(get_local $5)
+ (get_local $36)
+ (get_local $3)
)
- (br $while-in$20)
)
- )
- (if
- (set_local $18
- (i32.load offset=20
+ (set_local $5
+ (select
(get_local $18)
+ (get_local $17)
+ (get_local $3)
)
)
- (block
- (set_local $36
- (get_local $12)
+ (if
+ (tee_local $3
+ (i32.load offset=16
+ (get_local $18)
+ )
)
- (set_local $17
- (get_local $5)
+ (block
+ (set_local $36
+ (get_local $12)
+ )
+ (set_local $18
+ (get_local $3)
+ )
+ (set_local $17
+ (get_local $5)
+ )
+ (br $while-in$20)
)
)
- (block
- (set_local $22
- (get_local $12)
+ (if
+ (tee_local $18
+ (i32.load offset=20
+ (get_local $18)
+ )
)
- (set_local $9
- (get_local $5)
+ (block
+ (set_local $36
+ (get_local $12)
+ )
+ (set_local $17
+ (get_local $5)
+ )
+ )
+ (block
+ (set_local $22
+ (get_local $12)
+ )
+ (set_local $9
+ (get_local $5)
+ )
+ (br $while-out$19)
)
- (br $while-out$19)
)
+ (br $while-in$20)
)
- (br $while-in$20)
)
)
(if
@@ -2009,7 +2042,7 @@
(if
(i32.lt_u
(get_local $9)
- (set_local $8
+ (tee_local $8
(i32.load
(i32.const 1224)
)
@@ -2020,7 +2053,7 @@
(if
(i32.ge_u
(get_local $9)
- (set_local $5
+ (tee_local $5
(i32.add
(get_local $9)
(get_local $2)
@@ -2037,7 +2070,7 @@
(block $do-once$21
(if
(i32.eq
- (set_local $3
+ (tee_local $3
(i32.load offset=12
(get_local $9)
)
@@ -2046,9 +2079,9 @@
)
(block
(if
- (set_local $16
+ (tee_local $16
(i32.load
- (set_local $14
+ (tee_local $14
(i32.add
(get_local $9)
(i32.const 20)
@@ -2065,9 +2098,9 @@
)
)
(if
- (set_local $25
+ (tee_local $25
(i32.load
- (set_local $0
+ (tee_local $0
(i32.add
(get_local $9)
(i32.const 16)
@@ -2086,50 +2119,52 @@
)
)
)
- (loop $while-out$23 $while-in$24
- (if
- (set_local $16
- (i32.load
- (set_local $14
- (i32.add
- (get_local $11)
- (i32.const 20)
+ (loop $while-in$24
+ (block $while-out$23
+ (if
+ (tee_local $16
+ (i32.load
+ (tee_local $14
+ (i32.add
+ (get_local $11)
+ (i32.const 20)
+ )
)
)
)
- )
- (block
- (set_local $11
- (get_local $16)
- )
- (set_local $0
- (get_local $14)
+ (block
+ (set_local $11
+ (get_local $16)
+ )
+ (set_local $0
+ (get_local $14)
+ )
+ (br $while-in$24)
)
- (br $while-in$24)
)
- )
- (if
- (set_local $16
- (i32.load
- (set_local $14
- (i32.add
- (get_local $11)
- (i32.const 16)
+ (if
+ (tee_local $16
+ (i32.load
+ (tee_local $14
+ (i32.add
+ (get_local $11)
+ (i32.const 16)
+ )
)
)
)
- )
- (block
- (set_local $11
- (get_local $16)
- )
- (set_local $0
- (get_local $14)
+ (block
+ (set_local $11
+ (get_local $16)
+ )
+ (set_local $0
+ (get_local $14)
+ )
)
+ (br $while-out$23)
)
- (br $while-out$23)
+ (br $while-in$24)
)
- (br $while-in$24)
)
(if
(i32.lt_u
@@ -2151,7 +2186,7 @@
(block
(if
(i32.lt_u
- (set_local $14
+ (tee_local $14
(i32.load offset=8
(get_local $9)
)
@@ -2163,7 +2198,7 @@
(if
(i32.ne
(i32.load
- (set_local $16
+ (tee_local $16
(i32.add
(get_local $14)
(i32.const 12)
@@ -2177,7 +2212,7 @@
(if
(i32.eq
(i32.load
- (set_local $0
+ (tee_local $0
(i32.add
(get_local $3)
(i32.const 8)
@@ -2212,11 +2247,11 @@
(i32.eq
(get_local $9)
(i32.load
- (set_local $8
+ (tee_local $8
(i32.add
(i32.const 1512)
(i32.shl
- (set_local $3
+ (tee_local $3
(i32.load offset=28
(get_local $9)
)
@@ -2269,7 +2304,7 @@
(if
(i32.eq
(i32.load
- (set_local $3
+ (tee_local $3
(i32.add
(get_local $12)
(i32.const 16)
@@ -2297,7 +2332,7 @@
(if
(i32.lt_u
(get_local $20)
- (set_local $3
+ (tee_local $3
(i32.load
(i32.const 1224)
)
@@ -2310,7 +2345,7 @@
(get_local $12)
)
(if
- (set_local $8
+ (tee_local $8
(i32.load offset=16
(get_local $9)
)
@@ -2334,7 +2369,7 @@
)
)
(if
- (set_local $8
+ (tee_local $8
(i32.load offset=20
(get_local $9)
)
@@ -2372,7 +2407,7 @@
(i32.store offset=4
(get_local $9)
(i32.or
- (set_local $12
+ (tee_local $12
(i32.add
(get_local $22)
(get_local $2)
@@ -2382,7 +2417,7 @@
)
)
(i32.store
- (set_local $8
+ (tee_local $8
(i32.add
(i32.add
(get_local $9)
@@ -2447,12 +2482,12 @@
)
(if
(i32.and
- (set_local $3
+ (tee_local $3
(i32.load
(i32.const 1208)
)
)
- (set_local $14
+ (tee_local $14
(i32.shl
(i32.const 1)
(get_local $8)
@@ -2461,9 +2496,9 @@
)
(if
(i32.lt_u
- (set_local $3
+ (tee_local $3
(i32.load
- (set_local $14
+ (tee_local $14
(i32.add
(get_local $12)
(i32.const 8)
@@ -2527,9 +2562,9 @@
(i32.add
(i32.const 1512)
(i32.shl
- (set_local $20
+ (tee_local $20
(if
- (set_local $12
+ (tee_local $12
(i32.shr_u
(get_local $22)
(i32.const 8)
@@ -2546,20 +2581,20 @@
(i32.shr_u
(get_local $22)
(i32.add
- (set_local $0
+ (tee_local $0
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
- (set_local $12
+ (tee_local $12
(i32.and
(i32.shr_u
(i32.add
- (set_local $14
+ (tee_local $14
(i32.shl
(get_local $12)
- (set_local $3
+ (tee_local $3
(i32.and
(i32.shr_u
(i32.add
@@ -2582,11 +2617,11 @@
)
(get_local $3)
)
- (set_local $14
+ (tee_local $14
(i32.and
(i32.shr_u
(i32.add
- (set_local $8
+ (tee_local $8
(i32.shl
(get_local $14)
(get_local $12)
@@ -2633,7 +2668,7 @@
(get_local $20)
)
(i32.store offset=4
- (set_local $14
+ (tee_local $14
(i32.add
(get_local $5)
(i32.const 16)
@@ -2648,12 +2683,12 @@
(if
(i32.eqz
(i32.and
- (set_local $14
+ (tee_local $14
(i32.load
(i32.const 1212)
)
)
- (set_local $8
+ (tee_local $8
(i32.shl
(i32.const 1)
(get_local $20)
@@ -2712,72 +2747,74 @@
(get_local $0)
)
)
- (loop $while-out$31 $while-in$32
- (if
- (i32.eq
- (i32.and
- (i32.load offset=4
- (get_local $14)
+ (loop $while-in$32
+ (block $while-out$31
+ (if
+ (i32.eq
+ (i32.and
+ (i32.load offset=4
+ (get_local $14)
+ )
+ (i32.const -8)
)
- (i32.const -8)
- )
- (get_local $22)
- )
- (block
- (set_local $21
- (get_local $14)
+ (get_local $22)
)
- (set_local $7
- (i32.const 148)
+ (block
+ (set_local $21
+ (get_local $14)
+ )
+ (set_local $7
+ (i32.const 148)
+ )
+ (br $while-out$31)
)
- (br $while-out$31)
)
- )
- (if
- (set_local $3
- (i32.load
- (set_local $0
- (i32.add
+ (if
+ (tee_local $3
+ (i32.load
+ (tee_local $0
(i32.add
- (get_local $14)
- (i32.const 16)
- )
- (i32.shl
- (i32.shr_u
- (get_local $8)
- (i32.const 31)
+ (i32.add
+ (get_local $14)
+ (i32.const 16)
+ )
+ (i32.shl
+ (i32.shr_u
+ (get_local $8)
+ (i32.const 31)
+ )
+ (i32.const 2)
)
- (i32.const 2)
)
)
)
)
- )
- (block
- (set_local $8
- (i32.shl
- (get_local $8)
- (i32.const 1)
+ (block
+ (set_local $8
+ (i32.shl
+ (get_local $8)
+ (i32.const 1)
+ )
+ )
+ (set_local $14
+ (get_local $3)
)
)
- (set_local $14
- (get_local $3)
- )
- )
- (block
- (set_local $6
- (get_local $0)
- )
- (set_local $24
- (get_local $14)
- )
- (set_local $7
- (i32.const 145)
+ (block
+ (set_local $6
+ (get_local $0)
+ )
+ (set_local $24
+ (get_local $14)
+ )
+ (set_local $7
+ (i32.const 145)
+ )
+ (br $while-out$31)
)
- (br $while-out$31)
)
+ (br $while-in$32)
)
- (br $while-in$32)
)
(if
(i32.eq
@@ -2819,9 +2856,9 @@
(if
(i32.and
(i32.ge_u
- (set_local $8
+ (tee_local $8
(i32.load
- (set_local $14
+ (tee_local $14
(i32.add
(get_local $21)
(i32.const 8)
@@ -2829,7 +2866,7 @@
)
)
)
- (set_local $3
+ (tee_local $3
(i32.load
(i32.const 1224)
)
@@ -2869,8 +2906,7 @@
)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -2899,7 +2935,7 @@
)
(if
(i32.ge_u
- (set_local $9
+ (tee_local $9
(i32.load
(i32.const 1216)
)
@@ -2914,7 +2950,7 @@
)
(if
(i32.gt_u
- (set_local $21
+ (tee_local $21
(i32.sub
(get_local $9)
(get_local $18)
@@ -2925,7 +2961,7 @@
(block
(i32.store
(i32.const 1228)
- (set_local $6
+ (tee_local $6
(i32.add
(get_local $24)
(get_local $18)
@@ -2975,7 +3011,7 @@
)
)
(i32.store
- (set_local $21
+ (tee_local $21
(i32.add
(i32.add
(get_local $24)
@@ -2993,8 +3029,7 @@
)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -3007,7 +3042,7 @@
)
(if
(i32.gt_u
- (set_local $24
+ (tee_local $24
(i32.load
(i32.const 1220)
)
@@ -3017,7 +3052,7 @@
(block
(i32.store
(i32.const 1220)
- (set_local $21
+ (tee_local $21
(i32.sub
(get_local $24)
(get_local $18)
@@ -3026,9 +3061,9 @@
)
(i32.store
(i32.const 1232)
- (set_local $9
+ (tee_local $9
(i32.add
- (set_local $24
+ (tee_local $24
(i32.load
(i32.const 1232)
)
@@ -3051,8 +3086,7 @@
(i32.const 3)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -3096,7 +3130,7 @@
)
(i32.store
(get_local $15)
- (set_local $24
+ (tee_local $24
(i32.xor
(i32.and
(get_local $15)
@@ -3120,16 +3154,16 @@
)
(if
(i32.le_u
- (set_local $15
+ (tee_local $15
(i32.and
- (set_local $9
+ (tee_local $9
(i32.add
- (set_local $15
+ (tee_local $15
(i32.load
(i32.const 1688)
)
)
- (set_local $21
+ (tee_local $21
(i32.add
(get_local $18)
(i32.const 47)
@@ -3137,7 +3171,7 @@
)
)
)
- (set_local $6
+ (tee_local $6
(i32.sub
(i32.const 0)
(get_local $15)
@@ -3148,8 +3182,7 @@
(get_local $18)
)
(block
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -3158,7 +3191,7 @@
)
)
(if
- (set_local $22
+ (tee_local $22
(i32.load
(i32.const 1648)
)
@@ -3166,9 +3199,9 @@
(if
(i32.or
(i32.le_u
- (set_local $13
+ (tee_local $13
(i32.add
- (set_local $20
+ (tee_local $20
(i32.load
(i32.const 1640)
)
@@ -3184,8 +3217,7 @@
)
)
(block
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -3196,7 +3228,7 @@
)
(if
(i32.eq
- (set_local $7
+ (tee_local $7
(block $label$break$b
(if
(i32.and
@@ -3209,7 +3241,7 @@
(block
(block $label$break$c
(if
- (set_local $22
+ (tee_local $22
(i32.load
(i32.const 1232)
)
@@ -3218,62 +3250,64 @@
(set_local $13
(i32.const 1656)
)
- (loop $while-out$35 $while-in$36
- (if
- (i32.le_u
- (set_local $20
- (i32.load
- (get_local $13)
- )
- )
- (get_local $22)
- )
+ (loop $while-in$36
+ (block $while-out$35
(if
- (i32.gt_u
- (i32.add
- (get_local $20)
+ (i32.le_u
+ (tee_local $20
(i32.load
- (set_local $23
- (i32.add
- (get_local $13)
- (i32.const 4)
- )
- )
+ (get_local $13)
)
)
(get_local $22)
)
- (block
- (set_local $0
- (get_local $13)
+ (if
+ (i32.gt_u
+ (i32.add
+ (get_local $20)
+ (i32.load
+ (tee_local $23
+ (i32.add
+ (get_local $13)
+ (i32.const 4)
+ )
+ )
+ )
+ )
+ (get_local $22)
)
- (set_local $17
- (get_local $23)
+ (block
+ (set_local $0
+ (get_local $13)
+ )
+ (set_local $17
+ (get_local $23)
+ )
+ (br $while-out$35)
)
- (br $while-out$35)
)
)
- )
- (if
- (i32.eqz
- (set_local $13
- (i32.load offset=8
- (get_local $13)
+ (if
+ (i32.eqz
+ (tee_local $13
+ (i32.load offset=8
+ (get_local $13)
+ )
)
)
- )
- (block
- (set_local $7
- (i32.const 171)
+ (block
+ (set_local $7
+ (i32.const 171)
+ )
+ (br $label$break$c)
)
- (br $label$break$c)
)
+ (br $while-in$36)
)
- (br $while-in$36)
)
(if
(i32.lt_u
- (set_local $13
+ (tee_local $13
(i32.and
(i32.sub
(get_local $9)
@@ -3288,7 +3322,7 @@
)
(if
(i32.eq
- (set_local $23
+ (tee_local $23
(call_import $ta
(get_local $13)
)
@@ -3346,7 +3380,7 @@
)
(if
(i32.ne
- (set_local $22
+ (tee_local $22
(call_import $ta
(i32.const 0)
)
@@ -3357,9 +3391,9 @@
(set_local $6
(if
(i32.and
- (set_local $23
+ (tee_local $23
(i32.add
- (set_local $13
+ (tee_local $13
(i32.load
(i32.const 1684)
)
@@ -3367,7 +3401,7 @@
(i32.const -1)
)
)
- (set_local $2
+ (tee_local $2
(get_local $22)
)
)
@@ -3392,7 +3426,7 @@
)
(set_local $2
(i32.add
- (set_local $13
+ (tee_local $13
(i32.load
(i32.const 1640)
)
@@ -3413,7 +3447,7 @@
)
(block
(if
- (set_local $23
+ (tee_local $23
(i32.load
(i32.const 1648)
)
@@ -3433,7 +3467,7 @@
)
(if
(i32.eq
- (set_local $23
+ (tee_local $23
(call_import $ta
(get_local $6)
)
@@ -3501,14 +3535,14 @@
)
(if
(i32.lt_u
- (set_local $2
+ (tee_local $2
(i32.and
(i32.add
(i32.sub
(get_local $21)
(get_local $1)
)
- (set_local $22
+ (tee_local $22
(i32.load
(i32.const 1688)
)
@@ -3530,8 +3564,10 @@
(i32.const -1)
)
(block
- (call_import $ta
- (get_local $23)
+ (drop
+ (call_import $ta
+ (get_local $23)
+ )
)
(br $label$break$d)
)
@@ -3594,12 +3630,12 @@
(if
(i32.and
(i32.lt_u
- (set_local $4
+ (tee_local $4
(call_import $ta
(get_local $15)
)
)
- (set_local $15
+ (tee_local $15
(call_import $ta
(i32.const 0)
)
@@ -3618,7 +3654,7 @@
)
(if
(i32.gt_u
- (set_local $10
+ (tee_local $10
(i32.sub
(get_local $15)
(get_local $4)
@@ -3652,7 +3688,7 @@
(block
(i32.store
(i32.const 1640)
- (set_local $10
+ (tee_local $10
(i32.add
(i32.load
(i32.const 1640)
@@ -3675,7 +3711,7 @@
)
(block $do-once$42
(if
- (set_local $10
+ (tee_local $10
(i32.load
(i32.const 1232)
)
@@ -3684,55 +3720,57 @@
(set_local $1
(i32.const 1656)
)
- (loop $do-out$46 $do-in$47
- (if
- (i32.eq
- (get_local $28)
- (i32.add
- (set_local $4
- (i32.load
- (get_local $1)
+ (loop $do-in$47
+ (block $do-out$46
+ (if
+ (i32.eq
+ (get_local $28)
+ (i32.add
+ (tee_local $4
+ (i32.load
+ (get_local $1)
+ )
)
- )
- (set_local $21
- (i32.load
- (set_local $15
- (i32.add
- (get_local $1)
- (i32.const 4)
+ (tee_local $21
+ (i32.load
+ (tee_local $15
+ (i32.add
+ (get_local $1)
+ (i32.const 4)
+ )
)
)
)
)
)
- )
- (block
- (set_local $50
- (get_local $4)
- )
- (set_local $51
- (get_local $15)
- )
- (set_local $52
- (get_local $21)
- )
- (set_local $35
- (get_local $1)
- )
- (set_local $7
- (i32.const 201)
+ (block
+ (set_local $50
+ (get_local $4)
+ )
+ (set_local $51
+ (get_local $15)
+ )
+ (set_local $52
+ (get_local $21)
+ )
+ (set_local $35
+ (get_local $1)
+ )
+ (set_local $7
+ (i32.const 201)
+ )
+ (br $do-out$46)
)
- (br $do-out$46)
)
- )
- (br_if $do-in$47
- (i32.ne
- (set_local $1
- (i32.load offset=8
- (get_local $1)
+ (br_if $do-in$47
+ (i32.ne
+ (tee_local $1
+ (i32.load offset=8
+ (get_local $1)
+ )
)
+ (i32.const 0)
)
- (i32.const 0)
)
)
)
@@ -3772,13 +3810,13 @@
(set_local $1
(i32.add
(get_local $10)
- (set_local $21
+ (tee_local $21
(select
(i32.const 0)
(i32.and
(i32.sub
(i32.const 0)
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $10)
(i32.const 8)
@@ -3846,7 +3884,7 @@
(if
(i32.lt_u
(get_local $28)
- (set_local $15
+ (tee_local $15
(i32.load
(i32.const 1224)
)
@@ -3871,43 +3909,45 @@
(set_local $1
(i32.const 1656)
)
- (loop $while-out$48 $while-in$49
- (if
- (i32.eq
- (i32.load
- (get_local $1)
- )
- (get_local $15)
- )
- (block
- (set_local $53
- (get_local $1)
- )
- (set_local $45
- (get_local $1)
- )
- (set_local $7
- (i32.const 209)
+ (loop $while-in$49
+ (block $while-out$48
+ (if
+ (i32.eq
+ (i32.load
+ (get_local $1)
+ )
+ (get_local $15)
)
- (br $while-out$48)
- )
- )
- (if
- (i32.eqz
- (set_local $1
- (i32.load offset=8
+ (block
+ (set_local $53
+ (get_local $1)
+ )
+ (set_local $45
(get_local $1)
)
+ (set_local $7
+ (i32.const 209)
+ )
+ (br $while-out$48)
)
)
- (block
- (set_local $37
- (i32.const 1656)
+ (if
+ (i32.eqz
+ (tee_local $1
+ (i32.load offset=8
+ (get_local $1)
+ )
+ )
+ )
+ (block
+ (set_local $37
+ (i32.const 1656)
+ )
+ (br $while-out$48)
)
- (br $while-out$48)
)
+ (br $while-in$49)
)
- (br $while-in$49)
)
(if
(i32.eq
@@ -3930,7 +3970,7 @@
(get_local $28)
)
(i32.store
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $45)
(i32.const 4)
@@ -3951,7 +3991,7 @@
(i32.and
(i32.sub
(i32.const 0)
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $28)
(i32.const 8)
@@ -3978,7 +4018,7 @@
(i32.and
(i32.sub
(i32.const 0)
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $15)
(i32.const 8)
@@ -4028,7 +4068,7 @@
(block
(i32.store
(i32.const 1220)
- (set_local $6
+ (tee_local $6
(i32.add
(i32.load
(i32.const 1220)
@@ -4060,7 +4100,7 @@
(block
(i32.store
(i32.const 1216)
- (set_local $6
+ (tee_local $6
(i32.add
(i32.load
(i32.const 1216)
@@ -4091,12 +4131,12 @@
)
)
(i32.store
- (set_local $0
+ (tee_local $0
(i32.add
(if
(i32.eq
(i32.and
- (set_local $6
+ (tee_local $6
(i32.load offset=4
(get_local $4)
)
@@ -4133,12 +4173,12 @@
(block $do-once$53
(if
(i32.ne
- (set_local $6
+ (tee_local $6
(i32.load offset=8
(get_local $4)
)
)
- (set_local $23
+ (tee_local $23
(i32.add
(i32.const 1248)
(i32.shl
@@ -4218,7 +4258,7 @@
(if
(i32.eq
(i32.load
- (set_local $2
+ (tee_local $2
(i32.add
(get_local $9)
(i32.const 8)
@@ -4256,7 +4296,7 @@
(block $do-once$57
(if
(i32.eq
- (set_local $2
+ (tee_local $2
(i32.load offset=12
(get_local $4)
)
@@ -4265,11 +4305,11 @@
)
(block
(if
- (set_local $20
+ (tee_local $20
(i32.load
- (set_local $13
+ (tee_local $13
(i32.add
- (set_local $22
+ (tee_local $22
(i32.add
(get_local $4)
(i32.const 16)
@@ -4289,7 +4329,7 @@
)
)
(if
- (set_local $20
+ (tee_local $20
(i32.load
(get_local $22)
)
@@ -4310,50 +4350,52 @@
)
)
)
- (loop $while-out$59 $while-in$60
- (if
- (set_local $20
- (i32.load
- (set_local $13
- (i32.add
- (get_local $11)
- (i32.const 20)
+ (loop $while-in$60
+ (block $while-out$59
+ (if
+ (tee_local $20
+ (i32.load
+ (tee_local $13
+ (i32.add
+ (get_local $11)
+ (i32.const 20)
+ )
)
)
)
- )
- (block
- (set_local $11
- (get_local $20)
- )
- (set_local $0
- (get_local $13)
+ (block
+ (set_local $11
+ (get_local $20)
+ )
+ (set_local $0
+ (get_local $13)
+ )
+ (br $while-in$60)
)
- (br $while-in$60)
)
- )
- (if
- (set_local $20
- (i32.load
- (set_local $13
- (i32.add
- (get_local $11)
- (i32.const 16)
+ (if
+ (tee_local $20
+ (i32.load
+ (tee_local $13
+ (i32.add
+ (get_local $11)
+ (i32.const 16)
+ )
)
)
)
- )
- (block
- (set_local $11
- (get_local $20)
- )
- (set_local $0
- (get_local $13)
+ (block
+ (set_local $11
+ (get_local $20)
+ )
+ (set_local $0
+ (get_local $13)
+ )
)
+ (br $while-out$59)
)
- (br $while-out$59)
+ (br $while-in$60)
)
- (br $while-in$60)
)
(if
(i32.lt_u
@@ -4375,7 +4417,7 @@
(block
(if
(i32.lt_u
- (set_local $13
+ (tee_local $13
(i32.load offset=8
(get_local $4)
)
@@ -4387,7 +4429,7 @@
(if
(i32.ne
(i32.load
- (set_local $20
+ (tee_local $20
(i32.add
(get_local $13)
(i32.const 12)
@@ -4401,7 +4443,7 @@
(if
(i32.eq
(i32.load
- (set_local $22
+ (tee_local $22
(i32.add
(get_local $2)
(i32.const 8)
@@ -4438,11 +4480,11 @@
(i32.eq
(get_local $4)
(i32.load
- (set_local $6
+ (tee_local $6
(i32.add
(i32.const 1512)
(i32.shl
- (set_local $2
+ (tee_local $2
(i32.load offset=28
(get_local $4)
)
@@ -4491,7 +4533,7 @@
(if
(i32.eq
(i32.load
- (set_local $9
+ (tee_local $9
(i32.add
(get_local $23)
(i32.const 16)
@@ -4520,7 +4562,7 @@
(if
(i32.lt_u
(get_local $30)
- (set_local $2
+ (tee_local $2
(i32.load
(i32.const 1224)
)
@@ -4533,9 +4575,9 @@
(get_local $23)
)
(if
- (set_local $9
+ (tee_local $9
(i32.load
- (set_local $6
+ (tee_local $6
(i32.add
(get_local $4)
(i32.const 16)
@@ -4563,7 +4605,7 @@
)
(br_if $label$break$e
(i32.eqz
- (set_local $9
+ (tee_local $9
(i32.load offset=4
(get_local $6)
)
@@ -4661,12 +4703,12 @@
(block $do-once$65
(if
(i32.and
- (set_local $9
+ (tee_local $9
(i32.load
(i32.const 1208)
)
)
- (set_local $2
+ (tee_local $2
(i32.shl
(i32.const 1)
(get_local $0)
@@ -4676,9 +4718,9 @@
(block
(if
(i32.ge_u
- (set_local $23
+ (tee_local $23
(i32.load
- (set_local $0
+ (tee_local $0
(i32.add
(get_local $6)
(i32.const 8)
@@ -4745,10 +4787,10 @@
(i32.add
(i32.const 1512)
(i32.shl
- (set_local $0
+ (tee_local $0
(block $do-once$67
(if
- (set_local $2
+ (tee_local $2
(i32.shr_u
(get_local $11)
(i32.const 8)
@@ -4767,20 +4809,20 @@
(i32.shr_u
(get_local $11)
(i32.add
- (set_local $13
+ (tee_local $13
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
- (set_local $23
+ (tee_local $23
(i32.and
(i32.shr_u
(i32.add
- (set_local $17
+ (tee_local $17
(i32.shl
(get_local $2)
- (set_local $9
+ (tee_local $9
(i32.and
(i32.shr_u
(i32.add
@@ -4803,11 +4845,11 @@
)
(get_local $9)
)
- (set_local $17
+ (tee_local $17
(i32.and
(i32.shr_u
(i32.add
- (set_local $0
+ (tee_local $0
(i32.shl
(get_local $17)
(get_local $23)
@@ -4855,7 +4897,7 @@
(get_local $0)
)
(i32.store offset=4
- (set_local $6
+ (tee_local $6
(i32.add
(get_local $1)
(i32.const 16)
@@ -4870,12 +4912,12 @@
(if
(i32.eqz
(i32.and
- (set_local $6
+ (tee_local $6
(i32.load
(i32.const 1212)
)
)
- (set_local $13
+ (tee_local $13
(i32.shl
(i32.const 1)
(get_local $0)
@@ -4934,72 +4976,74 @@
(get_local $2)
)
)
- (loop $while-out$69 $while-in$70
- (if
- (i32.eq
- (i32.and
- (i32.load offset=4
- (get_local $6)
+ (loop $while-in$70
+ (block $while-out$69
+ (if
+ (i32.eq
+ (i32.and
+ (i32.load offset=4
+ (get_local $6)
+ )
+ (i32.const -8)
)
- (i32.const -8)
- )
- (get_local $11)
- )
- (block
- (set_local $42
- (get_local $6)
+ (get_local $11)
)
- (set_local $7
- (i32.const 279)
+ (block
+ (set_local $42
+ (get_local $6)
+ )
+ (set_local $7
+ (i32.const 279)
+ )
+ (br $while-out$69)
)
- (br $while-out$69)
)
- )
- (if
- (set_local $17
- (i32.load
- (set_local $2
- (i32.add
+ (if
+ (tee_local $17
+ (i32.load
+ (tee_local $2
(i32.add
- (get_local $6)
- (i32.const 16)
- )
- (i32.shl
- (i32.shr_u
- (get_local $13)
- (i32.const 31)
+ (i32.add
+ (get_local $6)
+ (i32.const 16)
+ )
+ (i32.shl
+ (i32.shr_u
+ (get_local $13)
+ (i32.const 31)
+ )
+ (i32.const 2)
)
- (i32.const 2)
)
)
)
)
- )
- (block
- (set_local $13
- (i32.shl
- (get_local $13)
- (i32.const 1)
+ (block
+ (set_local $13
+ (i32.shl
+ (get_local $13)
+ (i32.const 1)
+ )
+ )
+ (set_local $6
+ (get_local $17)
)
)
- (set_local $6
- (get_local $17)
- )
- )
- (block
- (set_local $48
- (get_local $2)
- )
- (set_local $54
- (get_local $6)
- )
- (set_local $7
- (i32.const 276)
+ (block
+ (set_local $48
+ (get_local $2)
+ )
+ (set_local $54
+ (get_local $6)
+ )
+ (set_local $7
+ (i32.const 276)
+ )
+ (br $while-out$69)
)
- (br $while-out$69)
)
+ (br $while-in$70)
)
- (br $while-in$70)
)
(if
(i32.eq
@@ -5041,9 +5085,9 @@
(if
(i32.and
(i32.ge_u
- (set_local $13
+ (tee_local $13
(i32.load
- (set_local $6
+ (tee_local $6
(i32.add
(get_local $42)
(i32.const 8)
@@ -5051,7 +5095,7 @@
)
)
)
- (set_local $17
+ (tee_local $17
(i32.load
(i32.const 1224)
)
@@ -5091,8 +5135,7 @@
)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -5104,46 +5147,48 @@
)
)
)
- (loop $while-out$71 $while-in$72
- (if
- (i32.le_u
- (set_local $1
- (i32.load
- (get_local $37)
- )
- )
- (get_local $10)
- )
+ (loop $while-in$72
+ (block $while-out$71
(if
- (i32.gt_u
- (set_local $24
- (i32.add
- (get_local $1)
- (i32.load offset=4
- (get_local $37)
- )
+ (i32.le_u
+ (tee_local $1
+ (i32.load
+ (get_local $37)
)
)
(get_local $10)
)
- (block
- (set_local $0
- (get_local $24)
+ (if
+ (i32.gt_u
+ (tee_local $24
+ (i32.add
+ (get_local $1)
+ (i32.load offset=4
+ (get_local $37)
+ )
+ )
+ )
+ (get_local $10)
+ )
+ (block
+ (set_local $0
+ (get_local $24)
+ )
+ (br $while-out$71)
)
- (br $while-out$71)
)
)
- )
- (set_local $37
- (i32.load offset=8
- (get_local $37)
+ (set_local $37
+ (i32.load offset=8
+ (get_local $37)
+ )
)
+ (br $while-in$72)
)
- (br $while-in$72)
)
(set_local $24
(i32.add
- (set_local $21
+ (tee_local $21
(i32.add
(get_local $0)
(i32.const -47)
@@ -5154,10 +5199,10 @@
)
(set_local $1
(i32.add
- (set_local $21
+ (tee_local $21
(select
(get_local $10)
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $21)
(select
@@ -5181,7 +5226,7 @@
)
(i32.lt_u
(get_local $1)
- (set_local $24
+ (tee_local $24
(i32.add
(get_local $10)
(i32.const 16)
@@ -5195,16 +5240,16 @@
)
(i32.store
(i32.const 1232)
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $28)
- (set_local $15
+ (tee_local $15
(select
(i32.const 0)
(i32.and
(i32.sub
(i32.const 0)
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $28)
(i32.const 8)
@@ -5227,7 +5272,7 @@
)
(i32.store
(i32.const 1220)
- (set_local $13
+ (tee_local $13
(i32.sub
(i32.add
(get_local $33)
@@ -5258,7 +5303,7 @@
)
)
(i32.store
- (set_local $13
+ (tee_local $13
(i32.add
(get_local $21)
(i32.const 4)
@@ -5314,7 +5359,7 @@
)
(loop $do-in$74
(i32.store
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $1)
(i32.const 4)
@@ -5350,7 +5395,7 @@
(i32.store offset=4
(get_local $10)
(i32.or
- (set_local $1
+ (tee_local $1
(i32.sub
(get_local $21)
(get_local $10)
@@ -5389,12 +5434,12 @@
)
(if
(i32.and
- (set_local $6
+ (tee_local $6
(i32.load
(i32.const 1208)
)
)
- (set_local $17
+ (tee_local $17
(i32.shl
(i32.const 1)
(get_local $4)
@@ -5403,9 +5448,9 @@
)
(if
(i32.lt_u
- (set_local $6
+ (tee_local $6
(i32.load
- (set_local $17
+ (tee_local $17
(i32.add
(get_local $15)
(i32.const 8)
@@ -5469,9 +5514,9 @@
(i32.add
(i32.const 1512)
(i32.shl
- (set_local $0
+ (tee_local $0
(if
- (set_local $15
+ (tee_local $15
(i32.shr_u
(get_local $1)
(i32.const 8)
@@ -5488,20 +5533,20 @@
(i32.shr_u
(get_local $1)
(i32.add
- (set_local $2
+ (tee_local $2
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
- (set_local $15
+ (tee_local $15
(i32.and
(i32.shr_u
(i32.add
- (set_local $17
+ (tee_local $17
(i32.shl
(get_local $15)
- (set_local $6
+ (tee_local $6
(i32.and
(i32.shr_u
(i32.add
@@ -5524,11 +5569,11 @@
)
(get_local $6)
)
- (set_local $17
+ (tee_local $17
(i32.and
(i32.shr_u
(i32.add
- (set_local $4
+ (tee_local $4
(i32.shl
(get_local $17)
(get_local $15)
@@ -5585,12 +5630,12 @@
(if
(i32.eqz
(i32.and
- (set_local $17
+ (tee_local $17
(i32.load
(i32.const 1212)
)
)
- (set_local $4
+ (tee_local $4
(i32.shl
(i32.const 1)
(get_local $0)
@@ -5649,72 +5694,74 @@
(get_local $2)
)
)
- (loop $while-out$75 $while-in$76
- (if
- (i32.eq
- (i32.and
- (i32.load offset=4
- (get_local $17)
+ (loop $while-in$76
+ (block $while-out$75
+ (if
+ (i32.eq
+ (i32.and
+ (i32.load offset=4
+ (get_local $17)
+ )
+ (i32.const -8)
)
- (i32.const -8)
- )
- (get_local $1)
- )
- (block
- (set_local $32
- (get_local $17)
+ (get_local $1)
)
- (set_local $7
- (i32.const 305)
+ (block
+ (set_local $32
+ (get_local $17)
+ )
+ (set_local $7
+ (i32.const 305)
+ )
+ (br $while-out$75)
)
- (br $while-out$75)
)
- )
- (if
- (set_local $6
- (i32.load
- (set_local $2
- (i32.add
+ (if
+ (tee_local $6
+ (i32.load
+ (tee_local $2
(i32.add
- (get_local $17)
- (i32.const 16)
- )
- (i32.shl
- (i32.shr_u
- (get_local $4)
- (i32.const 31)
+ (i32.add
+ (get_local $17)
+ (i32.const 16)
+ )
+ (i32.shl
+ (i32.shr_u
+ (get_local $4)
+ (i32.const 31)
+ )
+ (i32.const 2)
)
- (i32.const 2)
)
)
)
)
- )
- (block
- (set_local $4
- (i32.shl
- (get_local $4)
- (i32.const 1)
+ (block
+ (set_local $4
+ (i32.shl
+ (get_local $4)
+ (i32.const 1)
+ )
+ )
+ (set_local $17
+ (get_local $6)
)
)
- (set_local $17
- (get_local $6)
- )
- )
- (block
- (set_local $26
- (get_local $2)
- )
- (set_local $11
- (get_local $17)
- )
- (set_local $7
- (i32.const 302)
+ (block
+ (set_local $26
+ (get_local $2)
+ )
+ (set_local $11
+ (get_local $17)
+ )
+ (set_local $7
+ (i32.const 302)
+ )
+ (br $while-out$75)
)
- (br $while-out$75)
)
+ (br $while-in$76)
)
- (br $while-in$76)
)
(if
(i32.eq
@@ -5756,9 +5803,9 @@
(if
(i32.and
(i32.ge_u
- (set_local $4
+ (tee_local $4
(i32.load
- (set_local $17
+ (tee_local $17
(i32.add
(get_local $32)
(i32.const 8)
@@ -5766,7 +5813,7 @@
)
)
)
- (set_local $1
+ (tee_local $1
(i32.load
(i32.const 1224)
)
@@ -5810,7 +5857,7 @@
(if
(i32.or
(i32.eq
- (set_local $4
+ (tee_local $4
(i32.load
(i32.const 1224)
)
@@ -5854,7 +5901,7 @@
)
(loop $do-in$45
(i32.store offset=12
- (set_local $15
+ (tee_local $15
(i32.add
(i32.const 1248)
(i32.shl
@@ -5874,7 +5921,7 @@
)
(br_if $do-in$45
(i32.ne
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $4)
(i32.const 1)
@@ -5886,16 +5933,16 @@
)
(i32.store
(i32.const 1232)
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $28)
- (set_local $15
+ (tee_local $15
(select
(i32.const 0)
(i32.and
(i32.sub
(i32.const 0)
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $28)
(i32.const 8)
@@ -5918,7 +5965,7 @@
)
(i32.store
(i32.const 1220)
- (set_local $1
+ (tee_local $1
(i32.sub
(i32.add
(get_local $33)
@@ -5953,7 +6000,7 @@
)
(if
(i32.gt_u
- (set_local $10
+ (tee_local $10
(i32.load
(i32.const 1220)
)
@@ -5963,7 +6010,7 @@
(block
(i32.store
(i32.const 1220)
- (set_local $32
+ (tee_local $32
(i32.sub
(get_local $10)
(get_local $18)
@@ -5972,9 +6019,9 @@
)
(i32.store
(i32.const 1232)
- (set_local $7
+ (tee_local $7
(i32.add
- (set_local $10
+ (tee_local $10
(i32.load
(i32.const 1232)
)
@@ -5997,8 +6044,7 @@
(i32.const 3)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(return
@@ -6015,8 +6061,7 @@
(call $Qa)
(i32.const 12)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $31)
)
(i32.const 0)
@@ -6049,13 +6094,13 @@
)
(if
(i32.lt_u
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $0)
(i32.const -8)
)
)
- (set_local $14
+ (tee_local $14
(i32.load
(i32.const 1224)
)
@@ -6065,9 +6110,9 @@
)
(if
(i32.eq
- (set_local $0
+ (tee_local $0
(i32.and
- (set_local $9
+ (tee_local $9
(i32.load
(i32.add
(get_local $0)
@@ -6085,7 +6130,7 @@
(set_local $7
(i32.add
(get_local $1)
- (set_local $5
+ (tee_local $5
(i32.and
(get_local $9)
(i32.const -8)
@@ -6127,7 +6172,7 @@
)
(if
(i32.lt_u
- (set_local $0
+ (tee_local $0
(i32.add
(get_local $1)
(i32.sub
@@ -6151,9 +6196,9 @@
(if
(i32.ne
(i32.and
- (set_local $6
+ (tee_local $6
(i32.load
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $7)
(i32.const 4)
@@ -6222,12 +6267,12 @@
)
(if
(i32.ne
- (set_local $9
+ (tee_local $9
(i32.load offset=8
(get_local $0)
)
)
- (set_local $4
+ (tee_local $4
(i32.add
(i32.const 1248)
(i32.shl
@@ -6311,7 +6356,7 @@
(if
(i32.eq
(i32.load
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $1)
(i32.const 8)
@@ -6352,7 +6397,7 @@
(block $do-once$2
(if
(i32.eq
- (set_local $1
+ (tee_local $1
(i32.load offset=12
(get_local $0)
)
@@ -6361,11 +6406,11 @@
)
(block
(if
- (set_local $11
+ (tee_local $11
(i32.load
- (set_local $6
+ (tee_local $6
(i32.add
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $0)
(i32.const 16)
@@ -6386,7 +6431,7 @@
)
(if
(i32.eqz
- (set_local $1
+ (tee_local $1
(i32.load
(get_local $4)
)
@@ -6400,58 +6445,60 @@
)
)
)
- (loop $while-out$4 $while-in$5
- (if
- (set_local $11
- (i32.load
- (set_local $6
- (i32.add
- (get_local $1)
- (i32.const 20)
+ (loop $while-in$5
+ (block $while-out$4
+ (if
+ (tee_local $11
+ (i32.load
+ (tee_local $6
+ (i32.add
+ (get_local $1)
+ (i32.const 20)
+ )
)
)
)
- )
- (block
- (set_local $1
- (get_local $11)
- )
- (set_local $4
- (get_local $6)
+ (block
+ (set_local $1
+ (get_local $11)
+ )
+ (set_local $4
+ (get_local $6)
+ )
+ (br $while-in$5)
)
- (br $while-in$5)
)
- )
- (if
- (set_local $11
- (i32.load
- (set_local $6
- (i32.add
- (get_local $1)
- (i32.const 16)
+ (if
+ (tee_local $11
+ (i32.load
+ (tee_local $6
+ (i32.add
+ (get_local $1)
+ (i32.const 16)
+ )
)
)
)
- )
- (block
- (set_local $1
- (get_local $11)
- )
- (set_local $4
- (get_local $6)
- )
- )
- (block
- (set_local $6
- (get_local $1)
+ (block
+ (set_local $1
+ (get_local $11)
+ )
+ (set_local $4
+ (get_local $6)
+ )
)
- (set_local $10
- (get_local $4)
+ (block
+ (set_local $6
+ (get_local $1)
+ )
+ (set_local $10
+ (get_local $4)
+ )
+ (br $while-out$4)
)
- (br $while-out$4)
)
+ (br $while-in$5)
)
- (br $while-in$5)
)
(if
(i32.lt_u
@@ -6473,7 +6520,7 @@
(block
(if
(i32.lt_u
- (set_local $6
+ (tee_local $6
(i32.load offset=8
(get_local $0)
)
@@ -6485,7 +6532,7 @@
(if
(i32.ne
(i32.load
- (set_local $11
+ (tee_local $11
(i32.add
(get_local $6)
(i32.const 12)
@@ -6499,7 +6546,7 @@
(if
(i32.eq
(i32.load
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $1)
(i32.const 8)
@@ -6533,11 +6580,11 @@
(i32.eq
(get_local $0)
(i32.load
- (set_local $6
+ (tee_local $6
(i32.add
(i32.const 1512)
(i32.shl
- (set_local $1
+ (tee_local $1
(i32.load offset=28
(get_local $0)
)
@@ -6596,7 +6643,7 @@
(if
(i32.eq
(i32.load
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $9)
(i32.const 16)
@@ -6633,7 +6680,7 @@
(if
(i32.lt_u
(get_local $3)
- (set_local $1
+ (tee_local $1
(i32.load
(i32.const 1224)
)
@@ -6646,9 +6693,9 @@
(get_local $9)
)
(if
- (set_local $4
+ (tee_local $4
(i32.load
- (set_local $6
+ (tee_local $6
(i32.add
(get_local $0)
(i32.const 16)
@@ -6675,7 +6722,7 @@
)
)
(if
- (set_local $4
+ (tee_local $4
(i32.load offset=4
(get_local $6)
)
@@ -6737,9 +6784,9 @@
(if
(i32.eqz
(i32.and
- (set_local $1
+ (tee_local $1
(i32.load
- (set_local $5
+ (tee_local $5
(i32.add
(get_local $7)
(i32.const 4)
@@ -6794,7 +6841,7 @@
(block
(i32.store
(i32.const 1220)
- (set_local $3
+ (tee_local $3
(i32.add
(i32.load
(i32.const 1220)
@@ -6844,7 +6891,7 @@
(block
(i32.store
(i32.const 1216)
- (set_local $3
+ (tee_local $3
(i32.add
(i32.load
(i32.const 1216)
@@ -6903,12 +6950,12 @@
)
(if
(i32.ne
- (set_local $6
+ (tee_local $6
(i32.load offset=8
(get_local $7)
)
)
- (set_local $4
+ (tee_local $4
(i32.add
(i32.const 1248)
(i32.shl
@@ -6990,7 +7037,7 @@
(if
(i32.eq
(i32.load
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $10)
(i32.const 8)
@@ -7024,7 +7071,7 @@
(block $do-once$10
(if
(i32.eq
- (set_local $10
+ (tee_local $10
(i32.load offset=12
(get_local $7)
)
@@ -7033,11 +7080,11 @@
)
(block
(if
- (set_local $11
+ (tee_local $11
(i32.load
- (set_local $1
+ (tee_local $1
(i32.add
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $7)
(i32.const 16)
@@ -7058,7 +7105,7 @@
)
(if
(i32.eqz
- (set_local $0
+ (tee_local $0
(i32.load
(get_local $4)
)
@@ -7072,50 +7119,52 @@
)
)
)
- (loop $while-out$12 $while-in$13
- (if
- (set_local $11
- (i32.load
- (set_local $1
- (i32.add
- (get_local $0)
- (i32.const 20)
+ (loop $while-in$13
+ (block $while-out$12
+ (if
+ (tee_local $11
+ (i32.load
+ (tee_local $1
+ (i32.add
+ (get_local $0)
+ (i32.const 20)
+ )
)
)
)
- )
- (block
- (set_local $0
- (get_local $11)
- )
- (set_local $4
- (get_local $1)
+ (block
+ (set_local $0
+ (get_local $11)
+ )
+ (set_local $4
+ (get_local $1)
+ )
+ (br $while-in$13)
)
- (br $while-in$13)
)
- )
- (if
- (set_local $11
- (i32.load
- (set_local $1
- (i32.add
- (get_local $0)
- (i32.const 16)
+ (if
+ (tee_local $11
+ (i32.load
+ (tee_local $1
+ (i32.add
+ (get_local $0)
+ (i32.const 16)
+ )
)
)
)
- )
- (block
- (set_local $0
- (get_local $11)
- )
- (set_local $4
- (get_local $1)
+ (block
+ (set_local $0
+ (get_local $11)
+ )
+ (set_local $4
+ (get_local $1)
+ )
)
+ (br $while-out$12)
)
- (br $while-out$12)
+ (br $while-in$13)
)
- (br $while-in$13)
)
(if
(i32.lt_u
@@ -7139,7 +7188,7 @@
(block
(if
(i32.lt_u
- (set_local $1
+ (tee_local $1
(i32.load offset=8
(get_local $7)
)
@@ -7153,7 +7202,7 @@
(if
(i32.ne
(i32.load
- (set_local $11
+ (tee_local $11
(i32.add
(get_local $1)
(i32.const 12)
@@ -7167,7 +7216,7 @@
(if
(i32.eq
(i32.load
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $10)
(i32.const 8)
@@ -7201,11 +7250,11 @@
(i32.eq
(get_local $7)
(i32.load
- (set_local $5
+ (tee_local $5
(i32.add
(i32.const 1512)
(i32.shl
- (set_local $10
+ (tee_local $10
(i32.load offset=28
(get_local $7)
)
@@ -7258,7 +7307,7 @@
(if
(i32.eq
(i32.load
- (set_local $10
+ (tee_local $10
(i32.add
(get_local $6)
(i32.const 16)
@@ -7286,7 +7335,7 @@
(if
(i32.lt_u
(get_local $12)
- (set_local $10
+ (tee_local $10
(i32.load
(i32.const 1224)
)
@@ -7299,9 +7348,9 @@
(get_local $6)
)
(if
- (set_local $0
+ (tee_local $0
(i32.load
- (set_local $5
+ (tee_local $5
(i32.add
(get_local $7)
(i32.const 16)
@@ -7328,7 +7377,7 @@
)
)
(if
- (set_local $0
+ (tee_local $0
(i32.load offset=4
(get_local $5)
)
@@ -7418,12 +7467,12 @@
)
(if
(i32.and
- (set_local $5
+ (tee_local $5
(i32.load
(i32.const 1208)
)
)
- (set_local $3
+ (tee_local $3
(i32.shl
(i32.const 1)
(get_local $8)
@@ -7432,9 +7481,9 @@
)
(if
(i32.lt_u
- (set_local $5
+ (tee_local $5
(i32.load
- (set_local $3
+ (tee_local $3
(i32.add
(get_local $1)
(i32.const 8)
@@ -7498,9 +7547,9 @@
(i32.add
(i32.const 1512)
(i32.shl
- (set_local $1
+ (tee_local $1
(if
- (set_local $1
+ (tee_local $1
(i32.shr_u
(get_local $0)
(i32.const 8)
@@ -7517,20 +7566,20 @@
(i32.shr_u
(get_local $0)
(i32.add
- (set_local $3
+ (tee_local $3
(i32.add
(i32.sub
(i32.const 14)
(i32.or
(i32.or
- (set_local $1
+ (tee_local $1
(i32.and
(i32.shr_u
(i32.add
- (set_local $15
+ (tee_local $15
(i32.shl
(get_local $1)
- (set_local $13
+ (tee_local $13
(i32.and
(i32.shr_u
(i32.add
@@ -7553,11 +7602,11 @@
)
(get_local $13)
)
- (set_local $15
+ (tee_local $15
(i32.and
(i32.shr_u
(i32.add
- (set_local $5
+ (tee_local $5
(i32.shl
(get_local $15)
(get_local $1)
@@ -7613,12 +7662,12 @@
)
(if
(i32.and
- (set_local $15
+ (tee_local $15
(i32.load
(i32.const 1212)
)
)
- (set_local $5
+ (tee_local $5
(i32.shl
(i32.const 1)
(get_local $1)
@@ -7650,72 +7699,74 @@
(get_local $3)
)
)
- (loop $while-out$18 $while-in$19
- (if
- (i32.eq
- (i32.and
- (i32.load offset=4
- (get_local $1)
+ (loop $while-in$19
+ (block $while-out$18
+ (if
+ (i32.eq
+ (i32.and
+ (i32.load offset=4
+ (get_local $1)
+ )
+ (i32.const -8)
)
- (i32.const -8)
- )
- (get_local $0)
- )
- (block
- (set_local $16
- (get_local $1)
+ (get_local $0)
)
- (set_local $0
- (i32.const 130)
+ (block
+ (set_local $16
+ (get_local $1)
+ )
+ (set_local $0
+ (i32.const 130)
+ )
+ (br $while-out$18)
)
- (br $while-out$18)
)
- )
- (if
- (set_local $12
- (i32.load
- (set_local $8
- (i32.add
+ (if
+ (tee_local $12
+ (i32.load
+ (tee_local $8
(i32.add
- (get_local $1)
- (i32.const 16)
- )
- (i32.shl
- (i32.shr_u
- (get_local $13)
- (i32.const 31)
+ (i32.add
+ (get_local $1)
+ (i32.const 16)
+ )
+ (i32.shl
+ (i32.shr_u
+ (get_local $13)
+ (i32.const 31)
+ )
+ (i32.const 2)
)
- (i32.const 2)
)
)
)
)
- )
- (block
- (set_local $13
- (i32.shl
- (get_local $13)
- (i32.const 1)
+ (block
+ (set_local $13
+ (i32.shl
+ (get_local $13)
+ (i32.const 1)
+ )
+ )
+ (set_local $1
+ (get_local $12)
)
)
- (set_local $1
- (get_local $12)
- )
- )
- (block
- (set_local $18
- (get_local $8)
- )
- (set_local $19
- (get_local $1)
- )
- (set_local $0
- (i32.const 127)
+ (block
+ (set_local $18
+ (get_local $8)
+ )
+ (set_local $19
+ (get_local $1)
+ )
+ (set_local $0
+ (i32.const 127)
+ )
+ (br $while-out$18)
)
- (br $while-out$18)
)
+ (br $while-in$19)
)
- (br $while-in$19)
)
(if
(i32.eq
@@ -7757,9 +7808,9 @@
(if
(i32.and
(i32.ge_u
- (set_local $13
+ (tee_local $13
(i32.load
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $16)
(i32.const 8)
@@ -7767,7 +7818,7 @@
)
)
)
- (set_local $5
+ (tee_local $5
(i32.load
(i32.const 1224)
)
@@ -7833,7 +7884,7 @@
)
(i32.store
(i32.const 1240)
- (set_local $2
+ (tee_local $2
(i32.add
(i32.load
(i32.const 1240)
@@ -7849,22 +7900,24 @@
(i32.const 1664)
)
)
- (loop $while-out$20 $while-in$21
- (if
- (set_local $2
- (i32.load
- (get_local $0)
+ (loop $while-in$21
+ (block $while-out$20
+ (if
+ (tee_local $2
+ (i32.load
+ (get_local $0)
+ )
)
- )
- (set_local $0
- (i32.add
- (get_local $2)
- (i32.const 8)
+ (set_local $0
+ (i32.add
+ (get_local $2)
+ (i32.const 8)
+ )
)
+ (br $while-out$20)
)
- (br $while-out$20)
+ (br $while-in$21)
)
- (br $while-in$21)
)
(i32.store
(i32.const 1240)
@@ -7889,16 +7942,11 @@
(local $17 i32)
(local $18 i32)
(set_local $11
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(i32.add
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
(i32.const 48)
)
)
@@ -7912,15 +7960,15 @@
(get_local $11)
)
(i32.store
- (set_local $3
+ (tee_local $3
(i32.add
(get_local $11)
(i32.const 32)
)
)
- (set_local $8
+ (tee_local $8
(i32.load
- (set_local $9
+ (tee_local $9
(i32.add
(get_local $0)
(i32.const 28)
@@ -7931,10 +7979,10 @@
)
(i32.store offset=4
(get_local $3)
- (set_local $10
+ (tee_local $10
(i32.sub
(i32.load
- (set_local $14
+ (tee_local $14
(i32.add
(get_local $0)
(i32.const 20)
@@ -7977,209 +8025,211 @@
(get_local $2)
)
)
- (loop $while-out$0 $while-in$1
- (if
- (i32.eq
- (get_local $5)
- (set_local $6
- (if
- (i32.load
- (i32.const 1160)
- )
- (block
- (call_import $ra
- (i32.const 1)
- (get_local $0)
+ (loop $while-in$1
+ (block $while-out$0
+ (if
+ (i32.eq
+ (get_local $5)
+ (tee_local $6
+ (if
+ (i32.load
+ (i32.const 1160)
)
- (i32.store
- (get_local $13)
- (i32.load
- (get_local $1)
+ (block
+ (call_import $ra
+ (i32.const 1)
+ (get_local $0)
)
- )
- (i32.store offset=4
- (get_local $13)
- (get_local $4)
- )
- (i32.store offset=8
- (get_local $13)
- (get_local $3)
- )
- (set_local $10
- (call $Pa
- (call_import $ya
- (i32.const 146)
- (get_local $13)
+ (i32.store
+ (get_local $13)
+ (i32.load
+ (get_local $1)
)
)
- )
- (call_import $oa
- (i32.const 0)
- )
- (get_local $10)
- )
- (block
- (i32.store
- (get_local $12)
- (i32.load
- (get_local $1)
+ (i32.store offset=4
+ (get_local $13)
+ (get_local $4)
)
+ (i32.store offset=8
+ (get_local $13)
+ (get_local $3)
+ )
+ (set_local $10
+ (call $Pa
+ (call_import $ya
+ (i32.const 146)
+ (get_local $13)
+ )
+ )
+ )
+ (call_import $oa
+ (i32.const 0)
+ )
+ (get_local $10)
)
- (i32.store offset=4
- (get_local $12)
- (get_local $4)
- )
- (i32.store offset=8
- (get_local $12)
- (get_local $3)
- )
- (call $Pa
- (call_import $ya
- (i32.const 146)
+ (block
+ (i32.store
+ (get_local $12)
+ (i32.load
+ (get_local $1)
+ )
+ )
+ (i32.store offset=4
+ (get_local $12)
+ (get_local $4)
+ )
+ (i32.store offset=8
(get_local $12)
+ (get_local $3)
+ )
+ (call $Pa
+ (call_import $ya
+ (i32.const 146)
+ (get_local $12)
+ )
)
)
)
)
)
- )
- (block
- (set_local $1
- (i32.const 6)
- )
- (br $while-out$0)
- )
- )
- (if
- (i32.lt_s
- (get_local $6)
- (i32.const 0)
- )
- (block
- (set_local $17
- (get_local $4)
- )
- (set_local $18
- (get_local $3)
- )
- (set_local $1
- (i32.const 8)
+ (block
+ (set_local $1
+ (i32.const 6)
+ )
+ (br $while-out$0)
)
- (br $while-out$0)
- )
- )
- (set_local $10
- (i32.sub
- (get_local $5)
- (get_local $6)
)
- )
- (set_local $3
(if
- (i32.gt_u
+ (i32.lt_s
(get_local $6)
- (set_local $5
- (i32.load offset=4
- (get_local $4)
- )
- )
+ (i32.const 0)
)
(block
- (i32.store
- (get_local $9)
- (set_local $7
- (i32.load
- (get_local $8)
- )
- )
- )
- (i32.store
- (get_local $14)
- (get_local $7)
- )
- (set_local $6
- (i32.sub
- (get_local $6)
- (get_local $5)
- )
- )
- (set_local $7
- (i32.add
- (get_local $4)
- (i32.const 8)
- )
+ (set_local $17
+ (get_local $4)
)
- (set_local $15
- (i32.add
- (get_local $3)
- (i32.const -1)
- )
+ (set_local $18
+ (get_local $3)
)
- (i32.load offset=12
- (get_local $4)
+ (set_local $1
+ (i32.const 8)
)
+ (br $while-out$0)
)
+ )
+ (set_local $10
+ (i32.sub
+ (get_local $5)
+ (get_local $6)
+ )
+ )
+ (set_local $3
(if
- (i32.eq
- (get_local $3)
- (i32.const 2)
+ (i32.gt_u
+ (get_local $6)
+ (tee_local $5
+ (i32.load offset=4
+ (get_local $4)
+ )
+ )
)
(block
(i32.store
(get_local $9)
- (i32.add
+ (tee_local $7
(i32.load
- (get_local $9)
+ (get_local $8)
)
+ )
+ )
+ (i32.store
+ (get_local $14)
+ (get_local $7)
+ )
+ (set_local $6
+ (i32.sub
(get_local $6)
+ (get_local $5)
)
)
(set_local $7
- (get_local $4)
+ (i32.add
+ (get_local $4)
+ (i32.const 8)
+ )
)
(set_local $15
- (i32.const 2)
+ (i32.add
+ (get_local $3)
+ (i32.const -1)
+ )
)
- (get_local $5)
- )
- (block
- (set_local $7
+ (i32.load offset=12
(get_local $4)
)
- (set_local $15
+ )
+ (if
+ (i32.eq
(get_local $3)
+ (i32.const 2)
+ )
+ (block
+ (i32.store
+ (get_local $9)
+ (i32.add
+ (i32.load
+ (get_local $9)
+ )
+ (get_local $6)
+ )
+ )
+ (set_local $7
+ (get_local $4)
+ )
+ (set_local $15
+ (i32.const 2)
+ )
+ (get_local $5)
+ )
+ (block
+ (set_local $7
+ (get_local $4)
+ )
+ (set_local $15
+ (get_local $3)
+ )
+ (get_local $5)
)
- (get_local $5)
)
)
)
- )
- (i32.store
- (get_local $7)
- (i32.add
- (i32.load
- (get_local $7)
+ (i32.store
+ (get_local $7)
+ (i32.add
+ (i32.load
+ (get_local $7)
+ )
+ (get_local $6)
)
- (get_local $6)
)
- )
- (i32.store offset=4
- (get_local $7)
- (i32.sub
- (get_local $3)
- (get_local $6)
+ (i32.store offset=4
+ (get_local $7)
+ (i32.sub
+ (get_local $3)
+ (get_local $6)
+ )
)
+ (set_local $4
+ (get_local $7)
+ )
+ (set_local $3
+ (get_local $15)
+ )
+ (set_local $5
+ (get_local $10)
+ )
+ (br $while-in$1)
)
- (set_local $4
- (get_local $7)
- )
- (set_local $3
- (get_local $15)
- )
- (set_local $5
- (get_local $10)
- )
- (br $while-in$1)
)
(if
(i32.eq
@@ -8190,7 +8240,7 @@
(i32.store offset=16
(get_local $0)
(i32.add
- (set_local $5
+ (tee_local $5
(i32.load
(get_local $8)
)
@@ -8202,7 +8252,7 @@
)
(i32.store
(get_local $9)
- (set_local $8
+ (tee_local $8
(get_local $5)
)
)
@@ -8259,8 +8309,7 @@
)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $11)
)
(get_local $16)
@@ -8272,9 +8321,9 @@
(local $6 i32)
(local $7 i32)
(if
- (set_local $5
+ (tee_local $5
(i32.load
- (set_local $3
+ (tee_local $3
(i32.add
(get_local $2)
(i32.const 16)
@@ -8317,9 +8366,9 @@
)
(block
(set_local $6
- (set_local $3
+ (tee_local $3
(i32.load
- (set_local $5
+ (tee_local $5
(i32.add
(get_local $2)
(i32.const 20)
@@ -8339,6 +8388,9 @@
(block
(set_local $4
(call_indirect $FUNCSIG$iiii
+ (get_local $2)
+ (get_local $0)
+ (get_local $1)
(i32.add
(i32.and
(i32.load offset=36
@@ -8348,9 +8400,6 @@
)
(i32.const 2)
)
- (get_local $2)
- (get_local $0)
- (get_local $1)
)
)
(br $label$break$a)
@@ -8369,53 +8418,58 @@
(set_local $3
(get_local $1)
)
- (loop $while-out$2 $while-in$3
- (if
- (i32.eqz
- (get_local $3)
- )
- (block
- (set_local $2
- (get_local $0)
- )
- (set_local $3
- (i32.const 0)
+ (loop $while-in$3
+ (block $while-out$2
+ (if
+ (i32.eqz
+ (get_local $3)
)
- (br $label$break$b
- (get_local $1)
+ (block
+ (set_local $2
+ (get_local $0)
+ )
+ (set_local $3
+ (i32.const 0)
+ )
+ (br $label$break$b
+ (get_local $1)
+ )
)
)
- )
- (if
- (i32.eq
- (i32.load8_s
- (i32.add
- (get_local $0)
- (set_local $7
- (i32.add
- (get_local $3)
- (i32.const -1)
+ (if
+ (i32.eq
+ (i32.load8_s
+ (i32.add
+ (get_local $0)
+ (tee_local $7
+ (i32.add
+ (get_local $3)
+ (i32.const -1)
+ )
)
)
)
+ (i32.const 10)
)
- (i32.const 10)
- )
- (block
- (set_local $4
- (get_local $3)
+ (block
+ (set_local $4
+ (get_local $3)
+ )
+ (br $while-out$2)
+ )
+ (set_local $3
+ (get_local $7)
)
- (br $while-out$2)
- )
- (set_local $3
- (get_local $7)
)
+ (br $while-in$3)
)
- (br $while-in$3)
)
- (if
+ (br_if $label$break$a
(i32.lt_u
(call_indirect $FUNCSIG$iiii
+ (get_local $2)
+ (get_local $0)
+ (get_local $4)
(i32.add
(i32.and
(i32.load offset=36
@@ -8425,13 +8479,9 @@
)
(i32.const 2)
)
- (get_local $2)
- (get_local $0)
- (get_local $4)
)
(get_local $4)
)
- (br $label$break$a)
)
(set_local $2
(i32.add
@@ -8464,10 +8514,12 @@
)
)
)
- (call $jb
- (get_local $6)
- (get_local $2)
- (get_local $0)
+ (drop
+ (call $jb
+ (get_local $6)
+ (get_local $2)
+ (get_local $0)
+ )
)
(i32.store
(get_local $5)
@@ -8498,7 +8550,7 @@
(block $label$break$a
(if
(i32.and
- (set_local $3
+ (tee_local $3
(get_local $0)
)
(i32.const 3)
@@ -8507,44 +8559,47 @@
(set_local $4
(get_local $3)
)
- (loop $while-out$1 $while-in$2
- (if
- (i32.eqz
- (i32.load8_s
- (get_local $0)
+ (loop $while-in$2
+ (block $while-out$1
+ (if
+ (i32.eqz
+ (i32.load8_s
+ (get_local $0)
+ )
)
- )
- (block
- (set_local $5
- (get_local $4)
+ (block
+ (set_local $5
+ (get_local $4)
+ )
+ (br $label$break$a)
)
- (br $label$break$a)
)
- )
- (if
- (i32.and
- (set_local $4
- (set_local $0
- (i32.add
- (get_local $0)
- (i32.const 1)
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $4
+ (tee_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
+ )
)
+ (i32.const 3)
)
)
- (i32.const 3)
- )
- (get_local $0)
- (block
- (set_local $2
- (get_local $0)
- )
- (set_local $1
- (i32.const 4)
+ (block
+ (set_local $2
+ (get_local $0)
+ )
+ (set_local $1
+ (i32.const 4)
+ )
+ (br $while-out$1)
)
- (br $while-out$1)
)
+ (br $while-in$2)
)
- (br $while-in$2)
)
)
(block
@@ -8566,34 +8621,36 @@
(set_local $1
(get_local $2)
)
- (loop $while-out$3 $while-in$4
- (if
- (i32.and
- (i32.xor
- (i32.and
- (set_local $2
- (i32.load
- (get_local $1)
+ (loop $while-in$4
+ (block $while-out$3
+ (if
+ (i32.and
+ (i32.xor
+ (i32.and
+ (tee_local $2
+ (i32.load
+ (get_local $1)
+ )
)
+ (i32.const -2139062144)
)
(i32.const -2139062144)
)
- (i32.const -2139062144)
- )
- (i32.add
- (get_local $2)
- (i32.const -16843009)
+ (i32.add
+ (get_local $2)
+ (i32.const -16843009)
+ )
)
- )
- (br $while-out$3)
- (set_local $1
- (i32.add
- (get_local $1)
- (i32.const 4)
+ (br $while-out$3)
+ (set_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 4)
+ )
)
)
+ (br $while-in$4)
)
- (br $while-in$4)
)
(if
(i32.shr_s
@@ -8610,25 +8667,26 @@
(set_local $2
(get_local $1)
)
- (loop $while-out$5 $while-in$6
- (if
- (i32.load8_s
- (set_local $1
- (i32.add
- (get_local $2)
- (i32.const 1)
+ (loop $while-in$6
+ (block $while-out$5
+ (if
+ (i32.load8_s
+ (tee_local $1
+ (i32.add
+ (get_local $2)
+ (i32.const 1)
+ )
)
)
+ (set_local $2
+ (get_local $1)
+ )
+ (br $while-out$5)
)
- (set_local $2
- (get_local $1)
- )
- (br $while-out$5)
+ (br $while-in$6)
)
- (br $while-in$6)
)
)
- (get_local $1)
)
(set_local $5
(get_local $1)
@@ -8702,7 +8760,7 @@
(i32.const 1188)
)
(if
- (set_local $2
+ (tee_local $2
(i32.load
(i32.const 1184)
)
@@ -8714,64 +8772,66 @@
(set_local $2
(get_local $0)
)
- (loop $while-out$2 $while-in$3
- (set_local $0
- (if
- (i32.gt_s
- (i32.load offset=76
+ (loop $while-in$3
+ (block $while-out$2
+ (set_local $0
+ (if
+ (i32.gt_s
+ (i32.load offset=76
+ (get_local $1)
+ )
+ (i32.const -1)
+ )
+ (call $Ya
(get_local $1)
)
- (i32.const -1)
- )
- (call $Ya
- (get_local $1)
+ (i32.const 0)
)
- (i32.const 0)
)
- )
- (set_local $2
- (if
- (i32.gt_u
- (i32.load offset=20
- (get_local $1)
- )
- (i32.load offset=28
- (get_local $1)
+ (set_local $2
+ (if
+ (i32.gt_u
+ (i32.load offset=20
+ (get_local $1)
+ )
+ (i32.load offset=28
+ (get_local $1)
+ )
)
- )
- (i32.or
- (call $$a
- (get_local $1)
+ (i32.or
+ (call $$a
+ (get_local $1)
+ )
+ (get_local $2)
)
(get_local $2)
)
- (get_local $2)
)
- )
- (if
- (get_local $0)
- (call $Ta
- (get_local $1)
- )
- )
- (if
- (set_local $1
- (i32.load offset=56
+ (if
+ (get_local $0)
+ (call $Ta
(get_local $1)
)
)
- (get_local $2)
- (block
- (set_local $0
- (get_local $2)
+ (if
+ (i32.eqz
+ (tee_local $1
+ (i32.load offset=56
+ (get_local $1)
+ )
+ )
+ )
+ (block
+ (set_local $0
+ (get_local $2)
+ )
+ (br $while-out$2)
)
- (br $while-out$2)
)
+ (br $while-in$3)
)
- (br $while-in$3)
)
)
- (get_local $0)
)
(call_import $xa
(i32.const 1188)
@@ -8791,24 +8851,19 @@
(local $8 i32)
(local $9 i32)
(set_local $5
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(i32.add
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
(i32.const 16)
)
)
(i32.store8
- (set_local $6
+ (tee_local $6
(get_local $5)
)
- (set_local $9
+ (tee_local $9
(i32.and
(get_local $1)
(i32.const 255)
@@ -8816,9 +8871,9 @@
)
)
(if
- (set_local $3
+ (tee_local $3
(i32.load
- (set_local $2
+ (tee_local $2
(i32.add
(get_local $0)
(i32.const 16)
@@ -8862,9 +8917,9 @@
(block
(if
(i32.lt_u
- (set_local $2
+ (tee_local $2
(i32.load
- (set_local $3
+ (tee_local $3
(i32.add
(get_local $0)
(i32.const 20)
@@ -8876,7 +8931,7 @@
)
(if
(i32.ne
- (set_local $4
+ (tee_local $4
(i32.and
(get_local $1)
(i32.const 255)
@@ -8906,6 +8961,9 @@
(if
(i32.eq
(call_indirect $FUNCSIG$iiii
+ (get_local $0)
+ (get_local $6)
+ (i32.const 1)
(i32.add
(i32.and
(i32.load offset=36
@@ -8915,9 +8973,6 @@
)
(i32.const 2)
)
- (get_local $0)
- (get_local $6)
- (i32.const 1)
)
(i32.const 1)
)
@@ -8930,8 +8985,7 @@
)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $5)
)
(get_local $4)
@@ -8946,7 +9000,7 @@
(if
(i32.gt_u
(i32.load
- (set_local $3
+ (tee_local $3
(i32.add
(get_local $0)
(i32.const 20)
@@ -8954,7 +9008,7 @@
)
)
(i32.load
- (set_local $4
+ (tee_local $4
(i32.add
(get_local $0)
(i32.const 28)
@@ -8963,19 +9017,21 @@
)
)
(block
- (call_indirect $FUNCSIG$iiii
- (i32.add
- (i32.and
- (i32.load offset=36
- (get_local $0)
+ (drop
+ (call_indirect $FUNCSIG$iiii
+ (get_local $0)
+ (i32.const 0)
+ (i32.const 0)
+ (i32.add
+ (i32.and
+ (i32.load offset=36
+ (get_local $0)
+ )
+ (i32.const 3)
)
- (i32.const 3)
+ (i32.const 2)
)
- (i32.const 2)
)
- (get_local $0)
- (i32.const 0)
- (i32.const 0)
)
(if
(i32.load
@@ -9001,9 +9057,9 @@
(block
(if
(i32.lt_u
- (set_local $2
+ (tee_local $2
(i32.load
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $0)
(i32.const 4)
@@ -9011,9 +9067,9 @@
)
)
)
- (set_local $6
+ (tee_local $6
(i32.load
- (set_local $5
+ (tee_local $5
(i32.add
(get_local $0)
(i32.const 8)
@@ -9023,6 +9079,12 @@
)
)
(call_indirect $FUNCSIG$iiii
+ (get_local $0)
+ (i32.sub
+ (get_local $2)
+ (get_local $6)
+ )
+ (i32.const 1)
(i32.add
(i32.and
(i32.load offset=40
@@ -9032,12 +9094,6 @@
)
(i32.const 2)
)
- (get_local $0)
- (i32.sub
- (get_local $2)
- (get_local $6)
- )
- (i32.const 1)
)
)
(i32.store offset=16
@@ -9097,116 +9153,122 @@
)
)
(block
- (loop $while-out$0 $while-in$1
- (br_if $while-out$0
- (i32.eqz
- (i32.and
- (get_local $0)
- (i32.const 3)
+ (loop $while-in$1
+ (block $while-out$0
+ (br_if $while-out$0
+ (i32.eqz
+ (i32.and
+ (get_local $0)
+ (i32.const 3)
+ )
)
)
- )
- (if
- (i32.eqz
- (get_local $2)
- )
- (return
- (get_local $3)
- )
- )
- (i32.store8
- (get_local $0)
- (i32.load8_s
- (get_local $1)
+ (if
+ (i32.eqz
+ (get_local $2)
+ )
+ (return
+ (get_local $3)
+ )
)
- )
- (set_local $0
- (i32.add
+ (i32.store8
(get_local $0)
- (i32.const 1)
+ (i32.load8_s
+ (get_local $1)
+ )
)
- )
- (set_local $1
- (i32.add
- (get_local $1)
- (i32.const 1)
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
)
- )
- (set_local $2
- (i32.sub
- (get_local $2)
- (i32.const 1)
+ (set_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 1)
+ )
)
- )
- (br $while-in$1)
- )
- (loop $while-out$2 $while-in$3
- (br_if $while-out$2
- (i32.lt_s
- (get_local $2)
- (i32.const 4)
+ (set_local $2
+ (i32.sub
+ (get_local $2)
+ (i32.const 1)
+ )
)
+ (br $while-in$1)
)
- (i32.store
- (get_local $0)
- (i32.load
- (get_local $1)
+ )
+ (loop $while-in$3
+ (block $while-out$2
+ (br_if $while-out$2
+ (i32.lt_s
+ (get_local $2)
+ (i32.const 4)
+ )
)
- )
- (set_local $0
- (i32.add
+ (i32.store
(get_local $0)
- (i32.const 4)
+ (i32.load
+ (get_local $1)
+ )
)
- )
- (set_local $1
- (i32.add
- (get_local $1)
- (i32.const 4)
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 4)
+ )
)
- )
- (set_local $2
- (i32.sub
- (get_local $2)
- (i32.const 4)
+ (set_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 4)
+ )
)
+ (set_local $2
+ (i32.sub
+ (get_local $2)
+ (i32.const 4)
+ )
+ )
+ (br $while-in$3)
)
- (br $while-in$3)
)
)
)
- (loop $while-out$4 $while-in$5
- (br_if $while-out$4
- (i32.le_s
- (get_local $2)
- (i32.const 0)
- )
- )
- (i32.store8
- (get_local $0)
- (i32.load8_s
- (get_local $1)
+ (loop $while-in$5
+ (block $while-out$4
+ (br_if $while-out$4
+ (i32.le_s
+ (get_local $2)
+ (i32.const 0)
+ )
)
- )
- (set_local $0
- (i32.add
+ (i32.store8
(get_local $0)
- (i32.const 1)
+ (i32.load8_s
+ (get_local $1)
+ )
)
- )
- (set_local $1
- (i32.add
- (get_local $1)
- (i32.const 1)
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
)
- )
- (set_local $2
- (i32.sub
- (get_local $2)
- (i32.const 1)
+ (set_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 1)
+ )
+ )
+ (set_local $2
+ (i32.sub
+ (get_local $2)
+ (i32.const 1)
+ )
)
+ (br $while-in$5)
)
- (br $while-in$5)
)
(get_local $3)
)
@@ -9234,7 +9296,7 @@
(i32.or
(i32.or
(i32.or
- (set_local $1
+ (tee_local $1
(i32.and
(get_local $1)
(i32.const 255)
@@ -9263,7 +9325,7 @@
)
)
(if
- (set_local $3
+ (tee_local $3
(i32.and
(get_local $0)
(i32.const 3)
@@ -9279,66 +9341,72 @@
(get_local $3)
)
)
- (loop $while-out$0 $while-in$1
- (br_if $while-out$0
- (i32.ge_s
- (get_local $0)
- (get_local $3)
+ (loop $while-in$1
+ (block $while-out$0
+ (br_if $while-out$0
+ (i32.ge_s
+ (get_local $0)
+ (get_local $3)
+ )
)
- )
- (i32.store8
- (get_local $0)
- (get_local $1)
- )
- (set_local $0
- (i32.add
+ (i32.store8
(get_local $0)
- (i32.const 1)
+ (get_local $1)
)
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
+ )
+ (br $while-in$1)
)
- (br $while-in$1)
)
)
)
- (loop $while-out$2 $while-in$3
- (br_if $while-out$2
- (i32.ge_s
- (get_local $0)
- (get_local $6)
+ (loop $while-in$3
+ (block $while-out$2
+ (br_if $while-out$2
+ (i32.ge_s
+ (get_local $0)
+ (get_local $6)
+ )
)
- )
- (i32.store
- (get_local $0)
- (get_local $5)
- )
- (set_local $0
- (i32.add
+ (i32.store
(get_local $0)
- (i32.const 4)
+ (get_local $5)
)
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 4)
+ )
+ )
+ (br $while-in$3)
)
- (br $while-in$3)
)
)
)
- (loop $while-out$4 $while-in$5
- (br_if $while-out$4
- (i32.ge_s
- (get_local $0)
- (get_local $4)
+ (loop $while-in$5
+ (block $while-out$4
+ (br_if $while-out$4
+ (i32.ge_s
+ (get_local $0)
+ (get_local $4)
+ )
)
- )
- (i32.store8
- (get_local $0)
- (get_local $1)
- )
- (set_local $0
- (i32.add
+ (i32.store8
(get_local $0)
- (i32.const 1)
+ (get_local $1)
+ )
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
)
+ (br $while-in$5)
)
- (br $while-in$5)
)
(i32.sub
(get_local $0)
@@ -9353,7 +9421,7 @@
(if
(i32.gt_s
(i32.load offset=76
- (set_local $1
+ (tee_local $1
(i32.load
(i32.const 1024)
)
@@ -9388,9 +9456,9 @@
)
(if
(i32.lt_u
- (set_local $2
+ (tee_local $2
(i32.load
- (set_local $0
+ (tee_local $0
(i32.add
(get_local $1)
(i32.const 20)
@@ -9450,7 +9518,7 @@
(local $2 i32)
(set_local $2
(i32.load8_s
- (set_local $1
+ (tee_local $1
(i32.add
(get_local $0)
(i32.const 74)
@@ -9470,7 +9538,7 @@
)
(if
(i32.and
- (set_local $2
+ (tee_local $2
(i32.load
(get_local $0)
)
@@ -9498,7 +9566,7 @@
)
(i32.store offset=28
(get_local $0)
- (set_local $1
+ (tee_local $1
(i32.load offset=44
(get_local $0)
)
@@ -9532,7 +9600,7 @@
)
(if
(i32.eq
- (set_local $0
+ (tee_local $0
(if
(i32.gt_s
(i32.load offset=76
@@ -9587,21 +9655,16 @@
(local $3 i32)
(local $4 i32)
(set_local $4
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(i32.add
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
(i32.const 32)
)
)
(i32.store
- (set_local $3
+ (tee_local $3
(get_local $4)
)
(i32.load offset=60
@@ -9618,7 +9681,7 @@
)
(i32.store offset=12
(get_local $3)
- (set_local $0
+ (tee_local $0
(i32.add
(get_local $4)
(i32.const 20)
@@ -9652,8 +9715,7 @@
)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $4)
)
(get_local $0)
@@ -9662,16 +9724,11 @@
(local $3 i32)
(local $4 i32)
(set_local $4
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(i32.add
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
(i32.const 80)
)
)
@@ -9728,73 +9785,56 @@
(get_local $2)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $4)
)
(get_local $3)
)
(func $Ka (param $0 i32)
(i32.store8
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s
(get_local $0)
)
)
(i32.store8 offset=1
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=1
(get_local $0)
)
)
(i32.store8 offset=2
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=2
(get_local $0)
)
)
(i32.store8 offset=3
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=3
(get_local $0)
)
)
(i32.store8 offset=4
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=4
(get_local $0)
)
)
(i32.store8 offset=5
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=5
(get_local $0)
)
)
(i32.store8 offset=6
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=6
(get_local $0)
)
)
(i32.store8 offset=7
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=7
(get_local $0)
)
@@ -9804,21 +9844,16 @@
(local $1 i32)
(local $2 i32)
(set_local $1
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(i32.add
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
(i32.const 16)
)
)
(i32.store
- (set_local $2
+ (tee_local $2
(get_local $1)
)
(i32.load offset=60
@@ -9833,8 +9868,7 @@
)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $1)
)
(get_local $0)
@@ -9860,33 +9894,25 @@
)
(func $Ja (param $0 i32)
(i32.store8
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s
(get_local $0)
)
)
(i32.store8 offset=1
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=1
(get_local $0)
)
)
(i32.store8 offset=2
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=2
(get_local $0)
)
)
(i32.store8 offset=3
- (i32.load
- (i32.const 24)
- )
+ (get_global $t)
(i32.load8_s offset=3
(get_local $0)
)
@@ -9905,6 +9931,9 @@
)
(func $lb (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
(call_indirect $FUNCSIG$iiii
+ (get_local $1)
+ (get_local $2)
+ (get_local $3)
(i32.add
(i32.and
(get_local $0)
@@ -9912,34 +9941,23 @@
)
(i32.const 2)
)
- (get_local $1)
- (get_local $2)
- (get_local $3)
)
)
(func $Ea (param $0 i32) (result i32)
(local $1 i32)
(set_local $1
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(i32.add
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
(get_local $0)
)
)
- (i32.store
- (i32.const 8)
+ (set_global $r
(i32.and
(i32.add
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
(i32.const 15)
)
(i32.const -16)
@@ -9969,17 +9987,13 @@
(func $Ia (param $0 i32) (param $1 i32)
(if
(i32.eqz
- (i32.load
- (i32.const 40)
- )
+ (get_global $v)
)
(block
- (i32.store
- (i32.const 40)
+ (set_global $v
(get_local $0)
)
- (i32.store
- (i32.const 48)
+ (set_global $w
(get_local $1)
)
)
@@ -9987,6 +10001,7 @@
)
(func $kb (param $0 i32) (param $1 i32) (result i32)
(call_indirect $FUNCSIG$ii
+ (get_local $1)
(i32.add
(i32.and
(get_local $0)
@@ -9994,7 +10009,6 @@
)
(i32.const 0)
)
- (get_local $1)
)
)
(func $Sa (param $0 i32)
@@ -10011,6 +10025,7 @@
)
(func $mb (param $0 i32) (param $1 i32)
(call_indirect $FUNCSIG$vi
+ (get_local $1)
(i32.add
(i32.and
(get_local $0)
@@ -10018,16 +10033,13 @@
)
(i32.const 6)
)
- (get_local $1)
)
)
(func $Ha (param $0 i32) (param $1 i32)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $0)
)
- (i32.store
- (i32.const 16)
+ (set_global $s
(get_local $1)
)
)
@@ -10038,8 +10050,10 @@
(i32.const 0)
)
(func $Na (result i32)
- (call $db
- (i32.const 1144)
+ (drop
+ (call $db
+ (i32.const 1144)
+ )
)
(i32.const 0)
)
@@ -10055,31 +10069,25 @@
)
)
(func $La (param $0 i32)
- (i32.store
- (i32.const 160)
+ (set_global $K
(get_local $0)
)
)
(func $Ga (param $0 i32)
- (i32.store
- (i32.const 8)
+ (set_global $r
(get_local $0)
)
)
(func $Ma (result i32)
- (i32.load
- (i32.const 160)
- )
+ (get_global $K)
)
(func $Fa (result i32)
- (i32.load
- (i32.const 8)
- )
+ (get_global $r)
)
(func $ib (result i32)
(i32.const 0)
)
- (func $__growWasmMemory (param $newSize i32)
+ (func $__growWasmMemory (param $newSize i32) (result i32)
(grow_memory
(get_local $newSize)
)