1875 lines
37 KiB
Plaintext
1875 lines
37 KiB
Plaintext
(module $adpcm_enc.wasm
|
|
(type (;0;) (func (param i32 i32)))
|
|
(type (;1;) (func))
|
|
(type (;2;) (func (param i32 i32) (result i32)))
|
|
(type (;3;) (func (param i32 i32 i32)))
|
|
(type (;4;) (func (result i32)))
|
|
(import "__pragma" "loopbound" (func $__pragma_loopbound (type 0)))
|
|
(func $__wasm_apply_data_relocs (type 1))
|
|
(func $adpcm_enc_encode (type 2) (param i32 i32) (result i32)
|
|
(local i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i64 i32 i32)
|
|
i32.const 0
|
|
i64.load32_s offset=1028
|
|
local.set 2
|
|
i32.const 0
|
|
i64.load32_s offset=1796
|
|
local.set 3
|
|
i32.const 0
|
|
i64.load32_s offset=1024
|
|
local.set 4
|
|
i32.const 0
|
|
i64.load32_s offset=1792
|
|
local.set 5
|
|
i32.const 10
|
|
i32.const 10
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i64.load32_s offset=1116
|
|
local.set 6
|
|
i32.const 0
|
|
i64.load32_s offset=1884
|
|
local.set 7
|
|
i32.const 0
|
|
i64.load32_s offset=1108
|
|
local.set 8
|
|
i32.const 0
|
|
i64.load32_s offset=1876
|
|
local.set 9
|
|
i32.const 0
|
|
i64.load32_s offset=1100
|
|
local.set 10
|
|
i32.const 0
|
|
i64.load32_s offset=1868
|
|
local.set 11
|
|
i32.const 0
|
|
i64.load32_s offset=1092
|
|
local.set 12
|
|
i32.const 0
|
|
i64.load32_s offset=1860
|
|
local.set 13
|
|
i32.const 0
|
|
i64.load32_s offset=1084
|
|
local.set 14
|
|
i32.const 0
|
|
i64.load32_s offset=1852
|
|
local.set 15
|
|
i32.const 0
|
|
i64.load32_s offset=1076
|
|
local.set 16
|
|
i32.const 0
|
|
i64.load32_s offset=1844
|
|
local.set 17
|
|
i32.const 0
|
|
i64.load32_s offset=1068
|
|
local.set 18
|
|
i32.const 0
|
|
i64.load32_s offset=1836
|
|
local.set 19
|
|
i32.const 0
|
|
i64.load32_s offset=1060
|
|
local.set 20
|
|
i32.const 0
|
|
i64.load32_s offset=1828
|
|
local.set 21
|
|
i32.const 0
|
|
i64.load32_s offset=1052
|
|
local.set 22
|
|
i32.const 0
|
|
i64.load32_s offset=1820
|
|
local.set 23
|
|
i32.const 0
|
|
i64.load32_s offset=1044
|
|
local.set 24
|
|
i32.const 0
|
|
i64.load32_s offset=1812
|
|
local.set 25
|
|
i32.const 0
|
|
i64.load32_s offset=1036
|
|
local.set 26
|
|
i32.const 0
|
|
i64.load32_s offset=1804
|
|
local.set 27
|
|
i32.const 0
|
|
i64.load32_s offset=1112
|
|
local.set 28
|
|
i32.const 0
|
|
i64.load32_s offset=1880
|
|
local.set 29
|
|
i32.const 0
|
|
i64.load32_s offset=1104
|
|
local.set 30
|
|
i32.const 0
|
|
i64.load32_s offset=1872
|
|
local.set 31
|
|
i32.const 0
|
|
i64.load32_s offset=1096
|
|
local.set 32
|
|
i32.const 0
|
|
i64.load32_s offset=1864
|
|
local.set 33
|
|
i32.const 0
|
|
i64.load32_s offset=1088
|
|
local.set 34
|
|
i32.const 0
|
|
i64.load32_s offset=1856
|
|
local.set 35
|
|
i32.const 0
|
|
i64.load32_s offset=1080
|
|
local.set 36
|
|
i32.const 0
|
|
i64.load32_s offset=1848
|
|
local.set 37
|
|
i32.const 0
|
|
i64.load32_s offset=1072
|
|
local.set 38
|
|
i32.const 0
|
|
i64.load32_s offset=1840
|
|
local.set 39
|
|
i32.const 0
|
|
i64.load32_s offset=1064
|
|
local.set 40
|
|
i32.const 0
|
|
i64.load32_s offset=1832
|
|
local.set 41
|
|
i32.const 0
|
|
i64.load32_s offset=1056
|
|
local.set 42
|
|
i32.const 0
|
|
i64.load32_s offset=1824
|
|
local.set 43
|
|
i32.const 0
|
|
i64.load32_s offset=1048
|
|
local.set 44
|
|
i32.const 0
|
|
i64.load32_s offset=1816
|
|
local.set 45
|
|
i32.const 0
|
|
i64.load32_s offset=1040
|
|
local.set 46
|
|
i32.const 0
|
|
i64.load32_s offset=1808
|
|
local.set 47
|
|
i32.const 0
|
|
i64.load32_s offset=1032
|
|
local.set 48
|
|
i32.const 0
|
|
i64.load32_s offset=1800
|
|
local.set 49
|
|
i32.const 22
|
|
i32.const 22
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1876
|
|
i32.store offset=1884
|
|
i32.const 0
|
|
i64.load offset=1868 align=4
|
|
local.set 50
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1864
|
|
i32.store offset=1872
|
|
i32.const 0
|
|
local.get 50
|
|
i64.store offset=1876 align=4
|
|
i32.const 0
|
|
i32.const 0
|
|
i64.load offset=1856
|
|
i64.store offset=1864
|
|
i32.const 0
|
|
i32.const 0
|
|
i64.load offset=1848
|
|
i64.store offset=1856
|
|
i32.const 0
|
|
i32.const 0
|
|
i64.load offset=1840
|
|
i64.store offset=1848
|
|
i32.const 0
|
|
i32.const 0
|
|
i64.load offset=1832
|
|
i64.store offset=1840
|
|
i32.const 0
|
|
i32.const 0
|
|
i64.load offset=1824
|
|
i64.store offset=1832
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1820
|
|
i32.store offset=1828
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1816
|
|
i32.store offset=1824
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1812
|
|
i32.store offset=1820
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1808
|
|
i32.store offset=1816
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1804
|
|
i32.store offset=1812
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1800
|
|
i32.store offset=1808
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1796
|
|
i32.store offset=1804
|
|
i32.const 0
|
|
local.get 0
|
|
i32.store offset=1796
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1792
|
|
i32.store offset=1800
|
|
i32.const 0
|
|
local.get 1
|
|
i32.store offset=1792
|
|
i32.const 0
|
|
local.get 6
|
|
local.get 7
|
|
i64.mul
|
|
local.get 8
|
|
local.get 9
|
|
i64.mul
|
|
local.get 10
|
|
local.get 11
|
|
i64.mul
|
|
local.get 12
|
|
local.get 13
|
|
i64.mul
|
|
local.get 14
|
|
local.get 15
|
|
i64.mul
|
|
local.get 16
|
|
local.get 17
|
|
i64.mul
|
|
local.get 18
|
|
local.get 19
|
|
i64.mul
|
|
local.get 20
|
|
local.get 21
|
|
i64.mul
|
|
local.get 22
|
|
local.get 23
|
|
i64.mul
|
|
local.get 24
|
|
local.get 25
|
|
i64.mul
|
|
local.get 26
|
|
local.get 27
|
|
i64.mul
|
|
local.get 2
|
|
local.get 3
|
|
i64.mul
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
local.tee 2
|
|
local.get 28
|
|
local.get 29
|
|
i64.mul
|
|
local.get 30
|
|
local.get 31
|
|
i64.mul
|
|
local.get 32
|
|
local.get 33
|
|
i64.mul
|
|
local.get 34
|
|
local.get 35
|
|
i64.mul
|
|
local.get 36
|
|
local.get 37
|
|
i64.mul
|
|
local.get 38
|
|
local.get 39
|
|
i64.mul
|
|
local.get 40
|
|
local.get 41
|
|
i64.mul
|
|
local.get 42
|
|
local.get 43
|
|
i64.mul
|
|
local.get 44
|
|
local.get 45
|
|
i64.mul
|
|
local.get 46
|
|
local.get 47
|
|
i64.mul
|
|
local.get 48
|
|
local.get 49
|
|
i64.mul
|
|
local.get 4
|
|
local.get 5
|
|
i64.mul
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
i64.add
|
|
local.tee 3
|
|
i64.add
|
|
i64.const 15
|
|
i64.shr_u
|
|
i64.store32 offset=1888
|
|
i32.const 0
|
|
local.get 3
|
|
local.get 2
|
|
i64.sub
|
|
i64.const 15
|
|
i64.shr_u
|
|
i64.store32 offset=1892
|
|
i32.const 0
|
|
i64.load32_s offset=1936
|
|
local.set 2
|
|
i32.const 0
|
|
i64.load32_s offset=1904
|
|
local.set 3
|
|
i32.const 5
|
|
i32.const 5
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i32.const 0
|
|
i64.load32_s offset=1976
|
|
i32.const 0
|
|
i32.load offset=1972
|
|
i32.const 1
|
|
i32.shl
|
|
i64.extend_i32_s
|
|
i64.mul
|
|
i32.const 0
|
|
i64.load32_s offset=1968
|
|
i32.const 0
|
|
i32.load offset=1964
|
|
i32.const 1
|
|
i32.shl
|
|
i64.extend_i32_s
|
|
i64.mul
|
|
i64.add
|
|
i64.const 15
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.tee 0
|
|
i32.store offset=1980
|
|
i32.const 0
|
|
i32.const 0
|
|
i64.load32_s offset=1940
|
|
i32.const 0
|
|
i64.load32_s offset=1908
|
|
i64.mul
|
|
local.get 2
|
|
local.get 3
|
|
i64.mul
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=1944
|
|
i32.const 0
|
|
i64.load32_s offset=1912
|
|
i64.mul
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=1948
|
|
i32.const 0
|
|
i64.load32_s offset=1916
|
|
i64.mul
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=1952
|
|
i32.const 0
|
|
i64.load32_s offset=1920
|
|
i64.mul
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=1956
|
|
i32.const 0
|
|
i64.load32_s offset=1924
|
|
i64.mul
|
|
i64.add
|
|
i64.const 14
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.tee 1
|
|
i32.store offset=1960
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
i32.add
|
|
local.tee 0
|
|
i32.store offset=1984
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1888
|
|
local.get 0
|
|
i32.sub
|
|
local.tee 0
|
|
i32.store offset=1988
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const 0
|
|
i32.load offset=1992
|
|
call $adpcm_enc_quantl
|
|
local.tee 0
|
|
i32.store offset=1996
|
|
i32.const 0
|
|
local.get 0
|
|
i32.const -4
|
|
i32.and
|
|
local.tee 1
|
|
i32.const 1120
|
|
i32.add
|
|
i64.load32_s
|
|
i32.const 0
|
|
i64.load32_s offset=1992
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.tee 0
|
|
i32.store offset=2000
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1960
|
|
local.get 0
|
|
i32.add
|
|
i32.store offset=2008
|
|
i32.const 0
|
|
local.get 1
|
|
i32.const 1184
|
|
i32.add
|
|
i32.load
|
|
i32.const 0
|
|
i64.load32_s offset=2004
|
|
i64.const 127
|
|
i64.mul
|
|
i64.const 7
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 0
|
|
local.get 1
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
local.tee 1
|
|
i32.const 18432
|
|
local.get 1
|
|
i32.const 18432
|
|
i32.lt_s
|
|
select
|
|
local.tee 1
|
|
i32.store offset=2004
|
|
i32.const 0
|
|
local.get 1
|
|
i32.const 4
|
|
i32.shr_u
|
|
i32.const 124
|
|
i32.and
|
|
i32.const 1248
|
|
i32.add
|
|
i32.load
|
|
i32.const 9
|
|
local.get 1
|
|
i32.const 11
|
|
i32.shr_u
|
|
i32.sub
|
|
i32.shr_s
|
|
i32.const 3
|
|
i32.shl
|
|
i32.store offset=1992
|
|
local.get 0
|
|
i32.const 1936
|
|
i32.const 1904
|
|
call $adpcm_enc_upzero
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1964
|
|
i32.store offset=1972
|
|
i32.const 0
|
|
i64.load32_s offset=2016
|
|
local.set 2
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=2012
|
|
local.tee 0
|
|
i32.store offset=2016
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=2008
|
|
local.tee 1
|
|
i32.store offset=2012
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=2000
|
|
i32.const 0
|
|
i32.load offset=1984
|
|
i32.add
|
|
local.tee 51
|
|
i32.store offset=2020
|
|
i32.const 0
|
|
local.get 51
|
|
i32.store offset=1964
|
|
i32.const 0
|
|
i64.const 4294967168
|
|
i64.const 128
|
|
local.get 2
|
|
local.get 1
|
|
i64.extend_i32_s
|
|
local.tee 3
|
|
i64.mul
|
|
i64.const 0
|
|
i64.lt_s
|
|
select
|
|
i32.const 0
|
|
i64.load32_s offset=1976
|
|
i64.const 127
|
|
i64.mul
|
|
i64.const 7
|
|
i64.shr_u
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=1968
|
|
local.tee 2
|
|
i64.const 2
|
|
i64.shl
|
|
local.tee 4
|
|
i64.const 0
|
|
local.get 4
|
|
i64.sub
|
|
local.get 0
|
|
i64.extend_i32_s
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 0
|
|
i64.lt_s
|
|
local.tee 1
|
|
select
|
|
i64.const 7
|
|
i64.shr_u
|
|
i64.add
|
|
i32.wrap_i64
|
|
local.tee 0
|
|
i32.const 12288
|
|
local.get 0
|
|
i32.const 12288
|
|
i32.lt_s
|
|
select
|
|
local.tee 0
|
|
i32.const -12288
|
|
local.get 0
|
|
i32.const -12288
|
|
i32.gt_s
|
|
select
|
|
local.tee 0
|
|
i32.store offset=1976
|
|
i32.const 0
|
|
i32.const -192
|
|
i32.const 192
|
|
local.get 1
|
|
select
|
|
local.get 2
|
|
i64.const 255
|
|
i64.mul
|
|
i64.const 8
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 15360
|
|
local.get 0
|
|
i32.sub
|
|
local.tee 51
|
|
local.get 1
|
|
local.get 51
|
|
i32.lt_s
|
|
select
|
|
local.tee 1
|
|
local.get 0
|
|
i32.const -15360
|
|
i32.add
|
|
local.tee 0
|
|
local.get 1
|
|
local.get 0
|
|
i32.gt_s
|
|
select
|
|
i32.store offset=1968
|
|
i32.const 0
|
|
i64.load32_s offset=2032
|
|
local.set 2
|
|
i32.const 0
|
|
i64.load32_s offset=2064
|
|
local.set 3
|
|
i32.const 5
|
|
i32.const 5
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i32.const 0
|
|
i64.load32_s offset=2104
|
|
i32.const 0
|
|
i32.load offset=2100
|
|
i32.const 1
|
|
i32.shl
|
|
i64.extend_i32_s
|
|
i64.mul
|
|
i32.const 0
|
|
i64.load32_s offset=2096
|
|
i32.const 0
|
|
i32.load offset=2092
|
|
i32.const 1
|
|
i32.shl
|
|
i64.extend_i32_s
|
|
i64.mul
|
|
i64.add
|
|
i64.const 15
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.tee 0
|
|
i32.store offset=2108
|
|
i32.const 0
|
|
i32.const 0
|
|
i64.load32_s offset=2068
|
|
i32.const 0
|
|
i64.load32_s offset=2036
|
|
i64.mul
|
|
local.get 3
|
|
local.get 2
|
|
i64.mul
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=2072
|
|
i32.const 0
|
|
i64.load32_s offset=2040
|
|
i64.mul
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=2076
|
|
i32.const 0
|
|
i64.load32_s offset=2044
|
|
i64.mul
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=2080
|
|
i32.const 0
|
|
i64.load32_s offset=2048
|
|
i64.mul
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=2084
|
|
i32.const 0
|
|
i64.load32_s offset=2052
|
|
i64.mul
|
|
i64.add
|
|
i64.const 14
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.tee 1
|
|
i32.store offset=2088
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
i32.add
|
|
local.tee 0
|
|
i32.store offset=2112
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=1892
|
|
local.get 0
|
|
i32.sub
|
|
local.tee 0
|
|
i32.store offset=2116
|
|
i32.const 0
|
|
i32.const 3
|
|
i32.const 1
|
|
local.get 0
|
|
i32.const -1
|
|
i32.gt_s
|
|
select
|
|
local.tee 51
|
|
i32.store offset=2120
|
|
block ;; label = @1
|
|
local.get 0
|
|
local.get 0
|
|
i32.const 31
|
|
i32.shr_s
|
|
local.tee 52
|
|
i32.xor
|
|
local.get 52
|
|
i32.sub
|
|
i32.const 0
|
|
i64.load32_s offset=2124
|
|
local.tee 2
|
|
i64.const 564
|
|
i64.mul
|
|
i64.const 12
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
i32.le_s
|
|
br_if 0 (;@1;)
|
|
i32.const 0
|
|
local.get 51
|
|
i32.const -1
|
|
i32.add
|
|
local.tee 51
|
|
i32.store offset=2120
|
|
end
|
|
i32.const 0
|
|
local.get 51
|
|
i32.const 2
|
|
i32.shl
|
|
local.tee 51
|
|
i32.const 1760
|
|
i32.add
|
|
i64.load32_s
|
|
local.get 2
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
local.tee 0
|
|
i32.store offset=2128
|
|
i32.const 0
|
|
local.get 0
|
|
local.get 1
|
|
i32.add
|
|
i32.store offset=2136
|
|
i32.const 0
|
|
local.get 51
|
|
i32.const 1776
|
|
i32.add
|
|
i32.load
|
|
i32.const 0
|
|
i64.load32_s offset=2132
|
|
i64.const 127
|
|
i64.mul
|
|
i64.const 7
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 0
|
|
local.get 1
|
|
i32.const 0
|
|
i32.gt_s
|
|
select
|
|
local.tee 1
|
|
i32.const 22528
|
|
local.get 1
|
|
i32.const 22528
|
|
i32.lt_s
|
|
select
|
|
local.tee 1
|
|
i32.store offset=2132
|
|
i32.const 0
|
|
local.get 1
|
|
i32.const 4
|
|
i32.shr_u
|
|
i32.const 124
|
|
i32.and
|
|
i32.const 1248
|
|
i32.add
|
|
i32.load
|
|
i32.const 11
|
|
local.get 1
|
|
i32.const 11
|
|
i32.shr_u
|
|
i32.sub
|
|
i32.shr_s
|
|
i32.const 3
|
|
i32.shl
|
|
i32.store offset=2124
|
|
local.get 0
|
|
i32.const 2064
|
|
i32.const 2032
|
|
call $adpcm_enc_upzero
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=2092
|
|
i32.store offset=2100
|
|
i32.const 0
|
|
i64.load32_s offset=2144
|
|
local.set 2
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=2140
|
|
local.tee 0
|
|
i32.store offset=2144
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=2136
|
|
local.tee 1
|
|
i32.store offset=2140
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=2128
|
|
i32.const 0
|
|
i32.load offset=2112
|
|
i32.add
|
|
local.tee 51
|
|
i32.store offset=2148
|
|
i32.const 0
|
|
local.get 51
|
|
i32.store offset=2092
|
|
i32.const 0
|
|
i64.const 4294967168
|
|
i64.const 128
|
|
local.get 2
|
|
local.get 1
|
|
i64.extend_i32_s
|
|
local.tee 3
|
|
i64.mul
|
|
i64.const 0
|
|
i64.lt_s
|
|
select
|
|
i32.const 0
|
|
i64.load32_s offset=2104
|
|
i64.const 127
|
|
i64.mul
|
|
i64.const 7
|
|
i64.shr_u
|
|
i64.add
|
|
i32.const 0
|
|
i64.load32_s offset=2096
|
|
local.tee 2
|
|
i64.const 2
|
|
i64.shl
|
|
local.tee 4
|
|
i64.const 0
|
|
local.get 4
|
|
i64.sub
|
|
local.get 0
|
|
i64.extend_i32_s
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 0
|
|
i64.lt_s
|
|
local.tee 1
|
|
select
|
|
i64.const 7
|
|
i64.shr_u
|
|
i64.add
|
|
i32.wrap_i64
|
|
local.tee 0
|
|
i32.const 12288
|
|
local.get 0
|
|
i32.const 12288
|
|
i32.lt_s
|
|
select
|
|
local.tee 0
|
|
i32.const -12288
|
|
local.get 0
|
|
i32.const -12288
|
|
i32.gt_s
|
|
select
|
|
local.tee 0
|
|
i32.store offset=2104
|
|
i32.const 0
|
|
i32.const -192
|
|
i32.const 192
|
|
local.get 1
|
|
select
|
|
local.get 2
|
|
i64.const 255
|
|
i64.mul
|
|
i64.const 8
|
|
i64.shr_u
|
|
i32.wrap_i64
|
|
i32.add
|
|
local.tee 1
|
|
i32.const 15360
|
|
local.get 0
|
|
i32.sub
|
|
local.tee 51
|
|
local.get 1
|
|
local.get 51
|
|
i32.lt_s
|
|
select
|
|
local.tee 1
|
|
local.get 0
|
|
i32.const -15360
|
|
i32.add
|
|
local.tee 0
|
|
local.get 1
|
|
local.get 0
|
|
i32.gt_s
|
|
select
|
|
i32.store offset=2096
|
|
i32.const 0
|
|
i32.load offset=2120
|
|
i32.const 6
|
|
i32.shl
|
|
i32.const 0
|
|
i32.load offset=1996
|
|
i32.or)
|
|
(func $adpcm_enc_quantl (type 2) (param i32 i32) (result i32)
|
|
(local i32 i64 i64)
|
|
i32.const 1
|
|
i32.const 30
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
local.set 2
|
|
block ;; label = @1
|
|
i32.const 0
|
|
i64.load32_s offset=1376
|
|
local.get 1
|
|
i64.extend_i32_s
|
|
local.tee 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 0
|
|
local.get 0
|
|
i32.const 31
|
|
i32.shr_s
|
|
local.tee 1
|
|
i32.xor
|
|
local.get 1
|
|
i32.sub
|
|
i64.extend_i32_u
|
|
local.tee 4
|
|
i64.ge_s
|
|
br_if 0 (;@1;)
|
|
i32.const 1
|
|
local.set 2
|
|
i32.const 0
|
|
i64.load32_s offset=1380
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.ge_s
|
|
br_if 0 (;@1;)
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1384
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 2
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1388
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 3
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1392
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 4
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1396
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 5
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1400
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 6
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1404
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 7
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1408
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 8
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1412
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 9
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1416
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 10
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1420
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 11
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1424
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 12
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1428
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 13
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1432
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 14
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1436
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 15
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1440
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 16
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1444
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 17
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1448
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 18
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1452
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 19
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1456
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 20
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1460
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 21
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1464
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 22
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1468
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 23
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1472
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 24
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1476
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 25
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1480
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 26
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1484
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 27
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
block ;; label = @2
|
|
i32.const 0
|
|
i64.load32_s offset=1488
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
br_if 0 (;@2;)
|
|
i32.const 28
|
|
local.set 2
|
|
br 1 (;@1;)
|
|
end
|
|
i32.const 30
|
|
i32.const 29
|
|
i32.const 0
|
|
i64.load32_s offset=1492
|
|
local.get 3
|
|
i64.mul
|
|
i64.const 15
|
|
i64.shr_s
|
|
local.get 4
|
|
i64.lt_s
|
|
select
|
|
local.set 2
|
|
end
|
|
i32.const 1504
|
|
i32.const 1632
|
|
local.get 0
|
|
i32.const -1
|
|
i32.gt_s
|
|
select
|
|
local.get 2
|
|
i32.const 2
|
|
i32.shl
|
|
i32.add
|
|
i32.load)
|
|
(func $adpcm_enc_upzero (type 3) (param i32 i32 i32)
|
|
(local i64)
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
block ;; label = @1
|
|
block ;; label = @2
|
|
local.get 0
|
|
br_if 0 (;@2;)
|
|
local.get 2
|
|
local.get 2
|
|
i32.load
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.store
|
|
local.get 2
|
|
local.get 2
|
|
i32.load offset=4
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.store offset=4
|
|
local.get 2
|
|
local.get 2
|
|
i32.load offset=8
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.store offset=8
|
|
local.get 2
|
|
local.get 2
|
|
i32.load offset=12
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.store offset=12
|
|
local.get 2
|
|
local.get 2
|
|
i32.load offset=16
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.store offset=16
|
|
local.get 2
|
|
local.get 2
|
|
i32.load offset=20
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.store offset=20
|
|
br 1 (;@1;)
|
|
end
|
|
local.get 2
|
|
i32.const 128
|
|
i32.const -128
|
|
local.get 1
|
|
i64.load32_s
|
|
local.get 0
|
|
i64.extend_i32_s
|
|
local.tee 3
|
|
i64.mul
|
|
i64.const -1
|
|
i64.gt_s
|
|
select
|
|
local.get 2
|
|
i32.load
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.add
|
|
i32.store
|
|
local.get 2
|
|
i32.const 128
|
|
i32.const -128
|
|
local.get 1
|
|
i64.load32_s offset=4
|
|
local.get 3
|
|
i64.mul
|
|
i64.const -1
|
|
i64.gt_s
|
|
select
|
|
local.get 2
|
|
i32.load offset=4
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.add
|
|
i32.store offset=4
|
|
local.get 2
|
|
i32.const 128
|
|
i32.const -128
|
|
local.get 1
|
|
i64.load32_s offset=8
|
|
local.get 3
|
|
i64.mul
|
|
i64.const -1
|
|
i64.gt_s
|
|
select
|
|
local.get 2
|
|
i32.load offset=8
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.add
|
|
i32.store offset=8
|
|
local.get 2
|
|
i32.const 128
|
|
i32.const -128
|
|
local.get 1
|
|
i64.load32_s offset=12
|
|
local.get 3
|
|
i64.mul
|
|
i64.const -1
|
|
i64.gt_s
|
|
select
|
|
local.get 2
|
|
i32.load offset=12
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.add
|
|
i32.store offset=12
|
|
local.get 2
|
|
i32.const 128
|
|
i32.const -128
|
|
local.get 1
|
|
i64.load32_s offset=16
|
|
local.get 3
|
|
i64.mul
|
|
i64.const -1
|
|
i64.gt_s
|
|
select
|
|
local.get 2
|
|
i32.load offset=16
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.add
|
|
i32.store offset=16
|
|
local.get 2
|
|
i32.const 128
|
|
i32.const -128
|
|
local.get 1
|
|
i64.load32_s offset=20
|
|
local.get 3
|
|
i64.mul
|
|
i64.const -1
|
|
i64.gt_s
|
|
select
|
|
local.get 2
|
|
i32.load offset=20
|
|
i32.const 255
|
|
i32.mul
|
|
i32.const 8
|
|
i32.shr_s
|
|
i32.add
|
|
i32.store offset=20
|
|
end
|
|
local.get 1
|
|
local.get 1
|
|
i32.load offset=16
|
|
i32.store offset=20
|
|
local.get 1
|
|
local.get 1
|
|
i64.load offset=8 align=4
|
|
i64.store offset=12 align=4
|
|
local.get 1
|
|
i32.load
|
|
local.set 2
|
|
local.get 1
|
|
local.get 0
|
|
i32.store
|
|
local.get 1
|
|
local.get 2
|
|
i32.store offset=4)
|
|
(func $adpcm_enc_reset (type 1)
|
|
i32.const 0
|
|
i32.const 8
|
|
i32.store offset=2124
|
|
i32.const 0
|
|
i32.const 32
|
|
i32.store offset=1992
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1972
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1964
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2016
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2012
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1976
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1968
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2004
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2100
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2092
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2144
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2140
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2104
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2096
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=2132
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1936
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=2064
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1944
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=2072
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1952
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=2080
|
|
i32.const 6
|
|
i32.const 6
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1904
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=2032
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1912
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=2040
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1920
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=2048
|
|
i32.const 23
|
|
i32.const 23
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1872
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1864
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1856
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1848
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1840
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1832
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1824
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1816
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1808
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1800
|
|
i32.const 0
|
|
i64.const 0
|
|
i64.store offset=1792
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.store offset=1880)
|
|
(func $adpcm_enc_main (type 1)
|
|
i32.const 2
|
|
i32.const 2
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=2160
|
|
i32.const 0
|
|
i32.load offset=2164
|
|
call $adpcm_enc_encode
|
|
i32.store offset=2184
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.load offset=2168
|
|
i32.const 0
|
|
i32.load offset=2172
|
|
call $adpcm_enc_encode
|
|
i32.store offset=2188)
|
|
(func $__original_main (type 4) (result i32)
|
|
(local i32 i32 i32 i32)
|
|
global.get $__stack_pointer
|
|
i32.const 16
|
|
i32.sub
|
|
local.tee 0
|
|
global.set $__stack_pointer
|
|
local.get 0
|
|
i32.const 0
|
|
i32.store offset=12
|
|
call $adpcm_enc_reset
|
|
i32.const 3
|
|
i32.const 3
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i32.const 0
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i32.const 1999
|
|
call $__pragma_loopbound
|
|
i32.const 849
|
|
i32.const 2424
|
|
call $__pragma_loopbound
|
|
i32.const 70845716
|
|
local.set 1
|
|
i32.const 70847286
|
|
local.set 2
|
|
i32.const 5
|
|
local.set 3
|
|
loop ;; label = @1
|
|
local.get 1
|
|
i32.const -2464900
|
|
i32.mul
|
|
local.get 3
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
i32.mul
|
|
i32.div_s
|
|
local.tee 1
|
|
local.get 2
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
i32.const 2
|
|
i32.add
|
|
local.set 3
|
|
local.get 1
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
i32.load offset=12
|
|
local.get 2
|
|
i32.const 10
|
|
i32.mul
|
|
i32.add
|
|
i32.store offset=2160
|
|
i32.const 0
|
|
i32.const 0
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i32.const 1999
|
|
call $__pragma_loopbound
|
|
i32.const 849
|
|
i32.const 2424
|
|
call $__pragma_loopbound
|
|
i32.const 256842837
|
|
local.set 1
|
|
i32.const 256838125
|
|
local.set 2
|
|
i32.const 5
|
|
local.set 3
|
|
loop ;; label = @1
|
|
local.get 1
|
|
i32.const -22202944
|
|
i32.mul
|
|
local.get 3
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
i32.mul
|
|
i32.div_s
|
|
local.tee 1
|
|
local.get 2
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
i32.const 2
|
|
i32.add
|
|
local.set 3
|
|
local.get 1
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
i32.load offset=12
|
|
local.get 2
|
|
i32.const 10
|
|
i32.mul
|
|
i32.add
|
|
i32.store offset=2164
|
|
i32.const 0
|
|
i32.const 0
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i32.const 1999
|
|
call $__pragma_loopbound
|
|
i32.const 849
|
|
i32.const 2424
|
|
call $__pragma_loopbound
|
|
i32.const 256842837
|
|
local.set 1
|
|
i32.const 256838125
|
|
local.set 2
|
|
i32.const 5
|
|
local.set 3
|
|
loop ;; label = @1
|
|
local.get 1
|
|
i32.const -22202944
|
|
i32.mul
|
|
local.get 3
|
|
local.get 3
|
|
i32.const -1
|
|
i32.add
|
|
i32.mul
|
|
i32.div_s
|
|
local.tee 1
|
|
local.get 2
|
|
i32.add
|
|
local.set 2
|
|
local.get 3
|
|
i32.const 2
|
|
i32.add
|
|
local.set 3
|
|
local.get 1
|
|
br_if 0 (;@1;)
|
|
end
|
|
i32.const 0
|
|
local.get 0
|
|
i32.load offset=12
|
|
local.get 2
|
|
i32.const 10
|
|
i32.mul
|
|
i32.add
|
|
i32.store offset=2168
|
|
call $adpcm_enc_main
|
|
i32.const 2
|
|
i32.const 2
|
|
call $__pragma_loopbound
|
|
i32.const 0
|
|
i32.load offset=2184
|
|
local.set 3
|
|
i32.const 0
|
|
i32.load offset=2188
|
|
local.set 1
|
|
local.get 0
|
|
i32.const 16
|
|
i32.add
|
|
global.set $__stack_pointer
|
|
local.get 1
|
|
local.get 3
|
|
i32.add
|
|
i32.const 385
|
|
i32.ne)
|
|
(table (;0;) 1 1 funcref)
|
|
(memory (;0;) 1)
|
|
(global $__stack_pointer (mut i32) (i32.const 6304))
|
|
(global (;1;) i32 (i32.const 2196))
|
|
(global (;2;) i32 (i32.const 6304))
|
|
(export "memory" (memory 0))
|
|
(export "__wasm_apply_data_relocs" (func $__wasm_apply_data_relocs))
|
|
(export "entrypoint" (func $adpcm_enc_main))
|
|
(export "main" (func $__original_main))
|
|
(export "__data_end" (global 1))
|
|
(export "__heap_base" (global 2))
|
|
(data $.data (i32.const 1024) "\0c\00\00\00\d4\ff\ff\ff\d4\ff\ff\ff\d4\00\00\000\00\00\00\90\fd\ff\ff\80\00\00\00\a8\05\00\00\b8\fc\ff\ffl\f3\ff\ff\dc\0e\00\00\90<\00\00\90<\00\00\dc\0e\00\00l\f3\ff\ff\b8\fc\ff\ff\a8\05\00\00\80\00\00\00\90\fd\ff\ff0\00\00\00\d4\00\00\00\d4\ff\ff\ff\d4\ff\ff\ff\0c\00\00\00\00\00\00\00\18\b0\ff\ff\a0\cd\ff\ff\f8\dc\ff\ffp\e7\ff\ffp\ef\ff\ff\e8\f5\ff\ffP\fb\ff\ff\e8O\00\00`2\00\00\08#\00\00\90\18\00\00\90\10\00\00\18\0a\00\00\b0\04\00\00\00\00\00\00\c4\ff\ff\ff\e2\0b\00\00\ae\04\00\00\1a\02\00\00N\01\00\00\ac\00\00\00:\00\00\00\e2\ff\ff\ff\e2\0b\00\00\ae\04\00\00\1a\02\00\00N\01\00\00\ac\00\00\00:\00\00\00\e2\ff\ff\ff\c4\ff\ff\ff\00\08\00\00-\08\00\00[\08\00\00\8a\08\00\00\b9\08\00\00\ea\08\00\00\1c\09\00\00O\09\00\00\83\09\00\00\b9\09\00\00\ef\09\00\00'\0a\00\00`\0a\00\00\9a\0a\00\00\d6\0a\00\00\12\0b\00\00P\0b\00\00\90\0b\00\00\d1\0b\00\00\13\0c\00\00V\0c\00\00\9c\0c\00\00\e2\0c\00\00+\0d\00\00t\0d\00\00\c0\0d\00\00\0d\0e\00\00\5c\0e\00\00\ac\0e\00\00\fe\0e\00\00R\0f\00\00\a8\0f\00\00\18\01\00\00@\02\00\00p\03\00\00\b0\04\00\00\f0\05\00\00H\07\00\00\a0\08\00\00\18\0a\00\00\90\0b\00\000\0d\00\00\c8\0e\00\00\90\10\00\00X\12\00\00P\14\00\00P\16\00\00\90\18\00\00\d0\1a\00\00`\1d\00\00\f8\1f\00\00\08#\00\00\18&\00\00\d8)\00\00\90-\00\00`2\00\00(7\00\00\e0=\00\00\98D\00\00\e8O\00\008[\00\00\ff\7f\00\00\00\00\00\00\00\00\00\00=\00\00\00<\00\00\00;\00\00\00:\00\00\009\00\00\008\00\00\007\00\00\006\00\00\005\00\00\004\00\00\003\00\00\002\00\00\001\00\00\000\00\00\00/\00\00\00.\00\00\00-\00\00\00,\00\00\00+\00\00\00*\00\00\00)\00\00\00(\00\00\00'\00\00\00&\00\00\00%\00\00\00$\00\00\00#\00\00\00\22\00\00\00!\00\00\00 \00\00\00 \00\00\00\00\00\00\00?\00\00\00>\00\00\00\1f\00\00\00\1e\00\00\00\1d\00\00\00\1c\00\00\00\1b\00\00\00\1a\00\00\00\19\00\00\00\18\00\00\00\17\00\00\00\16\00\00\00\15\00\00\00\14\00\00\00\13\00\00\00\12\00\00\00\11\00\00\00\10\00\00\00\0f\00\00\00\0e\00\00\00\0d\00\00\00\0c\00\00\00\0b\00\00\00\0a\00\00\00\09\00\00\00\08\00\00\00\07\00\00\00\06\00\00\00\05\00\00\00\04\00\00\00\04\00\00\00\00\00\00\00\10\e3\ff\ff\b0\f9\ff\ff\f0\1c\00\00P\06\00\00\1e\03\00\00*\ff\ff\ff\1e\03\00\00*\ff\ff\ff"))
|